/* ═════ PALETA — Celeste + Durazno═══ */
:root {
  /* --- Colores Principales --- */
  --celeste:        #4991de;
  --celeste-light:  #a5cffa;
  --celeste-dark:   #3c78b9;
  
  --durazno:         #ef9365;
  --durazno-dark:    #df7f4f;
  --durazno-light:   #f5bea2;
  
  --lila:           #8853c8;
  --lila-dark:      #7033ba;
  --lila-light:     #bb8df4;
  
  --verde:          #47af74;
  --verde-light:    #91edb9;
  --verde-dark:     #26854f;

  /* --- Colores de Apoyo (Sugeridos para modernidad) --- */
  --amarillo-sol:    #FFD25A;   /* Para botones de 'Llamado a la acción' o estrellas */
  --verde-menta:     #84DCC6;   /* Para temas de naturaleza o huerta */
  
  /* --- Neutros y Superficies --- */
  --blanco:          #ffffff;
  --gris-fondo:      #F8FBFD;   /* Tu gris azulado es perfecto para el fondo general */
  --texto:           #2a3d4a;
  --texto-suave:     #6a8a9a;
  --borde:           #D5EEF7;
  
  /* --- Sombras --- */
  --sombra-suave:   0 10px 30px rgba(44, 110, 176, 0.1);
  --sombra-boton:   0 4px 12px rgba(245, 169, 127, 0.3);
}


html {
  scroll-behavior: smooth;
}
/*=== Encabezados ===*/
.niveles-eyebrow {
  font-family: 'Baloo 2', cursive;
  background: var(--header-bg, var(--texto));
  color: var(--header-text, var(--texto-suave));
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.3rem;
  display: inline-block;
  margin-bottom: 20px;
}
.niveles-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--title-color, var(--texto-suave));
  margin-bottom: 12px;  
  line-height: 1.2;
}
.niveles-subtitle {
  font-size: 1.1rem;
  font-family: 'Baloo 2', cursive;
  line-height: 1.5;
  color: var(--subtitle-color, var(--texto-suave));
  font-weight: 700;
  max-width: 600px;
  margin: 0 auto;
}

/* Variantes de color texto para el eyeborw */
.niveles-eyebrow-celeste {
  --header-bg: var(--celeste-light);
  --header-text: var(--celeste-dark);
}
.niveles-title-celeste {
  --title-color: var(--celeste-dark);
}
.niveles-eyebrow-durazno {
  --header-bg: var(--durazno-light);
  --header-text: var(--durazno-dark);
} 
.niveles-title-durazno {
  --title-color: var(--durazno-dark);
}

