/* =====================================================================
   Jiva Yoga Center · Cosmic Space — site styles
   Mobile-first. Breakpoints: 560 / 900 / 1200 (+1240 for the inline nav).
   Contents: 1 tokens · 2 base · 3 layout · 4 type · 5 buttons & controls ·
   6 header · 7 hero · 8 sections · 9 cards · 10 schedule · 11 testimonials ·
   12 breathe · 13 find us · 14 footer · 15 fab · 16 modals · 17 motion
   ===================================================================== */

/* ------------------------------ 1. tokens ------------------------------ */
:root {
  /* colour */
  --c-primary: #5B3A8C;
  --c-primary-hover: #3F2A6B;
  --c-text: #2E2540;
  --c-bg: #FAF9FC;
  --c-white: #FFFFFF;
  --c-tint: #F1ECF8;          /* the one lavender tint (soft sections, chips) */
  --c-band: #E8E1F4;          /* the one band colour (stronger sections, panels) */
  --c-muted: #554A6B;         /* secondary text, >= 6.4:1 on every light surface */
  --c-line: rgba(91, 58, 140, 0.2);
  --c-lilac: #8E6FB8;         /* decoration only, never text */
  --c-lilac-soft: #B9A3D6;    /* decoration only on light, ornaments on dark */
  --c-on-dark: #FAF9FC;
  --c-on-dark-muted: #DCD0EE; /* 5.9:1 on --c-primary */
  --warm: #D9822B;            /* amber from the studio interiors: secondary CTA, highlights */
  --warm-hover: #E8913A;
  --warm-ink: #9A4A06;        /* warm colour usable as text on light (6.0:1) */
  --warm-tint: rgba(217, 130, 43, 0.22);
  --focus: var(--c-primary);

  /* type */
  --ff-head: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --ff-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --fs-xs: 0.8125rem;                                   /* 13px labels */
  --fs-sm: 0.9375rem;                                   /* 15px */
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);   /* 16-17px */
  --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h2: clamp(1.625rem, 1.1rem + 2.3vw, 2.875rem);   /* one H2 scale for the whole site */
  --fs-h3: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);

  /* spacing (8px scale) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-8: 64px;
  --section-y: clamp(64px, 9vw, 120px);                 /* the one vertical section padding */
  --gutter: clamp(20px, 5vw, 64px);

  /* radii and shadows */
  --r-sm: 10px;
  --r-md: 20px;
  --r-pill: 999px;
  --sh-1: 0 2px 4px rgba(46, 37, 64, 0.04), 0 12px 28px rgba(91, 58, 140, 0.1);
  --sh-2: 0 4px 10px rgba(46, 37, 64, 0.05), 0 22px 48px rgba(91, 58, 140, 0.16);
  --sh-3: 0 30px 80px rgba(46, 37, 64, 0.28);

  --header-h: 64px;
}
@media (min-width: 900px) {
  :root { --header-h: 80px; }
}
@media (max-height: 520px) {
  :root { --header-h: 56px; }
}

/* ------------------------------ 2. base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 var(--fs-base) / 1.65 var(--ff-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--c-primary-hover); }
p { margin: 0 0 var(--s-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; color: var(--c-muted); }
::selection { background: var(--c-lilac-soft); color: var(--c-text); }
[hidden], .fab__list[hidden] { display: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark { --focus: #fff; color: var(--c-on-dark); }

.noscript { margin: 0; padding: calc(var(--header-h) + var(--s-2)) var(--gutter) var(--s-2); background: var(--c-band); text-align: center; }
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  background: var(--c-primary); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
  transition: top 0.2s ease;
}
.skip:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------ 3. layout ------------------------------ */
.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.wrap--narrow { max-width: 1080px; }
.section {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--section-y);
}
.section--bg { background: var(--c-bg); }
.section--white { background: var(--c-white); }
.section--tint { background: var(--c-tint); }
.section--band { background: var(--c-band); }
.section__more { margin: clamp(28px, 4vw, 48px) 0 0; }
.center { text-align: center; margin: clamp(32px, 4vw, 56px) 0 0; }

.split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.25fr 1fr; }
}

.panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-md); padding: clamp(28px, 4vw, 56px);
}
.panel--tint { background: linear-gradient(165deg, var(--c-band), var(--c-tint)); border: 1px solid var(--c-line); }
.panel--glass {
  background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--sh-2); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

/* decorative shapes (never over text: hidden on small screens) */
.deco { position: absolute; z-index: 0; pointer-events: none; color: var(--c-lilac); will-change: transform; }
.deco use { fill: currentColor; }
.aurora {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(62vw, 640px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(185, 163, 214, 0.45), rgba(142, 111, 184, 0.16) 55%, transparent 80%);
  animation: aurora 28s ease-in-out infinite;
}
.aurora--a { left: -12%; top: 6%; }
.aurora--b { right: -14%; top: 8%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.7), rgba(185, 163, 214, 0.25) 55%, transparent 80%); }
.aurora--c { right: -12%; bottom: -8%; background: radial-gradient(closest-side, rgba(236, 200, 230, 0.45), rgba(160, 178, 232, 0.14) 58%, transparent 80%); animation-duration: 34s; }
.aurora--d { right: -8%; top: -12%; background: radial-gradient(closest-side, rgba(217, 130, 43, 0.16), rgba(185, 163, 214, 0.32) 50%, transparent 78%); animation-duration: 30s; }

