/* =========================
   VARIABLES / BASE
========================= */
:root{
  --blue-main: #b7e0f7;
  --white-text: #fdfdfb;
  --bg-white: #fafafa;
  --blue-deep: #022c4e;

  --text: #0b1b2a;
  --muted: #5a6a78;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(2,44,78,.10);
  --border: rgba(2,44,78,.14);

  --font-main: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --nav-h: 72px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg-white);
}

img{ max-width: 100%; display: block; }

.container{
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Responsive (VARIABLES / BASE) */
@media (max-width: 980px){
  :root{ --nav-h: 68px; }
}



/* =========================
   NAVBAR
========================= */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  min-height: var(--nav-h);
}

.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo{
  height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform .25s ease, filter .25s ease;
}

.brand:hover .brand__logo{
  transform: scale(1.06);
  filter: drop-shadow(0 4px 10px rgba(183,224,247,.6));
}

.nav__links{
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__link{
  text-decoration: none;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  padding: 10px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.nav__link:hover{
  background: rgba(183,224,247,.35);
}

/* CTA (Llámanos) destacado */
.nav__cta{
  background: var(--blue-deep);
  color: var(--white-text);
  padding: 10px 14px;
}
.nav__cta:hover{
  background: #01253f;
}

/* Responsive (NAVBAR) */
@media (max-width: 980px){
  /* FIX fuerte: asegurar que los spans se vean siempre en móvil */


  .nav__links{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 4%;
  }

  .nav__links.is-open{ display: flex; }

  .nav__link{
    width: 100%;
    justify-content: space-between;
    padding: 12px 10px;
    border-radius: 12px;
  }

  .nav__cta{
    text-align: center;
    justify-content: center;
    margin-top: 6px;
  }
}

/* =========================
   BOTÓN HAMBURGUESA (SOLO MÓVIL) + ANIMACIÓN
========================= */
.nav__toggle{
  /* oculto en PC */
  display: none;

  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;

  /* estructura */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  /* suavidad */
  transition: border-color .2s ease, background-color .2s ease;
}

/* líneas */
.nav__toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--blue-deep);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
  transform-origin: center;
}

/* estado abierto => X */
.nav__toggle.is-open span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2){
  opacity: 0;
}
.nav__toggle.is-open span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* hover suave (opcional) */
.nav__toggle:hover{
  border-color: rgba(2,44,78,.28);
}

/* =========================
   RESPONSIVE (HAMBURGUESA)
========================= */
@media (max-width: 980px){
  .nav__toggle{
    display: flex;
  }

  /* blindaje por si hay resets externos */
  .nav__toggle span{
    display: block !important;
    background-color: var(--blue-deep) !important;
    opacity: 1 !important;
  }
}


/* =========================
   DROPDOWN SERVICIOS
========================= */
.nav__dropdown{
  position: relative;
}

/* Botón "Servicios" igual que links */
.nav__linklike{
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--blue-deep);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;

  padding: 10px 8px;
  border-radius: 10px;
}

.nav__linklike:hover{
  background: rgba(183,224,247,.35);
}

.chev{
  transition: transform .15s ease;
}

.nav__panel{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(420px, 88vw);

  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;

  display: none;
}

.nav__dropdown.is-open .nav__panel{ display: block; }
.nav__dropdown.is-open .chev{ transform: rotate(180deg); }

