/* ==========================================================================
   Grandma's Gentle Steps Daycare & Learning Center — Nesconset, NY
   Warm premium childcare: cream + sage + dusty blue + peach + soft gold.
   Fraunces (friendly serif) for display, Inter for everything else.
   Patrón de serie: menu[hidden], inert, foco por superficie, .js gate,
   [id] scroll-margin, print, dimensiones reales de imagen.
   ========================================================================== */

:root {
  --cream: #FBF7F1;
  --ivory: #FFFFFF;
  --beige: #F1E7D9;
  --beige-2: #E5D8C6;
  --sage: #4F6356;         /* sage legible como texto sobre crema */
  --sage-deep: #3A4A40;
  --sage-soft: #DCE5DD;
  --blue: #46617A;         /* dusty blue oscurecido para AA */
  --blue-soft: #DDE6EC;
  --peach: #E8A87C;
  --peach-soft: #FAE7D8;
  --gold: #7A5F11;         /* dorado legible como texto */
  --gold-bright: #D9B34A;
  --charcoal: #2E2A26;
  --gray: #63594F;
  --line: #E8DFD3;
  --field-line: #9C8E7C;    /* borde de campo con 3:1 real sobre blanco */
  --wa: #178044;
  --error: #A63A2E;
  --ok: #3A6B4A;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 10px 30px rgba(46, 42, 38, 0.07);
  --shadow-lg: 0 22px 55px rgba(46, 42, 38, 0.13);
  --t: 260ms cubic-bezier(0.25, 0.6, 0.3, 1);
  --nav-h: 78px;
  --nav-h-sm: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
/* Red de seguridad: un SVG inline sin tamaño explícito se estira hasta llenar
   su contenedor. Las reglas de cada icono sobrescriben esto. */
svg { width: 1.15em; height: 1.15em; }
h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--sage-deep);
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--sage); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
::selection { background: var(--peach-soft); color: var(--charcoal); }

:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}
/* El dorado solo sobre superficies OSCURAS: sobre crema da 1,9:1 y el anillo
   de foco desaparece. El resto hereda el salvia de la regla de arriba. */