.divider { display: flex; align-items: center; justify-content: center; gap: 14px; padding: var(--s-4) var(--gutter); color: var(--c-lilac); }
.divider span {
  flex: 1 1 auto; max-width: 280px; height: 1px;
  background: repeating-linear-gradient(to right, rgba(91, 58, 140, 0.3) 0 8px, transparent 8px 20px);
}
.divider span:last-child { background: repeating-linear-gradient(to left, rgba(91, 58, 140, 0.3) 0 8px, transparent 8px 20px); }
.divider svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; overflow: visible; }
.divider--dark { color: rgba(250, 249, 252, 0.6); padding-inline: 0; }
.divider--dark span { background: repeating-linear-gradient(to right, rgba(250, 249, 252, 0.3) 0 8px, transparent 8px 20px); }
.divider--dark span:last-child { background: repeating-linear-gradient(to left, rgba(250, 249, 252, 0.3) 0 8px, transparent 8px 20px); }

/* scroll reveal (only when JS is on) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------ 4. type ------------------------------ */
.h2 {
  font: 400 var(--fs-h2) / 1.12 var(--ff-head);
  letter-spacing: -0.01em;
  margin: 0 0 clamp(24px, 3.5vw, 48px);
  max-width: 22em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.h2 em {
  font-style: normal; color: var(--c-primary);
  background-image: linear-gradient(transparent 68%, var(--warm-tint) 68% 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.h2--modal { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem); margin-bottom: var(--s-1); max-width: none; padding-right: 36px; }
.h3 { font: 500 var(--fs-h3) / 1.2 var(--ff-head); margin: 0 0 var(--s-1); overflow-wrap: break-word; }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--c-muted); max-width: 46em; text-wrap: pretty; }
.eyebrow {
  font: 500 var(--fs-xs) / 1.5 var(--ff-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-primary); margin: 0 0 var(--s-2);
}
.eyebrow--muted { color: var(--c-muted); }
.label { font: 500 var(--fs-xs) / 1.4 var(--ff-mono); letter-spacing: 0.12em; color: var(--c-muted); margin: 0 0 6px; text-transform: uppercase; }
.label-h {
  font: 600 var(--fs-sm) / 1.5 var(--ff-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-primary-hover); margin: 0 0 12px;
}