/*=======================
       NABAR
========================*/
/* Estilos personalizados*/
.navbar-montessori {
  background: var(--blanco);
  border-bottom: 2px solid var(--celeste-light);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
}
/* Placeholder logo cuando no hay imagen */
.brand-text {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.brand-text, .brand-titles {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  color: var(--celeste-dark);
  line-height: 1.1;
}
.brand-text span {
  color: var(--durazno);
  display: block;
  font-size: 1.2rem !important;
  font-weight: 800;
  text-transform: uppercase;
}
/* Estilos específicos del contenedor vertical */
.brand-titles {
  font-size: 1.5rem !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: color 0.3s ease;
}
.navbar-brand:hover .brand-text {
  transform: translateY(-3px);
  filter: drop-shadow(0 4px 8px rgba(91,184,212,0.2));
}
/*imagen del logo*/
.image-logo {
  width: 60px !important;
  height: 60px !important;
  background-image: url('../images/LogoSinFondo.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  transition: transform 0.3s ease;
}
.navbar-brand:hover .image-logo {
  transform: scale(1.05) rotate(-2deg);
}
/*boton hamburguesa*/
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233c78b9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}
/* Menus*/
.navbar-montessori .nav-link {
  color: var(--celeste-dark);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Baloo 2', cursive;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  position: relative;
}
/* Hover */
.navbar-montessori .nav-link:hover {
  color: var(--celeste-light);
  transform: translateY(-1px);
}
.navbar-montessori .nav-link.active {
  color: var(--celeste-dark);
  font-weight: 800; /* opcional: más énfasis */
}
/* Contenedor del botón admisiones */
.btn-admisiones-navñ{
  margin-left: 8px;
  list-style: none;
}
.btn-admisiones-nav .nav-link {
  background: var(--durazno);
  color: var(--blanco) !important;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.4rem 0.6rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
/* Hover admisiones */
.btn-admisiones-nav .nav-link:hover {
  background: var(--celeste-light);
  transform: translateY(-1px);
}
/* DROPDOWN - ESTILOS PERSONALIZADOS */
/* Cambiar la fuente de los items del dropdown */
.navbar-montessori .dropdown-item {
  font-family: 'Baloo 2', cursive;  
  font-weight: 600;                    
  font-size: 0.95rem;               
  padding: 10px 20px;
  color: var(--durazno);                    
  transition: all 0.3s ease;          
}
/* Color al pasar el puntero (hover) */
.navbar-montessori .dropdown-item:hover {
  color: var(--celeste);         
  background-color: var(--celeste-light); 
  border-radius: 10px;
  transform: translateX(4px);        
}
/* Ajustes para el menú móvil */
@media (max-width: 991px) {
  /* Evitar que el navbar haga wrap */
  .navbar-montessori .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  /* Reducir tamaño del logo */
  .image-logo {
    width: 45px;
    height: 45px;
  }
  /* Reducir tamaño del texto principal */
  .brand-titles {
    font-size: 1.1rem;
  }
  /* El eslogan sigue visible pero más pequeño */
  .brand-titles span {
    display: inline-block;  /* ← IMPORTANTE: no lo ocultes */
    font-size: 1rem;
  }
  /* Reducir espacio entre logo y texto */
  .brand-text {
    gap: 6px;
  }
  /* Asegurar que la hamburguesa no se deforme */
  .navbar-toggler {
    flex-shrink: 0;
  }
  /* Tus reglas existentes */
  .navbar-nav {
    padding-top: 1rem;
    text-align: center;
  }
  .btn-admisiones-nav {
    display: inline-block;
    margin-top: 10px;
  }
  .brand-text {
    font-size: 1.1rem;  /* Ajustado desde 1.1rem para mejor proporción */
  }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanco);
    padding: 1rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 1000;
  }
}