.band :focus-visible, .cta-final :focus-visible,
.site-foot :focus-visible { outline-color: var(--gold-bright); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--sage-deep);
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  border-radius: 0 0 var(--r) 0;
}
.skip:focus-visible { left: 0; }
main:focus { outline: none; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

/* ---------- Navigation ---------- */
.nav-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: rgba(251, 247, 241, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.nav-bar.stuck {
  background: rgba(251, 247, 241, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(46, 42, 38, 0.05);
}
.nav-in {
  width: min(1180px, 92vw);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: height var(--t);
}
.nav-bar.stuck .nav-in { height: var(--nav-h-sm); }

.brand { display: inline-flex; align-items: center; gap: 0.62rem; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; transition: width var(--t), height var(--t); }
.nav-bar.stuck .brand__mark { width: 36px; height: 36px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--sage-deep);
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
  font-weight: 500;
}
.nav-bar.stuck .brand__sub { display: none; }

.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t), color var(--t);
}
.nav-links a:hover { border-bottom-color: var(--peach); color: var(--sage-deep); }
.nav-cta { display: flex; align-items: center; gap: 0.55rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--beige-2);
  border-radius: var(--r);
}
.burger span { display: block; height: 2px; background: var(--sage-deep); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(46, 42, 38, 0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 85;
  width: min(330px, 88vw);
  background: var(--ivory);
  padding: calc(var(--nav-h) + 20px) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow-y: auto;
  box-shadow: -14px 0 44px rgba(46, 42, 38, 0.18);
  transform: translateX(100%);
  transition: transform 300ms ease;
}
.menu.open { transform: translateX(0); }
.menu[hidden] { display: none; }
.menu a.menu__link {
  color: var(--charcoal);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.22rem;
  padding: 0.8rem 0.3rem;
  border-bottom: 1px solid var(--line);
}
.menu a.menu__link:hover { color: var(--sage); }
.menu .btn { margin-top: 0.9rem; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  line-height: 1.2;
  min-height: 48px;
  transition: transform var(--t), background var(--t), color var(--t),
              border-color var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 99, 86, 0.26);
}
.btn--primary:hover { background: var(--sage-deep); }
.btn--soft {
  background: var(--ivory);
  color: var(--sage-deep);
  border-color: var(--beige-2);
}
.btn--soft:hover { border-color: var(--sage); }
.btn--ghost { background: transparent; color: var(--sage-deep); border-color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: #fff; }
.btn--white { background: #fff; color: var(--sage-deep); }
.btn--white:hover { background: var(--beige); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.86rem; min-height: 42px; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; min-height: 54px; }

/* ---------- Section furniture ---------- */
.sec { padding: clamp(60px, 8vw, 104px) 0; }
.sec--cream { background: var(--cream); }
.sec--ivory { background: var(--ivory); }
.sec--beige { background: var(--beige); }
.sec--sage { background: var(--sage-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--peach); border-radius: 2px; }
.sec__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.06rem; color: var(--gray); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 44px) 0 clamp(48px, 6vw, 76px);
  background:
    radial-gradient(1100px 520px at 78% 6%, var(--peach-soft), transparent 62%),
    radial-gradient(900px 480px at 8% 92%, var(--blue-soft), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 3.8rem);
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ivory);
  border: 1px solid var(--beige-2);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow);
}
.hero__pill svg { width: 16px; height: 16px; color: var(--gold); }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  margin-bottom: 0.45em;
}
.hero h1 em { font-style: italic; color: var(--sage); }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.17rem); color: var(--gray); max-width: 52ch; margin-bottom: 1.7rem; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.8rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sage-deep);
}
.hero__badges svg { width: 15px; height: 15px; color: var(--sage); }
.hero__art { position: relative; }
.hero__art img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero__note {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--ivory);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 15rem;
}
.hero__note svg { width: 26px; height: 26px; color: var(--peach); flex: none; }
.hero__note b { display: block; font-size: 0.88rem; color: var(--sage-deep); }
.hero__note span { font-size: 0.78rem; color: var(--gray); }

/* ---------- Trust bar ---------- */
.trust { background: var(--sage-deep); color: #fff; padding: 2.2rem 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.trust__item { display: flex; gap: 0.8rem; align-items: flex-start; }
.trust__item svg { width: 26px; height: 26px; color: var(--gold-bright); flex: none; margin-top: 2px; }
.trust__item b { display: block; font-size: 1rem; font-family: "Fraunces", Georgia, serif; font-weight: 600; }
.trust__item span { font-size: 0.86rem; color: #DDE5DC; line-height: 1.45; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.about__art { position: relative; }
.about__art img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about__art::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--peach);
  border-radius: var(--r-lg);
  opacity: 0.5;
  pointer-events: none;
}
.pillars { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.2rem; margin: 1.3rem 0 1.7rem; }
.pillars li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.95rem; font-weight: 500; }
.pillars svg { width: 17px; height: 17px; color: var(--sage); flex: none; margin-top: 4px; }