/* ------------------------------ 5. buttons & controls ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font: 500 var(--fs-xs) / 1.25 var(--ff-mono); letter-spacing: 0.1em; text-align: center; text-transform: uppercase;
  cursor: pointer; text-decoration: none; text-wrap: balance;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(91, 58, 140, 0.3); }
.btn--warm { background: var(--warm); color: var(--c-text); }
.btn--warm:hover { background: var(--warm-hover); color: var(--c-text); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 130, 43, 0.35); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.btn--light { background: var(--c-bg); color: var(--c-text); box-shadow: 0 4px 16px rgba(46, 37, 64, 0.22); }
.btn--light:hover { background: var(--c-band); color: var(--c-text); }
.btn--link {
  min-height: 44px; padding: 8px 0; border-radius: 0; border-width: 0 0 1.5px;
  border-bottom-style: solid; border-bottom-color: rgba(91, 58, 140, 0.35);
  background: none; color: var(--c-primary); letter-spacing: 0.08em;
}
.btn--link:hover { color: var(--c-primary-hover); border-bottom-color: var(--c-primary-hover); }
.btn--link:active { transform: none; opacity: 0.8; }
.btn--sm { min-height: 44px; padding: 8px 20px; }
.btn--lg { min-height: 56px; padding: 16px 40px; font-size: var(--fs-sm); box-shadow: 0 12px 30px rgba(91, 58, 140, 0.26); }
.btn--block { width: 100%; }

.link-btn {
  min-height: 24px; padding: 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; color: var(--c-primary);
  text-decoration: underline; text-decoration-color: rgba(91, 58, 140, 0.35); text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.link-btn:hover { color: var(--c-primary-hover); text-decoration-color: currentColor; }

.round {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55); background: transparent; color: #fff;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.round:hover { background: #fff; color: var(--c-primary); }
.round:active { transform: scale(0.94); }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 clamp(24px, 3.5vw, 40px); }
.tabs--left { justify-content: flex-start; margin-bottom: var(--s-2); }
.tab {
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill);
  border: 1px solid rgba(91, 58, 140, 0.45); background: transparent; color: var(--c-primary-hover); cursor: pointer;
  font: 500 var(--fs-xs) / 1.2 var(--ff-mono); letter-spacing: 0.06em;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tab:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(91, 58, 140, 0.14); border-color: var(--c-primary); }
.tab:active { transform: translateY(0); }
.tab[aria-selected='true'] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.tab.is-today::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--warm); vertical-align: middle; }

.pill-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px;
  border: 1px solid rgba(250, 249, 252, 0.45); border-radius: var(--r-pill);
  font: 500 var(--fs-xs) / 1.2 var(--ff-mono); letter-spacing: 0.1em; color: var(--c-on-dark);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.pill-link svg { fill: currentColor; flex: none; }
.pill-link:hover { background: #fff; color: var(--c-primary); transform: translateY(-2px); }

.lang { display: inline-flex; gap: 4px; }
.lang__btn {
  min-width: 44px; min-height: 40px; padding: 0 10px; border-radius: var(--r-pill);
  border: 1px solid transparent; background: none; cursor: pointer;
  font: 500 var(--fs-xs) / 1 var(--ff-mono); letter-spacing: 0.08em; color: var(--c-muted);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lang__btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.lang__btn[aria-pressed='true'] { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.lang--footer .lang__btn { color: var(--c-on-dark); border-color: rgba(250, 249, 252, 0.35); }
.lang--footer .lang__btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
.lang--footer .lang__btn[aria-pressed='true'] { background: #fff; color: var(--c-primary); border-color: #fff; }

.badge {
  position: absolute; left: 18px; top: -10px; z-index: 1; white-space: nowrap;
  padding: 3px 10px; border-radius: var(--r-pill);
  font: 500 0.75rem / 1.3 var(--ff-mono); letter-spacing: 0.1em;
}
.badge--now { background: var(--c-primary); color: #fff; }
.badge--next { background: var(--warm); color: var(--c-text); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--s-4); }
.chips li {
  padding: 9px 18px; border-radius: var(--r-pill); font-size: var(--fs-sm); line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.chips--tint li { font: 500 var(--fs-xs) / 1.4 var(--ff-mono); letter-spacing: 0.06em; color: var(--c-primary-hover); background: var(--c-band); }
.chips--outline { margin-bottom: 0; }
.chips--outline li { border: 1px solid rgba(91, 58, 140, 0.4); }
.chips--outline li:hover { background: var(--c-tint); border-color: var(--c-primary); }

/* ------------------------------ 6. header ------------------------------ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  background: rgba(250, 249, 252, 0.96);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.3s ease;
}
.header.is-scrolled, .header.is-menu-open { box-shadow: 0 8px 30px rgba(46, 37, 64, 0.12); }
.brand { display: flex; flex-direction: column; gap: 2px; line-height: 1; color: var(--c-text); flex: none; }
.brand:hover { color: var(--c-primary); }
.brand__name { font: 500 1.625rem / 1 var(--ff-serif); letter-spacing: 0.02em; }
.brand__sub { font: 600 0.75rem / 1 var(--ff-mono); letter-spacing: 0.22em; color: var(--c-primary); }

.burger {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; border-radius: var(--r-sm);
  background: none; cursor: pointer;
}
.burger__bar { display: block; width: 26px; height: 2px; background: var(--c-text); transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s ease; }
.burger:hover .burger__bar { background: var(--c-primary); }
.burger[aria-expanded='true'] .burger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.header.is-menu-open ~ .fab { display: none; }
.header__right { display: none; align-items: center; gap: var(--s-2); }

/* mobile menu = the same <nav>, full-screen panel */
.nav {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0 0; z-index: 190;
  display: flex; flex-direction: column;
  padding: var(--s-2) var(--gutter) calc(var(--s-4) + env(safe-area-inset-bottom));
  background: var(--c-bg); overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.header.is-menu-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__link {
  display: block; width: 100%; padding: 12px 0; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--c-line);
  font: 400 clamp(1.25rem, 5vw, 1.625rem) / 1.3 var(--ff-head); color: var(--c-text);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--c-primary); padding-left: 6px; }
