@font-face {
  font-family: Nunito;
  src: url("/assets/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #263d34;
  --muted: #536058;
  --olive: #516a37;
  --paper: #faf7ee;
  --surface: #fffefa;
  --sage: #eef1e4;
  --warm: #f5e8ca;
  --line: #dcded0;
  --orange: #ef7e3b;
  --yellow: #f8ad38;
  --cream: #fde0aa;
  --blue: #45bbeb;
  --green: #99cc66;
  --heading: "Oxima", "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  --font: "Nunito", Arial, sans-serif;
  --ease-motion: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; background: var(--paper); color: var(--ink); overflow-x: clip; }
body.lightbox-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: none; }
button, a, select, summary { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #177ba1;
  outline-offset: 3px;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3, .card-title { font-family: var(--heading); }
summary { cursor: pointer; list-style: none; user-select: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }

.skip, .sr-only {
  position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip:focus {
  position: fixed; clip-path: none; z-index: 50; width: auto; height: auto;
  top: 12px; left: 12px; padding: 10px 20px; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(38,61,52,.18);
}

.wrap { width: min(1240px, calc(100% - clamp(32px, 7vw, 128px))); margin-inline: auto; }
.section { padding-block: clamp(58px, 6.2vw, 96px); scroll-margin-top: 84px; }
.surface-alt { background: var(--surface); }

/* -------------------- Scroll Motion Choreography (azart-service inspired) -------------------- */
[data-motion] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .65s var(--ease-motion), transform .75s var(--ease-motion);
  transition-delay: var(--stagger, 0ms);
}
[data-motion="fade-up"] { transform: translate3d(0, 32px, 0); }
[data-motion="fade-down"] { transform: translate3d(0, -28px, 0); }
[data-motion="slide-left"] { transform: translate3d(-68px, 0, 0); }
[data-motion="slide-right"] { transform: translate3d(68px, 0, 0); }
[data-motion="scale-bloom"] { transform: scale(0.84) translate3d(0, 16px, 0); }
[data-motion="stagger-scale"] { transform: scale(0.88) translate3d(0, 26px, 0); }
[data-motion].is-in { opacity: 1; transform: none; }

[data-scrub="zoom"] { will-change: transform, border-radius; transform-origin: center center; transition: box-shadow .3s ease; }
[data-scrub="tilt"] { will-change: transform; }
[data-scrub="footer"] { will-change: transform, opacity; }
[data-parallax] { will-change: transform; }

/* Eyebrows, pins, buttons, links */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .12em; line-height: 1.35;
  font-weight: 850; text-transform: uppercase; color: #47604c;
}
.dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; }
.dot.orange { background: var(--orange); }
.dot.green { background: #78984e; }
.dot.blue { background: #238bb5; }
.dot.yellow { background: var(--yellow); }

.pin { display: inline-block; width: 15px; height: 17px; flex: none; position: relative; }
.pin::before {
  content: ""; position: absolute; width: 12px; height: 12px; left: 2px; top: 0;
  border: 1.7px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.pin::after {
  content: ""; position: absolute; width: 3.5px; height: 3.5px; left: 6.3px; top: 4.25px;
  border-radius: 50%; background: currentColor;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 24px;
  color: #fff; background: var(--ink); border: 1.5px solid var(--ink);
  border-radius: 100px; font-size: 15px; font-weight: 800; line-height: 1.2;
  transition: background .18s, color .18s, border-color .18s, transform .22s var(--ease-motion);
}
.button:hover { background: #3b5842; border-color: #3b5842; transform: translateY(-2px) scale(1.02); }
.button-ghost { background: transparent; color: var(--ink); border-color: #b7bfae; }
.button-ghost:hover { background: #eef1e4; border-color: var(--ink); color: var(--ink); }

.text-link {
  width: fit-content; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 0; font-size: 15px; font-weight: 800;
  text-decoration: underline; text-decoration-color: #a3ad9e; text-underline-offset: 5px;
  transition: color .16s, text-decoration-color .16s;
}
.text-link:hover { color: var(--olive); text-decoration-color: currentColor; }

.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 18px; border-radius: 100px;
  border: 1px solid #c9cfc1; background: var(--surface); color: var(--ink);
  font-size: 14px; font-weight: 760; transition: .16s;
}
.pill-btn:hover { background: #eef1e4; border-color: #9ba593; }
.pill-btn[aria-pressed="true"], .pill-btn.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* -------------------- Header & Reading Progress Bar -------------------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 247, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e3d5;
}
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--green), var(--blue));
  transform-origin: left center; transform: scaleX(0);
  pointer-events: none; z-index: 32;
}
.header-inner {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.header-left { display: flex; align-items: center; gap: 16px; }
.burger-btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 42px; padding: 8px 15px; border-radius: 100px;
  border: 1px solid #c8cec0; background: var(--surface);
  font-size: 14px; font-weight: 800; transition: .16s;
}
.burger-btn:hover { background: #eef1e4; border-color: var(--ink); }
.burger-btn[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.burger-lines { display: flex; flex-direction: column; gap: 4px; width: 15px; }
.burger-lines i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.burger-btn[aria-expanded="true"] .burger-lines i:first-child { transform: translateY(3px) rotate(45deg); }
.burger-btn[aria-expanded="true"] .burger-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }

.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand img { object-fit: contain; }
.brand-type { display: flex; flex-direction: column; gap: 1px; }
.brand-type strong { font-family: var(--heading); font-size: 20px; font-weight: 950; letter-spacing: -.045em; line-height: 1.1; }
.brand-type small { font-size: 10.5px; font-weight: 700; color: #5a6258; }

.nav-desktop { display: flex; align-items: center; gap: clamp(10px, 1.35vw, 20px); }
.nav-desktop a { font-size: 14px; font-weight: 780; padding: 8px 3px; position: relative; white-space: nowrap; }
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--olive); }
.nav-desktop a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px;
  background: var(--orange); border-radius: 2px;
}
.header-cta { min-height: 42px; padding: 9px 20px; font-size: 14px; }

.drawer {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(38,61,52,.14);
  padding-block: 32px 38px;
}
.drawer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.drawer-col { display: flex; flex-direction: column; gap: 10px; }
.drawer-heading {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 850; color: var(--olive); margin-bottom: 4px;
}
.drawer-col a:not(.button) { font-size: 15px; font-weight: 720; padding: 3px 0; transition: color .15s; }
.drawer-col a:not(.button):hover { color: var(--orange); }
.drawer-branch { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.drawer-branch span { font-size: 13.5px; color: var(--muted); }
.drawer-phone { font-size: 19px !important; font-weight: 880 !important; margin-top: 4px; }
.drawer-cta { margin-top: 6px; width: 100%; }

/* -------------------- Headings -------------------- */
.section-heading {
  display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px;
}
h1 { font-size: clamp(42px, 5.4vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 880; }
h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.04; letter-spacing: -.045em; font-weight: 880; margin-top: 10px; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.03em; font-weight: 850; }
.section-heading > p { max-width: 390px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.section-foot-link { margin-top: 26px; display: flex; justify-content: flex-start; }

/* -------------------- 1. Home Hero -------------------- */
.hero { position: relative; overflow: clip; background: var(--paper); }
.hero-grid {
  display: grid; grid-template-columns: 1.04fr .96fr; align-items: center;
  gap: clamp(28px, 3.6vw, 60px);
  padding-block: clamp(38px, 4.4vw, 68px) clamp(56px, 5.2vw, 86px);
}
.hero h1 { font-size: clamp(54px, 6.2vw, 94px); line-height: .94; margin: 18px 0 20px; }
.accent { display: inline-block; position: relative; color: var(--olive); z-index: 0; }
.accent::after {
  content: ""; position: absolute; z-index: -1; bottom: -.02em; left: .01em; right: .07em;
  height: .11em; background: var(--yellow); border-radius: 50%; transform: rotate(-2deg);
}
.hero-lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 520px; line-height: 1.55; font-weight: 560; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid #dfdcca;
}
.hero-metrics strong { display: block; font-family: var(--heading); font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.15; }
.hero-metrics span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }

.collage { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.16; max-height: 495px; }
.room-print {
  position: absolute; left: 7%; right: 3%; top: 3.5%; height: 84%;
  padding: 9px 9px 2px; background: #fffdfa; border-radius: 8px; transform: rotate(3.2deg);
  box-shadow: 0 15px 30px -15px rgba(76,81,53,.35), 0 2px 6px rgba(69,63,37,.09);
  display: grid; grid-template-rows: minmax(0,1fr) auto;
}
.room-print img, .paint-print img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.room-print figcaption {
  min-height: 36px; display: flex; align-items: center; justify-content: flex-end;
  padding: 5px 8px 4px; gap: 7px; font-size: 12px; font-weight: 760;
}
.room-print figcaption i { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.paint-print {
  position: absolute; left: -1%; bottom: 0; width: 37%; height: 38%; z-index: 2;
  padding: 7px 7px 16px; background: #fffefa; border-radius: 4px; transform: rotate(-8.5deg);
  box-shadow: 0 8px 18px rgba(56,45,24,.18);
}
.paint-print::before {
  content: ""; position: absolute; z-index: 1; left: 30%; top: -6px; width: 38%; height: 14px;
  background: repeating-linear-gradient(98deg, #f1c45bcb 0 2px, #f2cc71cf 2px 4px);
  transform: rotate(-3deg);
}
.sun { position: absolute; z-index: 2; width: 92px; height: 92px; right: -2%; top: -7.5%; transform: rotate(9deg); pointer-events: none; }
.sun img, .hero-spark img, .card-art-logo img, .visit-art img, .dir-mosaic-svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-spark { position: absolute; right: 3%; bottom: -2%; width: 58px; height: 74px; transform: rotate(12deg); pointer-events: none; }

/* -------------------- 2. Manifesto & Embedded Doc Cards -------------------- */
.manifesto-section { background: var(--surface); border-block: 1px solid #ece9dc; }
.manifesto-head { max-width: 900px; margin-bottom: 34px; }
.manifesto-title { font-size: clamp(24px, 2.7vw, 38px); line-height: 1.22; letter-spacing: -.03em; font-weight: 820; margin-top: 14px; }
.manifesto-sub { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 720px; }

.docs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.doc-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 22px; border-radius: 22px; background: var(--paper);
  border: 1px solid #e3e2d4; transition: transform .24s var(--ease-motion), box-shadow .24s, border-color .2s;
}
.doc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px -16px rgba(38,61,52,.22); border-color: #b7c2ae; }
.doc-card.doc-green { background: #eef4e2; }
.doc-card.doc-orange { background: #fdf0e2; }
.doc-card.doc-yellow { background: #fbf4d6; }
.doc-card.doc-blue { background: #e8f5fa; }
.doc-card-top { display: flex; justify-content: space-between; align-items: center; }
.doc-kicker { font-size: 11.5px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: #475d4c; }
.doc-num { font-family: var(--heading); font-size: 26px; font-weight: 900; opacity: .22; line-height: 1; }
.doc-card-body strong { display: block; font-family: var(--heading); font-size: 19px; line-height: 1.2; margin-bottom: 6px; }
.doc-card-body p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.doc-card-link { font-size: 13.5px; font-weight: 820; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }

/* -------------------- 3. Directions Bento Grid -------------------- */
.directions-section { background: var(--paper); }
.directions-bento {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px;
}
.dir-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 270px; padding: 26px; border-radius: 26px; overflow: hidden;
  transition: transform .26s var(--ease-motion), box-shadow .26s;
}
.dir-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px -18px rgba(38,61,52,.25); }
.dir-card:hover .card-art { transform: translateY(-5px) rotate(4deg); }
.dir-card:hover .card-arrow { transform: rotate(10deg); background: rgba(255,255,255,.78); }
.dir-garden { background: #fbe2aa; grid-row: span 2; min-height: 100%; }
.dir-classes { background: #e0ebca; grid-column: span 2; }
.dir-events { background: #d5eaf1; }
.dir-summer { background: #f6e8ad; }

.dir-top { display: flex; justify-content: space-between; align-items: flex-start; min-height: 82px; }
.dir-badge {
  display: inline-flex; padding: 6px 13px; border-radius: 100px;
  background: rgba(255,255,255,.68); font-size: 12px; font-weight: 850; color: #314738;
}
.dir-body { margin-top: 36px; padding-right: 44px; }
.dir-body h3 { font-size: clamp(24px, 2.2vw, 34px); margin-bottom: 8px; }
.dir-body p { font-size: 15px; color: #3e4e44; max-width: 440px; }
.dir-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.dir-tags span {
  font-size: 12px; font-weight: 760; padding: 5px 11px; border-radius: 100px;
  background: rgba(255,255,255,.55); color: #2b3f33;
}
.card-arrow, .icon-button {
  display: inline-grid; place-items: center; height: 40px; width: 40px;
  border: 1px solid #8a9a84; color: var(--ink); background: transparent;
  border-radius: 50%; font: 20px/1 Arial, sans-serif; transition: .18s;
}
.dir-card .card-arrow { position: absolute; right: 22px; bottom: 22px; }

.card-art { position: relative; width: 120px; height: 100px; flex: none; transform-origin: 50% 75%; transition: transform .24s var(--ease-motion); }
.card-art-logo img { filter: drop-shadow(0 6px 12px rgba(45, 58, 42, .1)); }

/* Interactive assembling tree mosaic in Directions heading */
.dir-mosaic-wrap { display: flex; align-items: center; gap: 16px; max-width: 470px; }
.dir-mosaic-hub { width: 92px; height: 78px; flex: none; }
.dir-mosaic-svg .mosaic-piece {
  transform-box: fill-box; transform-origin: center;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .28s ease, filter .28s ease;
}
.section-heading:not(.is-visible) .dir-mosaic-svg .mosaic-piece[data-piece="blocks"] { transform: translate(-220px, -420px); }
.section-heading:not(.is-visible) .dir-mosaic-svg .mosaic-piece[data-piece="abacus"] { transform: translate(-480px, -120px); }
.section-heading:not(.is-visible) .dir-mosaic-svg .mosaic-piece[data-piece="tent"] { transform: translate(-420px, 340px); }
.section-heading:not(.is-visible) .dir-mosaic-svg .mosaic-piece[data-piece="summer"] { transform: translate(420px, -220px); }
.dir-mosaic-hub[data-active] .mosaic-piece { opacity: .24; }
.dir-mosaic-hub[data-active="blocks"] .mosaic-piece[data-piece="blocks"],
.dir-mosaic-hub[data-active="abacus"] .mosaic-piece[data-piece="abacus"],
.dir-mosaic-hub[data-active="tent"] .mosaic-piece[data-piece="tent"],
.dir-mosaic-hub[data-active="summer"] .mosaic-piece[data-piece="summer"] {
  opacity: 1; transform: scale(1.06); filter: drop-shadow(0 12px 18px rgba(38, 61, 52, .18));
}

/* -------------------- 4. Marquee -------------------- */
.marquee-section { padding-block: 38px 44px; background: var(--surface); border-block: 1px solid #ece9dc; overflow: hidden; }
.marquee-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 30s linear infinite; will-change: transform; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-pill {
  flex: none; padding: 11px 22px; border-radius: 100px; font-size: 15px; font-weight: 780;
  border: 1px solid #e1e3d6; background: var(--paper); white-space: nowrap;
}
.marquee-pill.tone-green { background: #eef4e2; border-color: #d6e4be; }
.marquee-pill.tone-orange { background: #fdf0e2; border-color: #f4d4b7; }
.marquee-pill.tone-blue { background: #e8f5fa; border-color: #c7e4f0; }
.marquee-pill.tone-yellow { background: #fbf4d6; border-color: #eedfa1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------- 5. Cases / Programs Grid -------------------- */
.cases-section { background: var(--paper); }
.cases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
.cases-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { display: flex; flex-direction: column; gap: 12px; }
.case-media {
  position: relative; display: block; border-radius: 24px; overflow: hidden;
  aspect-ratio: 16 / 10; background: #e8ebd9;
}
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-motion); }
.case-card:hover .case-media img { transform: scale(1.07); }
.case-age {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 13px; border-radius: 100px; font-size: 12px; font-weight: 820;
  background: rgba(255,254,250,.92); color: var(--ink); backdrop-filter: blur(6px);
}
.case-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-inline: 4px; }
.case-title { font-family: var(--heading); font-size: clamp(19px, 1.55vw, 23px); font-weight: 850; letter-spacing: -.025em; transition: color .15s; }
.case-title:hover { color: var(--olive); }
.case-tags { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: #758176; font-weight: 700; }

/* -------------------- 6. Flagship Spotlight Banner -------------------- */
.spotlight-section { padding-block: clamp(32px, 4vw, 56px); background: var(--paper); }
.spotlight-card {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 36px;
  padding: clamp(28px, 4vw, 52px); border-radius: 32px;
  background: linear-gradient(135deg, #fbe6bd 0%, #f6edd8 52%, #e6f0d8 100%);
  border: 1px solid #e7dcbe;
}
.spotlight-copy h2 { font-size: clamp(28px, 3vw, 44px); margin-top: 12px; }
.spotlight-copy > p:not(.eyebrow) { margin-top: 16px; color: #405045; font-size: 16.5px; max-width: 520px; }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 26px; }
.spotlight-media { border-radius: 18px; overflow: hidden; box-shadow: 0 22px 46px -20px rgba(48,40,18,.35); }
.spotlight-media img { width: 100%; height: auto; }

/* -------------------- 7. Space Gallery & Video -------------------- */
.space { background: var(--sage); }
.space-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(28px, 5vw, 76px); }
.space-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.address-hint { display: flex; align-items: center; gap: 8px; font-size: 14.5px !important; font-weight: 780; color: var(--ink) !important; }
.space-mode-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }

.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: 22px; background: #dde3cf;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: 0 0 100%; scroll-snap-align: center; }
.gallery-track img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-track figcaption { display: none; }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 14.5px; font-weight: 800; }
.gallery-buttons { display: flex; gap: 8px; }
.icon-button { background: rgba(255,255,255,.72); }
.icon-button:hover { background: #fff; }

.video-tour-box video, .case-banner-video video {
  width: 100%; border-radius: 22px; background: #1e2d26; aspect-ratio: 16 / 9; object-fit: cover;
  box-shadow: 0 16px 36px -18px rgba(38,61,52,.35);
}
.video-caption { margin-top: 10px; font-size: 13.5px; color: var(--muted); font-weight: 700; }

/* -------------------- 8. FAQ -------------------- */
.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(28px, 5vw, 76px); }
.faq-side-note { margin: 16px 0 18px; color: var(--muted); font-size: 16px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  font-weight: 820; line-height: 1.32; padding: 20px 38px 20px 0; position: relative;
  font-size: clamp(16.5px, 1.35vw, 20px);
}
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 17px; font: 24px/1 Arial, sans-serif; color: var(--olive); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); font-size: 15.5px; margin: 0 28px 18px 0; }

/* -------------------- 9. Consultation Form -------------------- */
.consult-section { background: var(--warm); }
.consult-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.consult-card-visual h2 { font-size: clamp(30px, 3.2vw, 46px); margin-top: 12px; }
.consult-lead { margin-top: 16px; color: #465349; font-size: 16.5px; }
.consult-single-branch {
  margin-top: 24px; padding: 20px 22px; border-radius: 20px;
  background: rgba(255,254,250,.78); border: 1px solid #e5d8b8;
}
.consult-single-branch small { display: block; font-size: 11.5px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; color: var(--olive); }
.consult-single-branch strong { display: block; font-size: 19px; font-family: var(--heading); margin: 4px 0; }
.consult-single-branch p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.phone-inline { font-size: 19px; font-weight: 880; color: var(--ink); }
.phone-inline:hover { text-decoration: underline; }

.consult-form, .wizard-step {
  background: #fffdf7; border-radius: 26px; padding: clamp(22px, 3vw, 38px);
  border: 1px solid #e6dec8; display: flex; flex-direction: column; gap: 16px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #bfc6b6; border-radius: 12px; padding: 11px 14px;
  background: var(--surface); font-size: 15.5px; font-weight: 600; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(38,61,52,.1); }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.consent-check a { text-decoration: underline; color: var(--ink); font-weight: 760; }
.form-error { color: #b83728; font-size: 14px; font-weight: 760; min-height: 20px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* -------------------- Inner Pages & Azart-Service Motion Story -------------------- */
.page-hero { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(44px, 5vw, 72px); }
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--muted); font-weight: 700; margin-bottom: 20px;
}
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs strong { color: var(--ink); }
.page-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

/* Direction Page */
.dir-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 52px); align-items: stretch; }
.dir-hero-copy h1 { margin: 12px 0 12px; }
.dir-works-line { font-size: 15px; font-weight: 760; color: var(--olive); margin-bottom: 18px; }
.rich-text p + p { margin-top: 12px; }
.rich-text p { font-size: 16.5px; color: var(--muted); max-width: 640px; }
.dir-hero-card { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.dir-hero-art { display: flex; justify-content: flex-end; }
.dir-highlights { display: grid; gap: 12px; }
.dir-hl { padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.72); }
.dir-hl strong { display: block; font-family: var(--heading); font-size: 22px; font-weight: 900; }
.dir-hl span { font-size: 13.5px; color: #3c4d42; font-weight: 650; }

.groups-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.group-card { padding: 20px; border-radius: 20px; background: var(--paper); border: 1px solid #e4e3d5; }
.group-num { font-family: var(--heading); font-size: 24px; font-weight: 900; color: var(--orange); }
.group-card h3 { font-size: 19px; margin: 8px 0 4px; }
.group-age { font-size: 13px; font-weight: 850; color: var(--olive); margin-bottom: 8px; }
.group-focus { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.classes-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-card { padding: 24px; border-radius: 22px; border: 1px solid #e3e2d4; }
.cat-green { background: #eef4e2; }
.cat-blue { background: #e8f5fa; }
.cat-orange { background: #fdf0e2; }
.cat-yellow { background: #fbf4d6; }
.cat-card h3 { margin-bottom: 14px; font-size: 21px; }
.cat-card ul { padding-left: 1.2em; display: grid; gap: 7px; font-size: 14.5px; color: #344439; font-weight: 640; }

/* Case / Program Page (azart-service alternating sticky story) */
.case-hero { max-width: 880px; }
.case-hero h1 { font-size: clamp(36px, 4.6vw, 66px); margin: 12px 0 16px; }
.case-lead { font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); line-height: 1.5; max-width: 760px; }
.case-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case-hero-tags span { padding: 5px 12px; border-radius: 100px; background: var(--sage); font-size: 13px; font-weight: 800; color: var(--olive); }
.case-banner-img { margin-top: 34px; border-radius: 28px; overflow: hidden; max-height: 560px; box-shadow: 0 24px 54px -26px rgba(38,61,52,.28); }
.case-banner-img img { width: 100%; height: 100%; object-fit: cover; }
.case-banner-video { margin-top: 34px; overflow: hidden; }
.case-metrics-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.case-metric-card { padding: 22px 24px; border-radius: 22px; background: var(--surface); border: 1px solid #e4e3d5; }
.case-metric-card strong { display: block; font-family: var(--heading); font-size: clamp(24px, 2.3vw, 34px); color: var(--ink); line-height: 1.1; }
.case-metric-card span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); font-weight: 650; }

.motion-story-section { overflow: clip; }
.split-story {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.8vw, 64px);
  align-items: start; padding-block: clamp(28px, 3.6vw, 52px);
}
.split-sticky { position: sticky; top: 108px; }
.split-sticky h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 10px; }
.case-text { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.62; max-width: 540px; }
.story-list { margin-top: 20px; }
.story-shot { border-radius: 26px; overflow: hidden; background: var(--paper); border: 1px solid #e4e3d5; box-shadow: 0 20px 44px -24px rgba(38,61,52,.22); }
.story-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-shot figcaption { padding: 14px 20px; font-size: 14px; font-weight: 760; color: var(--muted); }

.story-centerpiece {
  margin-block: clamp(18px, 3vw, 38px); border-radius: 30px; overflow: hidden;
  background: var(--paper); border: 1px solid #e4e3d5; box-shadow: 0 28px 60px -28px rgba(38,61,52,.28);
}
.story-centerpiece img { width: 100%; max-height: 620px; object-fit: cover; }
.story-centerpiece figcaption { padding: 16px 24px; font-size: 14.5px; font-weight: 780; color: var(--muted); text-align: center; }

/* Horizontal-divider Icon Results Strip (azart-service kl component) */
.results-strip-section { background: var(--paper); }
.results-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.result-cell { display: flex; flex-direction: column; align-items: center; text-align: center; }
.result-icon { height: 74px; display: grid; place-items: center; color: var(--ink); }
.result-icon svg { width: 48px; height: 48px; }
.result-divider { width: 100%; height: 1.5px; background: var(--ink); opacity: .75; }
.result-cell p { padding: 18px 14px 8px; font-size: 15.5px; font-weight: 720; color: #344439; line-height: 1.45; }

.story-quote-band {
  margin-top: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center;
}
.case-quote {
  padding: 24px 28px; border-radius: 22px; background: var(--warm); border-left: 4px solid var(--orange);
}
.case-quote small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; color: #8c4d24; margin-bottom: 6px; }
.case-quote p { font-size: 17px; font-weight: 740; color: var(--ink); line-height: 1.5; }
.quote-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 26px; font-size: 15.5px; color: #36473c; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green); color: #1c321f;
  display: grid; place-items: center; font-size: 11px; font-weight: 900;
}
.compact-list { gap: 8px; }

/* -------------------- Embedded Document Viewer Subpage (/docs/:slug) -------------------- */
.doc-viewer-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
.doc-viewer-aside { position: sticky; top: 102px; display: flex; flex-direction: column; gap: 18px; }
.doc-viewer-aside h1 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.04; margin-top: 4px; }
.doc-viewer-desc { font-size: 16px; color: var(--muted); }
.doc-highlights-box { padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid #e3e2d4; }
.doc-highlights-box h3 { font-size: 17px; margin-bottom: 12px; }
.doc-viewer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-viewer-links { display: flex; flex-direction: column; gap: 8px; }
.doc-prev-next { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

.doc-sheet-frame {
  border-radius: 24px; overflow: hidden; background: var(--surface);
  border: 1px solid #dfdcca; box-shadow: 0 24px 56px -26px rgba(38,61,52,.28);
  cursor: zoom-in; transition: transform .25s var(--ease-motion), box-shadow .25s;
}
.doc-sheet-frame:hover { transform: translateY(-3px); box-shadow: 0 30px 64px -24px rgba(38,61,52,.34); }
.doc-sheet-frame img { width: 100%; height: auto; display: block; }
.doc-sheet-frame figcaption {
  padding: 13px 18px; text-align: center; font-size: 13.5px; font-weight: 760;
  color: var(--muted); background: #f6f3e7; border-top: 1px solid #e5e2d4;
}

.doc-lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(24, 38, 32, .88); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 24px;
}
.lightbox-close {
  position: fixed; top: 18px; right: 22px; z-index: 65;
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--ink);
  font-size: 28px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.lightbox-scroll { max-width: min(1100px, 100%); max-height: calc(100dvh - 48px); overflow: auto; border-radius: 16px; }
.lightbox-scroll img { width: 100%; height: auto; border-radius: 12px; }

/* Prices, Schedule, Menu, Checklist */
.notice-bar {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-radius: 16px;
  background: #fdf2e3; border: 1px solid #f0d7b5; font-size: 14.5px; color: #544637;
}
.notice-bar .dot { margin-top: 6px; }
.pricing-stack { display: grid; gap: 36px; }
.price-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.price-block-head h2 { font-size: clamp(24px, 2.4vw, 34px); margin: 0; }
.muted-note { font-size: 14px; color: var(--muted); }

.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid #e2e2d4; background: var(--paper); }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e7e6da; vertical-align: top; }
.data-table thead th { background: #eef1e4; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 850; color: #364b3c; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; white-space: nowrap; }
.price-val { font-weight: 880; color: var(--ink); }
.menu-table { min-width: 820px; font-size: 14px; }
.menu-table td:first-child { background: #f7f4e8; white-space: nowrap; }

.toggle-group { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline {
  list-style: none; padding: 0; margin-top: 10px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px;
}
.timeline li {
  display: flex; align-items: center; gap: 16px; padding: 15px 20px;
  border-radius: 16px; background: var(--surface); border: 1px solid #e4e3d5;
}
.timeline time {
  flex: none; min-width: 112px; padding: 5px 12px; border-radius: 100px;
  background: #fbe4b9; font-weight: 850; font-size: 13.5px; text-align: center;
}
.timeline span { font-size: 15.5px; font-weight: 720; }

.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checklist-card { padding: 28px; border-radius: 24px; border: 1px solid #e2e2d4; }
.card-tint-green { background: #eef4e2; }
.card-tint-orange { background: #fdf0e2; }
.checklist-card h3 { margin-bottom: 16px; }
.checklist-card ol { padding-left: 1.35em; display: grid; gap: 8px; font-size: 15px; color: #334338; font-weight: 640; }

/* Wizard (/enroll) */
.wizard-wrap { max-width: 880px; }
.wizard-head h1 { font-size: clamp(34px, 4.4vw, 58px); margin: 12px 0 14px; }
.wizard-form { display: grid; gap: 20px; margin-top: 28px; }
.wizard-step { border: 1px solid #e4e2d3; margin: 0; }
.wizard-step legend {
  font-family: var(--heading); font-size: 20px; font-weight: 850;
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px; float: left; width: 100%;
}
.wizard-step legend span {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 900;
}
.wizard-step legend small { font-family: var(--font); font-size: 13.5px; color: var(--muted); font-weight: 650; }
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; clear: both; }
.chip-btn {
  padding: 10px 18px; border-radius: 100px; border: 1.5px solid #cbd1c3;
  background: var(--surface); font-size: 14.5px; font-weight: 760; transition: .16s;
}
.chip-btn:hover { background: #eef1e4; border-color: var(--ink); }
.chip-btn.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }

.wizard-recommendation {
  padding: 20px 24px; border-radius: 20px; background: #eef4e2; border: 1px solid #cfe0b5;
}
.wizard-recommendation p:last-child { margin-top: 8px; font-size: 15.5px; }

/* Success (/success) */
.success-wrap { max-width: 760px; }
.success-card {
  padding: clamp(28px, 4vw, 48px); border-radius: 30px; background: var(--surface);
  border: 1px solid #e2e2d4; box-shadow: 0 18px 50px -24px rgba(38,61,52,.2);
}
.success-icon {
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: var(--ink);
  display: grid; place-items: center; font-size: 28px; font-weight: 900; margin-bottom: 18px;
}
.success-card h1 { font-size: clamp(32px, 4vw, 52px); margin: 10px 0 14px; }
.success-summary { margin: 24px 0; border-top: 1px solid var(--line); }
.summary-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.summary-row span { color: var(--muted); }
.success-copy-box {
  padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid #e2e1d3;
  margin-bottom: 22px;
}
.success-copy-box small { display: block; font-size: 12px; font-weight: 800; color: var(--olive); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.success-copy-box p { font-size: 15px; line-height: 1.5; }
.copy-feedback { margin-top: 12px; font-size: 14px; font-weight: 760; color: var(--olive); min-height: 20px; }

/* Contacts (/contacts) */
.contact-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.branch-full-card {
  padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: var(--surface);
  border: 1px solid #e3e2d4; display: flex; flex-direction: column; gap: 12px;
}
.branch-full-card h2 { font-size: clamp(26px, 2.5vw, 36px); margin: 4px 0 0; }
.branch-big-addr { font-size: 20px; font-weight: 820; }
.branch-hours { font-size: 14.5px; color: var(--muted); }
.branch-full-actions { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.phone-large { font-family: var(--heading); font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.phone-large:hover { color: var(--olive); }
.branch-links-row { display: flex; flex-wrap: wrap; gap: 10px 20px; }

.contact-photo-card {
  border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid #e3e2d4;
  display: flex; flex-direction: column;
}
.contact-photo-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; flex: 1; }
.contact-photo-card figcaption {
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px;
}
.contact-photo-card figcaption a { text-decoration: underline; font-weight: 800; color: var(--olive); }

.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.leader-role { margin-top: 8px; font-size: 16.5px; font-weight: 800; color: var(--olive); }
.leader-card { padding: 28px; border-radius: 24px; background: var(--paper); border: 1px solid #e3e2d4; display: grid; gap: 16px; }

/* Legal & 404 */
.legal-wrap { max-width: 820px; }
.legal-wrap h1 { font-size: clamp(32px, 4vw, 50px); margin: 12px 0 28px; }
.legal-body h2 { font-size: 22px; margin: 28px 0 10px; }
.legal-body p, .legal-body li { font-size: 15.5px; color: var(--muted); line-height: 1.65; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul { padding-left: 1.3em; display: grid; gap: 6px; margin-top: 8px; }
.legal-body a { color: var(--ink); text-decoration: underline; font-weight: 760; }

.notfound-wrap { text-align: center; padding-block: 48px; max-width: 640px; }
.notfound-code { font-family: var(--heading); font-size: clamp(72px, 12vw, 130px); font-weight: 950; color: var(--orange); line-height: 1; display: block; }
.notfound-wrap h1 { font-size: clamp(30px, 4vw, 48px); margin: 12px 0 12px; }
.notfound-wrap .case-lead { margin-inline: auto; }

/* -------------------- Footer -------------------- */
.footer {
  background: linear-gradient(180deg, #f3f0e3 0%, #faf7ee 45%);
  border-top: 1px solid #e4e2d3;
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.35fr .85fr 1fr 1fr 1.1fr; gap: 28px; }
.footer-desc { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 280px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; font-size: 13.5px; font-weight: 800; }
.footer-socials a:hover { color: var(--olive); text-decoration: underline; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; color: var(--olive); margin-bottom: 4px; }
.footer-col a { font-size: 14px; font-weight: 700; color: #36473d; transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-branch { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.footer-branch strong { font-size: 14px; }
.footer-branch span { font-size: 13px; color: var(--muted); }
.footer-branch a { font-size: 15px; font-weight: 850; color: var(--ink); margin-top: 4px; }

.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #e2e0d2;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}
.footer-bottom-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: var(--ink); text-decoration: underline; }

/* Mobile sticky CTA & Cookie Banner */
.mobile-book { display: none; }
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255,254,250,.97); backdrop-filter: blur(10px);
  border-top: 1px solid #dcdcd0; box-shadow: 0 -10px 30px rgba(38,61,52,.1);
  padding-block: 16px;
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-inner strong { display: block; font-size: 15px; margin-bottom: 2px; }
.cookie-inner p { font-size: 13px; color: var(--muted); }
.cookie-inner a { text-decoration: underline; color: var(--ink); font-weight: 760; }
.cookie-accept { flex: none; min-height: 40px; padding: 8px 22px; font-size: 14px; }

/* Print Styles for /docs/:slug */
@media print {
  .header, .footer, .breadcrumbs, .doc-switcher, .doc-viewer-aside, .mobile-book, .cookie-banner { display: none !important; }
  .doc-viewer-grid { display: block !important; }
  .doc-sheet-frame { border: 0 !important; box-shadow: none !important; }
  .doc-sheet-frame figcaption { display: none !important; }
}

/* -------------------- Responsive -------------------- */
@media (max-width: 1120px) {
  .nav-desktop { display: none; }
  .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directions-bento { grid-template-columns: 1fr 1fr; }
  .dir-garden { grid-row: auto; }
  .dir-classes { grid-column: auto; }
  .groups-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classes-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .drawer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  /* On mobile, horizontal slides convert to crisp scale-in (like azart-service initMobile) */
  [data-motion="slide-left"], [data-motion="slide-right"] { transform: scale(0.9) translate3d(0, 20px, 0); }
  .header-cta { display: none; }
  .hero-grid, .dir-hero-grid, .spotlight-card, .space-grid, .faq-grid, .consult-grid, .split-story, .story-quote-band, .doc-viewer-grid, .contact-hero-grid, .leader-grid, .checklist-grid {
    grid-template-columns: 1fr;
  }
  .split-right .split-sticky { order: -1; }
  .split-sticky, .doc-viewer-aside { position: static; }
  .quote-band-actions { justify-content: flex-start; }
  .results-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-grid, .cases-grid-3, .case-metrics-row, .timeline { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .collage { max-width: 520px; margin-inline: auto; aspect-ratio: 1.45; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .mobile-book:not([hidden]) {
    display: inline-flex; position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%); z-index: 25; box-shadow: 0 8px 24px rgba(25,42,36,.28);
    min-height: 44px; padding: 10px 20px; font-size: 13.5px; white-space: nowrap; max-width: calc(100% - 28px);
  }
  body { padding-bottom: 66px; }
}

@media (max-width: 560px) {
  .docs-grid, .directions-bento, .groups-grid, .classes-cat-grid, .form-row-2, .footer-grid, .drawer-grid {
    grid-template-columns: 1fr;
  }
  .burger-label { display: none; }
  .brand-type strong { font-size: 18px; }
  .summary-row { flex-direction: column; gap: 2px; }
}

/* -------------------- MoyKlass Schedule & CRM Integration -------------------- */
.crm-status-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px;
  padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid #e3e2d4; margin-bottom: 22px;
}
.crm-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; }
.crm-meta { font-size: 13px; color: var(--muted); font-weight: 700; }

.schedule-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.schedule-card {
  display: flex; flex-direction: column; gap: 12px; padding: 22px;
  border-radius: 22px; background: var(--surface); border: 1px solid #e3e2d4;
  transition: transform .2s var(--ease-motion), box-shadow .2s;
}
.schedule-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -18px rgba(38,61,52,.22); }
.schedule-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-weight: 820; }
.schedule-day { color: var(--olive); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.schedule-time { padding: 4px 11px; border-radius: 100px; background: #fbe4b9; color: var(--ink); }
.schedule-card h3 { font-size: 20px; line-height: 1.2; }
.schedule-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.schedule-tags span { font-size: 12.5px; font-weight: 740; padding: 4px 10px; border-radius: 100px; background: var(--paper); border: 1px solid #e4e3d6; color: #3c4d42; }
.schedule-card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #eceae0; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.spots-pill { font-size: 13px; font-weight: 780; color: var(--olive); }
.spots-pill.spots-low { color: #b95324; }
.schedule-cta { min-height: 38px; padding: 8px 16px; font-size: 13.5px; }
.schedule-empty { grid-column: 1 / -1; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid #e3e2d4; color: var(--muted); }

.payload-preview { margin-bottom: 18px; border-radius: 14px; background: #f4f2e6; border: 1px solid #e0decb; padding: 12px 16px; }
.payload-preview summary { font-size: 13.5px; font-weight: 800; color: var(--olive); }
.payload-preview pre { margin: 10px 0 0; font-size: 12.5px; overflow-x: auto; line-height: 1.45; color: var(--ink); }

@media (max-width: 1020px) { .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .schedule-grid { grid-template-columns: 1fr; } }

/* -------------------- Yandex Maps Reviews Section -------------------- */
.reviews-section { background: var(--paper); }
.rating-pill-card {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  padding: 16px 22px; border-radius: 22px; background: var(--surface); border: 1px solid #e3e2d4;
}
.rating-score { display: flex; align-items: center; gap: 12px; }
.rating-score strong { font-family: var(--heading); font-size: 40px; line-height: 1; font-weight: 950; color: var(--ink); }
.rating-stars, .review-stars { color: #f29d18; letter-spacing: .08em; font-size: 16px; display: block; line-height: 1.1; }
.rating-score small { display: block; font-size: 13px; color: var(--muted); font-weight: 720; margin-top: 2px; }

.reviews-layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: 22px; align-items: stretch; }
.reviews-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-card {
  display: flex; flex-direction: column; gap: 12px; padding: 22px;
  border-radius: 22px; background: var(--surface); border: 1px solid #e3e2d4;
  transition: transform .22s var(--ease-motion), box-shadow .22s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(38,61,52,.22); }
.review-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.review-top strong { display: block; font-family: var(--heading); font-size: 18px; line-height: 1.15; }
.review-top small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 680; margin-top: 2px; }
.review-card p { font-size: 14.5px; color: #36473c; line-height: 1.55; }
.review-more { margin-top: auto; font-size: 13px; font-weight: 800; color: var(--olive); text-decoration: underline; text-underline-offset: 4px; }
.review-more:hover { color: var(--orange); }

.yandex-widget-box {
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--surface); border: 1px solid #e3e2d4; min-height: 560px;
  box-shadow: 0 18px 42px -24px rgba(38,61,52,.2);
}
.yandex-widget-box iframe { width: 100%; flex: 1; border: 0; min-height: 520px; }
.yandex-widget-footer {
  padding: 12px 16px; text-align: center; font-size: 13px; font-weight: 780;
  color: var(--muted); background: #f6f3e7; border-top: 1px solid #e5e2d4;
}
.yandex-widget-footer:hover { color: var(--ink); }

@media (max-width: 1020px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .rating-pill-card { align-items: flex-start; }
}
@media (max-width: 640px) {
  .reviews-cards-grid { grid-template-columns: 1fr; }
  .yandex-widget-box { min-height: 480px; }
  .yandex-widget-box iframe { min-height: 440px; }
}

/* -------------------- Header Soft Contact, Quest Afisha, Team, Price Calculator -------------------- */
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.button-soft {
  background: #e6f4fb; color: #195f82; border-color: #bfe0f0;
  min-height: 42px; padding: 9px 16px; font-size: 14px; gap: 8px;
}
.button-soft:hover { background: #d4ecf8; border-color: #8cc9e6; color: #124965; }

.quest-afisha-card {
  margin-top: 22px; padding: clamp(22px, 3vw, 34px); border-radius: 28px;
  background: linear-gradient(135deg, #e7f5fb 0%, #f5f7ec 100%);
  border: 1px solid #cce2ec;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 24px;
}
.quest-winter-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 22px;
}
.quest-afisha-top {
  display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 24px;
}
.quest-afisha-desc {
  margin-top: 10px; font-size: 15px; line-height: 1.5; color: #2b3f35; max-width: 68ch;
}
.winter-posters-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.winter-poster {
  display: block; border-radius: 20px; overflow: hidden;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 14px 32px -16px rgba(24,52,66,.28);
  transition: transform .26s var(--ease-motion), box-shadow .26s;
  aspect-ratio: 1 / 1; background: #dceef7;
}
.winter-poster:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -16px rgba(24,52,66,.38); }
.winter-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.winter-dates-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.winter-date-chip {
  display: flex; flex-direction: column; gap: 4px; padding: 13px 15px;
  border-radius: 16px; background: rgba(255,254,250,.92);
  border: 1px solid #d4e3ea; text-decoration: none; color: var(--ink);
  transition: transform .2s, border-color .2s, background .2s;
}
.winter-date-chip:hover { transform: translateY(-2px); border-color: var(--orange); background: #fff; }
.winter-date-chip.is-next {
  background: linear-gradient(135deg, #fff5e3 0%, #fffdf8 100%);
  border-color: #efab6a;
}
.winter-date-chip span {
  font-size: 12px; font-weight: 820; text-transform: uppercase; letter-spacing: .04em; color: var(--orange);
}
.winter-date-chip strong { font-size: 14px; line-height: 1.3; font-weight: 800; color: var(--ink); }
.quest-afisha-left h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 10px 0 6px; }
.quest-afisha-meta { font-size: 15px; color: var(--muted); font-weight: 680; }
.quest-spots-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.spots-bar { width: 160px; height: 8px; border-radius: 100px; background: rgba(38,61,52,.12); overflow: hidden; }
.spots-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--yellow)); border-radius: inherit; }

.quest-afisha-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.quest-countdown {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: 18px; background: var(--surface); border: 1px solid #d5e2e8;
}
.quest-countdown div { text-align: center; min-width: 44px; }
.quest-countdown strong { display: block; font-family: var(--heading); font-size: 24px; line-height: 1; color: var(--ink); }
.quest-countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; }
.quest-countdown em { font-style: normal; font-weight: 900; opacity: .4; font-size: 20px; }

/* Team Section */
.team-section { background: var(--surface); border-top: 1px solid #ece9dc; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card {
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: var(--paper); border: 1px solid #e3e2d4;
  transition: transform .24s var(--ease-motion), box-shadow .24s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px -18px rgba(38,61,52,.22); }
.team-photo-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e6ead8; }
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .45s var(--ease-motion); }
.team-card:hover .team-photo-wrap img { transform: scale(1.06); }
.team-badge {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 100px;
  background: rgba(255,254,250,.93); font-size: 11.5px; font-weight: 820; color: var(--ink);
}
.team-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.team-body h3 { font-size: 19px; line-height: 1.2; }
.team-role { font-size: 13.5px; font-weight: 760; color: var(--olive); }
.team-quote { margin: 4px 0 8px; font-size: 14px; color: var(--muted); line-height: 1.48; }
.team-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.team-tags span { font-size: 11.5px; font-weight: 740; padding: 4px 9px; border-radius: 100px; background: var(--surface); border: 1px solid #e2e1d3; color: #3c4d42; }

/* Interactive Price Calculator */
.calc-card {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch;
  padding: clamp(24px, 3.2vw, 40px); border-radius: 28px;
  background: var(--surface); border: 1px solid #dfdcca;
  box-shadow: 0 18px 46px -26px rgba(38,61,52,.2);
}
.calc-controls h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 8px 0 18px; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.calc-label { font-size: 13.5px; font-weight: 820; color: var(--olive); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.calc-checks { display: grid; gap: 10px; margin-top: 16px; }

.calc-result-box {
  padding: 26px; border-radius: 22px; background: linear-gradient(155deg, #fbe6bd 0%, #f1f5e4 100%);
  border: 1px solid #e4d9bc; display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.calc-res-kicker { font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; color: var(--olive); }
.calc-total { font-family: var(--heading); font-size: clamp(34px, 3.6vw, 50px); line-height: 1; font-weight: 950; color: var(--ink); }
.calc-sub { font-size: 15.5px; font-weight: 760; color: #2f4338; }
.calc-note { font-size: 13.5px; color: #47584d; min-height: 20px; }
.calc-cta { width: 100%; margin-top: 6px; }
.calc-disclaimer { font-size: 12px; color: var(--muted); line-height: 1.4; }

@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .winter-dates-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .header-tg { display: none; }
  .quest-afisha-card, .quest-afisha-top, .calc-card { grid-template-columns: 1fr; }
  .quest-afisha-right { align-items: flex-start; }
  .winter-posters-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .team-grid, .winter-dates-strip { grid-template-columns: 1fr; }
}

/* -------------------- Floating Callback Button & Modal -------------------- */
.cb-fab-wrap {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  display: flex; align-items: center; gap: 12px;
}
.cb-tooltip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(34, 48, 42, .94); color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 12px 28px rgba(20, 32, 26, .24); max-width: 240px; line-height: 1.3;
}
.cb-tooltip button { color: rgba(255,255,255,.7); font-size: 18px; line-height: 1; padding: 0 2px; }
.cb-tooltip button:hover { color: #fff; }
.cb-fab {
  position: relative; width: 66px; height: 66px; border-radius: 50%;
  background: linear-gradient(145deg, #45bbeb 0%, #2b96c4 100%); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(43, 150, 196, .42);
  transition: transform .2s var(--ease-motion), box-shadow .2s;
}
.cb-fab:hover { transform: scale(1.07); box-shadow: 0 16px 36px rgba(43, 150, 196, .52); }
.cb-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(69, 187, 235, .55);
  animation: cbPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes cbPulse {
  0% { transform: scale(.92); opacity: .9; }
  75% { transform: scale(1.36); opacity: 0; }
  100% { transform: scale(1.36); opacity: 0; }
}

.cb-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(24, 38, 32, .52); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 20px;
}
.cb-dialog {
  position: relative; width: min(640px, 100%);
  padding: clamp(28px, 4.5vw, 44px); border-radius: 22px;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  box-shadow: 0 28px 70px rgba(20, 32, 26, .28); text-align: center;
}
.cb-close {
  position: absolute; top: 14px; right: 16px; width: 38px; height: 38px;
  border-radius: 50%; font-size: 26px; color: #67756d; display: grid; place-items: center;
}
.cb-close:hover { background: #eef1e4; color: var(--ink); }
.cb-dialog h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; font-weight: 820; }
.cb-subtitle { font-size: 16.5px; color: var(--muted); max-width: 460px; margin: 0 auto 24px; line-height: 1.45; }
.cb-form { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 500px; }
.cb-row input {
  height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid #cbd2c7;
  background: #fff; font-size: 18px; font-weight: 700; color: var(--ink);
}
.cb-row input:focus { outline: none; border-color: #2b96c4; box-shadow: 0 0 0 3px rgba(69, 187, 235, .2); }
.cb-submit {
  height: 52px; border-radius: 10px; background: #2c9ed4; color: #fff;
  font-size: 17px; font-weight: 800; transition: background .16s, transform .16s;
}
.cb-submit:hover { background: #2188ba; transform: translateY(-1px); }
.cb-time-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 14px; font-weight: 700; }
.cb-time-row select { padding: 8px 12px; border-radius: 8px; border: 1px solid #cbd2c7; background: #fff; }
.cb-consent { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cb-consent input { accent-color: #2c9ed4; width: 16px; height: 16px; }
.cb-consent a { text-decoration: underline; color: var(--ink); }
.cb-time-toggle { font-size: 14px; font-weight: 760; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cb-time-toggle:hover { color: #2188ba; }
.cb-status { font-size: 14px; font-weight: 760; min-height: 20px; }
.cb-status.is-ok { color: var(--olive); }
.cb-status.is-err { color: #b83728; }

@media (max-width: 820px) {
  .cb-fab-wrap { right: 16px; bottom: 72px; }
  .cb-tooltip { display: none; }
  .cb-fab { width: 56px; height: 56px; }
  .cb-row { grid-template-columns: 1fr; }
}

.schedule-teacher { font-size: 13.5px; font-weight: 760; color: var(--olive); margin-top: -4px; }
