@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-cyr.woff2") format("woff2");
  font-weight: 200 600;
  font-display: swap;
  unicode-range: U+0400-045F, U+2116;
}
@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-lat.woff2") format("woff2");
  font-weight: 200 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2010-2027, U+20AC, U+2192, U+2605;
}

:root {
  --bg: #f9fbf9;
  --surface: #f1f5f2;
  --surface-2: #e7eeea;
  --frame: #dbe3de;
  --ink: #10211d;
  --muted: #46564f;
  --accent: #0f6e66;
  --accent-deep: #0a544e;
  --accent-ink: #ffffff;
  --paper: #f1f5f2;
  --white: #ffffff;
  --field: #e7eeea;
  --paper-ink: #10211d;
  --paper-muted: #46564f;
  --mark: #ffe14d;
  --mark-ink: #17140a;

  --m: clamp(16px, 2.6vw, 40px);
  --top: 64px;
  --call: 0px;
  --gap: clamp(96px, 12vw, 200px);

  --s-small: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --s-body: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --s-lead: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
  --s-head: clamp(2.375rem, 1.5rem + 3.6vw, 4.75rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--top); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Serif", Georgia, "Times New Roman", serif;
  font-size: var(--s-body);
  font-weight: 400;
  line-height: 1.55;
  font-optical-sizing: auto;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 300; }
h2 { font-size: var(--s-head); line-height: 1.08; letter-spacing: -0.02em; font-weight: 250; }
h3 { line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.faq :focus-visible, .where :focus-visible, .ask :focus-visible, .visit :focus-visible, .foot :focus-visible, .doc :focus-visible { outline-color: var(--paper-ink); }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; /* taste-skill-ignore */
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--m); top: -80px; z-index: 60;
  padding: 12px 18px; background: var(--paper); color: var(--paper-ink);
}
.skip:focus { top: 8px; }
.defs { position: absolute; }

/* Маркировка за попълване: само това е жълто на страницата */
.mark {
  background: var(--mark); color: var(--mark-ink);
  padding: 0.08em 0.42em; font-size: var(--s-small); line-height: 1.35; font-weight: 500;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
  transition: text-underline-offset 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-underline-offset: 0.34em; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 0;
  font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--ink, .btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent { white-space: normal; text-align: left; padding-block: 12px; }
.btn--block { display: flex; width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover, .btn--accent:hover { background: var(--accent-deep); }
}

/* Горна лента */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--m);
  background: var(--bg); color: var(--ink); font-size: var(--s-small);
  transition: transform 260ms var(--ease-out);
}
.top[data-hidden] { transform: translateY(-101%); }
.top__brand { text-decoration: none; margin-right: auto; font-weight: 500; }
.top__brand .mark { margin-left: 8px; }
.top__nav { display: flex; gap: 28px; }
.top__nav a, .top__tel { text-decoration: none; }
.top__nav a { transition: opacity 160ms ease; }
.top__tel { font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .top__nav:hover a:not(:hover) { opacity: 0.6; } }
.menu { display: none; }
.menu:not([open]) nav { display: none; }

/* Начало: тъмна стена с прозорец към Рила */
.hero { position: relative; background: var(--bg); }
.hero__stage {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; flex-direction: column; padding-top: var(--top);
}
.motion .hero { height: 270svh; }
.motion .hero__stage { position: sticky; top: 0; }

.window {
  --n: 3;
  position: relative; flex: 1 1 auto; min-height: 0; margin: 0 var(--m);
  overflow: hidden; background: var(--surface);
}
.window__view {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 44%; max-width: none;
}
.pane {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--i) * 100% / var(--n)); width: calc(100% / var(--n));
  overflow: hidden; will-change: transform;
}
.pane__in {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--i) * -100%); width: calc(var(--n) * 100%);
  will-change: transform;
}
.motion .pane[data-dir="down"] { transform: translate3d(0, -100%, 0); }
.motion .pane[data-dir="down"] .pane__in { transform: translate3d(0, 100%, 0); }
.motion .pane[data-dir="up"] { transform: translate3d(0, 100%, 0); }
.motion .pane[data-dir="up"] .pane__in { transform: translate3d(0, -100%, 0); }
.window[data-off] { visibility: hidden; }
.window[data-off] .pane, .window[data-off] .pane__in { will-change: auto; }

.blade { position: absolute; left: 12%; width: 76%; height: auto; opacity: 0; max-width: none; }
.blade--down { bottom: 0; transform: rotate(180deg); }
.blade--up { top: 0; }