.nav__extra { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); margin-top: var(--s-3); }
.nav__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px var(--s-3); margin: 0; font: 500 var(--fs-xs) / 1.2 var(--ff-mono); letter-spacing: 0.1em; }
.nav__contacts a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 1240px) {
  .burger { display: none; }
  .header__right { display: flex; }
  .nav {
    position: static; z-index: auto; flex-direction: row; align-items: center; gap: clamp(10px, 1.1vw, 20px);
    padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .nav__link {
    width: auto; padding: 6px 0; border: 0; text-align: center;
    font: 500 0.8125rem / 1.2 var(--ff-body); letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
    background: linear-gradient(var(--c-primary), var(--c-primary)) no-repeat left bottom / 0 2px;
    transition: color 0.2s ease, background-size 0.3s ease;
  }
  .nav__link:hover, .nav__link.is-active { padding-left: 0; background-size: 100% 2px; }
  .nav__extra { display: none; }
}

/* ------------------------------ 7. hero ------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  height: 100vh; height: 100svh;
  min-height: 560px; max-height: 900px;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + var(--s-2)) 0 var(--s-3);
  background: var(--c-bg);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__veil {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 249, 252, 0.9), rgba(250, 249, 252, 0.8) 50%, rgba(250, 249, 252, 0.92));
}
.hero .aurora { opacity: 0.7; }
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { color: var(--c-primary-hover); letter-spacing: 0.1em; margin-bottom: var(--s-2); }
.hero__addr { display: none; }
.hero__title {
  margin: 0; font: 400 clamp(2.6rem, 11vw, 4.5rem) / 1 var(--ff-serif);
  color: var(--c-text); text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--c-primary); }
.hero__sub {
  margin: 0.15em 0 0; font: italic 700 clamp(1.5rem, 6.4vw, 2.25rem) / 1.1 var(--ff-serif); color: var(--c-primary);
}
.hero__lead { margin: var(--s-2) 0 0; max-width: 34em; color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.6; }
.hero__cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: var(--s-3); }
.hero__deco { display: none; }

@media (min-width: 560px) {
  .hero__addr { display: inline; }
  .hero__title { font-size: clamp(4rem, 10vw, 6.5rem); }
  .hero__sub { font-size: clamp(2.25rem, 6vw, 3.25rem); }
  .hero__lead { font-size: var(--fs-base); }
  .hero__cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px var(--s-3); }
  .hero__deco { display: block; color: var(--c-primary); }
  .hero__deco--a { left: clamp(14px, 3vw, 46px); top: calc(var(--header-h) + 24px); width: clamp(72px, 9vw, 132px); }
  .hero__deco--b { right: clamp(14px, 3vw, 46px); bottom: 64px; width: clamp(64px, 8vw, 118px); }
}
@media (min-width: 900px) {
  .hero__veil { background: linear-gradient(102deg, rgba(250, 249, 252, 0.96) 0%, rgba(250, 249, 252, 0.88) 34%, rgba(250, 249, 252, 0.3) 62%, rgba(142, 111, 184, 0.1) 100%); }
  .hero__title { font-size: clamp(5rem, 9vw, 9rem); }
  .hero__sub { font-size: clamp(3rem, 5vw, 4.5rem); }
  .hero__lead { font-size: var(--fs-lg); max-width: 32em; }
}
/* short phones / landscape: shrink, drop the lead paragraph, never clip */
@media (max-width: 899px) and (max-height: 720px), (max-height: 520px) {
  .hero__lead { display: none; }
}
@media (max-height: 559px) {
  .hero { min-height: 0; padding-bottom: var(--s-2); }
  .hero__eyebrow { margin-bottom: 8px; }
  .hero__title { font-size: clamp(2.2rem, 11vh, 3.5rem); }
  .hero__sub { font-size: clamp(1.25rem, 6vh, 1.75rem); }
  .hero__cta { margin-top: var(--s-2); flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero__cta .btn { min-height: 44px; }
  .hero__deco { display: none; }
}

/* ------------------------------ 8. sections ------------------------------ */
/* space */
.space__deco { display: none; }
.photo { margin: 0; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--sh-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { max-width: 420px; justify-self: center; width: 100%; }
.photo--tall img { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .space__deco { display: block; left: -70px; bottom: -50px; width: 220px; opacity: 0.4; }
}

/* about */
.about__deco { right: -40px; bottom: -60px; width: 260px; opacity: 0.18; color: var(--c-primary); display: none; }
.about__lead { margin-bottom: clamp(28px, 3.5vw, 48px); }
.about__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(24px, 3vw, 40px); }
.about__item { text-align: center; min-width: 0; }
.about__item p { margin: 0; font-size: var(--fs-sm); line-height: 1.65; color: var(--c-muted); text-wrap: pretty; }
.about__photo {
  width: clamp(150px, 16vw, 210px); aspect-ratio: 1; margin: 0 auto var(--s-3);
  border-radius: 50%; overflow: hidden; background: var(--c-band); box-shadow: var(--sh-2);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .about__deco { display: block; }
}

/* gallery */
.gallery { background: var(--c-tint); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden;
  background: var(--c-band); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: rgba(46, 37, 64, 0); transition: background-color 0.3s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { background: rgba(46, 37, 64, 0.14); }
.gallery__item:focus-visible { outline-offset: -6px; }

/* pricing */
.prices { padding: 4px clamp(20px, 3vw, 40px); background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--sh-2); }
.prices__row {
  display: grid; align-items: center; gap: 6px 16px; padding: 22px 0;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: 'name name name' 'desc desc desc' 'dur price go';
  border-top: 1px solid var(--c-line);
}
.prices__row:first-child { border-top: 0; }
.prices__row--hot { margin-inline: -12px; padding-inline: 12px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--warm-tint), transparent 70%); box-shadow: inset 4px 0 0 var(--warm); border-top-color: transparent; }
.prices__name { grid-area: name; font: 400 clamp(1rem, 0.9rem + 0.6vw, 1.1875rem) / 1.3 var(--ff-head); color: var(--c-primary); }
.prices__desc { grid-area: desc; font: 400 var(--fs-xs) / 1.5 var(--ff-mono); letter-spacing: 0.06em; color: var(--c-muted); }
.prices__dur { grid-area: dur; font-size: var(--fs-sm); color: var(--c-muted); }
.prices__price { grid-area: price; justify-self: end; font: italic 500 clamp(2rem, 1.6rem + 1.5vw, 2.75rem) / 1 var(--ff-serif); color: var(--c-text); white-space: nowrap; }
.prices__price small { font: 500 0.875rem / 1 var(--ff-mono); font-style: normal; }
.prices__row--hot .prices__price { color: var(--c-primary); }
.prices__go {
  grid-area: go; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(91, 58, 140, 0.45); font-size: 1.25rem; color: var(--c-primary);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.prices__go:hover { background: var(--c-primary); color: #fff; transform: scale(1.08); }
@media (min-width: 900px) {
  .prices__row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 72px 150px 52px; gap: 8px 24px;
    grid-template-areas: 'name desc dur price go';
  }
}
.trial {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
  margin-top: clamp(28px, 3.5vw, 44px); padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--r-md); border: 1px solid var(--c-line); background: linear-gradient(150deg, var(--c-white), var(--c-band)); box-shadow: var(--sh-1);
}
.trial__text { flex: 1 1 320px; }
.trial__lead { margin: 0; font-size: var(--fs-lg); font-style: italic; line-height: 1.35; color: var(--c-primary-hover); max-width: 30em; }

