/* styles.css - estilo principal */
/* Fuente: Inter / Poppins */
:root{
  --bg: #fbfdff;
  --accent: linear-gradient(90deg,#7c3aed,#06b6d4);
  --purple:#6B21A8;
  --muted:#6b7280;
  --card: rgba(255,255,255,0.7);
  --glass: rgba(255,255,255,0.6);
  --radius: 14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0;
  background: var(--bg);
  color:#0f172a;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.35;
}
body, html {
  font-family: 'Inter', sans-serif;
}

/* container */
.container{
  width: min(1180px, 94%);
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top:0;
  z-index:60;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.35));
  border-bottom: 1px solid rgba(99,102,241,0.03);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 18px 0;
}

/* Brand */
.brand{
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:var(--purple);
}
.brand-name{
  font-weight:700;
  font-family: "Poppins", sans-serif;
  font-size:18px;
}
.brand-icon{transform:translateY(-1px)}

/* Nav */
.main-nav{
  display:flex;
  align-items:center;
  gap:16px;
}
.nav-list{
  display:flex;
  gap:26px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}
.nav-list a{
  text-decoration:none;
  color:#3f3d56;
  font-weight:500;
  padding:6px 8px;
  border-radius:8px;
  transition: all .18s ease;
}
.nav-list a:hover, .nav-list a:focus{
  color:var(--purple);
  transform: translateY(-2px);
}

/* login outline */
.btn{
  display:inline-flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  border: none;
}
.btn-outline{
  background:transparent;
  border:2px solid rgba(107,33,168,0.14);
  color:var(--purple);
  padding:8px 16px;
}
.login{padding:8px 14px}

/* Hamburger - mobile */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:8px;
  margin-right:4px;
}
.hamburger{
  width:22px;
  height:2px;
  background:#46327b;
  display:block;
  position:relative;
}
.hamburger::before, .hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:#46327b;
  transition: transform .18s ease;
}
.hamburger::before{top:-6px}
.hamburger::after{top:6px}

/* HERO */
.hero{
  min-height: calc(100vh - 80px);
  padding: 48px 0 24px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}

/* background image (fondo.png) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url('../images/fondo.png');
  background-size: cover;
  background-position: left center;
  opacity:1;
  z-index:0;
  filter: saturate(1.02) contrast(1);
}

/* grid layout for hero content */
.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1fr 520px;
  gap: 24px;
  align-items:center;
  padding: 36px 0;
}

/* Left copy */
.hero-copy{
  padding: 32px 12px;
  max-width: 760px;
}
.hero-title{
  font-family: "Poppins", sans-serif;
  font-size: clamp(36px, 6.6vw, 72px);
  line-height:0.95;
  margin:0 0 14px 0;
  color:#07102a;
  font-weight:800;
}
.hero-title .accent{
  display:block;
  background: linear-gradient(90deg,#5b21b6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight:900;
}

.hero-sub{
  color:var(--muted);
  font-size:18px;
  margin:8px 0 22px 0;
}

/* CTA row */
.hero-cta-row{ display:flex; gap:16px; align-items:center; margin-bottom:28px; }
.btn-primary{
  background: linear-gradient(90deg,#7c3aed,#06b6d4);
  color:#fff;
  padding:14px 22px;
  border-radius:999px;
  box-shadow: 0 8px 28px rgba(99,102,241,0.12);
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration:none;
}
.btn-primary:hover, .btn-primary:focus{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(99,102,241,0.16);
}
.ghost-link{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
}

/* bottom features row */
.features-row{
  display:flex;
  gap:28px;
  list-style:none;
  padding:0;
  margin:22px 0 0 0;
  align-items:center;
}
.features-row li{
  display:flex;
  gap:10px;
  align-items:center;
  color: #3f3d56;
  font-weight:600;
}
.features-row .icon{opacity:0.95}

/* Right visual */
.hero-visual{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:8px;
}
.hero-illustration{
  width:100%;
  max-width:520px;
  height:auto;
  transform: translateY(6px);
  filter: drop-shadow(0 18px 36px rgba(51,65,85,0.12));
  border-radius: 18px;
  background: transparent;
}

/* small screen adjustments */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; text-align:center; padding-top:18px; }
  .hero-visual{ order: -1; margin-bottom: 6px; }
  .hero-copy{ padding: 0; }
  .features-row{ justify-content:center }
}

/* mobile nav */
@media (max-width: 820px){
  .nav-list{ display:none; position:absolute; top:64px; right:18px; background:var(--glass); backdrop-filter: blur(8px); padding:12px; border-radius:12px; box-shadow:0 10px 30px rgba(22,24,64,0.08); flex-direction:column; min-width:190px;}
  .nav-list.show{ display:flex; }
  .nav-toggle{ display:inline-flex; }
  .login{ display:none; }
}