/*===========================
      HERO CARRUSEL
============================*/
.hero-carousel-section {
  position: relative;
}
/* Slides */
.hero-slide {
  width: 100%;
  aspect-ratio: 1920 / 600;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-slide .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Fondos individuales */
.slide-1 { background-image: url('../images/banner1.webp'); }
.slide-2 { background-image: url('../images/banner2.webp'); }
.slide-inscripciones { background-image: url('../images/banner3.webp'); }
/* Cards */
.hero-text-card {
  position: relative;
  z-index: 3;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 430px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* Posición de cada card */
.slide-1 .hero-text-card { margin-left: 100px; }
.slide-2 .hero-text-card { margin-left: auto; }
.slide-inscripciones .hero-text-card { margin: 0 auto; }
/* Card especial para inscripciones */
.card-inscripciones {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
/* Overlay (si se usa) */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.overlay-durazno { background: rgba(240, 149, 106, 0.2); }
.overlay-verde { background: rgba(46, 139, 87, 0.2); }
/* Textos */
.hero-badge {
  background: var(--celeste-light);
  color: var(--celeste-dark);
  border: 1px solid rgba(9, 142, 245, 0.45);
  backdrop-filter: blur(6px);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.badge-durazno {
  background: rgba(244, 167, 126, 0.2);
  color: #C4704A;
  border-color: rgba(244, 167, 126, 0.4);
}
.hero-main-title {
  font-family: 'Baloo 2', cursive;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--texto);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.title-dark {
  color: #2C3E50;
  text-shadow: none;
}
.hero-description {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 30px;
  color: var(--texto);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}
/* Colores de texto */
.text-celeste { color: var(--celeste) !important; }
.text-durazno { color: var(--durazno) !important; }
/* Botones del carrusel */
.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-cta-durazno {
  background: var(--durazno);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--sombra-boton);
}
.btn-cta-durazno:hover {
  background: var(--durazno-dark);
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 8px 24px rgba(244, 167, 126, 0.45);
}
/* Ícono de WhatsApp dentro del botón */
.btn-cta-durazno .icon-whatsapp {
  width: 22px;
  height: 22px;
  color: #fff;
  flex-shrink: 0;
  margin-top: -2px;
}
/* Controles de navegación */
.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(240, 149, 106, 0.85);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  opacity: 0.9;
  top: 50%;                    
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--durazno-dark);
  opacity: 1;
  transform: scale(1.05);
}
.hero-carousel-section .carousel-control-prev { left: 20px; }
.hero-carousel-section .carousel-control-next { right: 20px; }
/* Indicadores */
.carousel-indicators button {
  width: 40px !important;
  height: 10px !important;
  border-radius: 40% !important;
  border: none;
  background-color: var(--durazno-dark) !important;
  margin: 0 6px;
  transition: all 0.3s ease;
}
.carousel-indicators button.active {
  width: 60px;
  background: var(--celeste-dark)!important;
  border-radius: 50%;
  transform: scale(0.5);
}
/* Animación de entrada */
.carousel-item.active .animate-card {
  animation: cardEntrada 0.5s ease forwards;
}
@keyframes cardEntrada {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =======RESPONSIVE======== */

@media (max-width: 991px) {
  .hero-slide {
    min-height: 480px;
    text-align: center;
    padding-bottom: 80px;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-text-card,
  .slide-1 .hero-text-card,
  .slide-2 .hero-text-card,
  .card-inscripciones {
    margin: 0 auto !important;
    padding: 24px 20px;
    max-width: 90%;
    position: relative;
    z-index: 2;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn-cta-durazno {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 36px;
    height: 36px;
    top: auto;
    bottom: 20px;
    transform: none;
    background-color: rgba(240, 149, 106, 0.85);
    border-radius: 50%;
    z-index: 5; 
    opacity: 1;
  }

  .hero-carousel-section .carousel-control-prev {
    left: 15%;
  }
  
  .hero-carousel-section .carousel-control-next {
    right: 15%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 20px !important;
    height: 20px !important;
  }
}



/*===========================
      NUESTRO JARDIN
============================*/
.seccion-nosotros {
  background: var(--gris-fondo);
  text-align: center;
  padding: 70px 0;
}
/* Encabezado */
.nosotros-header {
  max-width: 700px;
  margin: 0 auto 48px;
}
.seccion-celeste{
  background: var(--celeste-light);
  color: var(--celeste-dark);
}
.seccion-durazno{
  background: var(--durzno-light);
  color: var(--durzno-dark);
}
/* CARDS DE PILARES */
.pilar-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 20px;
  padding: 32px 20px 26px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pilar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(97, 161, 229, 0.12);
}
/* Icono base */
.pilar-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.pilar-icon .material-symbols-rounded {
  font-size: 30px;
}
/* Variantes de color para iconos (usando clases específicas) */
.icon-celeste { background: var(--celeste-light); color: var(--celeste-dark); }
.icon-durazno { background: var(--durazno-light); color: var(--durazno-dark); }
.icon-verde   { background: var(--verde-light);   color: var(--verde-dark); }
.icon-lila    { background: var(--lila-light);    color: var(--lila-dark); }
/* Títulos y texto */
.pilar-titulo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--celeste-dark);
  margin-bottom: 8px;
}
.pilar-texto {
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--texto-suave);
}
/* =======RESPONSIVE QUIENES SOMOS=========*/
@media (max-width: 767px) {
  .seccion-nosotros {
    padding: 50px 0;
  }
  .pilar-card {
    padding: 24px 16px 20px;
  }
  .pilar-titulo {
    font-size: 1rem;
  }
  .pilar-texto {
    font-size: 0.9rem;
  }
}



/* ==========================
   SECCIÓN NIVELES / GRUPOS
=============================*/

.niveles-section {
  padding: 80px 0;
  background: var(--blanco);
}