/* ---------- Programs ---------- */
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.prog {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--peach); }
.prog__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.prog__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.prog:hover .prog__media img { transform: scale(1.05); }
.prog__age {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.prog__body { padding: 1.3rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.prog__body h3 { margin-bottom: 0.5rem; font-size: 1.22rem; }
.prog__body p { color: var(--gray); font-size: 0.93rem; margin-bottom: 0.8rem; }
.prog__list { list-style: none; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.prog__list li {
  font-size: 0.78rem;
  background: var(--sage-soft);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}
.prog__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sage);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: gap var(--t);
}
.prog__cta::after { content: ""; position: absolute; inset: 0; }
.prog:hover .prog__cta { gap: 0.75rem; }

/* ---------- Why families ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.why__card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.3rem;
  transition: transform var(--t), box-shadow var(--t);
}
.why__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why__ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--peach-soft);
  color: var(--sage-deep);
  margin-bottom: 0.9rem;
}
.why__ico svg { width: 24px; height: 24px; }
.why__card h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.why__card p { margin: 0; color: var(--gray); font-size: 0.91rem; }

/* ---------- Daily timeline ---------- */
.day { position: relative; max-width: 880px; margin-inline: auto; }
.day::before {
  content: "";
  position: absolute;
  left: 147px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--peach), var(--blue-soft));
}
.slot { display: grid; grid-template-columns: 136px 1fr; gap: 1.5rem; padding-bottom: 1.5rem; position: relative; }
.slot:last-child { padding-bottom: 0; }
.slot__time {
  text-align: right;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gold);
  padding-top: 0.55rem;
  line-height: 1.35;
}
.slot__body {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.slot__body::before {
  content: "";
  position: absolute;
  left: -21.5px; top: 1.2rem;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--ivory);
  border: 3px solid var(--peach);
}
.slot:hover .slot__body { transform: translateX(4px); box-shadow: var(--shadow); }
.slot__body h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.slot__body p { margin: 0; color: var(--gray); font-size: 0.92rem; }

/* ---------- Learning grid ---------- */
.learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.learn__card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.learn__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.learn__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 0.85rem; }
.learn__ico svg { width: 23px; height: 23px; }
.learn__card h3 { font-size: 1.06rem; margin-bottom: 0.28rem; }
.learn__card p { margin: 0; color: var(--gray); font-size: 0.91rem; }

/* ---------- Meals ---------- */
.meals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.4rem); align-items: center; }
.meals__art img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; }
.meals__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.meal {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1rem 1.2rem;
}
.meal h3 { font-size: 1rem; margin-bottom: 0.55rem; display: flex; align-items: center; gap: 0.45rem; }
.meal h3 svg { width: 18px; height: 18px; color: var(--peach); }
.meal ul { list-style: none; }
.meal li { font-size: 0.86rem; color: var(--gray); padding: 0.16rem 0 0.16rem 0.85rem; position: relative; }
.meal li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--peach); }
.meals__note {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--gray);
  background: var(--peach-soft);
  border-radius: var(--r);
  padding: 0.85rem 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.meals__note svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--sage); }

/* ---------- Staff ---------- */
.staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.person {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.5rem;
  transition: transform var(--t), box-shadow var(--t);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person__ph {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--sage-soft), var(--blue-soft));
  display: grid;
  place-items: center;
  color: var(--sage-deep);
  position: relative;
}
.person__ph svg { width: 54px; height: 54px; opacity: 0.6; }
.person__tag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray);
  padding: 0.24rem 0.7rem;
  white-space: nowrap;
}
.person__body { padding: 1.2rem 1.3rem 0; }
.person h3 { font-size: 1.16rem; margin-bottom: 0.15rem; }
.person__role { font-size: 0.84rem; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.7rem; }
.person p { color: var(--gray); font-size: 0.91rem; }
.person__creds { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; list-style: none; margin-top: 0.9rem; }
.person__creds li { font-size: 0.76rem; background: var(--sage-soft); color: var(--sage-deep); border-radius: 999px; padding: 0.22rem 0.65rem; font-weight: 500; }

