:root {
  --cream: #fbf6ee;
  --cream-2: #f3ead8;
  --ink: #2b1d33;
  --muted: #5c5063;
  --plum: #6b3d7a;
  --plum-d: #4c2458;
  --gold: #e8b84a;
  --gold-d: #c9921e;
  --leaf: #3d7a5c;
  --white: #fff;
  --line: rgba(43, 29, 51, 0.1);
  --shadow: 0 18px 50px rgba(75, 36, 88, 0.12);
  --radius: 1.35rem;
  --header: 5.5rem;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; display: block; }
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--plum-d); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.skip {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.75rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.wrap-wide { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-family: inherit; font-size: 1rem; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--plum-d); box-shadow: 0 8px 20px rgba(232,184,74,.35); }
.btn-gold:hover { background: var(--gold-d); color: #fff; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-d); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline { background: #fff; color: var(--plum); border: 1.5px solid var(--plum); }

.topbar {
  background: var(--plum-d); color: #fff; font-size: 0.92rem;
  max-height: 3rem; overflow: hidden;
  transition: max-height .55s cubic-bezier(.16,1,.3,1), opacity .4s, transform .55s;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; }
body.is-stuck .topbar {
  max-height: 0; opacity: 0; transform: translateY(-8px);
}
.header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(251,246,238,.55);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background .5s, box-shadow .5s, border-color .5s, transform .55s cubic-bezier(.16,1,.3,1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 1rem;
  transition: min-height .45s cubic-bezier(.16,1,.3,1);
}
.desk-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0.1rem;
}
.desk-nav a {
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
}
.desk-nav a:hover, .desk-nav a.active {
  background: #fff;
  color: var(--plum);
  box-shadow: 0 6px 16px rgba(75,36,88,.08);
}
.header-glow {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--plum), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
body.is-stuck .header {
  background: rgba(255,252,247,.88);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 18px 50px rgba(43, 18, 58, 0.14);
  border-bottom-color: rgba(107,61,122,.08);
}
body.is-stuck .header-inner { min-height: 4.15rem; }
body.is-stuck .header .brand img { transform: scale(.82) rotate(-6deg); }
body.is-stuck .header-glow { transform: scaleX(1); }
body.header-hide .header { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); }
.brand img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.brand strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.brand span { display: block; font-size: 0.8rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  min-height: 48px; padding: 0 1rem 0 0.85rem; cursor: pointer; font: inherit; font-weight: 700; color: var(--plum-d);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.menu-toggle:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.burger { width: 18px; height: 14px; position: relative; display: inline-block; }
.burger i {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--plum-d); border-radius: 2px;
  transition: transform .35s, opacity .25s, top .35s;
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6px; }
.burger i:nth-child(3) { top: 12px; }
body.drawer-open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.drawer-open .burger i:nth-child(2) { opacity: 0; }
body.drawer-open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24, 10, 32, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(400px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  background: linear-gradient(180deg, #2a1433 0%, #4c2458 55%, #1d1024 100%);
  color: #fff;
  transform: translateX(104%);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
  padding: max(0.9rem, env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom));
  box-shadow: -24px 0 70px rgba(0,0,0,.3);
  overflow: hidden;
}
body.drawer-open .drawer { transform: translateX(0); }
.drawer .brand, .drawer .brand span, .drawer a { color: #fff; }
.drawer .brand img { width: 44px; height: 44px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-shrink: 0; margin-bottom: .8rem; }
.drawer-close {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%;
  cursor: pointer; flex-shrink: 0;
}
.drawer-close .ico { width: 20px; height: 20px; }
.drawer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  overflow: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .4rem;
}
.drawer-nav a {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-size: 1rem; font-weight: 600;
  padding: 0.75rem 0.7rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.08);
  min-height: 48px;
  transform: translateY(12px); opacity: 0;
}
.drawer-nav a .ico { width: 20px; height: 20px; flex-shrink: 0; opacity: .9; }
body.drawer-open .drawer-nav a {
  animation: drawerIn .5s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 35ms + 50ms);
}
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(232,184,74,.2); color: var(--gold); }
@keyframes drawerIn { to { transform: none; opacity: 1; } }
.drawer-foot { flex-shrink: 0; padding-top: 0.8rem; display: grid; gap: 0.55rem; }
.drawer-foot .btn { width: 100%; }
.drawer-foot .btn .ico { width: 18px; height: 18px; }
.drawer-contact { font-size: .9rem; display: grid; gap: .25rem; }
.drawer-contact p, .drawer-contact a { display: flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.82); margin: 0; }
.drawer-contact .ico { width: 16px; height: 16px; }
body.drawer-open { overflow: hidden; }
body.drawer-open .mobile-bar { display: none !important; }
.ico { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }

.hero {
  position: relative; min-height: min(88vh, 820px); display: grid; place-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(43,18,58,.35), rgba(43,18,58,.72));
}
.hero-copy { text-align: center; padding: 5rem 1rem 4rem; }
.hero-copy p { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 40rem; margin-inline: auto; }
.kicker {
  display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
  padding: 0.35rem 0.8rem; border-radius: 999px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 1rem;
}
.cta-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

