/* ==========================================
   SOLUCIONES — Página (NO tocar mega dropdown)
   Archivo: /css/layout/soluciones.css
   Scope: body.page-solutions
========================================== */

body.page-solutions{
  /* variables locales (no globales) */
  --sol-max: 1180px;
  --sol-gap: 18px;
  --sol-border: rgba(20, 25, 30, .14);
  --sol-border-strong: rgba(20, 25, 30, .22);
  --sol-bg: #fff;
  --sol-soft: rgba(20,25,30,.04);
  --sol-text: rgba(10,12,14,.92);
  --sol-muted: rgba(10,12,14,.68);
  --sol-muted2: rgba(10,12,14,.55);
  --sol-accent: #F39021; /* Vicnet orange */
}

/* Container local */
body.page-solutions .container{
  width: min(var(--sol-max), calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================
   HERO SIMPLE (header de página)
========================================== */
body.page-solutions .page-hero{
  padding: 56px 0 18px;
  border-bottom: 1px solid rgba(20,25,30,.08);
  background: var(--sol-bg);
}

body.page-solutions .page-hero .kicker{
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: rgba(10,12,14,.60);
  margin: 0 0 10px;
}

body.page-solutions .page-hero .h1{
  margin: 0 0 12px;
  line-height: 1.04;
  color: var(--sol-text);

  /* Si Zrnic está disponible via styles.css, esto lo toma */
  font-family: "Zrnic", "Gotham", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
}

body.page-solutions .page-hero .lead{
  margin: 0;
  color: var(--sol-muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 72ch;
}

/* ==========================================
   TOOLBAR (Buscar + Categorías)
========================================== */
body.page-solutions .sol-toolbar-wrap{
  padding: 22px 0 8px;
  background: var(--sol-bg);
}

body.page-solutions .sol-toolbar{
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 14px;
  align-items: center;
}

@media (max-width: 900px){
  body.page-solutions .sol-toolbar{
    grid-template-columns: 1fr;
  }
}

body.page-solutions .sol-input,
body.page-solutions .sol-select{
  height: 46px;
  border: 1px solid var(--sol-border);
  background: #fff;
  color: var(--sol-text);
  padding: 0 14px;
  outline: none;
  border-radius: 0; /* pedido: sin radius */
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  margin-top:20px;
  margin-bottom:20px;
}

body.page-solutions .sol-input{
  padding-left: 14px;
}

body.page-solutions .sol-input::placeholder{
  color: rgba(10,12,14,.42);
}

body.page-solutions .sol-input:focus,
body.page-solutions .sol-select:focus{
  border-color: rgba(243,144,33,.65);
  box-shadow: 0 0 0 4px rgba(243,144,33,.16);
}

body.page-solutions .sol-select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(10,12,14,.70) 50%),
    linear-gradient(135deg, rgba(10,12,14,.70) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

/* ==========================================
   GRID
========================================== */
body.page-solutions .sol-list{
  padding: 16px 0 34px;
  background: var(--sol-bg);
}

body.page-solutions .sol-list .sol-grid{
  display: grid;
  gap: var(--sol-gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px){
  body.page-solutions .sol-list .sol-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px){
  body.page-solutions .sol-list .sol-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px){
  body.page-solutions .sol-list .sol-grid{
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CARD (solo página soluciones)
   NO usamos .solution-card global sin scope
========================================== */
body.page-solutions .sol-list .solution-card{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;

  border: 1px solid var(--sol-border);
  border-radius: 0; /* pedido: sin radius */
  overflow: hidden;

  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  height: 100%;
}

body.page-solutions .sol-list .solution-card:hover{
  border-color: var(--sol-border-strong);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Media */
body.page-solutions .sol-list .solution-card__image{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0f14; /* fallback */
}

body.page-solutions .sol-list .solution-card__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

/* overlay sutil para “premium” */
body.page-solutions .sol-list .solution-card__image::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.12),
    rgba(0,0,0,0) 50%,
    rgba(0,0,0,.10)
  );
  pointer-events: none;
}

/* Body */
body.page-solutions .sol-list .solution-card__content{
  padding: 16px 16px 16px;
  display: grid;
  gap: 10px;
}

body.page-solutions .sol-list .solution-card__title{
  margin: 0;
  line-height: 1.15;
  color: var(--sol-text);

  /* títulos tipo Zrnic */
  font-family: "Zrnic", "Gotham", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .01em;
}

/* Separador estilo Vicnet */
body.page-solutions .sol-list .solution-card__divider{
  width: 56px;
  height: 3px;
  background: var(--sol-accent);
  opacity: .95;
}

/* Tagline / descripción */
body.page-solutions .sol-list .solution-card__tagline{
  margin: 0;
  color: var(--sol-muted);
  font-size: 14.5px;
  line-height: 1.45;
  max-width: 52ch;
}

/* Si en algún momento querés CTA dentro de la card */
body.page-solutions .sol-list .solution-card__cta{
  margin-top: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(10,12,14,.78);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
body.page-solutions .sol-list .solution-card:hover .solution-card__cta{
  color: var(--sol-text);
}

/* ==========================================
   EMPTY STATE
========================================== */
body.page-solutions .sol-empty{
  margin-top: 16px;
  padding: 18px 16px;
  border: 1px solid var(--sol-border);
  background: rgba(20,25,30,.02);
  color: rgba(10,12,14,.70);
  border-radius: 0;
}

/* ==========================================
   CTA FINAL
========================================== */
body.page-solutions .sol-cta{
  padding: 8px 0 54px;
  background: var(--sol-bg);
  display: flex;
  justify-content: center;
}

body.page-solutions .sol-cta .mega-bottom__btn{
  /* Reusamos tu botón existente si ya está estilado globalmente.
     Si no, le damos un estilo premium acá SIN tocar el resto del sitio. */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 0;
  border: 1px solid rgba(243,144,33,.55);
  color: #111;
  text-decoration: none;
  background: #fff;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

body.page-solutions .sol-cta .mega-bottom__btn:hover{
  border-color: rgba(243,144,33,.85);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

.sol-select {
  display: none;
}