/* focus visibility and accessibility */
a:focus, button:focus { outline: 3px solid rgba(99,102,241,0.12); outline-offset:4px; border-radius:8px; }

/* small visual polish */
.hero-sub{ max-width:720px }


/* SECCIÓN ECOSISTEMA */
.ecosistema-section {
  position: relative;
  background: url("../images/fondo1.jpg") no-repeat center/cover;
  padding: 4rem 0;
  font-family: 'Inter', sans-serif;
}

.ecosistema-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.ecosistema-content {
  background: linear-gradient(135deg, #d6c9f4, #bcebf7);

  border-radius: 0;
  padding: 3rem 0rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  font-family: 'Inter', sans-serif;
}


.eyebrow {
  color: #6452c0;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.ecosistema-content h2 {
  color: #6452c0;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ecosistema-content p {
  font-size: 1rem;
  color: #333;
}

/* SECCIÓN SOPORTE EN CRISIS*/

.help-section {
  position: relative;
  background: linear-gradient(135deg, #e7e1f5, #dfeaec);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 2rem;
  z-index: 0;
  font-family: 'Inter', sans-serif;
}

.help-container {
  max-width: 1200px; 
  width: 100%;      
  padding: 0 -4rem;  
  box-sizing: border-box;
}

.help-title {
  font-size: 2rem;
  font-weight: 700;
  color: #060607;
  margin-top: 0;
  line-height: 1.1;
  text-align: center;
}

.help-title-highlight {
  font-size: inherit;
  color: #09090a;
}

.help-title-rest {
  font-size: inherit;
  color: #0e0f0f;
}

.help-concept {
  margin-top: 10px;
  font-size: 1.125rem;
  color: #6452c0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700; 
}


.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 950px;
  margin: 40px auto 0;
}

.help-card {
  position: relative;
  border-radius: 20px;
  height: 350px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform .4s ease, box-shadow .4s ease;
}

.help-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.help-card.bg1 {
  background-image: url("../images/card1.png");
}

.help-card.bg2 {
  background-image: url("../images/card2.png");
}

.help-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  text-align: center;
  color: #eece38; 
  font-family: 'Inter', sans-serif;
  font-weight: 700; 
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.help-overlay h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.help-cta {
  display: inline-block;
  background: #6452c0;
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.help-cta:hover {
  background: #36d2b5;
}



/*  SECCIÓN CONSEJOS */


.section-consejos {
  background: url("../images/fondo1.jpg") no-repeat center/cover;
  border-radius: 0rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0rem;
  font-family: 'Inter', sans-serif;
}

.section-consejos::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4), transparent 70%);
  transform: rotate(25deg);
  z-index: 0;
}



.consejos-container {
  background: #fff;
  border-radius: 0;
  width: 100vw;      
  margin: 0;           
  padding: 2rem 1rem;  
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}