/* directions */
.section--band .lead { margin-bottom: var(--s-3); }

/* services */
.card--service { padding: clamp(26px, 3vw, 40px); background: rgba(255, 255, 255, 0.88); }
.card--service p { margin: 0 0 var(--s-2); color: var(--c-muted); }
.card__link {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--c-primary-hover);
  background: linear-gradient(currentColor, currentColor) no-repeat left calc(100% - 8px) / 0 2px; transition: background-size 0.3s ease, color 0.2s ease;
}
.card__link:hover { background-size: 100% 2px; }

/* ------------------------------ 9. cards (directions, steps) ------------------------------ */
.cards { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: 1fr; margin-top: var(--s-3); }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards--2 { margin-top: 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: rgba(91, 58, 140, 0.4); }
.card--dir { cursor: pointer; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-band); }
@media (min-width: 560px) { .card__media { aspect-ratio: 4 / 5; } }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.6s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; padding: 22px 22px 24px; }
.card__body .h3 { margin: 0; }
.card__tag { overflow-wrap: anywhere; margin: 0; font: 600 var(--fs-xs) / 1.45 var(--ff-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-primary); }
.card__text { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.card__when { display: flex; flex-direction: column; gap: 2px; margin: 0; font: 500 var(--fs-xs) / 1.5 var(--ff-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-text); }
.card__when-label { font-weight: 600; color: var(--c-primary); letter-spacing: 0.1em; }
.card__when-slot { display: block; }
.card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 14px; }

.ph {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px;
  background: linear-gradient(150deg, var(--c-band), var(--c-tint) 55%, rgba(217, 130, 43, 0.22)); color: var(--c-primary);
}
.ph__spark { fill: currentColor; opacity: 0.55; }
.ph__text { font: 400 clamp(1.75rem, 4vw, 2.5rem) / 1 var(--ff-serif); letter-spacing: 0.06em; }

.steps { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: 1fr; margin: clamp(32px, 4vw, 56px) 0 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { flex-direction: row; align-items: flex-start; gap: clamp(16px, 2.2vw, 32px); padding: clamp(22px, 2.6vw, 34px); }
.step p { margin: 0 0 var(--s-2); font-size: var(--fs-sm); color: var(--c-muted); text-wrap: pretty; }
.step .btn { margin-top: 4px; }
.step__num {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px dashed var(--c-lilac); font: 500 1rem / 1 var(--ff-mono); color: var(--c-primary);
}

/* ------------------------------ 10. schedule ------------------------------ */
.schedule__deco { display: none; }
@media (min-width: 900px) { .schedule__deco { display: block; right: -60px; top: 30px; width: 230px; opacity: 0.5; } }
.sched { padding: 6px clamp(20px, 3vw, 40px); background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--sh-2); }
.sched__row {
  position: relative; display: grid; gap: 10px 28px; align-items: start;
  padding: 24px 0 20px 18px; border-top: 1px solid var(--c-line);
}
.sched__row:first-child { border-top: 0; }
@media (min-width: 900px) {
  .sched__row { grid-template-columns: clamp(120px, 14vw, 200px) minmax(0, 1fr) clamp(180px, 20vw, 260px); }
}
.sched__row.is-now { background: linear-gradient(90deg, rgba(91, 58, 140, 0.08), transparent 70%); }
.sched__row.is-now::before, .sched__row.is-next::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: var(--c-primary); }
.sched__row.is-next::before { background: var(--warm); }
.sched__t { margin: 0; font: 500 1rem / 1.3 var(--ff-mono); color: var(--c-primary-hover); }
.sched__name { margin: 0; font: 400 clamp(1.125rem, 1rem + 0.8vw, 1.5rem) / 1.25 var(--ff-head); }
.sched__level { margin: 4px 0 0; font: 400 0.75rem / 1.4 var(--ff-mono); letter-spacing: 0.08em; color: var(--c-muted); }
.sched__who p { margin: 0; }
.sched__who .sched__room { margin-top: 4px; font: 400 0.75rem / 1.4 var(--ff-mono); letter-spacing: 0.08em; color: var(--c-muted); }
.sched__none { color: var(--c-muted); }
.sched__time .label, .sched__who .label { margin-bottom: 4px; }