.glint { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.glint i {
  position: absolute; top: -10%; bottom: -10%; left: -30%; width: 11%;
  background: rgba(255, 255, 255, 0.2); transform: skewX(-18deg);
}
.glint i + i { width: 3.5%; left: -17%; }

.frame {
  position: absolute; inset: 0; pointer-events: none;
  border: clamp(7px, 0.8vw, 12px) solid var(--frame);
}
.frame i {
  position: absolute; top: 0; bottom: 0; left: 33.333%;
  width: clamp(10px, 1.05vw, 16px); margin-left: calc(clamp(10px, 1.05vw, 16px) / -2);
  background: var(--frame);
}
.frame i + i { left: 66.666%; }

.wall { position: relative; flex: 0 0 auto; padding: 0 var(--m) clamp(10px, 2svh, 24px); }
.wall::before {
  content: ""; display: block; height: 10px; margin: 0 calc(var(--m) * -0.4) clamp(14px, 2.4svh, 28px);
  background: var(--surface-2);
}
.wall__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(4px, 1.2svh, 14px); }
.hero__lead { max-width: 40ch; line-height: 1.4; }
.hero__act { display: flex; align-items: center; gap: 28px; flex: none; }
.rating { font-size: var(--s-small); text-decoration: none; white-space: nowrap; }
.rating b { font-weight: 500; font-size: var(--s-body); color: var(--accent); }
.rating--ink b { color: inherit; }
@media (hover: hover) and (pointer: fine) { .rating:hover { text-decoration: underline; text-underline-offset: 0.22em; } }
.hero__title {
  font-size: calc((100vw - 2 * var(--m)) / 10.98);
  font-weight: 200; line-height: 1.04; letter-spacing: -0.022em; white-space: nowrap;
}
.motion [data-hero-line] { display: inline-block; opacity: 0; transform: translateY(36px); }
.motion [data-hero-in] { opacity: 0; transform: translateY(16px); }

/* Увод */
.intro { background: var(--bg); padding: var(--gap) var(--m); }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.intro__text { grid-column: 7 / 13; grid-row: 1; font-size: var(--s-lead); line-height: 1.24; font-weight: 300; }
.intro__pic { grid-column: 1 / 5; grid-row: 1 / 3; align-self: start; }
.intro__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.intro__note { grid-column: 7 / 11; grid-row: 2; margin-top: 48px; }
.intro__note p + p { margin-top: 8px; }
.ln-mask { padding-bottom: 0.14em; margin-bottom: -0.14em; }

/* Услуги: картите минават над задържана снимка */
.services { position: relative; background: var(--bg); }
.services__stage { position: relative; overflow: hidden; padding-block: 64px; }
.services__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.services__shade { position: absolute; inset: 0; background: rgba(249, 251, 249, 0.56); }
.services__track {
  position: relative; display: grid; gap: 24px; padding-inline: var(--m);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.services__head { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--tone); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__panel { padding: 20px 20px 24px; flex: 1 0 auto; }
.card h3 { font-size: var(--s-lead); margin-bottom: 8px; font-weight: 300; }
.card p { line-height: 1.4; }

@media (min-width: 900px) {
  .motion .services { height: 320svh; }
  .motion .services__stage { position: sticky; top: 0; height: 100svh; padding: 0; display: flex; align-items: center; }
  .motion .services__track { display: flex; align-items: stretch; width: max-content; gap: 40px; will-change: transform; }
  .motion .services__head { flex: 0 0 40vw; padding-block: 8px; }
  .motion .card { flex: 0 0 clamp(460px, 45vw, 700px); height: min(74svh, 620px); }
  .motion .card img { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; height: 68%; }
  .card img { transition: transform 500ms var(--ease-out); }
  .card__panel { flex: 0 0 auto; display: grid; grid-template-columns: 1fr minmax(0, 15em); gap: 20px; align-items: end; padding: 22px 26px 26px; }
  .card h3 { margin: 0; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .card:hover img { transform: scale(1.03); } }

/* Преди и след */
.ba { background: var(--surface); padding-block: var(--gap); }
.ba__head, .incl__head {
  margin: 0 var(--m) clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end;
}
.ba__head h2, .incl__head h2 { grid-column: 1 / 8; }
.ba__head p, .incl__head p { grid-column: 8 / 13; line-height: 1.4; }
.ba__head .mark, .incl__head .mark { display: inline-block; margin-top: 8px; }
.ba__stage {
  position: relative; margin-inline: var(--m); aspect-ratio: 5 / 3; overflow: hidden; background: var(--surface-2);
  touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 70%; pointer-events: none; -webkit-user-drag: none; max-width: none; }
.ba__clip { position: absolute; inset: 0; overflow: hidden; transform: translate3d(-42%, 0, 0); will-change: transform; }
.ba__counter { position: absolute; inset: 0; transform: translate3d(42%, 0, 0); will-change: transform; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 0; width: 0; transform: translate3d(58cqw, 0, 0); will-change: transform; }
.ba__stage { container-type: inline-size; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--accent); }
.ba__handle span {
  position: absolute; top: 50%; left: -24px; width: 48px; height: 72px; margin-top: -36px; background: var(--accent);
  transition: transform 160ms var(--ease-out);
}
.ba__handle span::before, .ba__handle span::after {
  content: ""; position: absolute; top: 28px; width: 12px; height: 12px;
  border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
}
.ba__handle span::before { left: 8px; transform: rotate(45deg); }
.ba__handle span::after { right: 8px; transform: rotate(225deg); }
.ba__stage[data-drag] .ba__handle span { transform: scale(0.94); }
.ba__stage:focus-within .ba__handle::before { background: var(--ink); }
.ba__tag { position: absolute; bottom: 16px; padding: 6px 12px; background: var(--bg); color: var(--ink); font-size: var(--s-small); pointer-events: none; }
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }

/* Какво включва */
.incl { background: var(--surface-2); padding-block: var(--gap); }
.incl__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-inline: var(--m); }
.tab {
  min-height: 50px; padding: 0 20px; border: 0; border-radius: 0; background: var(--surface); color: var(--ink);
  cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .tab:not([aria-selected="true"]):hover { background: var(--frame); } }
.panel {
  margin: clamp(32px, 4vw, 56px) var(--m) 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px);
}
.js .panel[data-idle] { display: none; }
.panel__title { font-size: var(--s-lead); font-weight: 300; line-height: 1.15; margin-bottom: 16px; }
.panel li { padding-block: 7px; line-height: 1.35; }
.panel__col--out li { color: var(--muted); }
.panel__cta { grid-column: 1 / -1; justify-self: start; }
.motion .panel:not([data-idle]) { animation: panelIn 220ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }

/* Как работим: всяка стъпка покрива предишната */
.steps { position: relative; background: var(--bg); }
.steps__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: var(--gap) var(--m) clamp(32px, 4vw, 56px); }
.step { position: relative; height: 215svh; }
.step + .step { margin-top: -100svh; }
.step:last-child { height: 100svh; }
.step__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--surface); }
.step__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.step__shade { position: absolute; inset: 0; background: rgba(249, 251, 249, 0.42); }
.step__verb {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-size: clamp(3.25rem, 15vw, 19rem); line-height: 1; letter-spacing: -0.03em; font-weight: 300; color: var(--ink);
}
.step__text {
  position: absolute; left: var(--m); bottom: clamp(24px, 5svh, 56px); max-width: 36ch;
  padding: 14px 18px; background: var(--white); color: var(--ink); line-height: 1.4;
}
@media (min-width: 900px) {
  .step--clip .step__stage { background: var(--white); }
  .step--clip .step__media { left: auto; right: 0; width: auto; aspect-ratio: 9 / 16; }
  .step--clip .step__shade { display: none; }
  .step--clip .step__verb { justify-items: start; padding-left: var(--m); }
}

/* Въпроси: оттук страницата е светла */
.faq {
  background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px);
  padding: var(--gap) var(--m) clamp(64px, 8vw, 120px);
}
.faq h2 { margin-bottom: 28px; }
.faq__facts { margin-bottom: 36px; }
.faq__facts li { padding-block: 3px; }
.faq details { padding-block: 13px; }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding-right: 36px; min-height: 28px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 0.3em; width: 11px; height: 11px;
  border-right: 2px solid var(--paper-ink); border-bottom: 2px solid var(--paper-ink);
  transform: rotate(45deg); transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(5px) rotate(225deg); }