.panel__item{
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.panel__item:hover{
  background: rgba(183,224,247,.25);
  border-color: rgba(2,44,78,.08);
}

.panel__title{
  display: block;
  font-weight: 800;
  color: var(--blue-deep);
  font-size: 14px;
}

.panel__desc{
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 3px;
}

/* Responsive (DROPDOWN SERVICIOS) */
@media (max-width: 980px){
  .nav__linklike{
    width: 100%;
    justify-content: space-between;
    padding: 12px 10px;
    border-radius: 12px;
  }

  .nav__panel{
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
}



/* =========================
   HERO
========================= */
.hero{
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__bg{
  position: absolute;
  inset: 0;
  background-image: url("media/fondohero.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__inner{
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 0 56px;
}

.hero__content{
  text-align: center; /* PC centrado */
  margin: 0 auto;
  width: min(980px, 100%);
  transform: translateY(-26px);
}

.hero__title{
  margin: 0;
  font-family: var(--font-main);
  color: var(--white-text);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: .2px;
  font-size: clamp(30px, 4.2vw, 60px);
}

.hero__highlight{
  display: block;
  margin-top: 10px;
  font-family: var(--font-main);
  font-weight: 800;
  letter-spacing: .25px;
  color: #ffffff;
}

.hero__subtext{
  margin: 16px auto 0;
  color: rgba(253,253,251,.90);
  font-weight: 600;
  line-height: 1.6;
  font-size: 15.5px;
  width: min(720px, 100%);
}

.hero__actions{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive (HERO) */
@media (max-width: 980px){
  .hero__inner{
    padding: 26px 0 42px;
  }

  /* Solo móvil: alinear a la izquierda */
  .hero__content{
    width: min(860px, 100%);
    transform: translateY(-10px);
    text-align: left;
    margin: 20px;

  }

  /* Ajustar márgenes que antes estaban centrados */
  .hero__subtext{
    width: min(720px, 100%);
    margin: 14px 0 0;
  }

  .hero__actions{
    justify-content: flex-start;
  }

  .hero__title{
    font-size: clamp(22px, 7.2vw, 22px);
    line-height: 1.12;
  }

  .hero__highlight{
    margin-top: 8px;
  }
}


/* =========================
   BOTONES
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid transparent;
  font-size: 14px;
}

.btn--primary{
  background: var(--blue-main);
  color: var(--blue-deep);
  border-color: rgba(2,44,78,.14);
}
.btn--primary:hover{
  background: #a7d8f4;
}

.btn--ghost{
  background: transparent;
  color: var(--white-text);
  border-color: rgba(253,253,251,.40);
}
.btn--ghost:hover{
  background: rgba(253,253,251,.08);
}

/* Responsive (BOTONES) */
@media (max-width: 980px){
  .btn{
    padding: 12px 14px;
    width: auto;
  }
}

/* =========================
   ANIMACIONES DE ENTRADA
========================= */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

.reveal[data-reveal="up"]{ transform: translateY(16px); }
.reveal[data-reveal="down"]{ transform: translateY(-16px); }
.reveal[data-reveal="left"]{ transform: translateX(18px); }
.reveal[data-reveal="right"]{ transform: translateX(-18px); }

.reveal.is-visible{
  opacity: 1;
  transform: translate(0,0);
}

/* Responsive (ANIMACIONES DE ENTRADA) */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================
   SOBRE NOSOTROS / QUE HACEMOS (FONDO IMAGEN)
========================= */
.about{
  position: relative;
  padding: 110px 0 95px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* 5) Fondo en imagen (sin blur, overlay sobrio para legibilidad) */
.about__bg{
  position: absolute;
  inset: 0;
  background-image: url("media/fondo_nosotros.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* contenido arriba del overlay */
.about .container{
  position: relative;
  z-index: 2;
}

/* Encabezado */
.about__header{
  margin-bottom: 36px;
}

.about__eyebrow{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(2,44,78,.85);
}

.about__title{
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.15;
  color: var(--blue-deep);
}

.about__rule{
  width: 110px;
  height: 3px;
  background: var(--blue-deep);
}

/* 4) Grid 50/50 (miden lo mismo) */
.about__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: stretch; /* que se sientan del mismo alto */
}

/* Columna texto */
.about__body{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__lead{
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 700;
  color: rgba(11,27,42,.92);
}

.about__text{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  color: rgba(11,27,42,.90);
}

/* Lista */
.about__list{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid rgba(2,44,78,.14);
  border-bottom: 1px solid rgba(2,44,78,.14);
  padding-top: 16px;
  padding-bottom: 16px;
}

.about__list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(11,27,42,.92);
  font-weight: 600;
}

.about__check{
  width: 18px;
  height: 18px;
  border: 2px solid rgba(2,44,78,.55);
  display: inline-block;
  margin-top: 2px;
  position: relative;
  flex: 0 0 18px;
}

.about__check::after{
  content:"";
  position:absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--blue-deep);
  border-bottom: 2px solid var(--blue-deep);
  transform: rotate(40deg);
}

/* Columna media (cuadro) */
.about__media{
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(2,44,78,.18);
  background: #fff;
  padding: 16px;
  position: relative;
  height: 100%;
}

/* marco extra clásico */
.about__media::after{
  content:"";
  position:absolute;
  left: 10px;
  top: 10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(2,44,78,.18);
  pointer-events: none;
}

.about__img{
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(2,44,78,.16);
}

.about__media-caption{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .3px;
  color: rgba(2,44,78,.85);
  text-transform: uppercase;
}

.about__media-caption .dot{
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--blue-deep);
  opacity: .55;
}

/* =========================
   RESPONSIVE (SOBRE NOSOTROS)
========================= */
@media (max-width: 980px){
  .about{
    padding: 78px 0 70px;
  }

  .about__title{
    font-size: 30px;
  }

  .about__grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about__img{
    min-height: 260px;
  }

  /* overlay un poco más fuerte en móvil si la imagen es muy cargada */
  .about::after{
    background: rgba(255,255,255,.88);
  }
}


/* =========================
   SERVICIOS (FONDO AZUL | DESKTOP TABS | MOVIL ACORDEON)
========================= */
.services{
  background: var(--blue-deep); /* #022c4e */
  padding: 110px 0 95px;
  border-bottom: 1px solid rgba(253,253,251,.18);
}

/* Header */
.services__header{
  margin-bottom: 34px;
}

.services__eyebrow{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(253,253,251,.78);
}

.services__title{
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.15;
  color: var(--white-text);
}

.services__rule{
  width: 110px;
  height: 3px;
  background: var(--blue-main);
  margin-bottom: 14px;
}

.services__intro{
  margin: 0;
  max-width: 900px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(253,253,251,.85);
  font-weight: 600;
}

/* Grid principal (desktop) */
.services__grid{
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 26px;
  align-items: stretch;
}

/* =========================
   LISTA IZQUIERDA (TABS)
========================= */
.services__tabs{
  border: 1px solid rgba(253,253,251,.22);
  background: rgba(0,0,0,.10); /* leve contraste sobre azul, NO blanco */
  padding: 12px;
}

.services__item{
  border: 1px solid rgba(253,253,251,.16);
  margin: 10px 0;
  padding: 9px;
  background: rgba(255,255,255,.04);
}

.services__item:first-child{ margin-top: 0; }
.services__item:last-child{ margin-bottom: 0; }

.services__tab{
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 14px 14px;
  font: inherit;
  border-radius: 0;
  transition: background-color .18s ease;
  color: var(--white-text);
  position: relative;
}

.services__tab:hover{
  background: rgba(183,224,247,.10);
}

/* Estado activo (barra a la izquierda) */
.services__tab.is-active{
  background: rgba(183,224,247,.16);
}

.services__tab.is-active::before{
  content:"";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--blue-main);
}

.services__tab-title{
  display: block;
  font-weight: 900;
  color: var(--white-text);
  font-size: 15px;
  line-height: 1.25;
}

.services__tab-sub{
  display: block;
  margin-top: 6px;
  font-weight: 650;
  color: rgba(253,253,251,.75);
  font-size: 12.5px;
  line-height: 1.35;
}

/* =========================
   PANEL DERECHA (SOLO DESKTOP)
========================= */
.services__panel{
  border: 1px solid rgba(253,253,251,.22);
  background: #fff;
  padding: 22px 22px;
  height: 100%;
}

/* Detalles (desktop) */
.services__detail{ display: none; }
.services__detail.is-active{ display: block; }

.services__detail.is-active{
  animation: svcIn .18s ease-out;
}
@keyframes svcIn{
  from{ transform: translateY(6px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

.services__detail-title{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.2;
}

.services__detail-text{
  margin: 0 0 18px;
  font-size: 15.8px;
  line-height: 1.7;
  font-weight: 600;
  color: rgba(11,27,42,.92);
}

/* Dos columnas internas */
.services__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}

.services__col{
  border-top: 1px solid rgba(2,44,78,.14);
  padding-top: 14px;
}

.services__subhead{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(2,44,78,.84);
}

.services__bullets{
  margin: 0;
  padding-left: 18px;
}

.services__bullets li{
  margin: 0 0 10px;
  font-size: 14.6px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(11,27,42,.92);
}

.services__bullets li:last-child{ margin-bottom: 0; }

/* =========================
   MOVIL: ACORDEON (contenido dentro del item)
========================= */
.services__mobile{
  display: none;
  padding: 0 14px 16px;

  /* en móvil el contenido se ve sobre blanco para legibilidad */
  background: #fff;
  border-top: 1px solid rgba(2,44,78,.12);
}

/* =========================
   RESPONSIVE (SERVICIOS)
   - Cambia a ACORDEÓN
========================= */
@media (max-width: 980px){
  .services{
    padding: 78px 0 70px;
  }

  .services__title{
    font-size: 30px;
  }

  .services__grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ocultar panel derecho en móvil */
  .services__panel{
    display: none;
  }

  .services__tabs{
    padding: 10px;
    background: transparent; /* para que no se vea “caja” sobre el azul */
    border-color: rgba(253,253,251,.22);
  }

  .services__item{
    margin: 10px 0;
    background: rgba(255,255,255,.04);
    border-color: rgba(253,253,251,.18);
  }

  .services__tab{
    padding: 14px 12px;
  }

  .services__tab-title{
    font-size: 14.5px;
  }

  /* acordeón abierto */
  .services__item.is-open .services__mobile{
    display: block;
    animation: mobIn .18s ease-out;
  }
  @keyframes mobIn{
    from{ transform: translateY(6px); opacity: 0; }
    to{ transform: translateY(0); opacity: 1; }
  }

  /* contenido en 1 columna */
  .services__cols{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services__detail-title{
    font-size: 19px;
  }

  .services__detail-text{
    font-size: 15px;
  }
}

/* =========================
   IMAGEN DE SERVICIO (DESKTOP + MOVIL)
========================= */
.services__img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;

  /* marco clásico */
  border: 1px solid rgba(2,44,78,.18);
  background: #fff;
}

/* Desktop: imagen un poco más protagonista */
@media (min-width: 981px){
  .services__img{
    height: 220px;
    margin-bottom: 18px;
  }
}

.services__img2{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;

  /* marco clásico */
  border: 1px solid rgba(2,44,78,.18);
  background: #fff;
}

/* Desktop: imagen un poco más protagonista */
@media (min-width: 981px){
  .services__img{
    height: 220px;
    margin-bottom: 18px;
  }
}

/* Móvil: un poco más compacta */
@media (max-width: 980px){
  .services__img{
    height: 160px;
    margin-bottom: 12px;
  }
}

/* =========================
   POR QUÉ ELEGIRNOS
========================= */
.why{
  background: #ffffff;
  padding: 110px 0 95px;
  border-bottom: 1px solid var(--border);
}

/* Header */
.why__header{
  margin-bottom: 34px;
}

.why__eyebrow{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(2,44,78,.85);
}

.why__title{
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.15;
  color: var(--blue-deep);
}

.why__rule{
  width: 110px;
  height: 3px;
  background: var(--blue-main);
  margin-bottom: 14px;
}

.why__intro{
  margin: 0;
  max-width: 920px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11,27,42,.88);
  font-weight: 600;
}

/* Grid */
.why__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Card */
.why__card{
  border: 1px solid rgba(2,44,78,.16);
  background: #fff;
  padding: 18px 18px 18px;
  position: relative;
  transition: transform .18s ease, border-color .18s ease;
}

.why__card:hover{
  transform: translateY(-2px);
  border-color: rgba(2,44,78,.28);
}

.why__icon{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(2,44,78,.18);
  background: rgba(183,224,247,.22);
  margin-bottom: 14px;
}

.why__icon i{
  font-size: 18px;
  color: var(--blue-deep);
}

.why__card-title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.25;
}

.why__card-text{
  margin: 0;
  font-size: 14.8px;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(11,27,42,.92);
}

/* Barra inferior */
.why__bar{
  margin-top: 28px;
  border: 1px solid rgba(2,44,78,.16);
  background: #fafafa;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.why__bar-left{
  display: flex;
  align-items: center;
  gap: 12px;
}

.why__bar-left i{
  font-size: 18px;
  color: var(--blue-deep);
}

.why__bar-title{
  font-weight: 900;
  color: var(--blue-deep);
  font-size: 14px;
  margin-bottom: 2px;
}

.why__bar-text{
  font-weight: 650;
  color: rgba(11,27,42,.9);
  font-size: 14px;
  line-height: 1.45;
}

.why__bar-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  color: var(--blue-deep);
  border: 2px solid var(--blue-main);
  background: #fff;
  transition: transform .18s ease, background-color .18s ease;
  white-space: nowrap;
}

.why__bar-cta:hover{
  transform: translateY(-1px);
  background: rgba(183,224,247,.25);
}

/* =========================
   RESPONSIVE (POR QUÉ)
========================= */
@media (max-width: 980px){
  .why{
    padding: 78px 0 70px;
  }

  .why__title{
    font-size: 30px;
  }

  .why__grid{
    grid-template-columns: 1fr;
  }

  .why__bar{
    flex-direction: column;
    align-items: stretch;
  }

  .why__bar-cta{
    justify-content: center;
    width: 100%;
  }
}

/* =========================
   PROCESO (2 COLUMNAS)
========================= */
.process2{
  background: #022c4e;
  padding: 110px 0 95px;
  border-bottom: 1px solid rgba(253,253,251,.18);
}

/* Header */
.process2__header{
  margin-bottom: 34px;
}

.process2__eyebrow{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(253,253,251,.78);
}

.process2__title{
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.15;
  color: #fdfdfb;
}

.process2__rule{
  width: 110px;
  height: 3px;
  background: #b7e0f7;
  margin-bottom: 14px;
}

.process2__intro{
  margin: 0;
  max-width: 920px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(253,253,251,.85);
  font-weight: 600;
}

/* Grid 2 columnas */
.process2__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

/* Column container */
.process2__col{
  border: 1px solid rgba(253,253,251,.20);
  background: rgba(0,0,0,.10);
  padding: 18px 18px;
}

/* Column title */
.process2__coltitle{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
  color: #fdfdfb;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .2px;
}

.process2__coltitle i{
  color: #b7e0f7;
}

/* -------------------------
   IZQUIERDA: STEPS
------------------------- */
.process2__steps{
  display: grid;
  gap: 12px;
}

.process2__step{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid rgba(253,253,251,.16);
  background: rgba(255,255,255,.04);
}

.process2__badge{
  width: 44px;
  height: 44px;
  border: 1px solid rgba(253,253,251,.22);
  background: rgba(183,224,247,.14);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .6px;
  color: #fdfdfb;
  font-size: 12px;
}

.process2__content{
  display: grid;
  gap: 6px;
}

.process2__steptitle{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #fdfdfb;
  font-size: 14.8px;
}

.process2__steptitle i{
  color: #b7e0f7;
  font-size: 14px;
}

.process2__text{
  margin: 0;
  color: rgba(253,253,251,.86);
  font-weight: 600;
  font-size: 14.7px;
  line-height: 1.6;
}

/* -------------------------
   DERECHA: COMPROMISO
------------------------- */
.process2__sidelead{
  margin: 0 0 12px;
  color: rgba(253,253,251,.86);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.65;
}

/* Checks */
.process2__checks{
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  border-top: 1px solid rgba(253,253,251,.16);
  border-bottom: 1px solid rgba(253,253,251,.16);
  padding-top: 14px;
  padding-bottom: 14px;
}

.process2__checks li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  color: rgba(253,253,251,.90);
  font-weight: 650;
  font-size: 14.6px;
  line-height: 1.55;
}

.process2__check{
  width: 18px;
  height: 18px;
  border: 2px solid rgba(183,224,247,.70);
  display: inline-block;
  margin-top: 2px;
  position: relative;
  flex: 0 0 18px;
}

.process2__check::after{
  content:"";
  position:absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #b7e0f7;
  border-bottom: 2px solid #b7e0f7;
  transform: rotate(40deg);
}

/* Mini cards */
.process2__mini{
  display: grid;
  gap: 10px;
}

.process2__miniCard{
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(253,253,251,.16);
  background: rgba(255,255,255,.04);
}

.process2__miniIcon{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(253,253,251,.22);
  background: rgba(183,224,247,.14);
}

.process2__miniIcon i{
  color: #fdfdfb;
  font-size: 16px;
}

.process2__miniTitle{
  font-weight: 900;
  color: #fdfdfb;
  font-size: 14px;
  margin-bottom: 2px;
}

.process2__miniDesc{
  color: rgba(253,253,251,.86);
  font-weight: 600;
  font-size: 14.4px;
  line-height: 1.55;
}

/* =========================
   RESPONSIVE (PROCESO 2)
========================= */
@media (max-width: 980px){
  .process2{
    padding: 78px 0 70px;
  }

  .process2__title{
    font-size: 30px;
  }

  .process2__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process2__col{
    padding: 16px 14px;
  }

  .process2__step{
    grid-template-columns: 48px 1fr;
    padding: 12px 12px;
  }

  .process2__badge{
    width: 40px;
    height: 40px;
  }
}

/* =========================
   TIMELINE VERTICAL (PROCESO)
========================= */

/* Contenedor de pasos */
.process2__steps{
  position: relative;
  padding-left: 14px;
}

/* Línea vertical */
.process2__steps::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35px; /* alineado con los badges */
  width: 2px;
  background: rgba(183,224,247,.45);
}