/* ------------------------------ 11. testimonials ------------------------------ */
.tst { position: relative; isolation: isolate; overflow: hidden; background: var(--c-primary); padding-block: clamp(56px, 7vw, 96px); }
.tst__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.tst__deco { display: none; right: -70px; top: 28%; width: 220px; opacity: 0.2; color: var(--c-lilac-soft); }
@media (min-width: 900px) { .tst__deco { display: block; } }
.tst__inner { position: relative; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.tst__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3); }
.tst__head .h2 { margin: 0; color: #fff; }
.tst .eyebrow { color: var(--c-on-dark-muted); }
.tst .h2 em { color: #E7DCF8; background-image: linear-gradient(transparent 68%, rgba(217, 130, 43, 0.5) 68% 92%, transparent 92%); }
.tst__nav { display: flex; gap: 10px; }
.tst__rail {
  display: flex; gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0 0 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--c-lilac-soft) transparent;
}
.tst__rail li { flex: 0 0 min(86%, 360px); scroll-snap-align: start; }
@media (min-width: 900px) { .tst__rail li { flex-basis: calc((100% - 2 * clamp(14px, 1.6vw, 24px)) / 3); } }
.tst__card {
  display: flex; flex-direction: column; gap: var(--s-2); height: 100%; margin: 0;
  padding: clamp(24px, 2.5vw, 34px); border-radius: var(--r-sm); background: #F4F1F8; color: var(--c-text);
}
.tst__card blockquote { margin: 0; }
.tst__card p { margin: 0; font: italic 500 clamp(1.0625rem, 1rem + 0.45vw, 1.25rem) / 1.5 var(--ff-body); color: var(--c-primary); }
.tst__card figcaption { margin-top: auto; font: 500 var(--fs-xs) / 1.4 var(--ff-mono); letter-spacing: 0.1em; color: var(--c-muted); }

/* ------------------------------ 12. breathe ------------------------------ */
.breathe__panel { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 64px); }
.breathe__orb { position: relative; flex: none; display: grid; place-items: center; width: clamp(160px, 20vw, 220px); aspect-ratio: 1; margin: 0 auto; }
.breathe__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(91, 58, 140, 0.6); animation: breathe-ring 14s ease-in-out infinite; }
.breathe__dot {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 37, 64, 0.97), rgba(63, 42, 107, 0.97) 55%, rgba(91, 58, 140, 0.95));
  box-shadow: 0 18px 50px rgba(91, 58, 140, 0.34); animation: breathe 14s ease-in-out infinite;
}
.breathe__label {
  position: absolute; z-index: 2; padding: 7px 14px; border-radius: var(--r-pill); white-space: nowrap;
  font: 500 var(--fs-xs) / 1.2 var(--ff-mono); letter-spacing: 0.16em; color: var(--c-text);
  background: rgba(250, 249, 252, 0.96); box-shadow: 0 4px 14px rgba(46, 37, 64, 0.22);
}
.breathe__text { flex: 1 1 320px; min-width: min(260px, 100%); }
.breathe__text .lead { margin: 0; }