.consejos-content-inner {
  width: 100%;
  max-width: 1200px; 
  display: flex;
  flex-direction: column;
  align-items: center;
}


    /* ---------- Contenedor y centrado---------- */
    .text-center {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #050505;
      font-size: 1.125rem;
      
    }

    .justify-center {
      justify-content: center;
    }

    .button-container {
      margin: 20px 0;
    }

    .image-container {
      margin-top: 20px;
      width: 100%;
      max-width: 559px;
    }



    /* ---------- Contenedor del menú de pestañas (nuevo look) ---------- */
    .consejos-menu-container {
      width: 100%;
      max-width: 1000px;
      margin: 30px 0;
      padding: 12px;
      padding-left: 15px;
      padding-right: 15px;
      background:linear-gradient(135deg, #6452c0 0%, #36d2b5 100%);
      border-radius: 999px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);

    }

    /* ---------- Pestañas con scroll horizontal  ---------- */
    .consejos-tabs {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 8px;
      padding: 8px 0px;
      justify-content: flex-start;
      scroll-snap-type: x proximity;
      -webkit-overflow-scrolling: touch;
      scroll-padding-inline: 20px;
    }

    /* Pulgar de scroll estilizado */
    .consejos-tabs::-webkit-scrollbar {
      display: none;
    }

    .consejos-tabs::-webkit-scrollbar-track {
      background: transparent;
    }

    .consejos-tabs::-webkit-scrollbar-thumb {
      background: #e9b23e;
      border-radius: 20px;
      border: 2px solid rgba(255, 255, 255, 0.12);
    }

    /* ---------- Estilo de cada pestaña (botón) ---------- */
    .consejos-tab {
      scroll-snap-align: center;
      flex: 0 0 auto;
      padding: 10px 18px;
      border-radius: 999px;
      border: 1px solid rgba(46, 125, 50, 0.15);
      background: transparent;
      color: #f1eaff;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.3s ease;
      white-space: nowrap;
      box-shadow: 0 4px 10px rgba(46, 125, 50, 0.08);
      position: relative;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* Efecto de luz que recorre el botón al hacer hover - MÁS SUAVE */
    .consejos-tab::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -100%;
      width: 200%;
      height: 200%;
      background: linear-gradient(to bottom right,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.5) 40%,
          rgba(255, 255, 255, 0) 100%);
      transform: rotate(30deg);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .consejos-tab:hover::before {
      animation: light-sweep 1.2s ease-out forwards;
    }

    @keyframes light-sweep {
      0% {
        opacity: 0;
        transform: rotate(30deg) translateX(-30%) translateY(-30%);
      }

      30% {
        opacity: 0.6;
      }

      100% {
        opacity: 0;
        transform: rotate(30deg) translateX(100%) translateY(100%);
      }
    }

    /* Hover - Efecto mejorado */
    .consejos-tab:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 28px rgba(46, 125, 50, 0.15);
      background: #ff61ff;
      color: #fff;
      border-color: transparent;
    }

    /* Estado activo - Verde sólido */
    .consejos-tab-active {
      background: #ff61ff;
      color: #ffffff;
      box-shadow: 0 16px 36px rgba(46, 125, 50, 0.16);
      transform: translateY(-6px);
      border-color: transparent;
    }

    /* Hover cuando ya está activo (sutil) */
    .consejos-tab-active:hover {
      transform: translateY(-7px) scale(1.01);
      background: #be7ac5;
    }

    /* Focus accesible (teclado) */
    .consejos-tab:focus {
      outline: 3px solid rgba(46, 125, 50, 0.2);
      outline-offset: 3px;
    }

    .consejos-tab .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ffff;
      margin-right: 10px;
      box-shadow: 0 2px 6px rgba(46, 125, 50, 0.15);
      flex-shrink: 0;
      transition: background 0.3s ease;
    }

    .consejos-tab:hover .dot,
    .consejos-tab-active .dot {
      background: #ffffff;
    }

    /* Responsive para móviles: más compactas */
    @media (max-width: 768px) {
      .consejos-tabs {
        justify-content: flex-start;
        gap: 10px;
        padding: 8px 6px;
      }

      .consejos-tab {
        padding: 9px 14px;
        font-size: 13px;
        min-height: 40px;
      }
    }

    /* Evitar que la imagen cambie por mi estilos aquí */
    .v2-tab-style {
      width: 100%;
      height: auto;
      display: block;
    }

    /* ---------- BLOQUE: subtítulo / concepto / tarjetas  ---------- */

    /* Contenedor del bloque debajo del menú */
    .consejos-content-below {
      width: 100%;
      max-width: 1000px;
      margin: 18px 0 40px;
      padding: 8px 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* Subtítulo (más pequeño que el H2 principal) */
    .consejos-subtitle {
      font-size: 20px;
      font-weight: 700;
      margin: 6px 0 8px;
      color: #36d2b5;
      line-height: 1.2;
      max-width: 900px;
    }

    /* Concepto (tamaño similar al párrafo bajo el título de consejos) */
    .consejos-concept {
      font-size: 15px;
      color: #6452c0;
      margin: 0 0 18px;
      max-width: 820px;
    }

    /* Contenedor de tarjetas: fila única en desktop, wrap en móvil */
    .consejos-cards {
      width: 100%;
      display: flex;
      gap: 18px;
      justify-content: center;
      align-items: stretch;
      flex-wrap: nowrap;
    }

    /* Cada tarjeta */
    .consejo-card {
      background: #A99CC4;
      border-radius: 20px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 6);
      overflow: hidden;
      width: 100%;
      max-width: 380px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      transition: transform 0.18s ease, box-shadow 0.18s ease;
      cursor: pointer;
      text-align: left;
      padding: 0;
      margin: 0;
    }

    /* Imagen de cada tarjeta: más alta para mostrar más contenido, cover para llenar sin mostrar bordes */
    .consejo-card-img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      display: block;
    }

    /* Hover / focus en tarjeta: eleva e intensifica */
    .consejo-card:hover,
    .consejo-card:focus {
      transform: translateY(-6px) scale(1.01);
      box-shadow: 0 20px 44px rgba(138, 79, 255, 0.12);
      outline: none;
    }

    /* Pequeña mejora en foco accesible */
    .consejo-card:focus {
      box-shadow: 0 20px 44px rgba(138, 79, 255, 0.16);
      border: 2px solid rgba(138, 79, 255, 0.06);
    }

    /* Responsive: en pantallas pequeñas que no alcanzan 900px, permitir que se haga wrap (vertical) */
    @media (max-width: 900px) {
      .consejos-cards {
        flex-wrap: wrap;
        gap: 14px;
      }

      .consejo-card {
        max-width: calc(50% - 7px);
      }
    }

    /* En pantallas muy pequeñas (móvil), una tarjeta por fila */
    @media (max-width: 520px) {
      .consejo-card {
        max-width: 100%;
      }

      .consejos-subtitle {
        font-size: 18px;
      }

      .consejos-concept {
        font-size: 14px;
      }
    }

    /* nuevos estilos */
    .publication-card {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 0;
    }

    /* contenedor de las imágenes (relativo para posicionar slides) */
    .consejo-card-carousel {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: linear-gradient(180deg, rgba(244, 250, 247, 1), rgba(238, 251, 248, 1));
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
    }

    /* imágenes dentro del carousel: mostrar enteras sin recortar */
    .carousel-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      opacity: 0;
      transform: translateY(0);
      transition: opacity 450ms ease, transform 450ms ease;
      background: transparent;
    }

    /* imagen visible */
    .carousel-slide.active {
      opacity: 1;
    }

    /* si la imagen tiene fondo blanco y se ve "pega", centrado vertical */
    .carousel-slide img {
      display: block;
      margin: 0 auto;
      max-height: 100%;
      width: auto;
    }

    /* --- Botón ojito / ver (flotante) --- */
    .carousel-action.view-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 30;
      width: 54px;
      height: 54px;
      padding: 6px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(31, 133, 111, 0.10);
      box-shadow: 0 10px 26px rgba(31, 133, 111, 0.08), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
      cursor: pointer;
      transition: transform .16s cubic-bezier(.2, .9, .3, 1), box-shadow .16s ease;
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
    }

    .carousel-action.view-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(31, 133, 111, 0.22);
    }

    .carousel-action.view-btn:focus {
      outline: 3px solid rgba(46, 125, 50, 0.18);
      outline-offset: 2px;
    }

    /* --- Título: que acepte longitudes variables, 2 líneas con ellipsis --- */
    .consejo-card-title {
      font-size: 16px;
      margin: 6px 0 8px;
      color: #1f856f;
      font-weight: 800;
      line-height: 1.2;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: break-word;
    }

    /* controles */
    .carousel-controls {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none;
    }

    .carousel-btn {
      pointer-events: all;
      background: #eece38;
      color: #fff;
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: pointer;
      margin: 0 8px;
      box-shadow: 0 6px 18px rgba(31, 133, 111, 0.18);
      transition: transform 0.12s ease;
    }

    .carousel-btn:active {
      transform: scale(.96);
    }

    .carousel-btn:focus {
      outline: 3px solid rgba(46, 125, 50, 0.18);
      outline-offset: 3px;
    }

    /* puntos */
    .carousel-dots {
      position: absolute;
      left: 12px;
      bottom: 10px;
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .carousel-dots button {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(46, 125, 50, 0.08);
      transition: transform .12s ease, background .12s ease;
    }

    .carousel-dots button[aria-pressed="true"] {
      background: #1f856f;
      transform: scale(1.12);
    }

    /* cuerpo (título + texto) */
    .consejo-card-body {
      padding: 12px 16px 18px;
      min-height: 86px;
    }

    .consejo-card-title {
      font-size: 16px;
      margin: 6px 0 8px;
      color: #fff;
      font-weight: 800;
    }

    .consejo-card-text {
      font-size: 14px;
      color: #4b5a57;
      margin: 0;
      line-height: 1.35;
    }

    .consejo-card[aria-label] .consejo-card-title {
      /* no hay cambio; usa title="" en HTML para tooltip */
    }

    @media (max-width: 900px) {
      .consejo-card-body {
        min-height: 72px;
      }

      .consejo-card-title {
        font-size: 15px;
        -webkit-line-clamp: 2;
      }
    }

    @media (max-width: 520px) {
      .carousel-action.view-btn {
        width: 36px;
        height: 36px;
        top: 8px;
        right: 8px;
      }
    }

    @media (max-width: 520px) {
      .carousel-controls {
        display: none;
      }

      .carousel-dots {
        left: 8px;
        bottom: 8px;
      }
    }

    /* estilos para el gif del botón */
    .view-gif {
      display: block;
      width: 36px;
      height: 36px;
      object-fit: contain;
    }


    /* GIF dentro del botón: pequeño, centrado y con contraste interno */
    .carousel-action.view-btn .view-gif {
      width: 34px;
      height: 34px;
      object-fit: contain;
      display: block;
      border-radius: 999px;
      /* opcional: leve sombra interna para que el gif destaque */
      filter: drop-shadow(0 2px 3px rgba(16, 60, 40, 0.06));
    }

    /* hover / focus: elevar y resonar */
    .carousel-action.view-btn:hover,
    .carousel-action.view-btn:focus {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 16px 40px rgba(31, 133, 111, 0.12), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
      outline: none;
    }

    /* foco accesible (teclado) */
    .carousel-action.view-btn:focus {
      box-shadow: 0 0 0 4px rgba(31, 133, 111, 0.12), 0 16px 40px rgba(31, 133, 111, 0.12);
    }

    /* pequeño pulso leve para llamar la atención (no intrusivo) */
    @keyframes eyePulse {
      0% {
        transform: scale(1);
        opacity: 1;
      }

      60% {
        transform: scale(1.06);
        opacity: .98;
      }

      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    .carousel-action.view-btn.pulse {
      animation: eyePulse 2.6s infinite ease-in-out;
    }

    /* si necesitas que el boton sea más discreto en mobile */
    @media (max-width: 520px) {
      .carousel-action.view-btn {
        top: 8px;
        right: 8px;
        width: 46px;
        height: 46px;
        padding: 4px;
      }

      .carousel-action.view-btn .view-gif {
        width: 30px;
        height: 30px;
      }
    }

    /* pulso sutil alrededor del botón (opcional) */
    .carousel-action.view-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 12;
      background: rgba(31, 133, 111, 0.0);
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform .12s ease, box-shadow .12s ease;
      padding: 2px;
    }

    .carousel-action.view-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(31, 133, 111, 0.12);
    }

    .carousel-action.view-btn:focus {
      outline: 3px solid rgba(46, 125, 50, 0.18);
      outline-offset: 2px;
    }
    .btn-ver-mas {
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  color: #fff;
  background-color: #6452c0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-ver-mas:hover {
  background-color: #7b63d4;
}


    /* Modal (lightbox) styles (pegar también si no lo tienes) */
    .pub-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
      align-items: center;
      justify-content: center;
    }

    .pub-modal[aria-hidden="false"] {
      display: flex;
    }

    .pub-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(3, 15, 10, 0.45);
      backdrop-filter: blur(2px);
    }

    .pub-modal-panel {
      position: relative;
      width: min(920px, 96%);
      max-height: 90vh;
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(2, 14, 10, 0.25);
      z-index: 2;
    }

    .pub-modal-inner {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 18px;
    }

    .modal-image-wrap {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      max-height: 70vh;
      overflow: hidden;
      background: #f8f9f8;
    }

    .modal-image-wrap img {
      max-width: 100%;
      max-height: 70vh;
      object-fit: contain;
      transition: transform .24s ease;
      cursor: zoom-in;
    }

    .modal-prev,
    .modal-next {
      background: #1f856f;
      color: white;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(31, 133, 111, 0.18);
    }

    .pub-modal-close {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      border: none;
      font-size: 20px;
      cursor: pointer;
    }

    .pub-modal-footer {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 18px;
      border-top: 1px solid #eee;
    }

    #pubModalTitle {
      margin: 0;
      color: #1f856f;
      font-weight: 700;
    }

    .modal-image-wrap.zoomed img {
      transform: scale(1.9);
      cursor: zoom-out;
    }

    /* ajustes responsive */
    @media(max-width:720px) {

      .modal-prev,
      .modal-next {
        width: 36px;
        height: 36px;
      }

      .pub-modal-panel {
        width: 98%;
        margin: 8px;
      }
    }

    .consejo-card-text {
      display: none !important;
    }
  :root{
    --accent-1: #6b3bd6;   /* morado vibrante */
    --accent-2: #4f2bb3;   /* morado oscuro */
    --muted-bg: #fbfbfe;   /* fondo suave para la imagen */
    --gold: #eece38;
    --card-shadow: 0 30px 60px rgba(2,14,10,0.12);
    --text-dark: #08282a;
  }

  /* Modal contenedor */
  .pub-modal-full {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .pub-modal-full[aria-hidden="false"] { display:flex; }

  .pub-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3,15,10,0.45);
    backdrop-filter: blur(3px);
  }

  /* Card principal */
  .pub-modal-card {
    position: relative;
    width: min(1100px, 96%);
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    z-index: 2;
    background: linear-gradient(180deg,#f7f6fb 0%, #f2eff9 100%);
  }

  /* Header */
  .pub-modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #fff;
    padding: 12px 18px;
  }
  .pub-header-brand { display:flex; align-items:center; gap:10px; }
  .pub-header-logo { width:36px; height:36px; object-fit:contain; border-radius:6px; background: rgba(255,255,255,0.12); padding:2px; }
  .pub-header-title { font-weight:800; font-size:18px; letter-spacing:0.2px; }

  .pub-modal-close { background: rgba(255,255,255,0.12); color:#fff; border:none; padding:6px 10px; border-radius:8px; cursor:pointer; font-size:16px; }


  .pub-modal-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 18px;
    padding: 18px;
    align-items: stretch;
    background: linear-gradient(180deg, #36d2b5, #be7ac5);

  }

  .pub-gallery {
    position: relative;
    background: linear-gradient(180deg, var(--muted-bg), #eef0fb 120%);
    border-radius: 12px;
    padding: 20px;
    display:flex;
    flex-direction:column;
    gap:12px;
    overflow: hidden;
  }

  .pub-image-wrap {
    width: 100%;
    height: min(62vh, 520px);
    display:flex;
    align-items:center;
    justify-content:center;
    background: radial-gradient(circle at 10% 10%, #ffffff 0%, #f6f6ff 30%);
    border-radius: 12px;
    overflow:hidden;
    box-shadow: 0 8px 30px rgba(12,24,40,0.06);
    position:relative;
  }
  .pub-image-wrap img {
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition: transform .28s ease;
    cursor: zoom-in;
  }
  .pub-image-wrap.zoomed img { transform: scale(1.6); cursor: zoom-out; }

  .pub-prev, .pub-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    color: #fff;
    border:none;
    width:44px; height:44px; border-radius:50%;
    cursor:pointer;
    box-shadow: 0 10px 26px rgba(31,133,111,0.12);
    display:flex; align-items:center; justify-content:center; font-size:20px; z-index:4;
  }
  .pub-prev{ left: 18px; }
  .pub-next{ right: 18px; }

  .pub-thumbs {
    display:flex; gap:8px; margin-top:8px; padding:6px 4px; overflow-x:auto; align-items:center;
  }
  .pub-thumbs img { width:72px; height:72px; object-fit:cover; border-radius:8px; box-shadow:0 6px 18px rgba(3,15,10,0.06); border:2px solid transparent; transition: transform .12s ease, border-color .12s ease; }
  .pub-thumbs button[aria-pressed="true"] img { transform:scale(1.02); border-color: var(--gold); }

.pub-info {
  position: relative;
background: linear-gradient(180deg, #6452c0, #8d76e0);

  color: #fff;
  border-radius: 12px;
  padding: 24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content: center;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}


.pub-info::before {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: #36d2b5;
  border-radius: 50%;
  z-index: 0;
}


.pub-info::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: #ffa833;
  border-radius: 50%;
  z-index: 0;
}


  .pub-title { color: #fff; margin:0; font-size:20px; font-weight:900; letter-spacing:0.2px; }
  .pub-concept { color: rgba(255,255,255,0.92); margin:0; line-height:1.5; font-size:14px; }

  .pub-actions { display:flex; gap:10px; margin-top:6px; }
  .pub-actions button {
    background: #fff;
    color: var(--accent-2);
    border:none;
    padding:10px 12px;
    border-radius:8px;
    cursor:pointer;
    font-weight:700;
    box-shadow: 0 10px 26px rgba(31,133,111,0.06);
  }
  .pub-actions button[aria-pressed="true"]{ transform: translateY(-1px); }

  .pub-guidance small { color: rgba(255,255,255,0.85); }


  @keyframes float {
    0% { transform: translateY(0) scale(1); opacity:0.95; }
    50% { transform: translateY(-14px) scale(1.03); opacity:0.88; }
    100% { transform: translateY(0) scale(1); opacity:0.95; }
  }

  /* Responsive */
  @media (max-width: 920px){
    .pub-modal-body { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
    .pub-info { order: 3; min-height:auto; width:100%; }
    .pub-gallery { order:1; width:100%; }
    .pub-thumbs img { width:56px; height:56px; }
    .pub-image-wrap { height:48vh; }
    .pub-modal-card { width:96%; }
    .pub-bubbles { transform: scale(0.85); left:8px; bottom:8px; }
  }



  /* ======= SECCIÓN RECURSOS ======= */
.recursos-section {
  position: relative;
  background: #ffffff; /* blanco */
  padding: 0;
  margin: 0;
  font-family: 'inter', sans-serif;
}


.recursos-container {
  max-width:1200px;
  margin:auto;
  transform: translateY(-3rem);
    padding-top: 0rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.recursos-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.125rem; 
  font-weight: 600; 
  margin: 1rem 0;
  text-align: center;
  color: #100f11; 
  letter-spacing: 0;
  line-height: 1.1;
}

.recursos-subtitle {
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1rem; 
  font-weight: 700; 
  color: #4a2c8c;
  max-width: 100%;
  text-shadow: 0 2px 4px rgba(0,0,0,0.08);
}


.recursos-categorias {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:1rem;
  justify-items:center;
  padding-bottom:.5rem;
}
.recursos-cat button {
  width:48px;height:48px;
  border-radius:50%;
  background: linear-gradient(135deg, #6452c0, #36d2b5);

  color:white;border:none;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  box-shadow:0 3px 8px rgba(0,0,0,.15);
  transition:transform .2s, box-shadow .2s, background .3s;
}
.recursos-cat button:hover {
  transform:scale(1.1);
  background: #ffa833;
  box-shadow:0 5px 12px rgba(0,0,0,.2);
}
.recursos-cat button.active {
  background:#ffa833;
}
.recursos-cat {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.3rem;
  text-align:center;
  width:70px;
}
.recursos-cat span {
  font-size:.75rem;
  line-height:1rem;
  white-space:normal;
  overflow-wrap:break-word;
  text-align:center;
}

@keyframes fadeUp {
  0%{opacity:0;transform:translateY(20px);}
  100%{opacity:1;transform:translateY(0);}
}
.recursos-card.animate {animation:fadeUp .4s ease forwards;}

.recursos-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:1.5rem;
  margin-top:1rem;
  justify-content:center;
}

.recursos-card {
  background:#faf9f7;
  border-radius:1rem;
  overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,.1);
  transition:box-shadow .2s;
}
.recursos-card:hover {box-shadow:0 4px 12px rgba(0,0,0,.15);}


.recursos-image {
  width:100%;
  height:160px;
  object-fit:contain;
  border-top-left-radius:1rem;
  border-top-right-radius:1rem;
  transition:transform .3s;
}
.recursos-image:hover {transform:scale(1.05);}

.recursos-card h3 {
  padding:1rem 1rem 0;
  font-size:1.1rem;
  font-weight:bold;
}
.recursos-body {
  padding:1rem;
  font-size:.9rem;
  color:#555;
}

.recursos-relative {position:relative;cursor:pointer;}
.recursos-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.7),transparent);
  color:white;
  font-weight:bold;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  pointer-events:none;
}