/* ── Encabezado ── */
.niveles-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 52px;
}
/* ── Grid de niveles ── */
.niveles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* ── Posiciones de las cards en desktop ── */
/* Fila 1: cards 1-3 ocupan 2 columnas c/u */
.nivel-card:nth-child(1) { grid-column: 1 / 3; }
.nivel-card:nth-child(2) { grid-column: 3 / 5; }
.nivel-card:nth-child(3) { grid-column: 5 / 7; }
/* Fila 2: cards 4-5 centradas */
.nivel-card:nth-child(4) { grid-column: 2 / 4; }
.nivel-card:nth-child(5) { grid-column: 4 / 6; }

/* ── Card de cada nivel ── */
.nivel-card {
  --shadow-color: rgba(91, 184, 212, 0.3);
  --background-color: rgba(91, 184, 212, 0.1);
  background: var(--blanco);
  border-radius: 24px;
  border: 1px solid var(--borde);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nivel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--shadow-color);
}

/* ── Header de la card ── */
.nivel-card__header {
  padding: 28px 28px 8px;
  position: relative;
}

/* Línea decorativa inferior del header */
.nivel-card__header::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: currentColor;
  opacity: 0.3;
  border-radius: 3px;
  margin-top: 12px;
}
/* Línea decorativa superior del footer */
.nivel-card__footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.2;
  margin-bottom: 20px;
}
.nivel-card__edad {
  display: inline-block;
  font-family: 'Baloo 2', cursive;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.nivel-card__nombre {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

/* ── Cuerpo ── */
.nivel-card__body {
  padding: 16px 28px 20px;
  flex: 1;
}

.nivel-card__desc {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--texto-suave);
  margin: 0;
}

/* ── Footer de la card ── */
.nivel-card__footer {
  padding: 0 28px 24px;
  position: relative;
}

.nivel-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: currentColor;
  font-family: 'Baloo 2', cursive;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  background-color: var(--background-color);
  border-radius: 50px;
  padding: 6px 14px;
  transition: all 0.2s ease;
}

.nivel-card__btn:hover {
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.05);
}

.nivel-card__btn .material-symbols-rounded {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.nivel-card:hover .nivel-card__btn .material-symbols-rounded {
  transform: translateX(4px);
}

/* =====COLORES POR GRUPO === */
/* Durazno */
.nivel-durazno { --shadow-color: rgba(240, 149, 106, 0.6); --background-color: rgba(240, 149, 106, 0.3); }
.nivel-durazno .nivel-card__header { color: var(--durazno-dark); }
.nivel-durazno .nivel-card__btn { color: var(--durazno-dark); }
/* Celeste */
.nivel-celeste { --shadow-color: rgba(91, 184, 212, 0.6); --background-color: rgba(91, 184, 212, 0.3); }
.nivel-celeste .nivel-card__header { color: var(--celeste-dark); }
.nivel-celeste .nivel-card__btn { color: var(--celeste-dark); }
/* Verde */
.nivel-verde { --shadow-color: rgba(46, 139, 87, 0.6); --background-color: rgba(46, 139, 87, 0.3); }
.nivel-verde .nivel-card__header { color: var(--verde-dark); }
.nivel-verde .nivel-card__btn { color: var(--verde-dark); }
/* Lila */
.nivel-lila { --shadow-color: rgba(101, 68, 141, 0.6); --background-color: rgba(101, 68, 141, 0.3); }
.nivel-lila .nivel-card__header { color: var(--lila-dark); }
.nivel-lila .nivel-card__btn { color: var(--lila-dark); }

/* =====RESPONSIVE======*/
@media (max-width: 991px) {
  .niveles-section {
    padding: 60px 0;
  }
  .niveles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  /* Resetear posiciones para tablet */
  .nivel-card:nth-child(n) {
    grid-column: span 1;
  }
  /* En tablet, todas las cards tienen el mismo ancho */
  .nivel-card:nth-child(5) {
    grid-column: span 1;
    max-width: 100%;
    margin: 0;
  }
  .niveles-title {
    font-size: 1.8rem;
  }
  .niveles-subtitle {
    font-size: 0.89rem;
  }
  .nivel-card__nombre {
    font-size: 1.5rem;
  }
}
@media (max-width: 575px) {
  .niveles-section {
    padding: 48px 0;
  }
  .niveles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nivel-card:nth-child(n) {
    grid-column: span 1;
  }
  .niveles-title {
    font-size: 1.5rem;
  }
  .nivel-card__header {
    padding: 20px 20px 8px;
  }
  .nivel-card__body {
    padding: 12px 20px 16px;
  }
  .nivel-card__footer {
    padding: 0 20px 20px;
  }
  .nivel-card__nombre {
    font-size: 1.3rem;
  }
  .nivel-card__desc {
    font-size: 0.95rem;
  }
}


/* ===========================
   EXTRACURRICULARES — INDEX
============================== */

.extra-section {
  padding: 80px 0;
  background: var(--gris-fondo);
}

.extra-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.extra-eyebrow {
  font-family: 'Baloo 2', cursive;
  background: var(--durazno-dark);
  color: var(--blanco);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 20px;
}

.extra-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--texto);
  margin-bottom: 12px;
  line-height: 1.2;
}