/* ------------------------------ 13. find us ------------------------------ */
.map {
  position: relative; height: clamp(320px, 42vw, 520px); overflow: hidden;
  border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-2); background: var(--c-tint);
}
.map__frame, .map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__open { position: absolute; left: var(--s-2); top: var(--s-2); }
.find__info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: clamp(24px, 3vw, 36px); }
.find__info > div:first-child { flex: 1 1 300px; }
.find__info .h3 { font-size: 1.375rem; }
.find__info address { font-size: var(--fs-base); }
.find__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------ 14. footer ------------------------------ */
.footer { background: var(--c-primary); padding: clamp(48px, 6vw, 80px) 0 calc(var(--s-3) + env(safe-area-inset-bottom)); }
.footer a { color: var(--c-on-dark); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 0.2s ease, color 0.2s ease; }
.footer a:hover { color: #fff; text-decoration-color: currentColor; }
.footer .pill-link, .footer .lang__btn { text-decoration: none; }
.footer__grid { display: grid; gap: var(--s-6); max-width: 1040px; margin: 0 auto; text-align: center; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.footer__brand, .footer__col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer p { margin: 0; }
.footer__logo { font: 500 2.5rem / 1 var(--ff-serif); color: var(--c-on-dark); }
.footer .footer__sub { font: 500 var(--fs-xs) / 1.4 var(--ff-mono); letter-spacing: 0.22em; color: var(--c-on-dark-muted); margin: 6px 0 var(--s-3); }
.footer__brand p:last-child { max-width: 26em; font-size: var(--fs-sm); }
.footer__col { gap: var(--s-2); }
.footer__links { display: flex; flex-direction: column; align-items: center; gap: 4px; font: 500 var(--fs-xs) / 1.2 var(--ff-mono); letter-spacing: 0.14em; }
.footer__links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__hours { font: 400 var(--fs-sm) / 1.7 var(--ff-mono); letter-spacing: 0.06em; }
.footer .eyebrow { color: var(--c-on-dark-muted); margin: var(--s-1) 0 0; }
.footer__contacts { line-height: 1.9; }
.footer__social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1040px; margin: clamp(28px, 3.5vw, 44px) auto 0; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px var(--s-4); margin: var(--s-3) auto 0; max-width: 1040px; font-size: var(--fs-sm); }
.footer__legal a { display: inline-flex; align-items: center; min-height: 36px; }
.footer .footer__copy { margin-top: var(--s-3); text-align: center; font: 400 var(--fs-xs) / 1.4 var(--ff-mono); letter-spacing: 0.08em; color: var(--c-on-dark-muted); }

/* ------------------------------ 15. floating contact button ------------------------------ */
.fab {
  position: fixed; z-index: 320; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .fab { right: 28px; bottom: 28px; } }
.fab__list { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; animation: fade 0.22s ease; }
.fab__item { display: flex; align-items: center; gap: 12px; transition: transform 0.24s ease; }
.fab__item:hover { transform: translateX(-3px); }
.fab__label {
  padding: 9px 14px; border-radius: var(--r-pill); white-space: nowrap;
  font: 500 var(--fs-xs) / 1.2 var(--ff-mono); letter-spacing: 0.12em; color: var(--c-text);
  background: rgba(250, 249, 252, 0.96); border: 1px solid var(--c-line); box-shadow: 0 6px 18px rgba(46, 37, 64, 0.14);
}
.fab__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: 0 10px 26px rgba(46, 37, 64, 0.26); }
.fab__icon svg { fill: currentColor; }
.fab__icon--tg { background: #1B7FB5; }
.fab__icon--wa { background: #128C7E; }
.fab__icon--call { background: var(--c-text); }
.fab__icon--call svg { fill: none; }
.fab__toggle {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.65); color: #fff; background: var(--c-primary);
  box-shadow: 0 2px 6px rgba(46, 37, 64, 0.12), 0 14px 36px rgba(91, 58, 140, 0.34);
  transition: transform 0.26s ease, background-color 0.26s ease, box-shadow 0.26s ease;
}
@media (min-width: 900px) { .fab__toggle { width: 64px; height: 64px; } }
.fab__toggle:hover { transform: scale(1.06); background: var(--c-primary-hover); box-shadow: 0 4px 10px rgba(46, 37, 64, 0.14), 0 20px 46px rgba(91, 58, 140, 0.42); }
.fab__toggle:active { transform: scale(0.96); }
.fab__ico-open { stroke: currentColor; fill: none; }
.fab__ico-close { display: none; stroke: currentColor; fill: none; }
.fab.is-open .fab__ico-open { display: none; }
.fab.is-open .fab__ico-close { display: block; }

/* ------------------------------ 16. modals ------------------------------ */
.modal {
  position: fixed; inset: 0; z-index: 400; display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(16px, 5vh, 64px) clamp(12px, 4vw, 40px); overflow-y: auto; overscroll-behavior: contain;
  background: rgba(46, 37, 64, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade 0.28s ease;
}
.modal[hidden], .fab__list[hidden] { display: none; }
.modal.is-closing { animation: fade-out 0.22s ease forwards; }
.modal.is-closing .modal__panel { animation: pop-out 0.22s ease forwards; }
.modal__panel {
  position: relative; width: 100%; max-width: 900px; overflow: hidden;
  background: var(--c-bg); color: var(--c-text); border-radius: var(--r-md); box-shadow: var(--sh-3);
  animation: pop 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.modal__panel--split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 700px) { .modal__panel--split { grid-template-columns: 1fr 1.7fr; } }
.modal__media { position: relative; min-height: 260px; max-height: 420px; background: var(--c-band); }
@media (min-width: 700px) { .modal__media { max-height: none; min-height: 100%; } }
.modal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.modal__body { padding: clamp(28px, 4vw, 52px); }
.modal__body p { color: var(--c-muted); }
.modal__body .eyebrow { margin-bottom: var(--s-2); }
.modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); margin-top: var(--s-4); }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(46, 37, 64, 0.72); color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.modal__close svg { stroke: currentColor; fill: none; }
.modal__close:hover { background: var(--c-primary); transform: rotate(90deg); }
.modal__close:active { transform: scale(0.94); }

