/* ==========================================================================
   Preescolar La Casita Dulce — styles.css
   Paleta: rojo · azul · amarillo · verde · rosa — colores del logo
   Mobile-first · Single landing page
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Rojo brillante — color principal */
  --coral:        #E8253A;
  --coral-mid:    #F04D5E;
  --coral-light:  #FDEAEC;
  --coral-pale:   #FFF4F5;

  /* Verde bosque — confianza, WhatsApp (sin cambios) */
  --forest:       #28593F;
  --forest-mid:   #3B7558;
  --forest-light: #E0EDE6;

  /* Amarillo — del logo */
  --honey:        #C98B08;
  --honey-light:  #FEF5D4;

  /* Azul — del logo */
  --slate:        #2B5FBF;
  --slate-light:  #E6EDFA;

  /* Rosa/fuchsia — del logo */
  --pink:         #C4337A;
  --pink-light:   #FCE8F2;

  /* Superficies — más limpias, sin beige pesado */
  --bg:           #FAFAFA;   /* blanco suave neutro */
  --surface:      #FFFFFF;
  --surface-warm: #F4F5FC;   /* tinte azul muy sutil — conecta con el logo */

  /* Texto neutro (no marrón) */
  --text:         #18181B;
  --text-muted:   #52525B;
  --text-light:   #A1A1AA;

  /* Bordes */
  --border:       rgba(24, 24, 27, 0.09);
  --border-warm:  rgba(232, 37, 58, 0.13);

  /* Sombras neutras */
  --shadow-xs:    0 1px 2px rgba(24, 24, 27, 0.06);
  --shadow-sm:    0 2px 10px rgba(24, 24, 27, 0.07), 0 1px 3px rgba(24, 24, 27, 0.04);
  --shadow-md:    0 8px 28px rgba(24, 24, 27, 0.10), 0 2px 6px rgba(24, 24, 27, 0.05);
  --shadow-coral: 0 6px 22px rgba(232, 37, 58, 0.28);
  --shadow-forest:0 6px 22px rgba(40, 89, 63, 0.30);

  /* Radios — rectangulares intencionales, no pills */
  --r-xs:  5px;
  --r-sm:  9px;
  --r-md:  13px;
  --r-lg:  17px;
  --r-xl:  22px;
  --r-2xl: 28px;

  /* Tipografía */
  --font-display: "Fredoka", system-ui, Arial, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, Arial, sans-serif;

  /* Layout */
  --container: 1100px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  220ms;
}

/* ==========================================================================
   2. BASE + RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--coral);
  text-underline-offset: 3px;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
a:hover { opacity: 0.82; }

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 68ch;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 3.5vw + 1rem, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2vw + 0.7rem, 2.1rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }

ul  { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong  { color: var(--text); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--surface);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  border: 2px solid var(--coral);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 8px; }

:focus-visible {
  outline: 3px solid rgba(232, 37, 58, 0.40);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 5.5vw, 5.5rem) 0;
}

.section-muted {
  background: var(--surface-warm);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   3b. LITTLE ALIENS SUMMER CAMP
   ========================================================================== */
.summer-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.summer-media {
  max-width: 29rem;
  margin-inline: auto;
}

.summer-media img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.summer-copy .section-desc {
  margin-bottom: 1.35rem;
}

.summer-label {
  margin-bottom: 0.45rem;
  color: var(--text);
}

.summer-points {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
}

.summer-points li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-muted);
}

.summer-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateY(-50%);
}

.summer-note {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  max-width: 48ch;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-warm);
  border-left: 3px solid var(--coral);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}

.acuden-card {
  padding: 1.5rem;
}

.acuden-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.acuden-media {
  max-width: 24rem;
  margin-inline: auto;
}

.acuden-media img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.acuden-copy .section-desc {
  margin-bottom: 1.1rem;
}

.acuden-note {
  margin: 0 0 1rem;
  color: var(--text);
}

.acuden-inline-link {
  color: inherit;
  font-weight: 600;
}

.acuden-inline-link:hover {
  color: inherit;
  opacity: 0.75;
}