.extra-subtitle {
  font-size: 1.1rem;
  font-family: 'Baloo 2', cursive;
  line-height: 1.5;
  color: var(--texto-suave);
  font-weight: 600;
}

/* ── Grid — 6 columnas para desktop ── */
.extra-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

/* Fila 1: 3 cards ocupan 2 columnas c/u */
.extra-card:nth-child(1) { grid-column: 1 / 3; }
.extra-card:nth-child(2) { grid-column: 3 / 5; }
.extra-card:nth-child(3) { grid-column: 5 / 7; }

/* Fila 2: 2 cards centradas */
.extra-card:nth-child(4) { grid-column: 2 / 4; }
.extra-card:nth-child(5) { grid-column: 4 / 6; }

/* ── Card ── */
.extra-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blanco);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--borde);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-suave);
  color: inherit;
}

/* ── Imagen ── */
.extra-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--celeste-light);
}

.extra-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.extra-card:hover .extra-card__img img {
  transform: scale(1.05);
}

/* ── Overlay (aparece al hacer hover) ── */
.extra-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--overlay-color, rgba(0, 0, 0, 0.7)) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.extra-card:hover .extra-card__overlay {
  opacity: 1;
}

/* Variantes de overlay por color */
.extra-card__overlay--celeste { --overlay-color: rgba(67, 129, 186, 0.85); }
.extra-card__overlay--durazno { --overlay-color: rgba(223, 127, 79, 0.85); }
.extra-card__overlay--verde   { --overlay-color: rgba(38, 133, 79, 0.85); }
.extra-card__overlay--lila    { --overlay-color: rgba(112, 51, 186, 0.85); }

.extra-card__ver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blanco);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Baloo 2', cursive;
}

.extra-card__ver .material-symbols-rounded {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.extra-card:hover .extra-card__ver .material-symbols-rounded {
  transform: translateX(4px);
}

/* ── Cuerpo de la card ── */
.extra-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.extra-card__nombre {
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--celeste-dark);
  margin: 0;
}
/* Variantes de color por tipo de card */
.extra-card--durazno .extra-card__nombre { color: var(--durazno-dark); }
.extra-card--celeste .extra-card__nombre { color: var(--celeste-dark); }
.extra-card--verde   .extra-card__nombre { color: var(--verde-dark); }
.extra-card--lila    .extra-card__nombre { color: var(--lila-dark); }

/* === RESPONSIVE === */

