/* ===========================
   COMPONENTS.CSS
   Componentes (nav, botones, hero, swiper, mobile nav)
=========================== */


/* ===========================
   SWIPER HERO
=========================== */
.hero-swiper{ position:relative; }
.hero-swiper .swiper-slide{
  display:flex; align-items:center;
}
.hero-slide-content{
  max-width:540px;
  color:#fff;
}

.hero-title{
  font-size:42px;
  line-height:1.15;
  font-weight:700;
  margin:0 0 18px;
  font-family: var(--font-poppins); /* display font */
}

.hero-text{
  font-size:16px;
  line-height:1.6;
  margin:0 0 26px;
  font-family: var(--font-poppins); /* display font */

}

.hero-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:16px;
}

.btn-hero-primary{
  display:inline-block;
  background-color: var(--verde-100);
  color:#fff;
  padding:12px 28px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
}
.btn-hero-primary:hover{ opacity:.9; }

/* Flechas */
.hero-arrows{ display:flex; gap:12px; }
.hero-arrow{
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid #fff;
  background:transparent;
  color:#fff;
  font-size:20px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.hero-arrow:hover{ background:rgba(255,255,255,.15); }

/* Bullets */
.hero-pagination{
  position:absolute;
  left:40px;
  bottom:110px;
  z-index:20;
  display:flex;
  align-items:center;
}
.hero-pagination .swiper-pagination-bullet{
  width:10px; height:10px;
  background: var(--verde-60);
  opacity:1;
  border-radius:50%;
  margin:0 4px !important;
  transform:scale(1);
  transition:transform .25s ease;
}
.hero-pagination .swiper-pagination-bullet-active{
  transform:scale(1.8);
}

/* Wave */
.home-hero-wave{
  position:absolute;
  left:0; right:0; bottom:0;
  width:100%;
  height:331px;
  background-image:url('../images/home/wave/hero-wave.svg');
  background-repeat:no-repeat;
  background-position:bottom center;
  z-index:5;
  pointer-events:none;
}
@media (max-width:1024px){
  .home-hero-wave{ height:120px; }
}
@media (max-width:768px){
  .home-hero-wave{
    aspect-ratio:420/113;
    background-image:url('../images/home/wave/hero-wave-movil.svg');
  }
}

/* Responsive hero */
@media (max-width:768px){
  .home-hero-inner{
    align-items:flex-start;
    padding-top:100px;
    padding-bottom:40px;
  }
  .hero-slide-content{ max-width:100%; }
  .hero-title{ font-size:40px; letter-spacing: -1px; }
  .hero-text{ font-size:14px; }
  .hero-pagination{ bottom:80px; left:24px; }
}

/* ===========================
   MENÚ MÓVIL (tal cual lo tenías)
=========================== */
.mobile-menu-toggle{ display:none; background:none; border:none; padding:0; cursor:pointer; }
.mobile-menu-icon{ display:inline-flex; flex-direction:column; gap:4px; }
.mobile-menu-icon span{ width:20px; height:2px; background:#222; display:block; }

.mobile-nav{
  position:fixed; inset:0;
  background:rgba(0,0,0,.48);
  z-index:200;
  opacity:0; visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.mobile-nav-inner{
  position:absolute; top:0; right:0;
  width:320px; max-width:90%;
  height:100%;
  background:#004b78;
  color:#fff;
  padding:16px 18px 24px;
  transform:translateX(100%);
  transition:transform .25s ease;
}
.mobile-nav.is-open{ opacity:1; visibility:visible; }
.mobile-nav.is-open .mobile-nav-inner{ transform:translateX(0); }

@media (max-width:960px){
  .header-top{ display:none; }
  .main-navigation, .btn-sumate{ display:none; }
  .mobile-menu-toggle{ display:inline-flex; }
}





@media (max-width: 768px){
  .block-2-wave{
    height:113px; /* ajusta a la altura real de tu wave móvil */
    aspect-ratio: 420 / 113;
    background-image:url("../images/wave/wave-bloque-2-movil.svg");
    background-size: cover;
    background-position: center bottom;
  }

  .block-2-center{
  
  transform: translateY(-60px);
}
}


/* ===========================
   ACCIONES – SECCIÓN
=========================== */

.acciones{
  background: var(--bg-100);
  padding: 40px 0 140px;
}

.acciones-title{
  text-align:center;
  color: var(--azul2-100);
  margin-bottom: 50px;
}

.acciones-swiper{
  overflow: visible; /* deja sobresalir el círculo */
}

.accion-card{
  display:flex;
  justify-content:center;
}

/* Card común */
.accion-card-link{
  position: relative;
  border-radius: 24px;
  background: var(--bg-20); /* BASE G */
  box-shadow: 0 20px 55px rgba(0,0,0,.12);
  text-decoration:none;
  color: inherit;
  display:block;
  overflow: visible !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.accion-card-link:hover{
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}

.accion-card-title{
  color: var(--azul2-100);
  margin:0 0 30px;
  text-align: left;
  

}

.accion-card-text{
  color: var(--texto-100);
  margin:0;
  max-width: 260px;
}

/* ===========================
   DESKTOP DIMENSIONES
   total card+círculo: 370 x 642
=========================== */
@media (min-width: 681px){

  .accion-card-link{
    width: 370px;
    min-height: 396px;
    padding: 40px 28px 210px; /* espacio para el círculo */
  }

}

/* Círculo exterior: 332 x 332 */


.accion-circle-outer{
  position: absolute;
  left: 50%;
   
  transform: translateX(-50%);
  width: 332px;
  height: 332px;
  border-radius: 50%;
  background: #ffffff;/* genera el “corte” */
  z-index: 2;
   display:flex;
  align-items:center;
  justify-content:center;
  bottom: -269px;  /* desktop base */
  box-shadow: 0 20px 55px rgba(0, 0, 0, .12);
}

/* Círculo interior + foto: 294 x 294 */
.accion-circle-inner{
  width: 294px;
  height: 294px;
  border-radius: 50%;
  overflow:hidden;
}

.accion-circle-inner img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Botón + */
.accion-card-plus{
  position:absolute;
  display:block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.accion-plus-icon{
  width: 100%;
  height: 100%;
  display:block;
  object-fit:contain;
}

/* ===========================
   MÓVIL DIMENSIONES
   total card+círculo: 343 x 567
=========================== */
@media (max-width: 680px){

  .accion-card-link{
    width: 343px;
    min-height: 312px;
    padding: 34px 24px 190px;
  }

  .accion-circle-outer{
    bottom: -190px;  /* el corte se ve más alto en móvil */
  }

  .accion-card-plus{
   position:absolute;
    right: 26px;
    bottom: 240px;  /* 🔥 más abajo (antes 190–220) */
    width: 66px;
    height: 66px;
    z-index: 4;
  }


 

}

.acciones-nav{
  margin-top: 220px;
  display:flex;
  justify-content:center;
  gap:18px;
}

.acciones-prev,
.acciones-next{
  width:52px;
  height:52px;
  border-radius:50%;
  border:2px solid var(--verde-100);
  background:transparent;
  position:relative;
  cursor:pointer;
}

.acciones-prev::before,
.acciones-next::before{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width:10px;
  height:10px;
  border-right:2px solid var(--verde-100);
  border-bottom:2px solid var(--verde-100);
  transform: rotate(135deg);
}

.acciones-next::before{
  transform: rotate(-45deg);
}

/* Si quieres ocultar flechas en desktop */
@media (min-width: 681px){
  .acciones-nav{ display:none; }
}


/* Swiper: que cada slide sea una caja que centra su card */
.acciones-swiper .swiper-slide{
  display: flex;
  justify-content: center;
  align-items: flex-start; /* importante: arriba, no al centro */
}



/* Evita que Swiper recorte los círculos */
.acciones,
.acciones-inner,
.acciones-swiper,
.acciones-swiper .swiper-wrapper,
.acciones-swiper .swiper-slide{
  overflow: visible !important;
}

.acciones{
  padding-bottom: 220px; /* espacio real para el círculo flotante */
}


@media (min-width: 681px){
  .accion-card--center{
    transform: translateY(26px);
  }
}


@media (min-width: 681px){

  .accion-circle-outer{
    position:absolute;
    bottom:-245px;  /* el valor que estás usando para el círculo */
    left:50%;
    transform: translateX(-50%);
    width:332px;
    height:332px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    z-index:2;
  }

  .accion-card-plus{
    position:absolute;
    right:-10px;     /* 🔥 PERFECTO: mitad afuera del círculo */
    top: -10px;      /* 🔥 se coloca pegadito al borde */
    width:66px;
    height:66px;
    z-index:5;
  }

  .accion-card-plus{
    right: 28px;
    top: 11px;
    width:66px;
    height:66px;
  }

  .accion-plus-icon{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
  }

}


/* ===========================
   NUESTRO IMPACTO - LAYOUT
=========================== */

.impacto{
  padding: 122px 0;          /* margen superior e inferior */
  background: var(--bg-100);
}

.impacto-inner{
  /* opcional: si quieres que todo el bloque se vea compacto */
}

.impacto-grid{
  display: flex;
  column-gap: 24px;          /* separación vertical entre columnas */
}

/* Cada columna apilada verticalmente */
.impacto-col{
  display: flex;
  flex-direction: column;
  row-gap: 26px;             /* separación entre cards apiladas */
}

/* Anchos de columnas */
.impacto-col--left{
  width: 419px;
}

.impacto-col--middle,
.impacto-col--right{
  width: 408px;
  flex: 0 0 408px; 
}

/* Cards base */
.impact-card{
  margin: 0;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 55px rgba(0,0,0,.08);
  overflow: hidden;
}

/* Alturas según Figma */
.impact-card--intro{
  height: 518px;
}

.impact-card--15m{
  height: 218px;
}

.impact-card--296k{
  height: 293px;  
  
}
.impact-card--photo{
         /* 🔹 ocupa los 408px de la columna */
  height: 443px;        /* la altura que definiste */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,.08);
}
.impact-card--photo-bg{
  background-image: url("../images/sobre-rio.png");
  background-size: cover;      /* 🔹 hace el “cover” */
  background-position: center; /* centrada */
  background-repeat: no-repeat;
}

.impact-card--5k,
.impact-card--66km,
.impact-card--300k{
  height: 237px;
}

/* INTRO: Nuestro impacto */
.impact-card--intro{
  background: var(--azul-10);
  padding: 32px 32px 32px;
  display:flex;
  flex-direction:column;
}

.impact-card-intro-header{
  margin-bottom: 40px;
}

.impact-intro-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  /*background: var(--azul2-100);   azul del ícono */
}

.impact-intro-icon img{
  width: 64px;
  height: 64px;
}

.impact-card-intro-body{
  margin-top: auto;          /* baja el título hacia el centro */
}

.impact-intro-title{
  color: var(--azul2-100);
}

/* STATS GENERALES */

.impact-card--stat{
  padding: 32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* Colores por card (ajusta a tu guía) */
.impact-card--15m{
  background: var(--azul-100);
  color: #fff;
}

.impact-card--296k{
  background: var(--azul2-100);
  color: #fff;
      padding: 105px 24px 34px 32px;
}

.impact-card--5k{
  background: var(--verde-100);
  color: #fff;
}

.impact-card--66km{
  background: var(--azul-100);
  color: #fff;
}

.impact-card--300k{
  background: var(--azul2-100);
  color: #fff;
}

/* Tipos de texto */
.impact-stat-main{
  margin: 0 0 40px 0;
  font-family: var(--font-poppins);
  font-size: 44px;
  line-height: 0;
  font-weight: 800;
      line-height: 0.5;
}

.impact-stat-main-2{
  margin: 0 0 40px 0;
  font-family: var(--font-poppins);
  font-size: 40px;
  line-height: 0;
  font-weight: 800;
}




.impact-stat-sub{
  font-family: var(--font-poppins);
  margin: 0 0 30px 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 0;
}

.impact-stat-sub-2{
  font-family: var(--font-poppins);
  font-size: 40px;
  font-weight: 400;
  line-height: 0;
      margin: 0 0 20px 0;
}

.impact-stat-text{
  margin: 0;
  font-family: var(--font-poppins);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 700;
}


.impact-stat-text-2{
  font-family: var(--font-poppins);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 400;
}

/* Foto */
/* .impact-card--photo{
  background:#000;
} */

.impact-card--photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width: 768px){

  .impacto{
    padding: 80px 0;  /* si quieres menos aire en móvil */
  }

  .impacto-grid{
    display: flex;
    flex-direction: column;
    row-gap: 16px;     /* separación entre cards en móvil */
  }

  

  /* Las columnas dejan de ser cajas, solo sirven de “grupo lógico” */
  .impacto-col{
    display: contents; /* 💡 hace que sus hijos (.impact-card) sean flex-items directos */
  }
/* Todas las tarjetas, incluidas las que usan <figure> */

  /* Todas las cards a ancho completo y altura automática */
  .impact-card{
     margin: 0;
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .impact-card--photo{
    height: 154px;      /* que se adapte a la img */
  }

.impact-card--photo-bg {    
    background-position: top;    
}


}

@media (max-width: 768px){

  /* 1. Nuestro impacto */
  .impact-card--intro{
    order: 1;
    display: flex;
      flex-direction: row;       /* icono izquierda – texto derecha */
      align-items: center !important;      
      column-gap: 27px;
      padding: 24px;
  }

  .impact-intro-icon{
      width: 42px;
      height: 42px;
      margin: 0;        
      flex-shrink: 0;            /* evita que se deforme */
  }

  .impact-intro-text h3{
      font-size: 24px;           /* igual al Figma móvil */
      line-height: 28px;
  }

  /* 2. +15 millones */
  .impact-card--15m{
    order: 2;
  }

  /* 3. +296 mil */
  .impact-card--296k{
    order: 3;
  }

  /* 4. 5 mil hectáreas */
  .impact-card--5k{
    order: 4;
  }

  /* 5. 66 km de amunas */
  .impact-card--66km{
    order: 5;
  }

  /* 6. +300 mil personas */
  .impact-card--300k{
    order: 6;
  }

  /* 7. Foto al final */
  .impact-card--photo{
    order: 7;
  }
}

/* testimonios Q home */

/* SVG grande tipo "Q" */
.resultados-q{
  position: absolute;
  left: -230px;
  bottom: -80px;              /* ajusta según tu SVG */
  width: 260px;               /* o lo que mida el tuyo */
  height: auto;
  pointer-events: none;
  z-index: 0;
}






/* ============================
   ALIADOS DEL FUTURO
============================ */
/* =========================
   SECCIÓN ALIADOS
========================= */

.aliados{
  position: relative;
  background: var(--bg-100);
  padding: 0px 0 49px;   /* espacio inferior para que se vea el wave */
  overflow: hidden;
}

/* Todo el contenido por encima del wave */
.aliados-inner{
  position: relative;
  z-index: 2;
}

/* Cabecera (título + texto + iconos) */
.aliados-header{
   display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 78px;
  margin-bottom: 60px;
}

 

.aliados-title-wrap{
 display: flex;
    flex-direction: column;
    gap: 20px;
}

.aliados-title{
  color: var(--azul2-100);
   margin: 0;
}

.aliados-title-home{
  color: var(--azul2-100);
   margin: 0;
}

.aliados-icons{
  display: flex;
  gap: 30px;
  /* margin-top: 16px; */
}

.aliados-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul2-100);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.aliados-icon img{
  width: 55px;
  height: 55px;
  display: block;
}

.aliados-text{
  max-width: 520px;
  color: var(--azul-oscuro-100);
}

/* =========================
   VIDEO
========================= */

/* Caja que centra el video y lo pone por encima del wave */
.aliados-video-area{
  margin-top: 48px;
  position: relative;
  z-index: 3;   /* por encima del wave */
  display: flex;
  justify-content: center;
}

/* Contenedor del video (mismo ratio que Figma: 1284 x 643) */
.aliados-video{
  position: relative;
  width: 100%;
  max-width: 1284px;
  aspect-ratio: 1284 / 643;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,.25);
  background: #000;
}

/* Cover (preview) */
.aliados-video-cover{
  width: 100%;
  height: 100%;
  background-image: url("../images/aliados-cover.png"); /* tu preview */
  background-size: cover;
  background-position: center;
}

/* Botón play centrado */
.aliados-play{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: var(--verde-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.aliados-play-icon{
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  margin-left: 3px;
}

/* =========================
   WAVE ABAJO
========================= */

.aliados-wave{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 564px;  /* ajusta a tu SVG */
  background: url("../images/wave/wave-azul.svg") no-repeat center bottom;
  background-size: cover;
  z-index: 1;     /* debajo del video */
  pointer-events: none;
}

@media (max-width: 768px){

  .aliados{
    padding: 80px 0 120px;
  }

  .aliados-header{
    flex-direction: column;
    gap: 24px;
  }

  .aliados-title-wrap,
  .aliados-text{
    max-width: 100%;
  }

  .aliados-video{
    border-radius: 18px;
  }

  .aliados-wave{
    height: 90px;
    background-image: url("../images/aliados/aliados-wave-movil.svg");
  }
}


/* ===========================
   COMUNIDAD INTERNACIONAL
=========================== */

.comunidad{
  background: var(--azul-10);              /* azul muy clarito de fondo */
  padding: 120px 0;                 /* aire arriba/abajo similar al resto */
}

.comunidad-inner{
  max-width: 1320px;                /* un poco más que el hero-video */
  margin: 0 auto;
}

.comunidad-svg{
  display: block;
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 1024px){
  .comunidad{
    padding: 80px 0;
  }
}

@media (max-width: 768px){
  .comunidad{
    padding: 60px 0;
  }

  .comunidad-inner{
    max-width: 100%;
    padding: 0 16px;               /* que no pegue 100% al borde en móvil */
  }
}



/* ===========================
   SOCIOS & ALIADOS – CARRUSEL
   =========================== */

.aliados-socios{
  padding: 110px 0 120px;
  background: var(--azul-10);        /* fondo celeste suave */
}

.aliados-socios-inner{
  display: flex;
  justify-content: center;
}

.aliados-socios-card{
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 60px 72px 70px;
  box-shadow: 0 24px 55px rgba(0,0,0,.10);
}

.aliados-socios-title{
  text-align: center;
  color: var(--azul2-100);
  margin: 0 0 50px;
}

/* Contenedor general de cada fila */
.aliados-marquee{
  overflow: hidden;
  position: relative;
}

/* separación entre filas */
.aliados-marquee--top{
  margin-bottom: 26px;
}

/* La “cinta” que se mueve */
.aliados-marquee-track{
  display: flex;
  align-items: center;
  gap: 80px;
  /* animación base hacia la izquierda */
  animation: aliados-marquee-left 28s linear infinite;
}

/* Fila inferior en sentido contrario */
.aliados-marquee--reverse .aliados-marquee-track{
  animation-name: aliados-marquee-right;
}

/* Cada logo */
.aliado-logo{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aliado-logo img{
  max-height: 52px;      /* ajusta según tus logos */
  width: auto;
  display: block;
}

/* Pausa al hacer hover sobre la tarjeta completa */
/* .aliados-socios-card:hover .aliados-marquee-track{
  animation-play-state: paused;
} */

/* Keyframes: desplazamos media cinta (duplicamos logos en HTML) */
@keyframes aliados-marquee-left{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes aliados-marquee-right{
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ===========================
   RESPONSIVE – MÓVIL
   =========================== */

@media (max-width: 768px){

  .aliados-socios{
    padding: 60px 0 80px;
  }

  .aliados-socios-card{
    padding: 36px 20px 46px;
    border-radius: 22px;
  }

  .aliados-socios-title{
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 32px;
  }

  /* === Carrusel vuelve a ser animado en móvil === */

  .aliados-marquee{
    overflow: hidden;
  }

  .aliados-marquee-track{
    animation-duration: 22s;     /* más rápido en móvil */
    gap: 48px;                   /* menos separación */
  }

  .aliados-marquee--reverse .aliados-marquee-track{
    animation-duration: 22s;
  }

  .aliado-logo img{
    max-height: 34px;    /* tamaño compacto para móvil */
    width: auto;
  }
}




/* ===========================
   TRANSPARENCIA / GOBIERNO
=========================== */

.gob{
  position: relative;
  background: var(--azul-10);
  padding: 100px 0;           /* margen superior / inferior */
}

/* Card principal */
.gob-inner{
  position: relative;
}

.gob-card{
  position: relative;
  border-radius: 32px;
  background: var(--azul2-100);            /* azul vivo del card */
  box-shadow: 0 26px 70px rgba(0,0,0,.20);
  padding: 48px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  overflow: hidden;                         /* para que las tramas queden dentro */
}

/* Tramas / waves internas (SVG) */
.gob-card::before,
.gob-card::after{
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .35;
}

.gob-card::before{
  left: 0;
  top: 0;
  width: 280px;
  height: 220px;
  background: url("../images/curva1.svg") no-repeat left top;
  background-size: contain;
}

.gob-card::after{
  right: 0;
  bottom: -30px;
  width: 320px;
  height: 220px;
  background: url("../images/curva2.svg") no-repeat right bottom;
  background-size: contain;
}

/* columnas internas */
.gob-card-col{
  position: relative;
  z-index: 1;         /* por delante de las tramas */
}

.gob-card-col--left{
  flex: 0 0 45%;
}

.gob-card-col--right{
  flex: 0 0 40%;
}

/* Título */
.gob-title{
  color: #fff;
  margin: 0 0 32px;
}

/* Íconos redondos */
.gob-icons{
  display: flex;
  align-items: center;
  gap: 18px;
}

.gob-icon{
  width: 69px;
  height: 69px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gob-icon img{
  width: 69px;
  height: 69px;
  display: block;
}

/* Texto derecha */
.gob-text{
  color: #fff;
  margin: 0 0 32px;
  max-width: 360px;
}

/* Botón "Conoce más" */
.gob-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 12px 32px;
  border-radius: 999px;
  border: 1.5px solid #fff;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-poppins);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: transparent;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.gob-btn-arrow{
  width: 9px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* Hover botón */
.gob-btn:hover{
  background: #fff;
  color: var(--azul2-100);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

.gob-btn:hover .gob-btn-arrow{
  border-color: var(--azul2-100);
}

/* ===========================
   TRANSPARENCIA – RESPONSIVE
=========================== */

@media (max-width: 1024px){
  .gob-card{
    padding: 40px 40px;
    gap: 40px;
  }

  .gob-card-col--left,
  .gob-card-col--right{
    flex: 1 1 50%;
  }

  .gob-text{
    max-width: none;
  }
}

@media (max-width: 768px){

  .gob{
    padding: 80px 0;
  }

  .gob-card{
    flex-direction: column;
    align-items: flex-start;
    max-width: 410px;      /* similar a Figma móvil */
    margin: 0 auto;
    padding: 32px 24px 36px;
    border-radius: 28px;
  }

  .gob-card-col--left,
  .gob-card-col--right{
    flex: 1 1 auto;
    width: 100%;
  }

  .gob-title{
    font-size: 30px;       /* ajusta según tu escala */
    line-height: 1.15;
    margin-bottom: 24px;
  }

  .gob-icons{
    margin-bottom: 24px;
  }

  .gob-text{
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
  }

  .gob-btn{
    width: 100%;
    justify-content: center;
  }

  /* Ajusto un poco las tramas para que no “invadan” tanto */
  .gob-card::before{
    width: 220px;
    height: 170px;
  }

  .gob-card::after{
    width: 240px;
    height: 170px;
    bottom: -10px;
  }
}




/* FOOTER 2 CSS */

/* ============================
    WAVE FOOTER
============================ */

/* Sección exclusiva para el wave */
.footer-wave{
  background: var(--azul-10);           /* mismo azul que el footer */
  position: relative;
  overflow: hidden;
}

/* Altura desktop (Figma ~260px) */
.footer-wave{
  height: 260px;
}

/* El SVG de la ola */
.footer-wave-bg{
  position:absolute;
  left:50%;
  top:0;
  transform: translateX(-50%);
  width:1905px;                  /* ancho del diseño desktop */
  height:100%;
  background: url("../images/wave/wave-footer.svg") no-repeat center top;
  background-size: cover;
  pointer-events:none;
}

/* Tablet: crea un SVG de ~1024x260 */
@media (max-width:1024px){
  .footer-wave-bg{
    width:1024px;
    background-image:url("../images/wave/footer-wave-tablet.svg");
  }
}

/* Móvil: el SVG que ya tienes (p.e. 420x180) */
@media (max-width:768px){
  .footer-wave{
    height:180px;
  }
  .footer-wave-bg{
    aspect-ratio: 420 / 113;
    width:420px;
    background-image:url("../images/wave/wave-footer-movil.svg");
  }
}



/* =========================
   FOOTER BASE
========================= */

.site-footer{
  background:var(--azul-oscuro-100);         /* tu azul footer */
  color:#fff;
  font-size:13px;
  padding:60px 0 32px;
}

.title-footer{
  color: var(--azul-100);
  font-family: var(--font-poppins);
  margin-bottom: 20px;
}

.title-footer-2{
  color: var(--azul-60);
  font-family: var(--font-poppins);
  margin-bottom: 20px;
}

.footer-inner{
  position:relative;
}

.footer-top{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.footer-col{
  flex:1;
  /* min-width:0; */
}

/* Columna contacto */
.footer-col--contact{
  max-width:280px;
}

/* Hashtag + icono */
.footer-hashtag-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}

.footer-hashtag-icon{
  width:44px;
  height:44px;
  border-radius:50%;
  /* background:#ffffff; */
  display:flex;
  align-items:center;
  justify-content:center;
}

.footer-hashtag-icon img{
  width:37px;
  height:37px;
  display:block;
}

.footer-hashtag{
  margin:0;
  font-weight:700;
  font-family: var(--font-poppins);
  color: var(--azul-60);
  font-size: 20px;
  line-height: 28px;    /* algo más de aire */
  display: inline-block;
  max-width: 260px;     /* ajusta según veas en pantalla */
  white-space: normal;
    /* 🔑 permite cortar el hashtag */
}

/* fila icono + hashtag */
.footer-hashtag-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 24px;
}

.footer-hashtag-icon{
  width:44px;
  height:44px;
  border-radius:50%;
  /* background:rgba(255,255,255,.08); */
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.footer-hashtag-icon img{
  width:37px;
  height:37px;
  display:block;
}

.site-footer-top{
  display:grid;
  
   grid-template-columns: 1.5fr repeat(4, 1fr);
  column-gap:64px;
  align-items:flex-start;
  position:relative;        /* 👈 importante */
}

.footer-col--contact{
  position:relative;
  padding: 0;    /* deja aire antes de la línea */
}

.footer-col--contact::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  bottom:-12px;           /* que baje un poquito más */
  width:1px;
  background:rgba(255,255,255,.25);
}



.footer-address{
  margin:0 0 18px;
}

/* Redes */
.footer-social{
  list-style:none;
  display:flex;
  gap:12px;
  padding:0;
  margin:0;
}

.footer-social a{
  display:inline-flex;
  width:40px;
  height:40px;
  border-radius:50%;
  /* border:1px solid rgba(255,255,255,.4); */
  align-items:center;
  justify-content:center;
}

/* Links columnas */

.footer-title{
  font-size:16px;
  font-weight:700;
  margin:0 0 18px;
}

.footer-links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
  color: var(--azul-60);
}

.footer-links li + li{
  margin-top:4px;
}

.footer-links a{

  text-decoration:none;
  
}

.footer-links a:hover{
  text-decoration:underline;
}

.footer-links li a{
  position:relative;
  padding-left:14px;        /* espacio para la flechita */
 
  text-decoration:none;
  
  opacity:0.85;
}

.footer-links li a::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:6px;
  height:6px;
  border-right:1px solid #fff;
  border-bottom:1px solid #fff;
  transform:translateY(-50%) rotate(-45deg);
  opacity:0.7;
}

.footer-links li a:hover{
  opacity:1;
}

/* Sub-footer */
.footer-divider{
  border:0;
  border-top:1px solid rgba(255,255,255,.25);
  margin:32px 0 18px;
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-logo{
  height:28px;
  width:auto;
}

.footer-mini-links{
  list-style:none;
  display:flex;
  gap:18px;
  margin:0;
  padding:0;
  font-size:12px;
}

.footer-mini-links a{
  color:#fff;
  text-decoration:none;
}

.footer-mini-links a:hover{
  text-decoration:underline;
}

.footer-copy{
  margin:0;
  font-size:12px;
}

/* =========================
   BOTÓN ACORDEÓN (DESKTOP)
========================= */

/* En desktop el botón se ve como título simple */
.footer-accordion{
  width:100%;
  background:none;
  border:0;
  padding:0;
  text-align:left;
  font-size:14px;
  font-weight:700;
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.footer-accordion-icon{
  display:none;   /* solo móvil mostrará la flecha */
}

/* =========================
   RESPONSIVE FOOTER
========================= */

@media (max-width:1024px){
  .footer-top{
    gap:32px;
  }
}

@media (max-width:768px){

  .site-footer{
    padding:40px 0 24px;
  }

  .footer-top{
    flex-direction:column;
    gap:0;
  }

  .footer-col--nav{
    border-bottom:1px solid rgba(255,255,255,.25);
    padding:14px 0;
  }

  /* mostrar flecha */
  .footer-accordion-icon{
    display:block;
    width:10px;
    height:10px;
    border-right:2px solid #ffffff;
    border-bottom:2px solid #ffffff;
    transform:rotate(45deg); /* flecha abajo */
    transition:transform .2s ease;
  }

  /* listas cerradas por defecto */
  .footer-col--nav .footer-links{
    max-height:0;
    overflow:hidden;
    margin-top:0;
    padding-top:0;
    transition:max-height .25s ease;
  }

  /* columna abierta */
  .footer-col--nav.is-open .footer-links{
    max-height:260px;   /* suficiente para los li */
    padding-top:6px;
    margin-top:6px;
  }

  .footer-col--nav.is-open .footer-accordion-icon{
    transform:rotate(225deg);  /* flecha arriba */
  }

  .footer-col--contact{
    padding-top:24px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .footer-bottom-center{
    order:2;
  }

  .footer-bottom-right{
    order:3;
  }
}

.footer-mini-links{
  display: flex;
  justify-content: center;   /* o flex-start, según tu layout */
  gap: 40px;                 /* separación entre items */
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-mini-links li a{
  display: inline-flex;
  align-items: center;
  gap: 8px;                  /* espacio entre icono y texto */
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}

.footer-mini-links li a:hover{
  text-decoration: underline;
}

/* Iconitos */
.footer-mini-icon{
  width: 18px;               /* ajusta al tamaño de tu SVG */
  height: 18px;
  display: block;
}


/* Línea sobre el autor */
.testi-author-line {
  display: block;
  width: 40px;        /* ajusta según el Figma */
  height: 3px;
  background: #0075D1; /* tu azul primario */
  border-radius: 2px;
  margin-bottom: 8px; /* espacio entre línea y nombre */
}


p.footer-address.body-2 {
    font-size: 13px;
}


/* ===============================
   HERO – SOCIAL (DESKTOP ONLY)
=============================== */

.hero-social {
  position: absolute;         /* se ancla al hero */
  top: 50%;
  left: 24px;                 /* separación del borde */
  transform: translateY(-50%);
  z-index: 10;
}

/* Ocultar en mobile */
@media (max-width: 1023px) {
  .hero-social {
    display: none !important;
  }
}

/* Contenedor vertical */
.hero-social-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 10px;
  background: #003B6B; /* azul oscuro */
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

/* Links */
.hero-social-list a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}

/* Hover */
.hero-social-list a:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}

/* SVG */
.hero-social-list svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* Seguridad: evita overflow lateral */
.hero-social,
.hero-social * {
  box-sizing: border-box;
}