.recursos-modal {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1000;
}
.recursos-modal.recursos-active {display:flex;}
.recursos-modal-content {
  background:#8799d5;
  border-radius:1rem;
  padding:1.5rem;
  max-width:900px;
  width:90%;
  max-height:90vh;
  overflow:auto;
  box-shadow:0 4px 20px rgba(0,0,0,.3);
}
.recursos-close-btn {
  display:inline-block;
  margin-top:1rem;
  padding:.5rem 1rem;
  background:#e5e7eb;
  border-radius:.5rem;
  color:#333;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s;
}
.recursos-close-btn:hover {background:#d1d5db;}



/*  Sección Screening */
.screening-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url("../images/fondo1.jpg") no-repeat center/cover;
  font-family: 'Inter', sans-serif;
  padding: 0rem;
}

.screening-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;         
  max-width: 100%;    
  background: linear-gradient(135deg, #d6c9f4, #bcebf7); 
  border-radius: 0;   
  padding: 3rem;       
  color: black;
  gap: 2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  box-sizing: border-box;
}


.screening-text {
  flex: 1;
  text-align: center;
}

.screening-title {
  font-size: 2.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0;
  color: #4a2c8c;
}

.screening-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: center;
}

.screening-btn {
  display: inline-block;
  background: #e6f34c; 
  color: #333;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.screening-btn:hover {
  background: #d5e240;
}