/* ==========================================================================
   4. HEADER + NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.site-nav a:hover {
  background: var(--coral-light);
  color: var(--coral);
  opacity: 1;
}

/* CTA en nav */
.site-nav .nav-cta {
  background: var(--coral);
  color: #fff;
  padding: 0.48rem 1rem;
  margin-left: 0.4rem;
  box-shadow: 0 2px 8px rgba(232, 37, 58, 0.22);
}

.site-nav .nav-cta:hover {
  background: var(--coral);
  filter: brightness(1.07);
  color: #fff;
  opacity: 1;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.menu-icon {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.menu-icon::before { top: -5px; }
.menu-icon::after  { top:  5px; }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
  background: linear-gradient(145deg, #FFDDE1 0%, #FFF3E8 50%, #EBF0FF 100%);
}

/* Blobs: washes suaves, sin animación — no más "startup template" */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
}

.blob-1 {
  width: 65vw;
  height: 65vw;
  max-width: 700px;
  max-height: 700px;
  top: -20%;
  right: -15%;
  background: radial-gradient(circle at 55% 45%, rgba(232, 37, 58, 0.09), transparent 65%);
}

.blob-2 {
  width: 50vw;
  height: 50vw;
  max-width: 560px;
  max-height: 560px;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle at 45% 55%, rgba(43, 95, 191, 0.07), transparent 65%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
}

/* Eyebrow: borde izquierdo en vez de pill genérico */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0 0 0.85rem;
  border-left: 3px solid var(--coral);
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* En el hero el eyebrow se convierte en pill centrado */
.hero .eyebrow {
  border-left: none;
  padding: 0.38rem 1.1rem;
  border: 1.5px solid rgba(232, 37, 58, 0.28);
  background: rgba(255, 255, 255, 0.70);
  border-radius: var(--r-2xl);
  backdrop-filter: blur(6px);
}

.hero-slogan {
  font-style: italic;
  font-size: 1rem;
  color: var(--coral-mid);
  margin: -0.25rem 0 0.75rem;
  letter-spacing: 0.01em;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.65;
  text-align: center;
  margin-inline: auto;
}

/* Trust chips: tags rectangulares, no pills */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 1.75rem;
  justify-content: center;
}

.trust-chips li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
  letter-spacing: 0.01em;
}

/* Imagen del hero: centrada con sombra prominente */
.hero-img {
  position: relative;
  width: min(580px, 92%);
}

.hero-img img {
  border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(24, 24, 27, 0.13), 0 4px 14px rgba(24, 24, 27, 0.07);
  object-fit: cover;
  width: 100%;
  max-height: 460px;
}

/* ==========================================================================
   6. BOTONES — rectangulares intencionales, no pills
   ========================================================================== */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero .cta-row {
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: var(--r-sm); /* 9px — deliberado, no pill */
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    filter var(--dur) var(--ease);
}

.btn:hover  { transform: translateY(-2px); opacity: 1; }
.btn:active { transform: translateY(0); }

