/* Self-hosted Google Fonts (Fraunces latin, Manrope cyrillic+latin). OFL. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Marck Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marck-script-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Marck Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marck-script-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #e0e5ec;
  --ink: #2f3d4d;
  --body: #3c4d5f;
  --muted: #4d5e70;
  --accent: #9d3d56;
  --shadow: 15px 15px 30px #a3b1c6, -15px -15px 30px #ffffff;
  --shadow-sm: 8px 8px 16px #a3b1c6, -8px -8px 16px #ffffff;
  --inset: inset 6px 6px 12px #a3b1c6, inset -6px -6px 12px #ffffff;
  --radius: 30px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

::selection {
  background: #f0c9d4;
  color: var(--ink);
}

a { color: inherit; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 12px;
}

.skip:focus { top: 12px; }

.site-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  margin: 0;
  background:
    radial-gradient(ellipse 55% 40% at 50% 35%, rgba(255, 255, 255, 0.55), transparent 72%),
    radial-gradient(ellipse 40% 32% at 18% 78%, rgba(163, 177, 198, 0.22), transparent 70%),
    var(--bg);
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.48s;
}

.site-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 2.4rem 2.8rem;
  border-radius: 28px;
  background: var(--bg);
  box-shadow: var(--shadow);
  text-align: center;
}

.site-splash-brand {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 6vw, 40px);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.site-splash-line {
  margin: 0;
  font-family: "Marck Script", "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(22px, 4.5vw, 30px);
  line-height: 1.25;
  color: var(--body);
}

.site-splash-bar {
  width: 7.5rem;
  height: 0.55rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: var(--inset);
  overflow: hidden;
}

.site-splash-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c5ced9, #8fa0b5 55%, #c5ced9);
  box-shadow: 3px 3px 6px rgba(163, 177, 198, 0.55), -2px -2px 5px rgba(255, 255, 255, 0.8);
  animation: splash-indeterminate 1.35s ease-in-out infinite;
}

@keyframes splash-indeterminate {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-splash {
    transition: none;
  }
  .site-splash-bar span {
    animation: none;
    width: 58%;
    margin-inline: auto;
    transform: none;
  }
}

.top {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.top-inner {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 44px;
  padding: 3px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  overflow: hidden;
  flex-shrink: 0;
  transition: box-shadow 0.22s ease;
}

.logo:hover {
  box-shadow: 10px 10px 18px #a3b1c6, -10px -10px 18px #ffffff;
}

.logo:active {
  box-shadow: var(--inset);
}

.logo-stage {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% 42%, rgba(255, 255, 255, 0.35), transparent 72%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(163, 177, 198, 0.12));
  box-shadow: inset 3px 3px 7px rgba(163, 177, 198, 0.45), inset -3px -3px 7px rgba(255, 255, 255, 0.7);
}

.logo-stage.is-live {
  background: transparent;
  box-shadow: inset 2px 2px 5px rgba(163, 177, 198, 0.28), inset -2px -2px 5px rgba(255, 255, 255, 0.55);
}

.logo-stage .logo-gl {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-stage.is-fallback,
.logo-fallback-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: Fraunces, Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #7a8a9c;
  text-indent: 0.32em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.nav a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
  background: var(--bg);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Світлий фон сайту; canvas прозорий — літери окремо (чорне скло). */
  background:
    radial-gradient(ellipse 58% 42% at 50% 28%, rgba(255, 255, 255, 0.42), transparent 70%),
    radial-gradient(ellipse 44% 36% at 18% 72%, rgba(163, 177, 198, 0.2), transparent 68%),
    radial-gradient(ellipse 38% 30% at 82% 58%, rgba(255, 255, 255, 0.35), transparent 72%),
    var(--bg);
}