.screening-image {
  flex: 1;
  text-align: right;
}

.screening-image img {
  max-width: 100%;
  height: auto;
}


/*  Sección nuestro trabajo */
:root{
  --line-w: 6px;
  --line-bg: #e6e6e6;
  --color-1: #6452c0;
  --card-bg: #fff;
  --gap: 40px;
}

.timeline-section {
    position: relative;
    overflow: visible;
    padding-top: 120px;
    background: #fff;
    box-sizing: border-box;
}


.timeline-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  background: transparent;
  position: relative;
  z-index: 5;
}

.timeline-header{
  text-align:center;
  margin-bottom:50px;

}
.timeline-header h2{
  font-size:2rem;
  margin:0 0 10px;
  color:black;
}
.timeline-header .timeline-subtitle{
  font-size:1.1rem;
  color:black;
  max-width:700px;
  margin:0 auto;
  line-height:1.6;
}

.timeline{
  position:relative;
  padding:100px 0;
}

.timeline .line{
  position:absolute;
  left:50%;
  top:0;
  width:var(--line-w);
  height:100%;
  background: var(--line-bg);
  transform:translateX(-50%);
  border-radius:4px;
  z-index:1;
}

.timeline .progress{
  position:absolute;
  left:50%;
  top:0;
  width:var(--line-w);
  height:0%;
  transform:translateX(-50%);
  z-index:2;
  border-radius:4px;
  background: linear-gradient(
    to bottom,
    rgba(34,197,94,0) 0%,
    #6452c0 8%,
    #6452c0 92%,
    rgba(34,197,94,0) 100%
  );
  transition: height 150ms linear;
}