.modal--full { padding: 0; flex-direction: column; align-items: stretch; background: var(--c-bg); backdrop-filter: none; -webkit-backdrop-filter: none; overflow: hidden; }
.modal__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  padding: 10px var(--gutter); padding-top: calc(10px + env(safe-area-inset-top));
  background: rgba(250, 249, 252, 0.97); border-bottom: 1px solid var(--c-line);
}
.modal__bar .eyebrow { margin: 0; }
.modal__close--bar { position: static; background: none; color: var(--c-text); border: 1px solid rgba(91, 58, 140, 0.4); flex: none; }
.modal__close--bar:hover { background: var(--c-primary); color: #fff; }
.modal__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 8vw, 110px); }
.modal--full .wrap { width: min(100% - 2 * var(--gutter), 1280px); }
.modal--full .wrap--narrow { max-width: 1080px; }
.modal--full .h2 { max-width: 20em; }
.faq__eyebrow { margin-top: clamp(40px, 5vw, 72px); }

.modal--lightbox { align-items: center; padding: var(--s-3); background: rgba(20, 14, 32, 0.94); cursor: zoom-out; }
.lightbox__img { width: auto; max-width: min(94vw, 1280px); max-height: 88vh; object-fit: contain; animation: pop 0.32s cubic-bezier(0.2, 0.8, 0.3, 1); }
.modal__close--light { position: fixed; top: max(16px, env(safe-area-inset-top)); right: 16px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.4); }

.notice { max-width: 44em; margin: 0 0 var(--s-4); padding: 22px 26px; border-left: 3px solid var(--warm); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: rgba(91, 58, 140, 0.06); }
.notice p { margin: 0; color: var(--c-muted); }
.notice .eyebrow { margin-bottom: 12px; }
.notice p:last-child { font-size: var(--fs-sm); }

.week { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 900px) { .week { grid-template-columns: repeat(7, minmax(160px, 1fr)); overflow-x: auto; padding: 8px 0; gap: 10px; } }
.week__day { min-width: 0; overflow: hidden; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-sm); }
.week__head { margin: 0; padding: 12px 16px; background: rgba(91, 58, 140, 0.08); font: 400 var(--fs-xs) / 1.3 var(--ff-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-primary-hover); }
.week__day.is-today .week__head { background: rgba(91, 58, 140, 0.2); font-weight: 700; }
.week__cell { position: relative; padding: 18px 16px 14px 13px; border-top: 1px solid var(--c-line); border-left: 3px solid transparent; }
.week__cell.is-now { border-left-color: var(--c-primary); background: rgba(91, 58, 140, 0.1); }
.week__cell.is-next { border-left-color: var(--warm); }
.week__cell .badge { left: 12px; top: 2px; }
.week__t { margin: 0 0 4px; font: 500 var(--fs-xs) / 1.3 var(--ff-mono); color: var(--c-primary); }
.week__name { margin: 0 0 4px; font: 400 1rem / 1.25 var(--ff-head); }
.week__meta { margin: 0; font: 400 0.75rem / 1.4 var(--ff-mono); letter-spacing: 0.04em; color: var(--c-muted); }

.faq { max-width: 56em; padding: 8px clamp(20px, 2.6vw, 36px); background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--sh-1); }
.faq__item { border-top: 1px solid var(--c-line); }
.faq__item:first-child { border-top: 0; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font: 400 clamp(1rem, 0.95rem + 0.4vw, 1.1875rem) / 1.35 var(--ff-head); transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 400 1.5rem / 1 var(--ff-mono); color: var(--c-primary); }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--c-primary); }
.faq__item p { margin: 0 0 22px; max-width: 52em; font-size: var(--fs-sm); line-height: 1.7; color: var(--c-muted); }

/* ------------------------------ 17. motion ------------------------------ */
@keyframes aurora { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(6%, -4%) scale(1.12); } 66% { transform: translate(-5%, 5%) scale(0.94); } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes tw { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.95; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes pop-out { to { opacity: 0; transform: scale(0.955) translateY(16px); } }
@keyframes breathe { 0% { transform: scale(0.62); } 28.6% { transform: scale(1); } 57.2% { transform: scale(1); } 100% { transform: scale(0.62); } }
@keyframes breathe-ring { 0% { transform: scale(0.62); opacity: 0.55; } 28.6% { transform: scale(1.06); opacity: 0.18; } 57.2% { transform: scale(1.06); opacity: 0.18; } 100% { transform: scale(0.62); opacity: 0.55; } }

.tw { animation: tw 7s ease-in-out infinite; }
.about__deco, .tst__deco { animation: rot 90s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora, .tw, .about__deco, .tst__deco, .breathe__dot, .breathe__ring,
  .modal, .modal__panel, .lightbox__img, .fab__list { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card, .tab, .gallery__item img, .card__img, .fab__item, .fab__toggle, .modal__close, .nav, .prices__go { transition: none; }
  .btn:hover, .card:hover, .tab:hover, .pill-link:hover, .fab__item:hover, .fab__toggle:hover, .prices__go:hover, .modal__close:hover { transform: none; }
  .gallery__item:hover img, .card:hover .card__img { transform: none; }
}