@media (max-width: 991px) {
  .extra-section {
    padding: 60px 0;
  }

  .extra-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Resetear posiciones para tablet */
  .extra-card:nth-child(n) {
    grid-column: span 1;
  }

  .extra-title {
    font-size: 1.8rem;
  }

  .extra-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .extra-section {
    padding: 48px 0;
  }

  .extra-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .extra-card:nth-child(n) {
    grid-column: span 1;
  }

  .extra-title {
    font-size: 1.5rem;
  }

  .extra-header {
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .extra-card__body {
    padding: 16px 18px 20px;
  }

  .extra-card__nombre {
    font-size: 1rem;
  }

  .extra-card__desc {
    font-size: 0.85rem;
  }
}


/* ══════════════════════════════════════
   CTA FINAL — INDEX
══════════════════════════════════════ */

.cta-index {
  position: relative;
  padding: 100px 0;
  background: var(--blanco);
  overflow: hidden;
  text-align: center;
}

/* ── Formas decorativas (círculos de fondo) ── */
.cta-index__forma {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Círculo grande durazno — esquina superior izquierda */
.cta-index__forma--1 {
  width: 500px;
  height: 500px;
  background: rgba(239, 147, 101, 0.3); /* var(--durazno) con opacidad */
  top: -180px;
  left: -160px;
}

/* Círculo mediano celeste — esquina inferior derecha */
.cta-index__forma--2 {
  width: 380px;
  height: 380px;
  background: rgba(73, 145, 222, 0.3); /* var(--celeste) con opacidad */
  bottom: -120px;
  right: -100px;
}

/* Círculo pequeño lila — centro derecha */
.cta-index__forma--3 {
  width: 180px;
  height: 180px;
  background: rgba(136, 83, 200, 0.3); /* var(--lila) con opacidad */
  top: 40px;
  right: 18%;
}


/* ── Contenido ── */
.cta-index__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Títulos del CTA (usando clases específicas para no mezclar) */
.cta-eyebrow {
  font-family: 'Baloo 2', cursive;
  background: var(--durazno);
  color: var(--blanco);
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 20px;
}

.cta-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--texto);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-title--acento {
  color: var(--durazno-dark);
}

.cta-descripcion{
  font-size: 1rem;
  font-family: 'Baloo 2', cursive;
  font-size: 1.3em;
  font-weight: 800;
  line-height: 1.6;
  color: var(--texto-suave);
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
/* ── Botones ── */
.cta-index__acciones {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botón secundario (WhatsApp outline) */
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--celeste-dark);
  border: 2px solid var(--celeste);
  background: var(--celeste-light);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: transparent;
  border: 2px solid var(--verde);
  color: var(--verde-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(73, 145, 222, 0.2);
}

/* Ícono de WhatsApp en botón secundario */
.btn-cta-secondary .icon-whatsapp-cta {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-cta-secondary .icon-whatsapp-cta path {
  fill: currentColor;
  transition: fill 0.3s ease;
}

/* === RESPONSIVE === */

@media (max-width: 767px) {
  .cta-index {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-subtitle {
    font-size: 0.9rem;
    padding: 0 16px;
  }

  .cta-index__acciones {
    gap: 12px;
  }

  .btn-cta-secondary {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  /* Reducir círculos decorativos en móvil */
  .cta-index__forma--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
  }

  .cta-index__forma--2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -80px;
  }

  .cta-index__forma--3 {
    display: none;
  }
}

@media (max-width: 575px) {
  .cta-index {
    padding: 48px 0;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .btn-cta-secondary {
    padding: 8px 18px;
    font-size: 0.75rem;
  }
  /* Reducir intensidad en móviles (mejor rendimiento) */
}
  @media (max-width: 767px) {
    .cta-index__forma--1,
    .cta-index__forma--2,
    .cta-index__forma--3 {
      animation-duration: 15s; /* Más lento en móvil */
      animation-timing-function: linear;
    }
  }



/* ================
      FOOTER
==================*/
.site-footer {
  position: relative;
  background-image: url('../images/footerB.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--celeste-light);
  overflow: hidden;
}
/* Overlay para mejorar legibilidad (usando variables) */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(73, 145, 222, 0.3) 100%
  );
  z-index: 0;
}
/* Onda superior del footer */
.footer-wave {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}
/* Cuerpo principal del footer */
.footer-body {
  position: relative;
  z-index: 2;
  padding: 80px 0 48px;
}
/*  === COLUMNA 1 — MARCA === */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-image-logo {
  width: 200px;
  height: 200px;
  margin-top: 10px;
  background-image: url('../images/LogoSinFondo.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.footer-brand-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--celeste-dark);
  margin: 0;
  line-height: 1.2;
}
.footer-slogan {
  font-size: 1.4rem;
  font-family: 'Baloo 2', cursive;
  line-height: 1.4;
  color: var(--lila-dark);
  font-weight: 700;
  text-align: center;
}
/* === COLUMNA 2 — CONTACTO ===*/
.footer-contact-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--celeste-dark);
  margin-bottom: 20px;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-family:'Baloo 2', cursive;
  color: var(--texto);
  line-height: 1.4;
}
.footer-contact-list .material-symbols-rounded {
  font-size: 30px;
  color: var(--durazno);
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--celeste-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 600;
}

.footer-contact-list a:hover {
  color: var(--durazno);
  transform: translateY(-3px);
}
/* ==COLUMNA 3 — REDES SOCIALES ===*/
.footer-social-title {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--celeste-dark);
  margin-bottom: 20px;
}
.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--celeste-dark);
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.footer-social-link:hover {
  color: var(--durazno);
  transform: translateX(4px);
}
/* Íconos sociales */
.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(73, 145, 222, 0.1);
  transition: background 0.2s ease;
}
.footer-social-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--durazno-dark);
  transition: fill 0.2s ease;
}
/* Hover específico para cada red social */
.footer-social-link:hover .footer-social-icon {
  background: transparent;
}