.hero-stage .hero-gl {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.hero-brand {
  position: absolute;
  left: 50%;
  top: 7%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12em;
  margin: 0;
  transform: translate(-50%, -8%);
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.hero-logo {
  position: relative;
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(58px, 11.2vw, 134px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #0c0d12;
  background: linear-gradient(155deg, #2c303a 0%, #0a0b0f 42%, #151820 78%, #3a404c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(10px 12px 18px rgba(163, 177, 198, 0.95))
    drop-shadow(-8px -8px 16px rgba(255, 255, 255, 0.95))
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35))
    drop-shadow(0 -1px 1px rgba(255, 255, 255, 0.55));
}

.hero-tagline {
  margin: 0.02em 0 0;
  max-width: none;
  white-space: nowrap;
  font-family: "Marck Script", "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(16px, 2.6vw, 26px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #8a96a5;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-logo-l {
  display: inline-block;
  transform: rotate(-15deg);
  transform-origin: 50% 58%;
}

/* Three.js: HTML brand — accessible fallback; візуально ховаємо, коли 3D live */
.hero-stage.is-live .hero-brand {
  opacity: 0;
  pointer-events: none;
}

.hero-stage.is-live .hero-logo,
.hero-stage.is-live .hero-tagline {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, transparent 52%, rgba(224, 229, 236, 0.55) 78%, var(--bg) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 72px;
  max-width: 34rem;
  justify-self: start;
  animation: hero-rise 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.kicker-metro {
  display: block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  color: var(--accent);
}

h1 {
  margin: 0 0 14px;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.hero-outcome {
  margin: 0 0 14px;
  max-width: 36rem;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.lead {
  max-width: 34ch;
  margin: 0;
  color: var(--body);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ghost {
  display: inline-flex;
  margin-top: 22px;
  padding: 14px 22px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 16px 26px;
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  font: 700 16px/1 Manrope, sans-serif;
  text-decoration: none;
  box-shadow: 8px 8px 18px #a3b1c6, -6px -6px 14px #ffffff;
  cursor: pointer;
}

.cta:hover { background: #8a3149; }

.cta-row .ghost { margin-top: 22px; }

.napriamy-cta {
  margin-top: 28px;
  justify-content: flex-start;
}

.napriamy-cta .cta,
.napriamy-cta .ghost {
  margin-top: 0;
}

.ghost:active { box-shadow: var(--inset); }

@keyframes hero-cta-float {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-7px);
  }
  55% {
    transform: translateY(-3px);
  }
  70% {
    transform: translateY(-5px);
  }
}

#hero-funnel-cta {
  animation: hero-cta-float 2.6s ease-in-out infinite;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


model-viewer {
  --poster-color: transparent;
  --progress-bar-color: #e1b7c4;
  --progress-bar-height: 2px;
  background: transparent;
  display: block;
}

.block {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 12px;
}

.section-title {
  margin: 0 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-lead {
  max-width: 46ch;
  margin: 0 0 28px;
  color: var(--body);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.card,
.tile {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  width: min(360px, 100%);
  flex: 1 1 300px;
  max-width: 360px;
  padding: 18px 18px 26px;
}

.card model-viewer,
.card .stand-in {
  width: 100%;
  height: 240px;
  object-fit: contain;
}

.stand-in { filter: drop-shadow(0 16px 14px rgba(110, 128, 150, 0.25)); }

.card h3 {
  margin: 16px 4px 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.card p {
  margin: 0 4px 10px;
  color: var(--body);
  font-size: 16px;
}

.price {
  color: var(--ink);
  font-weight: 700;
}

.who { font-size: 15px; }

.who a,
.section-note a,
.fact a,
.person a,
.quote a,
.flow a,
.contact-card a,
.faq a,
.intent-offer a,
.ask-list a {
  color: #8e3350;
  font-weight: 700;
}

.signals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.signal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
  padding: 18px 16px;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.signal strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.signal span {
  color: var(--body);
  font-size: 14px;
  line-height: 1.4;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.split-flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.split-copy .section-lead {
  margin-bottom: 18px;
}

.split-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.split-visual .stand-in {
  width: min(100%, 360px);
  height: 240px;
  object-fit: contain;
}

.ask-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ask-list li {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  color: var(--body);
}

.answer-list li {
  color: var(--ink);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.price-tier {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-sum {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-card p {
  margin: 0;
  color: var(--body);
}

.price-card .cta,
.price-card .ghost {
  margin-top: auto;
  align-self: flex-start;
}

.price-note {
  margin-top: 22px;
}

.intent-offer {
  margin-top: 28px;
  max-width: 640px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.intent-offer h3 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 26px;
  font-weight: 600;
}

.intent-offer p {
  margin: 0 0 14px;
  color: var(--body);
}

.intent-offer .cta {
  margin-top: 0;
}

.support-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #9d3d56;
  color: #fff;
  font: 700 14px/1 Manrope, sans-serif;
  text-decoration: none;
  box-shadow: 8px 8px 18px rgba(163, 177, 198, 0.85), -4px -4px 12px rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, background 0.2s ease;
}

.support-chat:hover {
  background: #8a3149;
  transform: translateY(-2px);
}

.support-chat:focus-visible {
  outline: 2px solid #9d3d56;
  outline-offset: 3px;
}

.support-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9dffb0;
  box-shadow: 0 0 0 4px rgba(157, 255, 176, 0.25);
}

.shelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.tile { padding: 18px 18px 22px; }

.shelf model-viewer {
  width: 100%;
  height: 340px;
}

.tile p {
  margin: 12px 0 0;
  text-align: center;
  font-weight: 600;
}

.section-note {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--body);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.facts-tight { margin-top: 28px; }

.fact {
  flex: 1 1 220px;
  padding: 18px 20px 8px;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.fact strong {
  display: block;
  margin-bottom: 6px;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.fact p { margin: 0 0 12px; color: var(--body); }

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.when {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.when th,
.when td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d5dbe3;
  font-size: 15px;
  color: var(--ink);
}

.when th {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.flow li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 16px;
  align-items: start;
  margin: 0;
  padding: 18px 18px 8px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.flow b {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.flow p { margin: 0 0 12px; color: var(--body); }

.quotes { display: grid; gap: 16px; }

.quote {
  margin: 0;
  padding: 22px 24px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.quote p {
  margin: 0 0 10px;
  color: var(--ink);
}

.quote footer {
  color: var(--muted);
  font-size: 15px;
}

.people {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.person {
  flex: 1 1 240px;
  max-width: 360px;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.person h3 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.person p { margin: 0 0 12px; color: var(--body); }

.faq details {
  margin: 0 0 12px;
  padding: 16px 20px;
  border-radius: 22px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq details p { margin: 10px 0 4px; color: var(--body); }

.book {
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.book label {
  margin-top: 8px;
  font-weight: 700;
  font-size: 15px;
}

.book input,
.book select,
.book textarea {
  width: 100%;
  font: 500 16px/1.4 Manrope, sans-serif;
  color: var(--ink);
  background: var(--bg);
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--inset);
}

.book textarea { min-height: 96px; resize: vertical; }

.book-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--body);
}

.contact-card {
  max-width: 760px;
  padding: 36px 40px 32px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.address {
  margin: 0 0 12px;
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
}

.contact-card p { margin: 0 0 12px; color: var(--body); }

.fine {
  color: var(--muted);
  font-size: 15px;
}

.foot {
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

:focus-visible {
  outline: 2px solid #7f93a8;
  outline-offset: 4px;
}

@media (hover: hover) {
  .card,
  .tile { transition: transform 0.35s ease; }
  .card:hover,
  .tile:hover { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  #hero-funnel-cta { animation: none; }
  .support-chat { transition: none; }
  .support-chat:hover { transform: none; }
  .card,
  .tile { transition: none; }
}

@media (min-width: 861px) {
  .card h3 { min-height: 2.2em; }
  .hero-copy {
    align-self: end;
    justify-self: center;
    max-width: 40rem;
    text-align: center;
    padding: 0 0 64px;
  }
  .hero-copy .cta-row {
    justify-content: center;
  }
  .hero-copy .hero-outcome {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-veil {
    background:
      linear-gradient(180deg, transparent 0%, transparent 48%, rgba(224, 229, 236, 0.45) 72%, var(--bg) 100%);
  }
}

@media (max-width: 1100px) {
  .signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quotes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .hero {
    align-items: end;
    min-height: 92svh;
  }
  .hero-brand {
    top: 6%;
  }
  .hero-logo {
    font-size: clamp(51px, 12.8vw, 77px);
  }
  .hero-tagline {
    font-size: clamp(14px, 3.6vw, 20px);
  }
  .hero-copy {
    max-width: none;
    padding: 96px 0 40px;
    animation-duration: 0.8s;
  }
  .hero-veil {
    background:
      linear-gradient(180deg, transparent 0%, transparent 42%, rgba(224, 229, 236, 0.5) 68%, var(--bg) 100%);
  }
  .cta-row { flex-wrap: nowrap; gap: 8px; }
  .cta,
  .ghost,
  .cta-row .cta,
  .cta-row .ghost {
    margin-top: 12px;
    padding: 12px 14px;
    font-size: 15px;
  }
  .lead { font-size: 15px; }
  .hero-outcome { font-size: clamp(12px, 3.2vw, 14px); letter-spacing: 0.12em; }
  .shelf { grid-template-columns: 1fr; }
  .contact-card { padding: 26px 22px; }
  .split,
  .split-flip {
    grid-template-columns: 1fr;
  }
  .split-flip .split-visual { order: -1; }
  .price-cards {
    grid-template-columns: 1fr;
  }
  .quotes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .card { flex-basis: 100%; max-width: none; }
  .top { top: 10px; }
  .nav { gap: 12px; }
  .logo {
    width: 100px;
    height: 40px;
  }
  .signals {
    grid-template-columns: 1fr 1fr;
  }
  .support-chat {
    right: 12px;
    bottom: 12px;
  }
}

/* =====================================================================
   P0: конверсійний hero, форма запису, розклад-картки, бургер,
   заглушки (.placeholder), контраст. Перекриває правила вище.
   ===================================================================== */

/* ---------- Заглушки: легко знайти очима і пошуком по class="placeholder" ---------- */
.placeholder {
  display: inline;
  padding: 0 0.3em;
  border-radius: 6px;
  background: #fff1a8;
  color: #5c4300;
  outline: 1px dashed #b38f00;
  font-weight: 700;
}

.placeholder-media,
.media-slot {
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  border: 2px dashed #8796a8;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0 14px, rgba(163, 177, 198, 0.16) 14px 28px),
    var(--bg);
  color: #3c4d5f;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ---------- Контраст ---------- */
a.cta,
a.cta:visited { color: #fff; }

.hero-tagline { color: #5a6a7e; }

.fine { color: #4d5e70; }

/* ---------- Шапка і бургер ---------- */
.top-inner { position: relative; }

.nav { align-items: center; }

.nav a { color: var(--ink); }

.nav .nav-cta {
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.nav .nav-cta:hover { background: #8a3149; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: auto;
  display: block;
  padding: 104px 0 24px;
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero .hero-copy,
.hero-inner .hero-copy {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
  justify-self: stretch;
  align-self: center;
}

.hero-stage.hero-stage--compact {
  position: relative;
  inset: auto;
  width: min(100%, 440px);
  height: 140px;
  margin: 0 0 18px -8px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 255, 255, 0.45), transparent 72%),
    var(--bg);
}

.hero-stage--compact .hero-brand {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-stage--compact .hero-logo {
  font-size: clamp(44px, 5.4vw, 66px);
  background: linear-gradient(155deg, #5d6a7b 0%, #3a4656 50%, #4a5668 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(5px 6px 9px rgba(163, 177, 198, 0.9)) drop-shadow(-4px -4px 8px rgba(255, 255, 255, 0.9));
}

.hero-stage--compact .hero-tagline { font-size: clamp(15px, 1.7vw, 20px); }

h1.hero-title {
  margin: 6px 0 16px;
  max-width: 17ch;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-offer {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  margin: 0 0 12px;
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--inset);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.hero-offer strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 26px;
  color: var(--accent);
}

.hero-sub {
  max-width: 40ch;
  margin: 0;
  color: var(--body);
}

.hero-copy .cta-row { justify-content: flex-start; }

.hero-alt {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--body);
}

.hero-alt a {
  color: #8e3350;
  font-weight: 700;
}

.hero-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-slot-label { font-size: 18px; }

.media-slot-hint {
  max-width: 26ch;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: #4d5e70;
}

/* ---------- Напрями: головні vs додаткові ---------- */
.card--extra { opacity: 0.94; }

.card--extra h3 { font-size: 26px; }

/* ---------- Розклад: картки по днях ---------- */
.days {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.day {
  padding: 16px 14px 12px;
  border-radius: 22px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.day h3 {
  margin: 0 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.day ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.slot {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 8px;
  padding: 8px 8px 8px 10px;
  border-left: 4px solid #a3b1c6;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
}

.slot time { font-weight: 800; }

.slot small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #4d5e70;
}

.slot.is-bachata { border-left-color: #9d3d56; }
.slot.is-zumba { border-left-color: #c0611b; }
.slot.is-fitness { border-left-color: #2c7a68; }

#rozklad .cta-row { margin-top: 8px; }

/* ---------- Ціни ---------- */
.price-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.price-card--accent { box-shadow: var(--shadow), inset 0 0 0 2px rgba(157, 61, 86, 0.35); }

/* ---------- Тренерки: місце для фото ---------- */
.person-photo {
  width: 88px;
  height: 88px;
  margin-bottom: 12px;
  border-radius: 50%;
  font-size: 12px;
}

/* ---------- Форма запису ---------- */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: start;
}

.book {
  max-width: none;
  gap: 4px;
  padding: 26px 26px 18px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.field { display: grid; gap: 6px; }

.book label { margin-top: 6px; }

.req { color: var(--accent); }

.field-hint {
  margin: 0;
  font-size: 13px;
  color: #4d5e70;
}

.field-error {
  min-height: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #a1263f;
}

.field-error:empty { display: none; }

.book [aria-invalid="true"] {
  outline: 2px solid #a1263f;
  outline-offset: 1px;
}

.book .cta { margin-top: 14px; }

.book .cta[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.book .fine { margin: 4px 0 0; font-size: 13px; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking-result {
  grid-column: 1 / -1;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  border-left: 6px solid #a3b1c6;
}

.booking-result.is-success { border-left-color: #2c7a68; }
.booking-result.is-error { border-left-color: #a1263f; }
.booking-result.is-fallback { border-left-color: #c0611b; }

.booking-result h3 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 26px;
}

.booking-result p { margin: 0 0 10px; color: var(--body); }

.booking-text {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: var(--inset);
  white-space: pre-wrap;
  font: 500 15px/1.45 Manrope, sans-serif;
  color: var(--ink);
}

.booking-alt {
  padding: 24px 24px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.booking-alt h3 {
  margin: 0 0 8px;
  font-family: Fraunces, Georgia, serif;
  font-size: 24px;
}

.booking-alt p { margin: 0; color: var(--body); }

.cta.tg { background: #2b6f9e; }
.cta.tg:hover { background: #235c84; }

.foot a { color: #8e3350; font-weight: 700; }

/* ---------- Плаваюча кнопка Instagram: менша, ховається біля форми/футера ---------- */
.support-chat {
  padding: 9px 13px;
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}

.support-chat.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

@media (min-width: 861px) {
  .hero .hero-copy { text-align: left; }
  .hero-copy .cta-row { justify-content: flex-start; }
}

@media (max-width: 1100px) {
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero { padding-top: 84px; min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-media { aspect-ratio: 4 / 3; max-height: none; }
  .booking { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .cta-row { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 22px;
    background: var(--bg);
    box-shadow: var(--shadow);
  }
  .nav-open .nav { display: flex; }
  .nav a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 17px;
  }
  .nav .nav-cta { margin-top: 6px; text-align: center; }
}

@media (max-width: 700px) {
  body { padding-bottom: 8px; }
  .block { padding-top: 64px; }
  .hero-inner,
  .block { width: calc(100% - 32px); }
  .hero-stage.hero-stage--compact {
    width: 100%;
    height: 96px;
    margin: 0 0 14px;
  }
  .hero-stage--compact .hero-logo { font-size: clamp(40px, 12vw, 54px); }
  .hero-stage--compact .hero-tagline { font-size: 16px; }
  h1.hero-title { font-size: clamp(30px, 8.4vw, 38px); }
  .hero-offer { font-size: 16px; padding: 8px 14px; }
  .hero-offer strong { font-size: 22px; }
  .days { grid-template-columns: 1fr; }
  .book { padding: 20px 16px 14px; }
  .contact-card { padding: 22px 18px; }
  .support-chat {
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar,
  .support-chat { transition: none; }
}

/* P0 fixes: бренд не переноситься, figure без дефолтних відступів */
.hero-stage--compact .hero-brand { width: max-content; max-width: 100%; }
.hero-stage--compact .hero-logo { white-space: nowrap; }
figure.media-slot { margin: 0; }
.slot { grid-template-columns: 1fr; gap: 2px; }
.slot span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .slot { grid-template-columns: 56px 1fr; gap: 8px; }
}

/* P0: HTML-версія лого: нахилена L теж отримує градієнт (інакше прозора) */
.hero-stage--compact .hero-logo-l {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 760px) {
  /* Фіксована шапка: бургер доступний на будь-якій глибині сторінки */
  .top {
    position: fixed;
    top: 0;
    padding: 8px 0;
    background: rgba(224, 229, 236, 0.94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(163, 177, 198, 0.35);
  }
  .top-inner { width: calc(100% - 32px); }
  .nav { top: 54px; }
  main section[id] { scroll-margin-top: 72px; }
  /* Плаваюча кнопка: компактне коло, текст лише для скрінрідерів */
  .support-chat {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    font-size: 0;
    gap: 0;
  }
  .support-chat::after {
    content: "IG";
    font: 800 14px/1 Manrope, sans-serif;
    color: #fff;
  }
  .support-chat-dot { display: none; }
}

/* SEO: футер «Про студію» + NAP */
.foot {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 36px 0 8px;
  border-top: 1px solid #cfd6df;
}
.foot-title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.foot-about { max-width: 70ch; margin: 0; color: var(--body); font-size: 15px; }
.nap { font-style: normal; color: var(--ink); font-size: 15px; line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; }

/* Perf: до старту 3D-пілюлі (перша взаємодія) показуємо статичний знак */
.logo-stage:not(.is-live):not(.is-fallback) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-stage:not(.is-live):not(.is-fallback)::before {
  content: "BALANCE";
  font: 600 13px/1 Fraunces, Georgia, serif;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: #4d5e70;
}