.trust { background: #fff; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.trust-item strong { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--plum); }
.trust-item span { color: var(--muted); font-size: 0.92rem; }

section.band { padding: 5rem 0; }
.band-alt { background: #fff; }
.band-plum { background: linear-gradient(135deg, var(--plum), var(--plum-d)); color: #fff; }
.band-plum p, .band-plum h2 { color: #fff; }
.center { text-align: center; }
.lede { max-width: 42rem; margin-inline: auto; font-size: 1.15rem; }

.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

.card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); height: 100%;
}
.card img, .media img { width: 100%; height: 240px; object-fit: cover; border-radius: 1rem; }
.media { border-radius: 1.6rem; overflow: hidden; box-shadow: var(--shadow); }
.media img { height: 360px; border-radius: 0; }
.value { text-align: center; }
.value .icon {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream-2); font-size: 1.5rem;
}

.program {
  background: #fff; border-radius: 1.6rem; overflow: hidden; box-shadow: var(--shadow); display: grid;
}
.program img { height: 220px; object-fit: cover; width: 100%; }
.program-body { padding: 1.3rem 1.4rem 1.6rem; }
.age { display: inline-block; background: var(--cream-2); color: var(--plum-d); font-weight: 700; font-size: 0.8rem; padding: 0.25rem 0.65rem; border-radius: 999px; }

.timeline { display: grid; gap: 1rem; }
.t-item { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; background: #fff; padding: 1.1rem 1.3rem; border-radius: 1.1rem; }
.t-item strong { color: var(--plum); font-family: var(--display); }

.quote { background: #fff; border-radius: var(--radius); padding: 1.6rem; position: relative; }
.quote p { font-size: 1.08rem; color: var(--ink); font-family: var(--display); font-style: italic; }
.stars { color: var(--gold-d); letter-spacing: 0.1em; margin-bottom: 0.5rem; }

.avatar {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.4rem; font-weight: 700; background: var(--cream-2); color: var(--plum);
  margin-bottom: 0.8rem;
}

.faq details { background: #fff; border-radius: 1rem; padding: 0.9rem 1.1rem; margin-bottom: 0.7rem; box-shadow: 0 8px 24px rgba(75,36,88,.06); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0.7rem 0 0.2rem; }

.breadcrumbs { padding: 1.2rem 0 0; font-size: 0.92rem; color: var(--muted); }
.breadcrumbs a { color: var(--plum); }
.page-hero {
  padding: 3.5rem 0 2.5rem; background: linear-gradient(180deg, #fff, var(--cream));
}
.map { width: 100%; min-height: 360px; border: 0; border-radius: 1.4rem; box-shadow: var(--shadow); }

.form { display: grid; gap: 0.9rem; }
label { font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  width: 100%; min-height: 48px; border-radius: 0.9rem; border: 1px solid var(--line);
  padding: 0.7rem 0.9rem; font: inherit; background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { background: #fde8e8; color: #8a1f1f; padding: 0.8rem 1rem; border-radius: 0.8rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.gallery-grid a { display: block; border-radius: 1.1rem; overflow: hidden; height: 220px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.05); }

.menu-week { display: none; }
.menu-week.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.tabs button { min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0.5rem 1rem; font-weight: 700; cursor: pointer; }
.tabs button.active { background: var(--plum); color: #fff; border-color: var(--plum); }
.meal h3 { background: var(--cream-2); margin: -1.5rem -1.5rem 1rem; padding: 1rem; border-radius: 1.35rem 1.35rem 0 0; }
.meal div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: 0.55rem 0; }
.meal div:last-child { border: 0; }

.footer { background: #221427; color: #f4e9d8; padding: 4rem 0 7rem; }
.footer h3, .footer p, .footer a { color: #f4e9d8; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
.footer .brand img { width: 48px; height: 48px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.3rem;
  z-index: 65;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  animation: wa-bob 2.8s ease-in-out infinite;
}
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-pulse, .wa-pulse-2 {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: wa-ring 2.2s ease-out infinite;
}
.wa-pulse-2 { animation-delay: .7s; }
.wa-label {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: #128c7e;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  padding: .45rem .75rem;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.wa-float:hover, .wa-float:focus-visible { color: #fff; transform: scale(1.06); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label {
  opacity: 1; transform: none;
}
@keyframes wa-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}
body.drawer-open .wa-float { display: none; }

@media (max-width: 980px) {
  .wa-float { bottom: 5.4rem; right: .9rem; }
}

.lightbox { position: fixed; inset: 0; background: rgba(20,10,28,.92); display: none; place-items: center; z-index: 220; padding: 1rem; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; border-radius: 1rem; }

.admin-body { background: #f3eef6; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--plum-d); color: #fff; padding: 1.5rem; }
.admin-side a { display: block; color: #fff; padding: 0.7rem 0.8rem; border-radius: 0.7rem; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.12); }
.admin-main { padding: 2rem; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 1rem; overflow: hidden; }
th, td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.login-card { max-width: 420px; margin: 12vh auto; background: #fff; padding: 2rem; border-radius: 1.4rem; box-shadow: var(--shadow); }

@media (max-width: 1100px) {
  .desk-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1101px) {
  .menu-toggle { display: none; }
  .drawer, .drawer-backdrop { visibility: hidden; pointer-events: none; }
}
@media (max-width: 980px) {
  .trust-grid, .grid-2, .grid-3, .grid-4, .grid-5, .footer-grid, .gallery-grid, .menu-week.active { grid-template-columns: 1fr; }
  .t-item { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  .footer { padding-bottom: 6.5rem; }
  .header-inner { min-height: 4.2rem; }
  .header-cta { display: none; }
  .menu-toggle { padding: 0; width: 48px; justify-content: center; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .drawer { width: 100%; }
  .brand strong { font-size: 1rem; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .wa-float, .wa-pulse, .wa-pulse-2 { animation: none; }
}