.footer-social-link:hover .icon-whatsapp svg {
  fill: #25D366;
}

.footer-social-link:hover .icon-instagram svg {
  fill: #E4405F;
}

.footer-social-link:hover .icon-tiktok svg {
  fill: #000000;
}

.footer-social-link:hover .icon-facebook svg {
  fill: #1877F2;
}

/* === FRANJA INFERIOR ===*/

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(73, 145, 222, 0.2);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texto);
}

/* === RESPONSIVE ===*/

@media (max-width: 767px) {
  .footer-body {
    padding: 60px 0 32px;
  }

  .footer-wave svg {
    height: 40px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
  }

  .footer-image-logo {
    width: 120px;
    height: 120px;
  }

  .footer-brand-name {
    font-size: 1.1rem;
  }

  .footer-slogan {
    font-size: 1rem;
  }
  .footer-contact-title,
  .footer-social-title {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 1px;
  }
  .footer-contact-list {
    align-items: center;
  }

  .footer-contact-list li {
    justify-content: center;
  }

  .footer-social-links {
    align-items: center;
  }
}



/*====================
    QUIENES SOMOS
=====================*/
.qs-hero {
  background: var(--gris-fondo);
  padding: 72px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Círculos decorativos de fondo */
.qs-hero::before,
.qs-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.qs-hero::before {
  width: 420px;
  height: 420px;
  background: rgba(73, 145, 222, 0.1);
  top: -140px;
  right: -100px;
}
.qs-hero::after {
  width: 280px;
  height: 280px;
  background: rgba(239, 147, 101, 0.12);
  bottom: -80px;
  left: -60px;
}
.qs-hero .container { position: relative; z-index: 1; }
.qs-hero__title {
  font-family: 'Baloo 2', cursive;
  font-size: 3rem;
  font-weight: 800;
  color: var(--celeste-dark);
  line-height: 1.15;
  margin-bottom: 28px;
}
.qs-hero__title span { color: var(--durazno); }
.qs-hero__intro {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--texto-suave);
  max-width: 780px;
  margin: 0 auto;
}