/* Ajuste de cada paso para alinearlo con la línea */
.process2__step{
  position: relative;
  z-index: 2;
}

/* Badge sobre la línea */
.process2__badge{
  position: relative;
  z-index: 3;
  background: #022c4e;
}

/* =========================
   RESPONSIVE (TIMELINE)
========================= */
@media (max-width: 980px){
  .process2__steps{
    padding-left: 12px;
  }

  .process2__steps::before{
    left: 31px;
  }
}

/* =========================
   CONTACTO
========================= */
.contact{
  background: #ffffff;
  padding: 110px 0 95px;
}

/* Header */
.contact__header{
  margin-bottom: 34px;
}

.contact__eyebrow{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(2,44,78,.85);
}

.contact__title{
  margin: 0 0 14px;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.15;
  color: #022c4e;
}

.contact__rule{
  width: 110px;
  height: 3px;
  background: #b7e0f7;
  margin-bottom: 14px;
}

.contact__intro{
  margin: 0;
  max-width: 920px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(11,27,42,.88);
  font-weight: 600;
}

/* Grid */
.contact__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

/* Info */
.contact__info{
  border: 1px solid rgba(2,44,78,.16);
  padding: 22px;
}

.contact__block-title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #022c4e;
}

.contact__text{
  margin: 0 0 18px;
  font-size: 15.2px;
  line-height: 1.65;
  font-weight: 600;
  color: rgba(11,27,42,.9);
}