/* ---------- Reviews (placeholder) ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review {
  background: var(--ivory);
  border: 1px dashed var(--beige-2);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
  position: relative;
}
.review__quote { font-size: 2.4rem; line-height: 1; color: var(--peach); font-family: "Fraunces", Georgia, serif; }
.review h3 { font-size: 1.02rem; margin: 0.3rem 0 0.5rem; }
.review p { color: var(--gray); font-size: 0.92rem; margin-bottom: 0.9rem; }
.review__ph {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  background: var(--beige);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.reviews__note { margin: 1.4rem 0 0; text-align: center; font-size: 0.9rem; color: var(--gray); }

/* ---------- Gallery (placeholder) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 168px; gap: 0.9rem; }
.shot {
  border-radius: var(--r);
  background: linear-gradient(150deg, var(--beige), var(--sage-soft));
  border: 1px dashed var(--beige-2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.9rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1081px) {
  .shot--tall { grid-row: span 2; }
  .shot--wide { grid-column: span 2; }
}
.shot svg { width: 26px; height: 26px; color: var(--sage); opacity: 0.7; margin-bottom: 0.4rem; }
.shot b { display: block; font-size: 0.92rem; color: var(--sage-deep); font-family: "Fraunces", Georgia, serif; }
.shot span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.gallery__note { margin: 1.3rem 0 0; text-align: center; font-size: 0.9rem; color: var(--gray); }

/* ---------- CCAP / bilingual band ---------- */
.band {
  background: linear-gradient(130deg, var(--sage-deep), var(--sage) 65%, #5C7466);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.band h2 { color: #fff; margin-bottom: 0.4em; }
.band p { color: #E4EBE3; margin-bottom: 0; }
.band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.duo__card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.3rem; }
.duo__card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.duo__card h3 svg { width: 20px; height: 20px; color: var(--sage); }
.duo__card p { margin: 0.4rem 0 0; color: var(--gray); font-size: 0.93rem; }

/* ---------- Enrollment form ---------- */
.enroll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.3rem; }
.contact-list a, .contact-list div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--t), box-shadow var(--t);
}
.contact-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-list svg { width: 22px; height: 22px; color: var(--sage); flex: none; }
.contact-list b { display: block; font-size: 0.94rem; color: var(--charcoal); overflow-wrap: anywhere; }
.contact-list span { font-size: 0.84rem; color: var(--gray); }

.form {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  box-shadow: var(--shadow);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.req { color: var(--error); }
.opt { color: var(--gray); font-weight: 400; font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1.5px solid var(--field-line);
  border-radius: var(--r);
  background: var(--cream);
  color: var(--charcoal);
  min-height: 48px;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: #6E6459; opacity: 1; }
.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79, 99, 86, 0.18);
}
.field.bad input, .field.bad select { border-color: var(--error); }
.err { color: var(--error); font-size: 0.83rem; margin: 0.35rem 0 0; }
.field textarea { resize: vertical; min-height: 104px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0.2rem 0 1.1rem; }
.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--cream);
  border: 1.5px solid var(--field-line);
  border-radius: var(--r);
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
  min-height: 48px;
  transition: border-color var(--t), background var(--t);
}
.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--sage); flex: none; }
.check:has(input:checked) { border-color: var(--sage); background: var(--sage-soft); }
.form__submit { width: 100%; border: 0; }
/* Un número de teléfono partido en dos líneas («(631) 882-» / «7227») se lee
   mal y se copia peor. En prosa nunca se rompe. */
p a[href^="tel:"] { white-space: nowrap; }
.form__hint { margin: 0.75rem 0 0; text-align: center; font-size: 0.84rem; color: var(--gray); }
.form__ok {
  margin-top: 1rem;
  background: #EAF3EC;
  border: 1px solid #C4DCCB;
  color: var(--ok);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
}
.form__ok p { margin: 0 0 0.4rem; }
.form__ok p:last-child { margin: 0; font-size: 0.88rem; }
.form__ok a { color: var(--ok); font-weight: 600; }
.form__bad {
  margin-top: 1rem;
  background: #FAEDEA;
  border: 1px solid #EBC9C1;
  color: var(--error);
  border-radius: var(--r);
  padding: 0.9rem 1.15rem;
}
.form__bad p { margin: 0; }
.spin {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Tour CTA ---------- */
.cta-final {
  position: relative;
  color: #fff;
  text-align: center;
  padding: clamp(70px, 9vw, 116px) 0;
  overflow: hidden;
  background: var(--sage-deep);
}
.cta-final__bg, .cta-final__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-final__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 74, 64, 0.88), rgba(46, 42, 38, 0.9)); }
.cta-final__in { position: relative; max-width: 660px; margin-inline: auto; }
.cta-final h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta-final p { color: #E4EBE3; font-size: 1.06rem; margin-bottom: 1.7rem; }
.cta-final__btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  min-height: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  color: var(--sage);
  line-height: 1;
  transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--gray); font-size: 0.95rem; }

