/* Размах: светло, въздушно, дъга на движението. Шрифтове: Lora (заглавия), Onest (текст). */
:root {
  --bg: #F1ECE2;
  --bg2: #E6DFD0;
  --ink: #2A241C;
  --ink2: #5A5143;
  --acc: #4A5330;
  --on-dark: #F1ECE2;
  --on-dark2: #BDB4A2;
  --line: rgba(42, 36, 28, .22);
  --gut: clamp(20px, 5vw, 72px);
  --f-d: "Lora", Georgia, serif;
  --f-t: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --head: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-t); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 500; font-feature-settings: "locl" 0; letter-spacing: -.01em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Бутони ---------- */
.btn, .go, .nav-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; font: 500 16px/1 var(--f-t);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .14s var(--ease), background-color .14s var(--ease);
}
.btn:active, .go:active, .nav-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover, .nav-cta:hover { background: var(--acc); } .go:hover { background: var(--acc); color: #fff; } }

/* ---------- Горна лента ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); background: rgba(241, 236, 226, .92); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 24px/1 var(--f-d); letter-spacing: -.02em; }
.menu-btn { background: none; border: 2px solid var(--ink); border-radius: 999px; color: inherit; min-height: 46px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 500 16px/1 var(--f-t); }
.menu-btn:active { background: var(--ink); color: #fff; }
#nav { position: absolute; top: var(--head); left: 0; right: 0; background: var(--bg); padding: 8px var(--gut) 24px; display: none; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
#nav.open { display: flex; }
#nav a { padding: 14px 0; text-decoration: none; font-size: 19px; border-bottom: 1px solid var(--line); }
#nav a.nav-cta { border: 0; margin-top: 14px; color: #fff; justify-content: center; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  #nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 30px; background: none; border: 0; padding: 0; }
  #nav a { padding: 0; border: 0; font-size: 15px; }
  #nav a:not(.nav-cta):hover { text-decoration: underline; }
  #nav a.nav-cta { margin: 0; min-height: 42px; padding: 0 20px; font-size: 15px; }
  .top-tel { font-variant-numeric: tabular-nums; color: var(--ink2); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: clip; padding: calc(var(--head) + 28px) var(--gut) 40px; isolation: isolate; }
.hero-arc { position: absolute; left: 0; width: 100%; color: var(--acc); pointer-events: none; }
.hero-arc.far { top: 14%; height: 70%; opacity: .35; z-index: 0; }
.hero-arc.near { bottom: -2%; height: 34%; z-index: 4; }
.hero-photo { position: absolute; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--bg2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.p-mid { z-index: 1; right: 6vw; bottom: 4svh; width: 72vw; aspect-ratio: 1100 / 1556; }
.p-near { z-index: 3; left: 4vw; bottom: 2svh; width: 30vw; aspect-ratio: 800 / 1132; border: 5px solid var(--bg); border-bottom: 0; }
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { font-size: clamp(40px, 11.5vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; max-width: 12ch; }
.lede { font-size: 19px; line-height: 1.45; max-width: 28ch; margin-bottom: 26px; color: var(--ink); }
@media (min-width: 900px) {
  .hero { padding-top: var(--head); display: flex; align-items: center; }
  .hero h1 { font-size: clamp(60px, 6.2vw, 110px); margin-bottom: 28px; max-width: 8.6ch; }
  .hero-copy { max-width: none; margin-top: -4svh; }
  .lede { font-size: 22px; max-width: 30ch; }
  .p-mid { top: calc(var(--head) + 24px); bottom: auto; right: 7vw; height: calc(100svh - var(--head) - 60px); width: auto; }
  .p-near { left: auto; right: calc(7vw + 22vw); bottom: 5svh; width: 14vw; }
  .hero-arc.near { height: 38%; }
}

/* ---------- Въведение: думите светват ---------- */
.words { display: grid; align-content: center; gap: 28px; padding: 112px var(--gut) 96px; }
.kicker { font: 500 14px/1 var(--f-t); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.words-cta { margin-top: 8px; }
.words-text { font: 500 clamp(26px, 4.2vw, 62px)/1.18 var(--f-d); letter-spacing: -.025em; max-width: 21ch; max-width: 24em; }
.words-text .w { transition: none; }

/* ---------- Голяма снимка: разширява се ---------- */
.bigshot { position: relative; background: var(--bg); }
.bigshot-frame { height: 78svh; overflow: hidden; }
.bigshot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.bigshot-cap { position: absolute; left: var(--gut); bottom: 24px; z-index: 2; max-width: 26ch; background: var(--bg); padding: 16px 20px; font-size: 16px; line-height: 1.4; border-radius: 4px 4px 4px 4px; }
.bigshot.is-pinned { height: 100svh; }
.bigshot.is-pinned .bigshot-frame { height: 100svh; }

/* ---------- Занимания ---------- */
.classes { padding: 104px var(--gut) 80px; }
.classes-head { max-width: 62ch; margin-bottom: 36px; }
.classes-head h2 { font-size: clamp(36px, 5.5vw, 76px); margin-bottom: 14px; }
.classes-head p { color: var(--ink2); max-width: 52ch; }
.track { display: grid; gap: 20px; }
.panel { display: flex; flex-direction: column; background: var(--bg2); border-radius: 4px; overflow: hidden; }
.panel figure { aspect-ratio: 4 / 3; overflow: hidden; }
.panel figure img { width: 100%; height: 100%; object-fit: cover; }
.panel-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.panel h3 { font-size: 34px; font-weight: 500; }
.tag { display: inline-block; vertical-align: middle; font: 500 12px/1 var(--f-t); letter-spacing: .04em; text-transform: uppercase; background: var(--acc); color: #fff; padding: 7px 10px; border-radius: 999px; margin-left: 6px; }
.panel p { font-size: 16px; color: var(--ink2); }
.panel .meta { font-size: 14px; color: var(--ink); font-weight: 500; margin-top: auto; padding-top: 8px; }
.panel .go { align-self: flex-start; min-height: 48px; }
.panel-plain { background: var(--acc); color: #fff; }
.panel-plain p, .panel-plain .meta { color: #fff; }
.panel-plain .go { background: #fff; color: var(--ink); }
.panel-glyph { width: 100%; padding: 36px 22px 0; color: var(--on-dark); max-height: 220px; }
@media (min-width: 700px) { .track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .classes { padding: 120px var(--gut) 96px; }
  .track { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .panel h3 { font-size: clamp(28px, 2.2vw, 36px); }
}

/* ---------- Седмицата (тъмна, пик) ---------- */
.week { background: var(--ink); color: var(--on-dark); --d-mat: #E0A66C; --d-ref: #F1ECE2; --d-yoga: #A9BF86; --d-pre: #D9A08F; --d-beg: #D8C27A; }
.week-pin { padding: 96px var(--gut) 80px; }
.week-cta { margin-top: 32px; }
.btn-light { background: var(--on-dark); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: #fff; color: var(--ink); } }
.week-head { display: grid; gap: 14px; margin-bottom: 28px; }
.week-head h2 { font-size: clamp(36px, 5.5vw, 76px); }
.week-note { color: var(--on-dark2); font-size: 15px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 14px/1 var(--f-t); min-height: 44px; padding: 0 18px; border-radius: 999px; background: transparent; color: var(--on-dark); border: 1px solid rgba(241, 236, 226, .35); cursor: pointer; transition: background-color .14s var(--ease), color .14s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, transparent); }
.chip.t-mat { --c: var(--d-mat); } .chip.t-ref { --c: var(--d-ref); } .chip.t-yoga { --c: var(--d-yoga); } .chip.t-pre { --c: var(--d-pre); } .chip.t-beg { --c: var(--d-beg); }
.chip[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.week :focus-visible, .book :focus-visible, .foot :focus-visible { outline-color: #fff; }
.sched-foot { min-height: 1.4em; font-size: 14px; color: var(--on-dark2); }
.days { border-top: 1px solid rgba(241, 236, 226, .25); }
.day { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid rgba(241, 236, 226, .25); }
.day h3 { font-size: 26px; font-weight: 500; }
.slots { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.slots li { font-size: 16px; display: flex; align-items: baseline; gap: 10px; transition: opacity .25s var(--ease); }
.slots li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; align-self: center; }
.slots time { font-weight: 500; font-variant-numeric: tabular-nums; }
.t-mat { color: var(--d-mat); } .t-ref { color: var(--d-ref); } .t-yoga { color: var(--d-yoga); } .t-pre { color: var(--d-pre); } .t-beg { color: var(--d-beg); }
.slots li { color: var(--on-dark); }
.slots li::before { color: inherit; }
.slots li.t-mat::before { background: var(--d-mat); } .slots li.t-ref::before { background: var(--d-ref); } .slots li.t-yoga::before { background: var(--d-yoga); } .slots li.t-pre::before { background: var(--d-pre); } .slots li.t-beg::before { background: var(--d-beg); }
.slots li.dim { opacity: .18; }
@media (min-width: 900px) {
  .week-pin { padding-top: 120px; padding-bottom: 100px; }
  .week-head { grid-template-columns: 1fr; max-width: 70ch; }
  .day { grid-template-columns: 220px 1fr; align-items: baseline; padding: 22px 0; }
}

/* ---------- Пакети ---------- */
.plans { padding: 112px var(--gut) 72px; max-width: none; }
.ladder { max-width: 1180px; }
.plans-head { max-width: 60ch; margin-bottom: 40px; }
.plans-head h2 { font-size: clamp(36px, 5.5vw, 76px); margin-bottom: 14px; }
.plans-head p { color: var(--ink2); }
.rung { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 22px 0 20px; border-top: 1px solid var(--line); align-items: end; }
.rung h3 { font: 500 22px/1.2 var(--f-d); letter-spacing: -.01em; }
.rung-name p { font-size: 15px; color: var(--ink2); }
.rung-price { text-align: right; display: grid; }
.rung-price b { font: 500 clamp(34px, 5vw, 56px)/1 var(--f-d); letter-spacing: -.03em; }
.rung-price span { font-size: 14px; color: var(--ink2); }
.rung-bar { grid-column: 1 / -1; height: 10px; width: var(--w); background: var(--acc); border-radius: 10px; transform-origin: left center; margin-top: 10px; }
.rung-open .rung-bar { background: var(--acc); opacity: .45; }
.plans-cta { margin-top: 32px; }
.plans-note { margin-top: 24px; font-size: 15px; color: var(--ink2); max-width: 70ch; border-top: 1px solid var(--line); padding-top: 18px; }
@media (min-width: 900px) {
  .rung { grid-template-columns: 1.1fr 1fr 220px; align-items: center; padding: 26px 0; }
  .rung-bar { grid-column: 1 / -1; margin-top: 14px; }
}

/* ---------- Въпроси и отмяна ---------- */
.faq-cancel { background: var(--bg2); padding: 96px var(--gut); display: grid; gap: 72px; }
.faq h2, .cancel h2 { font-size: clamp(32px, 4.4vw, 60px); margin-bottom: 24px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font: 500 18px/1.35 var(--f-t); list-style: none; position: relative; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 4px; top: 30px; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(-135deg); top: 36px; }
details p { padding: 0 0 22px; color: var(--ink2); max-width: 62ch; }
.cancel-lead { max-width: 52ch; margin-bottom: 28px; color: var(--ink2); }
.cancel-line { position: relative; padding-left: 36px; display: grid; gap: 24px; margin-bottom: 36px; }
.cancel-line::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--ink); transform-origin: top; transform: scaleY(var(--draw, 1)); }
.cancel-line li { position: relative; display: grid; gap: 2px; }
.cancel-line li::before { content: ""; position: absolute; left: -36px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg2); border: 2px solid var(--ink); }
.c-free::before { background: var(--acc) !important; border-color: var(--acc) !important; }
.c-miss::before { background: var(--ink) !important; }
.cancel-line b { font-weight: 500; }
.cancel-line span { color: var(--ink2); font-size: 15px; }
.cancel-rules { display: grid; gap: 16px; }
.cancel-rules div { border-top: 1px solid var(--line); padding-top: 12px; }
.cancel-rules dt { font-weight: 500; }
.cancel-rules dd { color: var(--ink2); font-size: 15px; }
.cancel-demo { margin-top: 20px; font-size: 14px; color: var(--ink2); }
@media (min-width: 900px) {
  .faq-cancel { grid-template-columns: 1.15fr 1fr; gap: 8vw; align-items: start; }
  .cancel { position: sticky; top: 100px; }
}

/* ---------- Запис ---------- */
.book { position: relative; background: var(--acc); color: #fff; padding: 96px var(--gut) 88px; overflow: clip; isolation: isolate; }
.book-arc { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 220px; color: rgba(255, 255, 255, .35); z-index: -1; }
.book-grid { display: grid; gap: 44px; max-width: none; position: relative; }
.book h2 { font-size: clamp(38px, 6vw, 84px); margin-bottom: 20px; }
.book-copy > p { max-width: 46ch; font-size: 18px; }
.contact { margin-top: 32px; display: grid; gap: 14px; }
.contact div { border-top: 1px solid rgba(255, 255, 255, .4); padding-top: 10px; display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.contact dt { font-size: 14px; opacity: .85; }
.contact a { font-variant-numeric: tabular-nums; }
.form { background: var(--bg); color: var(--ink); padding: 26px 22px 28px; border-radius: 4px; display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 16px; }
label { font-size: 14px; font-weight: 500; }
input, select, textarea { width: 100%; font: 400 17px/1.3 var(--f-t); color: var(--ink); background: #fff; border: 1px solid #A39A88; border-radius: 6px; padding: 13px 14px; min-height: 50px; }
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
input[aria-invalid="true"] { border-color: #B0153B; box-shadow: 0 0 0 1px #B0153B; }
.form-title { font: 500 26px/1.15 var(--f-d); letter-spacing: -.01em; }
.req { font-weight: 400; color: var(--ink2); }
.hint { font-size: 14px; color: var(--ink2); margin-top: -6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-submit { width: 100%; }
.form .btn:hover { background: var(--acc); }
[data-form-status] { font-size: 15px; min-height: 1.4em; }
[data-form-status][data-kind="ok"] { color: #0B5E3C; font-weight: 500; background: #DDF1E6; border-left: 4px solid #0B5E3C; padding: 14px 16px; border-radius: 4px; font-size: 17px; }
[data-form-status][data-kind="error"] { color: #B0153B; font-weight: 500; background: #FBE5EA; border-left: 4px solid #B0153B; padding: 14px 16px; border-radius: 4px; }
@media (min-width: 900px) {
  .book { padding: 140px var(--gut) 120px; }
  .book-grid { grid-template-columns: 1fr 1.05fr; gap: 6vw; align-items: start; }
  .form { padding: 36px; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Долен ред ---------- */
.foot { background: var(--ink); color: var(--on-dark); padding: 56px var(--gut) 40px; display: grid; gap: 4px; }
.foot-brand { font: 500 clamp(60px, 14vw, 200px)/.9 var(--f-d); letter-spacing: -.05em; margin-bottom: 18px; }
.foot p { color: var(--on-dark2); font-size: 15px; }
.foot .foot-brand { color: var(--on-dark); }
.foot-contact { margin-top: 6px; }
.foot-contact a { color: #fff; }
.foot-demo { margin-top: 12px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-photo img { transform: none; }
}

/* ---------- Знак „Надолу“ и лента с бързи действия ---------- */
.cue { position: absolute; z-index: 5; left: var(--gut); bottom: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; background: var(--bg); color: var(--ink); border-radius: 999px; text-decoration: none; font: 500 15px/1 var(--f-t); }
.cue svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (hover: hover) and (pointer: fine) { .cue:hover { background: var(--ink); color: #fff; } }
.dock { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: none; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(241, 236, 226, .96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s var(--ease); }
.dock a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; text-decoration: none; font: 500 16px/1 var(--f-t); }
.dock-call { border: 2px solid var(--ink); color: var(--ink); }
.dock-book { background: var(--ink); color: #fff; }
.dock.show { transform: none; }
@media (max-width: 899px) { .dock { display: flex; } .foot { padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { .cue svg { animation: none; } .dock { transition: none; } }

@media (max-width:699px){.rung{grid-template-columns:1fr}.rung-price{text-align:left}.rung-name{max-width:none}}

a[href^="tel:"]{white-space:nowrap}

p{text-wrap:pretty}h1,h2,h3{text-wrap:balance}

@media (max-width:699px){a.brand{display:inline-flex;align-items:center;min-height:44px}}

.rung-name p{margin-top:4px}
a.tel-big{display:inline-block;padding:6px 0}