/* Primario: coral con gradiente cálido */
.btn-primary {
  background: linear-gradient(160deg, var(--coral-mid), var(--coral));
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover { filter: brightness(1.06); color: #fff; box-shadow: 0 10px 30px rgba(232, 37, 58, 0.35); }

/* WhatsApp: verde bosque */
.btn-whatsapp {
  background: linear-gradient(160deg, var(--forest-mid), var(--forest));
  color: #fff;
  box-shadow: var(--shadow-forest);
}
.btn-whatsapp:hover { filter: brightness(1.07); color: #fff; }

/* Outline: limpio y cálido */
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { background: var(--surface-warm); color: var(--text); box-shadow: var(--shadow-sm); }

.btn-sm { padding: 0.65rem 1rem; font-size: 0.87rem; }

/* Botón submit en form */
button.btn-primary {
  border: none;
  width: 100%;
}

/* ==========================================================================
   6b. NUESTRA ESENCIA
   ========================================================================== */

.esencia-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.esencia-item {
  border-left: 3px solid var(--coral);
  padding-left: 1.25rem;
}

.esencia-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.esencia-item p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (min-width: 640px) {
  .esencia-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   6c. ACTIVIDADES EXTRACURRICULARES
   ========================================================================== */

.extra-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .extra-grid { grid-template-columns: repeat(3, 1fr); }
}

.extra-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.extra-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.extra-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s var(--ease);
}

.extra-card:nth-child(1) .extra-img-wrap img {
  object-position: center 24%;
}

.extra-card:nth-child(3) .extra-img-wrap img {
  object-position: center 26%;
}

.extra-card:hover .extra-img-wrap img {
  transform: scale(1.04);
}

.extra-body {
  padding: 1.5rem 1.25rem 1.75rem;
}

.extra-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.extra-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.extra-card:nth-child(1) .extra-icon { background: var(--pink-light);   color: var(--pink);   }
.extra-card:nth-child(2) .extra-icon { background: var(--honey-light);  color: var(--honey);  }
.extra-card:nth-child(3) .extra-icon { background: var(--slate-light);  color: var(--slate);  }

.extra-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.extra-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   7. POR QUÉ — feature cards con acento superior
   ========================================================================== */
.features-grid { display: grid; gap: 1.25rem; }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--coral); /* sobrescrito por nth-child */
  border-radius: var(--r-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Acento superior de color por tarjeta */
.feature-card:nth-child(1) { border-top-color: var(--coral); }
.feature-card:nth-child(2) { border-top-color: var(--forest); }
.feature-card:nth-child(3) { border-top-color: var(--honey); }
.feature-card:nth-child(4) { border-top-color: var(--slate); }
.feature-card:nth-child(5) { border-top-color: var(--pink); }
.feature-card:nth-child(6) { border-top-color: var(--coral); }

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Contenedor de icono SVG: cuadrado redondeado con color de fondo */
.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-card:nth-child(1) .feature-icon { background: var(--coral-light);  color: var(--coral);  }
.feature-card:nth-child(2) .feature-icon { background: var(--forest-light); color: var(--forest); }
.feature-card:nth-child(3) .feature-icon { background: var(--honey-light);  color: var(--honey);  }
.feature-card:nth-child(4) .feature-icon { background: var(--slate-light);  color: var(--slate);  }
.feature-card:nth-child(5) .feature-icon { background: var(--pink-light);   color: var(--pink);   }
.feature-card:nth-child(6) .feature-icon { background: var(--coral-light);  color: var(--coral);  }

.feature-icon svg { display: block; flex-shrink: 0; }

.feature-card h3 { color: var(--text); margin-bottom: 0.4rem; }
.feature-card p  { margin: 0; font-size: 0.94rem; }

/* ==========================================================================
   8. PROGRAMA POR EDADES — (está bien, refinamiento mínimo)
   ========================================================================== */
.ages-grid { display: grid; gap: 1.25rem; }

.age-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--coral);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.5rem 1.5rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.age-card:nth-child(2) { border-left-color: var(--forest); }
.age-card:nth-child(3) { border-left-color: var(--honey);  }
.age-card:nth-child(4) { border-left-color: var(--pink);  }

.age-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.age-badge {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-xs);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
  /* colores por nth-child del age-card padre */
}

.age-card:nth-child(1) .age-badge { background: var(--coral-light);  color: var(--coral);  }
.age-card:nth-child(2) .age-badge { background: var(--forest-light); color: var(--forest); }
.age-card:nth-child(3) .age-badge { background: var(--honey-light);  color: var(--honey);  }
.age-card:nth-child(4) .age-badge { background: var(--pink-light);   color: var(--pink);   }

.age-card h3 { color: var(--text); margin-bottom: 0.35rem; }
.age-card p  { margin: 0; font-size: 0.94rem; }

/* ==========================================================================
   9. SEDES
   ========================================================================== */
.locations-grid { display: grid; gap: 1.5rem; }

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}

.location-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

/* Marcador de ubicación CSS en vez de emoji */
.location-header h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 1.25rem;
}

.location-header h3::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) translateY(-1px);
  box-shadow: 0 0 0 3px var(--coral-light);
}

.location-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.04em;
}