/* ---------- Contact / map ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 3.4rem); align-items: center; }
.hours { list-style: none; margin-top: 1.1rem; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours li b { font-weight: 600; }
.hours li span { color: var(--gray); }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--beige); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (pointer: coarse) { .map iframe { pointer-events: none; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--sage-deep); color: #D8E1D9; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding: clamp(2.6rem, 5vw, 4rem) 0 2.2rem; }
.foot__tag { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.02rem; color: #EDE3D4; margin: 0.9rem 0 1rem; }
.foot__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.foot__badges li { font-size: 0.74rem; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 0.24rem 0.66rem; }
.foot__col h3 { color: #fff; font-family: "Inter", sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.8rem; }
.foot__col a:not(.brand), .foot__col p:not(.foot__tag) { color: #D8E1D9; text-decoration: none; font-size: 0.93rem; display: block; padding-block: 0.28rem; margin: 0; }
.foot__col a:hover { color: var(--gold-bright); }
/* Al excluir .brand de la regla de arriba también perdía el color heredado y
   se quedaba con el salvia global de <a> (1,46:1 sobre el pie). El logo se ve
   igual porque su SVG lleva colores propios, pero un enlace no puede declarar
   un color ilegible sobre su fondo. */
.foot__brand .brand { color: #D8E1D9; }
.foot__brand .brand__name { color: #fff; }
.foot__brand .brand__sub { color: var(--gold-bright); }
.foot__legal { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 1.2rem 0; text-align: center; font-size: 0.83rem; }
.foot__legal p { margin: 0; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; padding: 0.8rem 0.6rem; font-size: 0.92rem; }

/* ---------- Reveal ---------- */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.js .rise.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .rise { opacity: 1; transform: none; }
}

@media print {
  .nav-bar, .scrim, .menu, .mobile-cta, .map { display: none !important; }
  .js .rise { opacity: 1 !important; transform: none !important; }
  .trust, .band, .cta-final, .site-foot { background: #fff !important; color: #000 !important; }
  .trust__item b, .trust__item span, .band h2, .band p, .cta-final h2, .cta-final p,
  .foot__col a, .foot__col p, .foot__col h3, .foot__tag, .foot__legal { color: #000 !important; }
  .cta-final__bg, .cta-final__veil { display: none !important; }
  .site-foot { padding-bottom: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .programs { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .learn { grid-template-columns: 1fr 1fr; }
  .staff { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn--soft { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__note { left: 8px; bottom: 12px; }
  .about, .meals, .enroll, .contact { grid-template-columns: minmax(0, 1fr); }
  .band { grid-template-columns: 1fr; }
  .band__actions { justify-content: flex-start; }
  .about__art::after { inset: 12px -12px -12px 12px; }
  .mobile-cta { display: flex; }
  .site-foot { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .programs { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .learn { grid-template-columns: 1fr; }
  .meals__cols { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .row, .checks { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .foot__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .trust__grid { grid-template-columns: 1fr; gap: 1rem; }
  .day::before { left: 8px; }
  .slot { grid-template-columns: 1fr; gap: 0.4rem; padding-left: 34px; }
  .slot__time { text-align: left; padding-top: 0; }
  .slot__body::before { left: -34px; top: 0.3rem; }
  .hero__btns .btn { width: 100%; }
  .cta-final__btns .btn { width: 100%; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1rem; }
  .brand__sub { display: none; }
  .nav-cta .btn--primary { display: none; }
  .hero h1 { font-size: 2rem; }
}