/* ====SECCIÓN VALORES ==== */
.qs-valores {
  padding: 80px 0;
  background: var(--blanco);
}
/* Card de valor */
.qs-valor-card {
  background: var(--gris-fondo);
  border: 1px solid var(--borde);
  border-radius: 24px;
  padding: 36px 28px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.qs-valor-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--celeste));
  border-radius: 0 0 24px 24px;
}
.qs-valor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(73, 145, 222, 0.1);
}
.qs-valor-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--icon-bg, var(--celeste-light));
  color: var(--icon-color, var(--celeste-dark));
}
.qs-valor-card__icon .material-symbols-rounded {
  font-size: 32px;
}
.qs-valor-card__titulo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--card-accent, var(--celeste-dark));
  margin-bottom: 10px;
}
.qs-valor-card__texto {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--texto-suave);
  margin: 0;
}
/* Variantes de color */
.qs-vc--celeste {
  --card-accent: var(--celeste-dark);
  --icon-bg: var(--celeste-light);
  --icon-color: var(--celeste-dark);
}
.qs-vc--durazno {
  --card-accent: var(--durazno-dark);
  --icon-bg: var(--durazno-light);
  --icon-color: var(--durazno-dark);
}
.qs-vc--verde {
  --card-accent: var(--verde-dark);
  --icon-bg: var(--verde-light);
  --icon-color: var(--verde-dark);
}
.qs-vc--lila {
  --card-accent: var(--lila-dark);
  --icon-bg: var(--lila-light);
  --icon-color: var(--lila-dark);
}

/* ==== SECCIÓN NARRATIVA CON IMAGEN ===== */
.qs-narrativa {
  padding: 80px 0;
  background: var(--gris-fondo);
}
.qs-narrativa__img-wrap {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 4;
  background: var(--celeste-light);
  position: relative;
}
.qs-narrativa__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Texto narrativa */
.qs-narrativa__parrafos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qs-narrativa__parrafo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--texto-suave);
}
.qs-narrativa__parrafo--destacado {
  background: var(--blanco);
  border-left: 4px solid var(--durazno);
  border-radius: 0 16px 16px 0;
  padding: 16px 20px;
  color: var(--durazno);
  font-weight: 800;
  font-size: 1.4rem;
}
.qs-narrativa__parrafo .destacado{
  color: var(--celeste);
  font-weight: 800;
}
.qs-porque {
  padding: 30px 0;
  background: var(--blanco);
}
.intro {
  font-family: 'Baloo 2', cursive;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--texto-suave);
  max-width: 700px;
  margin: 0 auto 52px;
  text-align: center;
}
/* ==== Beneficios ==== */
.qs-beneficio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--gris-fondo);
  border: 1px solid var(--borde);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.qs-beneficio:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(239, 147, 101, 0.1);
}
.qs-beneficio__emoji {
  font-size: 2rem;
  line-height: 1;
}
.qs-beneficio__titulo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--celeste-dark);
  margin: 0;
}
.qs-beneficio__texto {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--texto-suave);
  margin: 0;
}
/* Cierre motivacional */
.qs-cierre {
  margin-top: 52px;
  background: linear-gradient(135deg, var(--celeste-light) 0%, rgba(245, 190, 162, 0.3) 100%);
  border-radius: 28px;
  padding: 40px 48px;
  text-align: center;
}
.qs-cierre p {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--celeste-dark);
  margin: 0;
  line-height: 1.5;
}
.qs-cierre p span {
  color: var(--durazno-dark);
}
/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .qs-narrativa .col-lg-6 {
    text-align: center;
  }
  .qs-hero {
    padding: 50px 0 40px;
  }

  .qs-hero__title {
    font-size: 2.2rem;
  }

  .qs-hero__intro {
    font-size: 1rem;
  }

  .qs-valores__title,
  .qs-porque__title,
  .qs-narrativa__title {
    font-size: 1.8rem;
  }

  .qs-cierre p {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .qs-hero::before {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
  }

  .qs-hero::after {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -40px;
  }
}

@media (max-width: 575px) {
  .qs-narrativa .col-lg-6 {
    text-align: center;
  }
  .qs-hero {
    padding: 40px 0 30px;
  }
  .qs-hero__title {
    font-size: 1.8rem;
  }
  .qs-valores {
    padding: 50px 0;
  }
  .qs-valores__title,
  .qs-porque__title,
  .qs-narrativa__title {
    font-size: 1.5rem;
  }
  .qs-narrativa {
    padding: 50px 0;
  }
  .qs-porque {
    padding: 50px 0;
  }
  .qs-porque__intro {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  .qs-valor-card {
    padding: 24px 20px;
  }
  .qs-cierre {
    padding: 28px 20px;
  }
  .qs-cierre p {
    font-size: 1rem;
  }
}