.location-address {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.location-details {
  margin-bottom: 1.4rem;
}

.location-details li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  gap: 0.4rem;
}

.location-details li:last-child { border-bottom: none; }

.location-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ==========================================================================
   10. GALERÍA
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), filter 320ms var(--ease);
}

.gallery-grid img:nth-child(3) {
  object-position: center 24%;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  filter: brightness(1.03);
  z-index: 1;
}

/* ==========================================================================
   11. CONTACTO
   ========================================================================== */
.section-contact {
  background: linear-gradient(145deg, var(--coral-pale) 0%, var(--surface-warm) 45%, var(--bg) 100%);
  border-top: 1px solid var(--border-warm);
}

.contact-grid { display: grid; gap: 3rem; }

.contact-info h3 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  border-left: 3px solid var(--coral);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-phone {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.contact-phone a {
  text-decoration: none;
  color: var(--text);
}

.contact-phone a:hover { color: var(--coral); opacity: 1; }

.contact-locations {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-locations p {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.contact-locations a {
  color: var(--coral);
  font-weight: 600;
}

/* Tarjeta de formulario */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.contact-form-wrap > p {
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
  color: var(--text-muted);
  max-width: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

label {
  font-weight: 700;
  font-size: 0.87rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(232, 37, 58, 0.45);
  box-shadow: 0 0 0 4px rgba(232, 37, 58, 0.11);
  background: var(--surface);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
}

.form-feedback {
  min-height: 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.form-feedback.success { color: var(--forest); }
.whatsapp-result.hidden { display: none; }

/* ==========================================================================
   12. FOOTER — oscuro cálido (cierre visual fuerte)
   ========================================================================== */
.site-footer {
  background: #1B2A4A;
  padding: 2.5rem 0 5.5rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-slogan {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.2rem 0.3rem;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.90);
  opacity: 1;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  max-width: none;
}

/* ==========================================================================
   13. FLOATING CTAs
   ========================================================================== */
.floating-ctas {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 60;
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.fab:hover { transform: translateY(-2px); opacity: 1; color: #fff; }

.fab-call     { background: var(--coral);  box-shadow: var(--shadow-coral);  }
.fab-whatsapp { background: var(--forest); box-shadow: var(--shadow-forest); }

.fab-call:hover     { box-shadow: 0 10px 30px rgba(232, 37, 58, 0.38);  }
.fab-whatsapp:hover { box-shadow: 0 10px 30px rgba(40, 89, 63, 0.38); }

/* ==========================================================================
   14. RESPONSIVE — Tablet (≥ 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .ages-grid     { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  .cta-row       { flex-direction: row; align-items: center; }
}

/* ==========================================================================
   15. RESPONSIVE — Desktop (≥ 900px)
   ========================================================================== */
@media (min-width: 900px) {
  .summer-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    gap: 2.5rem;
  }

  .summer-copy {
    order: 1;
  }

  .summer-media {
    order: 2;
    max-width: none;
  }

  .acuden-card {
    padding: 1.85rem;
  }

  .acuden-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    gap: 2.75rem;
  }

  .acuden-copy {
    order: 1;
  }

  .acuden-media {
    order: 2;
    max-width: none;
  }

  .hero-grid {
    max-width: 760px;
    margin-inline: auto;
  }

  .hero-img {
    width: min(640px, 88%);
  }

  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid   { grid-template-columns: 1fr 1fr; gap: 4rem; }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
  }
  .footer-nav { justify-content: center; }

  /* Galería: primera imagen más ancha */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   16. RESPONSIVE — Mobile nav (< 740px)
   ========================================================================== */
@media (max-width: 739px) {
  .menu-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 4%;
    width: min(310px, 88vw);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.75rem;
    background: rgba(250, 250, 250, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    z-index: 50;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.6rem 0.85rem;
    border-radius: var(--r-sm);
  }

  .site-nav .nav-cta {
    margin-left: 0;
    margin-top: 0.25rem;
    text-align: center;
    justify-content: center;
  }

  .contact-form-wrap { padding: 1.35rem; }
  .contact-phone     { font-size: 1.75rem; }
}
