@charset "UTF-8";

:root {
  --color-principal: #b71c1c;
  --color-nav-bg: #ffcb4d;
  --color-header-bg: #ffffff;
  --color-ninos-azul: #0d43ff;
  --color-ninos-ambar: #ffbe0b;
  --color-ninos-aqua: #00b4d8;
  --color-ninos-verde: #32cd32;
  --color-ninos-naranja: #FB5604;
  --color-ninos-galeria: #4d27ba;
  --color-ninos-rosa: #ff006e;
  --color-ninos-lila: #8338EC;
  --color-ninos-indigo: #a46084;
  --shadow-soft: 0 12px 30px rgba(0,0,0,0.10);
  --radius-lg: 18px;
}

body, html {
  margin: 0; padding: 0;
  width: 100%; height: 100%;
  overflow-x: hidden;
  font-family: 'Noto Sans', sans-serif;
  background-color: white;
}

a {
  text-decoration: none !important;
}

.chamakes-topbar {
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.chamakes-logo-row {
  background: var(--color-header-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 5%;
  box-sizing: border-box;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 110px;
  width: auto;
  display: block;
  padding: 0;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05) rotate(-2deg);
}

.chamakes-nav-row {
  background: var(--color-nav-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 5%;
  box-sizing: border-box;
  position: relative;
}

.chamakes-nav .chamakes-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.chamakes-nav .chamakes-nav-list li { position: relative; }

.chamakes-nav .chamakes-nav-list li a,
.chamakes-nav .chamakes-nav-list li button {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: white;
  padding: 10px 18px;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: inline-block;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* Botón X (cierra) */
.close-btn {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #333;
    z-index: 10001;
    cursor: pointer;
}

.chamakes-nav.active .close-btn { display: block; }

.close-btn::before, .close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 3px;
    background-color: #333;
}
.close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* Hover colores de los items principales */
.chamakes-nav .chamakes-nav-list li:nth-child(3) a:hover { background: #e8f4fd; color: var(--color-ninos-rosa); }
.chamakes-nav .chamakes-nav-list li:nth-child(2) a:hover { background: #eafaf1; color: var(--color-ninos-verde); }
.chamakes-nav .chamakes-nav-list li:nth-child(1) a:hover { background: #fef5e7; color: var(--color-ninos-naranja); }
.chamakes-nav .chamakes-nav-list li:nth-child(5) a:hover { background: #fdedec; color: var(--color-ninos-azul); }

/* =========================
   SUBMENÚ (Secciones) - Desktop
   ========================= */
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  margin: 0;
  list-style: none;

  background: var(--color-nav-bg);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.08);

  display: none;
  z-index: 3000;
}

.submenu li a {
  width: 100%;
  display: block;
  color: #333;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.submenu li a:hover,
.submenu li a:focus-visible {
  background: rgba(255, 255, 255, 0.35);
  color: var(--color-principal);
  transform: translateX(2px);
}

/* Desktop: abrir con hover/focus-within */
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
}

/* Botón hamburguesa (abre) */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 1001;
}

.menu-btn span {
  width: 100%;
  height: 4px;
  background-color: var(--color-principal);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Botón X (cierra) */
.close-btn {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
}

.close-btn::before,
.close-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 4px;
  background: var(--color-principal);
  border-radius: 10px;
  transform-origin: center;
}

.close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-btn::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* Responsive */
@media (max-width: 992px) {
  .menu-btn {
    display: flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .chamakes-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    color: white;
    background: #ffbe0b;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    padding-top: 100px;
    z-index: 2000;
  }

  .chamakes-nav.active { right: 0; }
  .chamakes-nav.active .close-btn { display: block; }

  .chamakes-nav .chamakes-nav-list {
    flex-direction: column;
    gap: 16px;
    padding: 0 18px;
    align-items: stretch;
  }

  .chamakes-nav .chamakes-nav-list li a,
  .chamakes-nav .chamakes-nav-list li button {
    width: 100%;
    text-align: left;
  }

  /* Mobile: submenú colapsado por defecto, tipo acordeón */
  .submenu {
    position: static;
    display: none;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: none;
    margin-top: 8px;
  }

  .has-submenu.is-open > .submenu {
    display: block;
  }

  .submenu li a { color: #fff; }
  .submenu li a:hover,
  .submenu li a:focus-visible {
    background: rgba(255,255,255,0.22);
    color: #fff;
    transform: none;
  }

  /* Indicador ▼ en el botón "Secciones" */
  .submenu-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
  .submenu-toggle::after {
    content: "▾";
    font-weight: 900;
    margin-left: 10px;
  }
  .has-submenu.is-open > .submenu-toggle::after {
    content: "▴";
  }
}

/* Slider */
.slider-container { position: relative; width: 100%; height: 90vh; overflow: hidden; z-index: 1; }
.slider { display: flex; width: 300%; height: 100%; transition: transform 0.8s ease-in-out; }
.slide { width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; justify-content: center; align-items: center; color: white; text-align: center; position: relative; }
.slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); }
.slide-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.slide-content h2 { font-size: 3.5rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.slide-content p { font-size: 19px; text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }

.slide-1 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/ada1e52f34bcc23a3c4a7dbe9b4435bb1e225d45/slider-index-1.png'); }
.slide-2 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/0681b35f3c73d9dd29c9ab901455e99998eb5b33/slider-index-2.png'); }
.slide-3 { background-image: url('https://raw.githubusercontent.com/SakiTsubaki/epubs2/ede290d0a55d7cf40d5cba91b0097aef4f147993/slider-index-3.png'); }

.slider-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.3); color: white; border: none; padding: 15px 20px; font-size: 1.5rem; cursor: pointer; z-index: 10; border-radius: 50%; margin: 0 10px; }
.prev { left: 10px; } .next { right: 10px; }

.colibri-flotante {
  position: absolute;
  bottom: -40px; right: 10%;
  width: 220px; z-index: 50;
  pointer-events: none;
  animation: flotarColibri 4s ease-in-out infinite;
}

@keyframes flotarColibri {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* =========================
   CTA (Call To Action)
   ========================= */
.cta-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.cta:hover,
.cta:focus,
.cta:focus-visible,
.cta:active,
.cta:visited { text-decoration: none; }

.cta:focus,
.cta:focus-visible {
  outline: 3px solid rgba(255,255,255,0.85);
  outline-offset: 3px;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.cta--primary {
  background: var(--color-ninos-rosa);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.cta--primary:hover { background: #ff2a80; border-color: rgba(255,255,255,0.55); color: #fff; }

.cta--secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.75);
  backdrop-filter: blur(2px);
}
.cta--secondary:hover { background: rgba(255,255,255,0.30); border-color: rgba(255,255,255,0.95); color: #fff; }

.cta--tertiary {
  background: var(--color-ninos-azul);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.cta--tertiary:hover { background: #2f89c4; border-color: rgba(255,255,255,0.55); color: #fff; }

/* Intro */
.introduccion {
  padding: 80px 10%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 5;
}

.intro-image { flex: 1; display: flex; justify-content: center; }
.intro-image img { max-width: 80%; height: auto; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); transition: transform 0.3s ease; }
.intro-image img:hover { transform: scale(1.05) rotate(-2deg); }

.intro-text { flex: 1; text-align: left; }
.intro-text h1 { color: var(--color-principal); font-size: 40px; margin-bottom: 20px; }
.intro-text p { font-size: 15px; line-height: 1.9; color: #333; }

@media (max-width: 768px) {
  .introduccion { flex-direction: column; text-align: center; padding: 40px 5%; }
  .intro-text { text-align: center; }
  .intro-image img { max-width: 250px; margin-bottom: 30px; }
}

/* =========================
   Sección "ultimos articulos" (estilo tarjetas)
   ========================= */
.ultarticulos {
  padding: 20px 10%;
  background: #ffffff;
  position: relative;
  z-index: 5;
}

.ultarticulos-header {

  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.ultarticulos-title {
  margin-bottom: 60px;
  color: var(--color-principal);
  font-size: 34px;
  font-weight: 900;
  text-align: center;
}

.ultarticulos-subtitle {
  margin: 0;
  color: #444;
  max-width: 680px;
  line-height: 1.6;
  font-size: 16px;
}

.ultarticulos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ultarticulos-card {
      background: #fff;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      text-decoration: none;
      color: #222;
      transition: transform 0.15s ease, box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-height: 250px;
    }

    .card-image-top {
  width: 100%;
  height: 140px; /* Altura fija para las miniaturas */
  background-size: cover;
  background-position: center;
  background-color: #eee;
}

.card-body {
      padding: 15px;
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

.ultarticulos-card:hover,
.ultarticulos-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  border-color: rgba(183, 28, 28, 0.25);
  text-decoration: none;
  outline: none;
}

.ultarticulos-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-top: 4px;
  flex: 0 0 14px;
}

.ultarticulos-card h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.ultarticulos-card p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

/* Colores por tarjeta */
.dot-ambar { background: #ffb703; }
.dot-naranja { background: #fb8500; }
.dot-azul { background: #3a86ff; }
.dot-aqua { background: #00b4d8; }
.dot-lila { background: #9b5de5; }
.dot-verde { background: #2ecc71; }
.dot-galeria { background: #ff006e; }
.dot-extra { background: #8338ec; }

@media (max-width: 1100px) {
  .ultarticulos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ultarticulos-grid { grid-template-columns: 1fr; }

}

/* =========================
   Sección tipo stack
   ========================= */

   .stacking-section {
         padding: 40px 10%;
         background: #fcfcfc; /* Fondo igual al resto del sitio */
         display: flex;
         flex-direction: column;
         align-items: center;
         gap: 30px;
       }

       .stacking-section h2 {
         color: var(--color-principal);
         font-size: 34px;
         font-weight: 900;
         margin-bottom: 10px;
         text-align: center;
       }

       .stacking-cards-container {
         width: 100%;
         max-width: 1000px;
         display: grid;
         grid-template-columns: 1fr;
         /* Ajustamos el alto para que el efecto sticky se aprecie mejor */
         grid-template-rows: repeat(4, 450px);
         gap: 50px;
         padding-bottom: 100px;
       }

       .stack-card {
         position: sticky;
         top: 150px; /* Alineado con el flujo del scroll */
         height: 380px;
         background: white;
         border-radius: var(--radius-lg); /* Usamos tu variable de radio */
         border: 1px solid rgba(0,0,0,0.08); /* Borde sutil como tus otras cards */
         box-shadow: var(--shadow-soft); /* Tu sombra estándar */
         display: flex;
         overflow: hidden;
         transition: transform 0.3s ease;
       }

       /* Colores basados en tu paleta de navegación */
       .stack-card:nth-child(1) { top: 100px; border-top: 8px solid var(--color-ninos-naranja); }
       .stack-card:nth-child(2) { top: 130px; border-top: 8px solid var(--color-ninos-verde); }
       .stack-card:nth-child(3) { top: 160px; border-top: 8px solid var(--color-ninos-azul); }
       .stack-card:nth-child(4) { top: 190px; border-top: 8px solid var(--color-ninos-rosa); }

       .stack-card-content {
         flex: 1.2;
         padding: 45px;
         display: flex;
         flex-direction: column;
         justify-content: center;
         text-align: left;
       }

       .stack-card-content h3 {
         font-size: 32px;
         font-weight: 700;
         margin-bottom: 15px;
         color: #333;
       }

       .stack-card-content p {
         font-size: 16px;
         line-height: 1.7;
         color: #555;
       }

       .stack-card-image {
         flex: 1;
         background-size: cover;
         background-position: center;
         display: none;
       }

       @media (min-width: 768px) {
         .stack-card-image { display: block; }

       }

       @media screen and (max-width: 768px) {
  .stack-card-content h3 {
    font-size: 18px !important;
  }
}

       /* =========================
   Sección Canal de YouTube
   ========================= */
.canal-youtube {
  padding: 100px 10% 120px;
  background: antiquewhite;
  position: relative;
  overflow: hidden;
}

/* Fondo decorativo con ondas */
.canal-youtube::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3%3Cpath fill='%23fcfcfc' fill-opacity='1' d='M0,128L48,144C96,160,192,192,288,181.3C384,171,480,117,576,101.3C672,85,768,107,864,128C960,149,1056,171,1152,165.3C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
}

.youtube-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.youtube-text {
  flex: 1;
}

.youtube-text h2 {
  color: var(--color-principal);
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 20px;
}

.youtube-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

.youtube-video-wrapper {
  flex: 1.5;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  background: #000;
  aspect-ratio: 16 / 9;
}

.youtube-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Decoración de puntos */
.youtube-dots {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--color-nav-bg) 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: -1;
}

@media (max-width: 992px) {
  .youtube-container {
    flex-direction: column;
    text-align: center;
  }
  .youtube-text { order: 1; }
  .youtube-video-wrapper { order: 2; width: 100%; }
}

.footer-creativo {
      padding: 80px 10%;
      background: #ffffff;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .footer-creativo h2 {
      color: var(--color-principal);
      font-size: 32px;
      margin-bottom: 40px;
    }

    .botones-redondos-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        max-width: 1000px;
        margin: 0 auto;
        position: relative;
      }

      .btn-seccion {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
        font-size: 18px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border: 6px solid white;
        position: relative;
        z-index: 20;
      }


      .btn-seccion:nth-child(odd) { transform: rotate(-3deg); }
      .btn-seccion:nth-child(even) { transform: rotate(3deg); }


      .btn-seccion:hover {
        transform: scale(1.1) rotate(0deg);
        text-shadow: #FFFCA8 2px 2px 0px, #9C9C9C 4px 4px 0px;
        color:black;


      }

      .btn-seccion i {
        font-size: 40px;
        margin-bottom: 10px;
      }

      /* Colores basados en tus variables */
      .btn-seccion.azul { background-color: var(--color-ninos-azul); }
      .btn-seccion.verde { background-color: var(--color-ninos-verde); }
      .btn-seccion.naranja { background-color: var(--color-ninos-naranja); }
      .btn-seccion.rosa { background-color: var(--color-ninos-rosa); }
      .btn-seccion.amarillo { background-color: var(--color-nav-bg); color: #333; }

      /* === POPOCATÉPETL ASOMÁNDOSE === */

      .btn-seccion::before {
        content: "";
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%) scale(0);
        width: 120px;
        height: 120px;
        background-image: url('../IMG_chamakes/index_chamakes/popocatepetl-11.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: -10;
        opacity: 0;
      }


      .btn-seccion:hover::before {
        transform: translateX(-50%) scale(1.3) translateY(-10px);
        opacity: 1;
      }

      /* Decoración de fondo */
      .footer-decoracion {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0; left: 0;
        background-image: radial-gradient(#eee 2px, transparent 2px);
        background-size: 40px 40px;
        opacity: 0.4;
        z-index: 0;
      }

      .imagen-circular {
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 28px;
        margin-top: 5px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.04);
      }
      .imagen-circular img {
        width: 180px;
        height: 180px;
        object-fit: contain;
        border-radius: 50%;
        background: transparent;
      }

      .intro {
        padding: 2em 1em;
        text-align: center;
        background: #fff;
      }
      .intro h2 {
        font-size: 1.5em;
        margin-bottom: 1em;
      }
      .intro-img img {
        max-width: 350px;
        margin-bottom: 1em;
      }

      .intro p {
        width: 90%;
        margin: 0 auto;
        padding: 20px;
        font-size: 16px;
      }

      .features {
        display: flex;
        justify-content: center;
        gap: 2em;
        margin: 0 0 2em 0;
        flex-wrap: wrap;
      }
      .feature {
        width: 300px;
        text-align: center;
      }
      .feature img {
        max-width: 200px;
        margin-bottom: 1em;
      }
      .feature-btn {
        display: inline-block;
        background: #83002e;
        color: #fff;
        border-radius: 20px;
        padding: 0.5em 2em;
        margin-top: 1em;
        text-decoration: none;
        font-weight: bold;
        transition: background 0.2s;
      }
      .feature-btn:hover {
        background: #ffbe0b;
        color: #83002e;
      }

      /* GRID DINÁMICO DE SECCIONES */
      .secciones-grid-container {
        padding: 50px 5%;
        background-color: #f9f9f9;
      }

      .secciones-title {
        text-align: center;
        margin-bottom: 40px;
        font-weight: 900;
        color: #333;
      }

      .grid-dinamico {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
      }

      .card-seccion {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        border-radius: 20px;
        text-decoration: none;
        color: white;
        font-weight: 700;
        font-size: 16px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
      }

      .card-seccion:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        color: white;
        text-decoration: none;
      }

      .card-seccion i, .card-seccion span {
        font-size: 20px;
        margin-bottom: 15px;
      }

      /* Colores dinámicos usando tus variables */
      .card-rosa { background-color: var(--color-ninos-rosa); }
      .card-ambar { background-color: var(--color-ninos-ambar); }
      .card-naranja { background-color: var(--color-ninos-naranja); }
      .card-azul { background-color: var(--color-ninos-azul); }
      .card-aqua { background-color: var(--color-ninos-aqua); }
      .card-lila { background-color: var(--color-ninos-lila); }
      .card-verde { background-color: var(--color-ninos-verde); }
      .card-interactiva { background-color: var(--color-ninos-indigo); }
      .card-galeria { background-color: var(--color-ninos-galeria); }

      .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}

.titulo-card {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 10px;
}

/* Texto oculto inicialmente */
.info-hover {
  font-size: 17px;
  font-weight: 400;
  margin-top: 10px;
  opacity: 0;
  max-height: 0;
  transition: all 0.4s ease;
  transform: translateY(10px);
}

/* EFECTO HOVER */
.card-seccion:hover .card-content {
  transform: translateY(-10px);
}

.card-seccion:hover .info-hover {
  opacity: 1;
  max-height: 100px;
  transform: translateY(0);
}

.card-seccion:hover .icono-seccion {
  transform: scale(0.8);
}