.contact__group{
  margin-bottom: 18px;
}

.contact__group h4{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #022c4e;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact__list{
  margin: 0;
  padding-left: 18px;
}

.contact__list li{
  margin-bottom: 8px;
  font-size: 14.6px;
  font-weight: 600;
  color: rgba(11,27,42,.92);
}

.contact__list span{
  font-weight: 500;
  color: rgba(11,27,42,.65);
}

/* Form */
.contact__form{
  border: 1px solid rgba(2,44,78,.16);
  padding: 22px;
  background: #fafafa;
}

.contact__form-inner{
  display: grid;
  gap: 14px;
}

.contact__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact__field{
  display: grid;
  gap: 6px;
}

.contact__field label{
  font-size: 13px;
  font-weight: 800;
  color: #022c4e;
}

.contact__field input,
.contact__field textarea{
  border: 1px solid rgba(2,44,78,.2);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14.5px;
}

.contact__field textarea{
  resize: vertical;
}

/* Button */
.contact__btn{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-weight: 900;
  font-size: 14px;
  border: 2px solid #022c4e;
  background: #ffffff;
  color: #022c4e;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.contact__btn:hover{
  background: rgba(183,224,247,.35);
  transform: translateY(-1px);
}

/* =========================
   RESPONSIVE (CONTACTO)
========================= */
@media (max-width: 980px){
  .contact{
    padding: 78px 0 70px;
  }

  .contact__title{
    font-size: 30px;
  }

  .contact__grid{
    grid-template-columns: 1fr;
  }

  .contact__row{
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACTO – AJUSTE SOLO DESKTOP
   Evitar espacio vacío en formulario
========================= */
@media (min-width: 981px){

  /* Hace que el formulario use todo el alto disponible */
  .contact__form{
    display: flex;
    flex-direction: column;
  }

  .contact__form-inner{
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  /* El campo de mensaje crece para rellenar espacio */
  .contact__field textarea{
    min-height: 180px;
    flex: 1;
  }

  /* Evita que el botón empuje el layout */
  .contact__btn{
    align-self: flex-start;
    margin-top: 14px;
  }
}

/* =========================
   FOOTER
========================= */
.footer{
  background: #022c4e;
  color: #fdfdfb;
  padding: 70px 0 0;
}

/* Grid */
.footer__grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
}

.footer__title{
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: #fdfdfb;
}

.footer__subtitle{
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  color: #b7e0f7;
}

.footer__text{
  margin: 0;
  font-size: 14.6px;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(253,253,251,.9);
}

/* Lists */
.footer__list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li{
  margin-bottom: 8px;
  font-size: 14.2px;
  font-weight: 600;
  color: rgba(253,253,251,.9);
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer__list i{
  color: #b7e0f7;
  font-size: 13px;
}

/* Bottom bar */
.footer__bottom{
  border-top: 1px solid rgba(253,253,251,.18);
  padding: 14px 0;
}

.footer__bottom-inner{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(253,253,251,.85);
}

.footer__bottom a{
  color: #b7e0f7;
  text-decoration: none;
  font-weight: 900;
}

.footer__bottom a:hover{
  text-decoration: underline;
}

/* Social icons */
.footer__social{
  margin-top: 18px;
  display: flex;
  gap: 14px;
}

.footer__social a{
  width: 38px;
  height: 38px;
  border: 1px solid rgba(253,253,251,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdfdfb;
  font-size: 16px;
  text-decoration: none;
  transition: all .2s ease;
}

.footer__social a:hover{
  color: #022c4e;
  background: #b7e0f7;
  border-color: #b7e0f7;
}


/* =========================
   RESPONSIVE (FOOTER)
========================= */
@media (max-width: 980px){
  .footer{
    padding-top: 50px;
  }

  .footer__grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__bottom-inner{
    flex-direction: column;
    text-align: center;
  }
}

a{
  text-decoration: none;
}

/* =========================
   WHATSAPP FLOAT GROUP
========================= */
.whatsapp-float-group{
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

/* Botón individual */
.whatsapp-float{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 14px;
  height: 44px;
  background: #25D366;
  color: #fff;
  border-radius: 22px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: transform .16s ease, box-shadow .16s ease;
  margin-left: auto;
}

.whatsapp-float span{
  white-space: nowrap;
}

.whatsapp-float i{
  font-size: 20px;
}

.whatsapp-float:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.32);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){

  .whatsapp-float-group{
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float{
    height: 40px;
    font-size: 13px;
    padding: 0 12px;
  }

  .whatsapp-float i{
    font-size: 18px;
  }
}

.contact__list a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease;
}

.contact__list a:hover {
  text-decoration: underline;
}


.form-alert{
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.form-alert--ok{
  background: #e9f7ee;
  border: 1px solid #bfe7cc;
}

.form-alert--bad{
  background: #fdecec;
  border: 1px solid #f3b7b7;
}