.faq details p { margin-top: 10px; color: var(--paper-muted); line-height: 1.45; }
.motion .faq details[open] p { animation: panelIn 200ms var(--ease-out); }
.faq__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.faq__pics { position: relative; margin-top: calc(var(--gap) * -1); align-self: stretch; padding-bottom: 80px; }
.faq__tall { position: sticky; top: 0; height: min(100svh, 100%); overflow: hidden; }
.faq__tall img { width: 100%; height: 118%; object-fit: cover; }
.faq__square { position: absolute; left: -40px; bottom: 40px; width: 36%; }
.faq__square img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.where {
  background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(32px, 4vw, 64px) var(--m) clamp(64px, 7vw, 110px);
}
.where h2 { grid-column: 1 / 5; font-size: var(--s-lead); line-height: 1.15; }
.where__cols { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; line-height: 1.5; }
.where__cols span { display: block; color: var(--paper-muted); }
.where__note { grid-column: 5 / 13; margin-top: 28px; }

/* Запитване */
.ask {
  background: var(--white); color: var(--paper-ink);
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px);
  padding: clamp(64px, 7vw, 110px) var(--m) var(--gap);
}
.ask__text p { margin-top: 20px; max-width: 34ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide, .form__end, .form__done { grid-column: 1 / -1; }
.field label { font-size: var(--s-small); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 0; border-radius: 0; background: var(--field); color: var(--paper-ink);
  font-size: max(1rem, var(--s-body)); transition: background-color 160ms ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230d1614' stroke-width='2'/%3E%3C/svg%3E");
  background-position: right 16px center; background-size: 14px 8px; background-repeat: no-repeat; padding-right: 44px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #d4dcd6; outline: 2px solid var(--paper-ink); outline-offset: 0; }
.field__err { color: #8a1f11; font-size: var(--s-small); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.form__legal { flex: 1 1 18em; font-size: var(--s-small); line-height: 1.4; color: var(--paper-muted); }
.form__done { padding: 16px 18px; background: var(--paper); line-height: 1.4; }

/* Контакт: картичка върху снимка */
.contact { position: relative; height: 100svh; min-height: 680px; overflow: hidden; background: var(--surface); }
.contact__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; max-width: none; }
.contact__img--b { opacity: 0; will-change: opacity; }
.visit {
  position: absolute; top: clamp(32px, 7svh, 72px); right: var(--m); width: min(420px, calc(100% - 2 * var(--m)));
  padding: 30px; background: var(--white); color: var(--paper-ink);
}
.visit h2 { font-size: var(--s-lead); font-weight: 300; margin-bottom: 14px; }
.visit__addr { line-height: 1.4; }
.visit__hours { width: 100%; margin-top: 16px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.visit__hours th { font-weight: 400; text-align: left; padding: 3px 0; }
.visit__hours td { text-align: right; padding: 3px 0; white-space: nowrap; }
.visit__note { margin-top: 10px; line-height: 1.3; }
.visit__rate { margin: 16px 0; }

/* Край */
.foot { overflow: clip; background: var(--bg); color: var(--paper-ink); padding: clamp(56px, 7vw, 96px) var(--m) 32px; }
.foot__top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 80px); }
.foot__sign { font-size: var(--s-lead); font-weight: 300; line-height: 1.15; margin-bottom: 8px; }
.foot__msg p + p { max-width: 34ch; }
.foot__lines li { padding-block: 3px; }
.foot__name {
  margin-top: clamp(40px, 6vw, 88px); font-size: calc((100vw - 2 * var(--m)) / 11.05);
  font-weight: 200; line-height: 1.05; letter-spacing: -0.024em; white-space: nowrap;
}
.foot__imprint { display: flex; flex-wrap: wrap; gap: 6px 32px; margin-top: 24px; font-size: var(--s-small); color: var(--paper-muted); }

/* Бутон за обаждане на телефон */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; justify-content: center;
  height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--accent); color: var(--accent-ink); font-size: 1.1875rem; font-weight: 500; text-decoration: none;
  transition: background-color 160ms ease;
}
.callbar:active { background: var(--accent-deep); }
@media (min-width: 900px) and (hover: hover) { .callbar { display: none; } }

/* Страница за поверителност */
.doc { background: var(--paper); color: var(--paper-ink); }
.doc__main { max-width: 44rem; margin: 0 auto; padding: 48px 16px 96px; }
.doc h1 { font-size: var(--s-head); line-height: 1.08; letter-spacing: -0.02em; font-weight: 250; margin: 24px 0 16px; }
.doc h2 { font-size: var(--s-lead); line-height: 1.2; margin: 36px 0 8px; font-weight: 300; }
.doc li { padding-block: 4px; line-height: 1.4; font-size: var(--s-small); }