.event{
  position:relative;
  width:100%;
  padding:100px 0;
  min-height:160px;
}


.point{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) scale(0);
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff;
  border:4px solid var(--line-bg);
  z-index:4;
  transition: transform 600ms cubic-bezier(.22,1,.36,1),
              background 400ms ease,
              box-shadow 400ms ease,
              border-color 400ms ease;
  box-shadow: 0 4px 12px rgba(2,6,23,0.06);
}

.point.active{
  background:#6452c0;
  border-color:#fff;
  transform:translate(-50%,-50%) scale(1.1);
  box-shadow: 0 10px 26px rgba(34,197,94,0.25);
}

.content{
  position:absolute;
  top:50%;
  transform:translateY(-50%) translateY(20px);
  width:calc(50% - var(--gap) - 20px);
  background:var(--card-bg);
  padding:24px;
  border-radius:12px;
  box-shadow:0 10px 28px rgba(2,6,23,0.08);
  opacity:0;
  transition: transform 900ms cubic-bezier(.22,1,.36,1),
              opacity 900ms ease;
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.event[data-side="left"] .content{
  right: calc(50% + var(--gap));
  text-align:right;
}
.event[data-side="right"] .content{
  left: calc(50% + var(--gap));
  text-align:left;
}

.content.show {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(
    135deg,
    rgba(100, 82, 192, 0.85) 0%,
    rgba(54, 210, 181, 0.6) 100%
  );
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.5s ease;
  color: #fff;
  border-radius: 8px;
  padding: 1rem;
}



.thumb{
  width:200px;
  height:150px;
  border-radius:10px;
  overflow:hidden;
  flex-shrink:0;
  background:#ddd;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.meta h3{
  margin:0;
  font-size:20px;
  color:#071135;
}
.meta p{
  margin:12px 0 0;
  color:#475569;
  font-size:16px;
  line-height:1.6;
}

@media (max-width:720px){
  .timeline{ padding:60px 0; }
  .timeline .line, .timeline .progress{ left:40px; transform:none; }
  .content{
    width: calc(100% - 90px);
    left:90px !important;
    right:auto !important;
  }
  .event[data-side="left"] .content,
  .event[data-side="right"] .content{
    left:90px;
    right:auto;
    text-align:left;
  }
  .point{ left:40px; transform:translateY(-50%) translateX(0) scale(0); }
  .point.active{ transform:translateY(-50%) translateX(0) scale(1.1); }
}
/*  Sección aliados */
.aliados-section{
  background:#f8f9fa;
  padding:3rem 1rem;
  font-family: 'Poppins', sans-serif;
}
.aliados-container{
  max-width:1200px;
  margin:auto;
}
.aliados-title{
  text-align:center;
  font-size:40px;
  font-weight:600;
  margin-bottom:2rem;
}

.aliados-carousel-wrapper{
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #faf9f7;
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.aliados-carousel-wrapper::before,
.aliados-carousel-wrapper::after{
  content: "";
  position: absolute;
  top:0;
  width: 80px;
  height: 100%;
  z-index:2;
  pointer-events: none;
  border-radius: 1rem;
}

.aliados-carousel-wrapper::before{
  left:0;
  background: linear-gradient(to right, rgba(100,82,192,0.5), rgba(100,82,192,0));
}

.aliados-carousel-wrapper::after{
  right:0;
  background: linear-gradient(to left, rgba(100,82,192,0.5), rgba(100,82,192,0));
}

.aliados-carousel{
  display:flex;
  gap:2rem;
  animation:aliados-scroll 20s linear infinite;
  position: relative;
  z-index:3;
}

.aliados-carousel-wrapper .side-image {
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  width:auto;
  height:auto;
  z-index:1;
  pointer-events:none;
}

.aliados-carousel-wrapper .side-image.left{
  left:0;
}

.aliados-carousel-wrapper .side-image.right{
  right:0;
}

.aliados-item{
  flex:0 0 auto;
  width:150px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.aliados-item img{
  width:100%;
  max-height:80px;
  object-fit:contain;
  filter:grayscale(20%);
  transition:transform .3s, filter .3s;
}
.aliados-item img:hover{
  transform:scale(1.05);
  filter:grayscale(0%);
}

@keyframes aliados-scroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

@media (max-width:768px){
  .aliados-item{width:120px;}
  .aliados-carousel{gap:1rem;}
}


.section-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/*  SECCIÓN pie de pagina */

.footer-section {
  background: linear-gradient(135deg, #6452c0, #36d2b5);
  color: white;
  padding: 2rem 1rem;
  margin-top: auto;
  font-family: 'Poppins', sans-serif;

}

.footer-top {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-left,
.footer-right {
  flex: 1;
}

.footer-left img.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
  display: block;
}

.footer-right h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.footer-icon {
  background: #ffa833;
  border-radius: 50%;
  padding: 0.4rem 0.6rem;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding-top: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: #3b82f6;
}