/* Телефон */
@media (max-width: 899px) {
  :root { --top: 56px; --call: calc(60px + env(safe-area-inset-bottom)); --gap: 88px; }
  .top { gap: 12px; }
  .top__brand .mark { display: block; width: fit-content; margin: 2px 0 0; line-height: 1.25; }
  .top__brand { line-height: 1.2; }
  .top__nav, .top__tel { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px; padding-inline: 8px; margin-right: -8px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: fixed; left: 0; right: 0; top: var(--top); bottom: var(--call); background: var(--bg); padding: 16px var(--m); overflow-y: auto; }
  .menu nav a { display: flex; align-items: center; min-height: 60px; font-size: 1.75rem; font-weight: 300; text-decoration: none; }

  .window { --n: 2; }
  .pane--third, .frame__third { display: none; }
  .frame i { left: 50%; }
  .wall { padding-bottom: calc(var(--call) + 14px); }
  .wall__row { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 6px; }
  .hero__act .btn { display: none; }
  .hero__lead { max-width: none; font-size: 1.125rem; line-height: 1.35; }
  .hero__title { font-size: calc((100vw - 2 * var(--m)) / 6.05); line-height: 1.02; }
  .hero__title span, .motion .hero__title [data-hero-line] { display: block; }

  .services__stage { padding-block: 0 8px; background: var(--bg); }
  .services__bg, .services__shade { position: absolute; inset: 0 0 auto; height: min(120vw, 90svh); }
  .services__head { min-height: min(120vw, 90svh); justify-content: flex-end; padding-bottom: 24px; }
  .card:nth-of-type(even) { margin-left: 10vw; }

  .intro__text { grid-column: 1 / -1; }
  .intro__pic { grid-column: 6 / 13; grid-row: 2; margin-top: 40px; }
  .intro__pic img { aspect-ratio: 4 / 5; }
  .intro__note { grid-column: 1 / 6; grid-row: 2; align-self: end; margin: 0; font-size: 1rem; line-height: 1.35; }

  .ba__head, .incl__head { display: block; }
  .ba__head p, .incl__head p { margin-top: 14px; }
  .ba__stage { aspect-ratio: 4 / 5; }
  .ba__img { object-position: 22% 70%; }

  .incl__tabs { gap: 6px; }
  .tab { padding: 0 14px; min-height: 48px; }
  .panel { grid-template-columns: 1fr; gap: 28px; }

  .step { height: 200svh; }
  .step__verb { font-size: calc((100vw - 2 * var(--m)) / 5.3); font-weight: 350; }
  .step__text { right: var(--m); bottom: calc(var(--call) + 24px); max-width: none; }

  .faq, .ask { grid-template-columns: 1fr; }
  .faq__col { order: 2; }
  .faq__pics { order: 1; margin: calc(var(--gap) * -1) calc(var(--m) * -1) 56px; padding: 0; }
  .faq__tall { position: relative; height: auto; aspect-ratio: 4 / 5; }
  .faq__tall img { height: 100%; }
  .faq__square { left: auto; right: var(--m); bottom: -36px; width: 38%; }
  .faq__end .btn { width: 100%; }

  .where { display: block; }
  .where h2 { margin-bottom: 24px; }
  .where__cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }

  .form { grid-template-columns: 1fr; }
  .form__end .btn { width: 100%; }

  .contact { height: auto; min-height: 0; background: var(--white); padding-bottom: 40px; }
  .contact__img { height: 70svh; }
  .visit { position: relative; top: 0; right: 0; width: auto; margin: calc(70svh - 80px) 16px 0; padding: 24px 22px 22px; }

  .foot { padding-bottom: calc(var(--call) + 24px); }
  .foot__top { grid-template-columns: 1fr; }
  .foot__name { font-size: calc((100vw - 2 * var(--m)) / 12.2); }
}
/* Телефон на една страна: без задържане, чистата гледка и текстът един под друг */
@media (max-height: 500px) {
  .hero__stage, .motion .hero__stage { position: relative; height: auto; min-height: 0; }
  .motion .hero { height: auto; }
  .window { flex: none; height: 62vh; }
  .motion .pane[data-dir], .motion .pane[data-dir] .pane__in { transform: none; }
  .wall { padding-bottom: calc(var(--call) + 16px); }
  .wall__row { flex-direction: row; align-items: flex-end; }
  .hero__title { font-size: calc((100vw - 2 * var(--m)) / 10.98); }
  .hero__title span, .motion .hero__title [data-hero-line] { display: inline-block; }
  .step__stage, .contact { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tab, .card img, .top { transition: none; }
}
