/* Нити Комерс — демо. Цветове от портата на сервиза: дълбоко синьо и оранжево. */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/onest-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/onest-latin-wght-normal.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: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-cyrillic-wght-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-wght-normal.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: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-cyrillic-wght-italic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #0b1c2e;
  --surface: #10253b;
  --surface-2: #183149;
  --ink: #ecebe8;
  --soft: #a9b5c1;
  --accent: #ff6a13;
  --accent-ink: #0b1c2e;
  --paper: #e8e6e1;
  --paper-2: #d9d6ce;
  --paper-ink: #0b1c2e;
  --paper-soft: #45535f;
  --sky: #9cc1e4;

  --f-display: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --f-text: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --s-small: clamp(0.9375rem, 0.9rem + 0.1vw, 1rem);
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem);
  --s-head: clamp(2.5rem, 1.2rem + 4.4vw, 5.5rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(96px, 11vw, 200px);
  --col-gap: clamp(16px, 2vw, 32px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- основа */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-text); font-size: var(--s-body); line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; font-feature-settings: 'locl' 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html { -webkit-tap-highlight-color: transparent; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { padding-inline: var(--m); }
.soft { color: var(--soft); }
.r { text-align: right; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; font-family: var(--f-display); }
.skip:focus { top: 12px; }
.page { position: relative; z-index: 1; background: var(--bg); }

.section { padding-block: var(--gap); }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--surface { background: var(--surface); }
.section--accent { background: var(--accent); color: var(--accent-ink); }

/* ---------- маркировки на демото */
.todo { font-family: var(--f-display); font-weight: 600; font-size: var(--s-small); letter-spacing: 0; line-height: 1.3; padding: 0.15em 0.45em; vertical-align: 0.12em; white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; text-transform: none; }
.todo--fill { background: #ffe14d; color: #1a1400; }
.todo--conf { background: #bfe6ff; color: #06243d; }
html.clean .todo, html.clean .crow__todo { display: none; }

/* ---------- бутони: квадратни, плоски, един цвят */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; font-family: var(--f-display); font-weight: 600; font-size: var(--s-small); letter-spacing: -0.01em; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.btn:active { transform: scale(0.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: var(--surface-2); color: var(--ink); }
.btn--ink { background: var(--accent-ink); color: var(--ink); }
.btn--ink-ghost { background: rgba(11, 28, 46, 0.12); color: var(--accent-ink); }
.btn--sm { min-height: 44px; padding: 0 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #ff8136; }
  .btn--ghost:hover { background: #21405e; }
  .btn--ink:hover { background: #163049; }
  .btn--ink-ghost:hover { background: rgba(11, 28, 46, 0.2); }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; text-decoration: none; }
.link-arrow .ico { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .ico { transform: translateX(5px); } .link-arrow:hover { color: var(--accent); } }
.linklike { text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- хедър */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); padding: 14px var(--m); transition: transform 320ms var(--ease-out), background-color 200ms ease; view-transition-name: header; }
.site-header.is-solid { background: var(--bg); }
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { font-family: var(--f-display); font-weight: 750; font-size: 1.125rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.site-nav { display: flex; gap: clamp(14px, 2vw, 32px); margin-left: auto; }
.site-nav__link { font-family: var(--f-display); font-weight: 500; font-size: 1rem; text-decoration: none; padding: 8px 0; transition: color var(--t-hover) ease; }
.site-nav__link.is-current { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .site-nav__link:hover { color: var(--accent); } }
.open-status { font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); white-space: nowrap; }
.open-status:empty { display: none; }
.is-open-dot::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4fd48a; margin-right: 8px; vertical-align: 0.08em; }
.menu-btn { display: none; font-family: var(--f-display); font-weight: 600; min-height: 44px; padding: 0 4px; margin-left: auto; }
@media (max-width: 1080px) {
  .site-nav, .open-status { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .site-header__book { order: 3; }
}
@media (max-width: 640px) { .site-header__book { display: none; } }

/* ---------- меню на цял екран */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); overflow-y: auto; opacity: 1; transform: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), display 260ms allow-discrete, overlay 260ms allow-discrete; }
.menu::backdrop { background: transparent; }
.menu:not([open]) { opacity: 0; transform: translateY(-12px); transition-duration: 160ms; }
@starting-style { .menu[open] { opacity: 0; transform: translateY(-12px); } }
.menu__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--m); min-height: 72px; }
.menu__close { font-family: var(--f-display); font-weight: 600; min-height: 44px; }
.menu__body { display: grid; grid-template-columns: 7fr 5fr; gap: var(--col-gap); padding: clamp(24px, 6vh, 80px) var(--m) 120px; }
.menu__label { font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); margin-bottom: 16px; }
.menu__svc a { display: block; font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; font-size: clamp(2rem, 1rem + 3vw, 3.5rem); line-height: 1.12; text-decoration: none; padding: 2px 0; transition: color var(--t-hover) ease; }
.menu__pages a { display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--s-lead); text-decoration: none; padding: 6px 0; transition: color var(--t-hover) ease; }
.menu a[aria-current] { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .menu__svc a:hover, .menu__pages a:hover { color: var(--accent); } }
.menu__contact { display: grid; gap: 10px; margin-top: 40px; max-width: 360px; }
@media (max-width: 760px) { .menu__body { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- начало: първият екран */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__top { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); padding-top: clamp(92px, 13vh, 140px); }
.hero__intro { grid-column: 1 / 8; max-width: 640px; }
.hero__title { font-size: var(--s-lead); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 18px; }
.hero__lead { max-width: 40ch; margin-bottom: 26px; }
.hero__todo { margin-top: 14px; font-size: var(--s-small); }
.hero__meta { grid-column: 9 / 13; justify-self: end; text-align: right; }
.rating { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--f-display); }
.rating__num { font-size: var(--s-head); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; }
.rating__txt { text-align: left; font-size: var(--s-small); line-height: 1.3; color: var(--soft); transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .rating:hover .rating__txt { color: var(--ink); } }
.hero__where { margin-top: 18px; font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); line-height: 1.45; }
.hero__word { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; }
.hero__word-in { position: absolute; left: -7vw; bottom: calc(-0.13em); display: block; font-family: var(--f-display); font-weight: 800; font-size: min(46vw, 66svh); line-height: 0.8; letter-spacing: -0.06em; color: var(--accent); white-space: nowrap; transform-origin: 8vw 100%; will-change: transform; }
@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .hero__top { grid-template-columns: 1fr; padding-top: 86px; gap: 0; }
  .hero__intro, .hero__meta { grid-column: 1; }
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding-bottom: 68px; }
  .hero__top { flex: 1 0 auto; align-content: start; }
  .hero__title { font-size: var(--s-lead); }
  .rating__txt { white-space: nowrap; }
  .hero__word { position: relative; height: 38vw; flex: none; margin-top: 28px; overflow: hidden; }
  .hero__lead { margin-bottom: 20px; }
  .hero__meta { justify-self: start; text-align: left; margin-top: 18px; display: flex; gap: 18px; align-items: center; }
  .rating__num { font-size: 2.5rem; }
  .hero__where { margin: 0; }
  .hero__word-in { font-size: 50vw; left: -6vw; bottom: -0.13em; }
  .hero .actions { display: none; }
}
@media (max-height: 760px) and (min-width: 761px) { .hero__word-in { font-size: min(46vw, 58svh); } .hero__top { padding-top: 92px; } }

/* ---------- отзиви като таблица */
.proof__title { font-size: var(--s-head); display: grid; margin-bottom: 72px; }
.proof__title > span { display: block; }
.proof__indent { padding-left: calc((100% + var(--col-gap)) / 12 * 2); }
.proof__table { width: 100%; border-collapse: collapse; font-size: var(--s-body); }
.proof__table th { font-family: var(--f-display); font-weight: 500; font-size: var(--s-small); color: var(--soft); text-align: left; padding: 0 16px 14px; }
.proof__table td { padding: 16px; vertical-align: top; }
.proof__table tbody tr:nth-child(odd) { background: var(--surface); }
.proof__table td:first-child { width: 58%; font-family: var(--f-display); font-weight: 500; font-size: var(--s-lead); letter-spacing: -0.02em; line-height: 1.2; }
.proof__table td.r, .proof__table th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proof__foot { margin-top: 32px; }
@media (max-width: 760px) {
  .proof__title { margin-bottom: 40px; }
  .proof__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .proof__table, .proof__table tbody, .proof__table tr, .proof__table td { display: block; width: auto !important; }
  .proof__table tr { padding: 16px; }
  .proof__table td { padding: 0; text-align: left !important; }
  .proof__table td.soft { display: inline; font-size: var(--s-small); }
  .proof__table td.r { display: inline; font-size: var(--s-small); color: var(--soft); }
  .proof__table td.r::before { content: ' · '; }
  .proof__table td:first-child { margin-bottom: 6px; }
}

/* ---------- живото нещо: симптом → услуга */
.picker__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--col-gap); align-items: start; }
.picker__head { grid-column: 1 / 7; }
.picker__title { font-size: var(--s-head); margin-bottom: 24px; }
.picker__head p { max-width: 40ch; }
.picker__chips { grid-column: 1 / 7; grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--paper-2); color: var(--paper-ink); font-family: var(--f-display); font-weight: 500; text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed='true'] { background: var(--paper-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .chip:hover:not([aria-pressed='true']) { background: #d4c9b6; } }
.picker__out { grid-column: 8 / 13; grid-row: 1 / 3; align-self: stretch; background: var(--paper-ink); color: var(--paper); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 380px; }
.picker__svc { font-family: var(--f-display); font-weight: 700; font-size: var(--s-head); letter-spacing: -0.04em; line-height: 1; }
.picker__svc a { text-decoration: none; display: inline; }
.picker__svc .ico { display: inline-block; vertical-align: -0.05em; margin-left: 0.15em; width: 0.8em; height: 0.8em; color: var(--accent); }
.picker__first { font-size: var(--s-body); max-width: 42ch; }
.picker__first b { font-family: var(--f-display); font-weight: 600; }
.picker__out.is-swap .picker__svc, .picker__out.is-swap .picker__first { animation: swap 380ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) {
  .picker__head, .picker__chips, .picker__out { grid-column: 1 / -1; grid-row: auto; }
  .picker__out { min-height: 0; }
}

/* ---------- услуги: огромни редове */
.svc__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; margin-bottom: 56px; }
.svc__title { grid-column: 1 / 7; font-size: var(--s-head); }
.svc__title--sm { font-size: var(--s-head); }
.svc__head p { grid-column: 8 / 13; max-width: 44ch; }
.svc__list { padding-inline: var(--m); }
.svc__row { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 24px; padding: clamp(10px, 1.2vw, 18px) 0; text-decoration: none; }
.svc__todo { padding-inline: var(--m); margin-top: 28px; }
.svc__name { font-family: var(--f-display); font-weight: 700; font-size: var(--s-head); letter-spacing: -0.045em; line-height: 1; transition: transform var(--t-ui) var(--ease-out), color var(--t-hover) ease; }
.svc__hint { font-family: var(--f-display); font-weight: 400; font-size: var(--s-lead); line-height: 1.2; color: var(--soft); text-align: right; transition: color var(--t-hover) ease; }
.svc__row .ico { width: clamp(24px, 2.4vw, 40px); height: clamp(24px, 2.4vw, 40px); align-self: center; color: var(--accent); transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc__row:hover .svc__name { color: var(--accent); transform: translateX(14px); }
  .svc__row:hover .svc__hint { color: var(--ink); }
  .svc__row:hover .ico { transform: translateX(6px); }
}
.svc__list--sm .svc__name { font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); letter-spacing: -0.035em; }
.svc__preview { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(220px, 20vw, 320px); aspect-ratio: 4 / 5; pointer-events: none; opacity: 0; visibility: hidden; overflow: hidden; }
.svc__pimg { position: absolute; inset: 0; opacity: 0; transition: opacity 220ms ease; }
.svc__pimg.is-on { opacity: 1; }
.svc__pimg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .svc__head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .svc__title, .svc__head p { grid-column: 1; }
  .svc__row { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; }
  .svc__name { font-size: var(--s-head); }
  .svc__hint { grid-column: 1; grid-row: 2; text-align: left; }
  .svc__row .ico { grid-column: 2; grid-row: 1 / 3; }
  .svc__list--sm .svc__name { font-size: var(--s-lead); }
}

/* ---------- „Стои“ → „Върви“ */
.story { overflow: hidden; padding-top: var(--gap); }
.story__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: start; }
.story__title { grid-column: 1 / 7; font-size: var(--s-head); }
.story__text { grid-column: 7 / 13; max-width: 48ch; font-size: var(--s-body); }
.story__src { font-style: italic; }
.story__text a { font-weight: 600; }
.story__pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--col-gap); padding-inline: var(--m); margin-top: 12vh; }
.story__spec { padding-bottom: clamp(40px, 5vw, 80px); }
.story__word { display: block; font-family: var(--f-display); font-size: clamp(120px, 15vw, 300px); line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; }
.story__word--idle { font-weight: 200; }
.story__word--go { font-weight: 900; }
@media (max-width: 760px) {
  .story__head { grid-template-columns: 1fr; gap: 20px; }
  .story__title, .story__text { grid-column: 1; }
  .story__pair { grid-template-columns: 1fr; gap: 0; margin-top: 48px; padding: 0; }
  .story__spec { padding: 28px var(--m) 32px; }
  .story__spec--go { background: var(--accent-ink); color: var(--accent); }
  .story__word { font-size: 24vw; }
}

/* ---------- прозорец към цял екран */
.window { position: relative; height: 100svh; background: var(--bg); }
.window__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.window__frame { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.window__frame img { width: 100%; height: 100%; object-fit: cover; }
.window__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: var(--ink); }
.window__panel { display: inline-block; max-width: min(640px, 100%); background: var(--bg); padding: 28px 32px 0 var(--m); margin-left: calc(var(--m) * -1); }
.window__frame video { width: 100%; height: 100%; object-fit: cover; }
.window__title { font-size: var(--s-head); margin-bottom: 14px; }
.js .window { height: 220svh; }
@media (prefers-reduced-motion: reduce) { .js .window { height: 100svh; } }
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) { .js .window { height: 170svh; } }

/* ---------- работна карта */
.how__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: start; }
.how__head { grid-column: 1 / 6; }
.how__title { font-size: var(--s-head); margin-bottom: 24px; }
.how__head p { max-width: 36ch; }
.slip-slot { grid-column: 7 / 12; overflow: clip; padding-bottom: 8px; }
.slip { --zz: 14px; background: var(--paper); color: var(--paper-ink); padding: 26px 28px calc(36px + var(--zz)); clip-path: var(--zigzag); font-size: var(--s-body); font-variant-numeric: tabular-nums; max-width: 480px; }
.slip__top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: var(--s-small); padding-bottom: 6px; }
.slip__top span:last-child { font-weight: 500; color: var(--paper-soft); }
.slip__group { font-family: var(--f-display); font-weight: 700; margin: 26px 0 6px; }
.slip__rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; padding: 5px 0; }
.slip__rows i { overflow: hidden; white-space: nowrap; color: #8a8f93; font-style: normal; letter-spacing: 0.18em; }
.slip__rows i::after { content: '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .'; }
.slip__rows b { font-family: var(--f-display); font-weight: 600; }
.slip__result { margin: 30px -28px 0; min-height: 48px; padding: 12px 28px; background: var(--accent); color: var(--accent-ink); font-family: var(--f-display); font-weight: 600; }
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 40px; }
  .how__head, .slip-slot { grid-column: 1; position: static; }
  .slip { max-width: none; padding-inline: 20px; }
  .slip__result { margin-inline: -20px; padding-inline: 20px; }
}

/* ---------- кои сме */
.about__title { font-size: var(--s-head); margin-bottom: 48px; }
.about__text { columns: 2; column-gap: var(--col-gap); font-size: var(--s-lead); line-height: 1.24; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.about__text strong { font-weight: 600; }
.hl { padding: 0 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--a { background: var(--accent); color: var(--accent-ink); }
.hl--b { background: var(--paper); color: var(--paper-ink); }
.hl--c { background: var(--sky); color: var(--accent-ink); }
.hl--strong { background: var(--accent); color: var(--accent-ink); text-decoration: none; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; }
.about__end { margin-top: 28px; break-inside: avoid; }
@media (max-width: 900px) { .about__text { columns: 1; text-align: left; } }
@media (max-width: 760px) {
  .about__title { margin-bottom: 28px; }
  .about__text { columns: 1; text-align: left; line-height: 1.3; }
  .about__end a { display: block; padding: 14px 16px; }
}

/* ---------- контакт като редове */
.contact { background: var(--bg); }
.crow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 0.5em; min-height: clamp(110px, 10.5vw, 160px); padding: 24px var(--m) 18px; margin: 0; font-family: var(--f-display); font-weight: 400; font-size: var(--s-head); letter-spacing: -0.04em; line-height: 1; text-decoration: none; }
.contact__rows li:nth-child(odd) { background: var(--surface); }
.contact__rows a.crow { transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .contact__rows a.crow:hover { color: var(--accent); } }
.crow__todo { background: #ffe14d; color: #1a1400; padding: 0 0.15em; }
.crow--go { align-items: center; }
.round { display: inline-grid; place-items: center; width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--accent); color: var(--accent-ink); margin-left: 0.15em; transition: transform var(--t-ui) var(--ease-out); }
.round .ico { width: 45%; height: 45%; }
@media (hover: hover) and (pointer: fine) { .crow--go:hover .round { transform: translateX(8px); } }
@media (max-width: 760px) {
  .crow { font-size: 8.4vw; min-height: 84px; padding: 16px var(--m) 14px; }
  .contact__rows li:last-child { background: var(--accent); }
  .contact__rows li:last-child .crow { color: var(--accent-ink); justify-content: space-between; }
  .contact__rows li:last-child .round { background: var(--accent-ink); color: var(--accent); width: 56px; height: 56px; }
}

/* ---------- долна част: завеса */
.site-footer { position: sticky; bottom: 0; z-index: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; background: var(--paper); color: var(--paper-ink); padding: 40px var(--m) 20px; font-family: var(--f-display); font-size: 0.9375rem; line-height: 1.45; }
.site-footer a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover, .site-footer .linklike:hover { color: #c24a00; } }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); }
.site-footer__cols p { margin: 0 0 4px; color: var(--paper-soft); }
.site-footer__cols .f-strong { color: var(--paper-ink); font-weight: 650; margin-bottom: 10px; }
.site-footer__mark { align-self: end; padding-top: 32px; }
.site-footer__mark svg { width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; }
.site-footer__mark text { font-family: var(--f-display); font-weight: 800; font-size: 156px; letter-spacing: -6px; fill: var(--paper-ink); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 16px; font-size: var(--s-small); color: var(--paper-soft); }
.site-footer__legal span { margin-right: auto; }
@media (max-width: 760px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .site-footer__cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

/* ---------- лента на телефон */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--m) calc(8px + env(safe-area-inset-bottom)); background: var(--bg); view-transition-name: mbar; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-family: var(--f-display); font-weight: 600; text-decoration: none; transition: transform var(--t-press) var(--ease-out); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
  .mbar a:active { transform: scale(0.97); }
  .mbar__call { background: var(--paper); color: var(--paper-ink); }
  .mbar__viber { background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: 0; }
}

/* ---------- страница на услуга */
.shero { padding-top: clamp(96px, 14vh, 150px); padding-bottom: var(--gap); }
.shero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; }
.shero__intro { grid-column: 1 / 7; padding-bottom: 8px; }
.shero__title { font-size: var(--s-head); margin-bottom: 28px; max-width: 12ch; }
.shero__lead { font-size: var(--s-lead); line-height: 1.3; max-width: 38ch; margin-bottom: 32px; }
.shero__where { margin-top: 20px; font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); }
.shero__pic { grid-column: 7 / 13; margin: 0; }
.frame { overflow: hidden; position: relative; }
.shero__pic .frame { height: min(78svh, 760px); }
.shero__pic video { width: 100%; height: 100%; object-fit: cover; }
.frame img { width: 100%; height: 112%; object-fit: cover; }
@media (max-width: 760px), (pointer: coarse) { .frame img { height: 100%; } }
figcaption { margin-top: 10px; font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); }
@media (max-width: 900px) {
  .shero__grid { grid-template-columns: 1fr; gap: 40px; }
  .shero__intro, .shero__pic { grid-column: 1; }
  .shero__pic .frame { height: 62svh; }
  .shero__pic { margin-inline: calc(var(--m) * -1); }
  .shero__pic figcaption { padding-inline: var(--m); }
}

.when__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.when__title { grid-column: 1 / 5; font-size: var(--s-head); }
.when__list { grid-column: 5 / 13; }
.when__list li { font-family: var(--f-display); font-weight: 500; font-size: var(--s-lead); letter-spacing: -0.02em; line-height: 1.2; padding: 18px 20px; }
.when__list li:nth-child(odd) { background: var(--surface); }
@media (max-width: 1080px) { .when__title { grid-column: 1 / 6; } .when__list { grid-column: 6 / 13; } }
@media (max-width: 700px) { .when__grid { grid-template-columns: 1fr; gap: 32px; } .when__title, .when__list { grid-column: 1; } .when__list li { padding: 14px 16px; } }

.what__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; margin-bottom: 56px; }
.what__title { grid-column: 1 / 7; font-size: var(--s-head); }
.what__head p { grid-column: 8 / 13; }
.what__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px var(--col-gap); margin: 0; }
.what__item { display: grid; grid-template-columns: 1fr; gap: 10px; padding-right: 8%; }
.what__item dt { font-family: var(--f-display); font-weight: 650; font-size: var(--s-lead); letter-spacing: -0.02em; line-height: 1.15; }
.what__item dd { margin: 0; max-width: 46ch; }
.what__extra { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); margin-top: 88px; padding-top: 0; scroll-margin-top: 100px; }
.what__xtitle { grid-column: 1 / 5; font-size: var(--s-head); color: var(--accent); }
.what__extra p { grid-column: 5 / 12; font-size: var(--s-lead); line-height: 1.32; }
@media (max-width: 1080px) { .what__title { grid-column: 1 / 7; } .what__head p { grid-column: 7 / 13; } }
@media (max-width: 700px) {
  .what__head, .what__extra { grid-template-columns: 1fr; margin-bottom: 36px; }
  .what__title, .what__head p, .what__xtitle, .what__extra p { grid-column: 1; }
  .what__list { grid-template-columns: 1fr; gap: 32px; }
  .what__extra { margin-top: 64px; gap: 20px; }
}

.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.faq__title { grid-column: 1 / 5; font-size: var(--s-head); }
.faq__list { grid-column: 5 / 13; }
.faq__item { background: var(--surface); margin-bottom: 8px; }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; min-height: 64px; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: var(--s-lead); letter-spacing: -0.02em; line-height: 1.2; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--accent); transition: transform var(--t-ui) var(--ease-out); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__a { padding: 0 24px 24px; max-width: 62ch; }
.faq__item[open] .faq__a { animation: swap 320ms var(--ease-out); }
@media (max-width: 700px) { .faq__grid { grid-template-columns: 1fr; gap: 28px; } .faq__title, .faq__list { grid-column: 1; } .faq__item summary { padding: 18px 16px; } .faq__a { padding: 0 16px 20px; } }

.cta { padding-block: clamp(80px, 9vw, 150px); }
.cta__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; }
.cta__title { grid-column: 1 / 7; font-size: var(--s-head); }
.cta__side { grid-column: 8 / 13; }
.cta__side p { margin-bottom: 24px; max-width: 42ch; }
@media (max-width: 1080px) { .cta__title { grid-column: 1 / 6; } .cta__side { grid-column: 7 / 13; } }
@media (max-width: 700px) { .cta__grid { grid-template-columns: 1fr; gap: 24px; } .cta__title, .cta__side { grid-column: 1; } }

/* ---------- общ горен блок на страница */
.phero { padding-top: clamp(120px, 20vh, 220px); padding-bottom: clamp(64px, 8vw, 120px); }
.phero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; }
.phero__title { grid-column: 1 / 9; font-size: clamp(3rem, 1.2rem + 6.2vw, 7.5rem); letter-spacing: -0.045em; line-height: 0.92; max-width: 13ch; }
.phero__side { grid-column: 9 / 13; }
.phero__lead { font-size: var(--s-body); }
.phero__side p { max-width: 44ch; }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; gap: 28px; } .phero__title, .phero__side { grid-column: 1; } .phero__title { font-size: clamp(2.5rem, 11vw, 3.5rem); } }

/* ---------- как работим: стъпки */
.steps__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.steps__words { grid-column: 1 / 7; position: sticky; top: 18vh; align-self: start; }
.steps__word { font-family: var(--f-display); font-weight: 700; font-size: var(--s-head); letter-spacing: -0.045em; line-height: 1.04; opacity: 0.22; transition: opacity 300ms ease, color 300ms ease; }
.steps__word.is-on { opacity: 1; color: var(--accent); }
.steps__list { grid-column: 8 / 13; }
.step { min-height: 62svh; padding-bottom: 64px; display: flex; flex-direction: column; justify-content: center; }
.step__title { font-size: var(--s-lead); letter-spacing: -0.02em; margin-bottom: 16px; }
.step p { font-size: var(--s-body); max-width: 44ch; }
.step__who { font-family: var(--f-display); font-size: var(--s-body); color: var(--soft); margin: -4px 0 14px; }
.step__who b { color: var(--ink); }
@media (max-width: 900px) {
  .steps__grid { grid-template-columns: 1fr; }
  .steps__words { display: none; }
  .steps__list { grid-column: 1; }
  .step { min-height: 0; padding: 0 0 48px; }
  .step p { max-width: none; }
  .step__title { font-size: var(--s-head); color: var(--accent); }
}
.nots { padding-block: var(--gap); }
.nots__title { font-size: var(--s-lead); margin-bottom: 40px; }
.nots__list li { font-family: var(--f-display); font-weight: 700; font-size: var(--s-head); letter-spacing: -0.045em; line-height: 1; padding: 0.12em 0; }

.strip { overflow: hidden; padding-block: 0 var(--gap); }
.strip__track { display: flex; gap: var(--col-gap); width: max-content; padding-inline: var(--m); will-change: transform; }
.strip__item { margin: 0; width: clamp(260px, 30vw, 460px); }
.strip__item .frame { aspect-ratio: 4 / 5; }
.strip__item .frame img { height: 100%; }

/* ---------- за нас */
.ahero { padding-top: clamp(110px, 16vh, 180px); padding-bottom: var(--gap); }
.ahero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; }
.ahero__intro { grid-column: 1 / 8; }
.ahero__title { font-size: var(--s-head); letter-spacing: -0.045em; line-height: 0.96; margin-bottom: 32px; max-width: 16ch; }
.ahero__lead { font-size: var(--s-lead); line-height: 1.3; max-width: 40ch; }
.slot { margin: 0; }
.slot--tall { grid-column: 9 / 13; }
.slot__fill { display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--surface-2); color: var(--soft); font-family: var(--f-display); text-align: center; padding: 24px; }
.slot__fill--sq { aspect-ratio: 1; }
@media (max-width: 900px) { .ahero__grid { grid-template-columns: 1fr; gap: 40px; } .ahero__intro, .slot--tall { grid-column: 1; } }
.facts__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.facts__title { grid-column: 1 / 5; font-size: var(--s-head); }
.facts__list { grid-column: 5 / 13; }
.facts__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 20px; }
.facts__list li:nth-child(odd) { background: var(--surface); }
.facts__list span { font-family: var(--f-display); font-weight: 500; font-size: var(--s-lead); letter-spacing: -0.02em; line-height: 1.2; }
.facts__list b { font-family: var(--f-display); font-weight: 500; font-size: var(--s-small); color: var(--soft); text-align: right; }
@media (max-width: 900px) { .facts__grid { grid-template-columns: 1fr; gap: 28px; } .facts__title, .facts__list { grid-column: 1; } .facts__list li { flex-direction: column; gap: 6px; padding: 14px 16px; } .facts__list b { text-align: left; } }
.story-text__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.story-text__title { grid-column: 1 / 5; font-size: var(--s-head); }
.story-text__body { grid-column: 5 / 12; font-size: var(--s-lead); line-height: 1.32; }
@media (max-width: 900px) { .story-text__grid { grid-template-columns: 1fr; gap: 24px; } .story-text__title, .story-text__body { grid-column: 1; } }
.team__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: end; margin-bottom: 48px; }
.team__title { grid-column: 1 / 7; font-size: var(--s-head); }
.team__head p { grid-column: 8 / 13; }
.team__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.team__name { margin: 14px 0 0; font-family: var(--f-display); font-weight: 600; }
.team__role { color: var(--soft); font-family: var(--f-display); font-size: var(--s-small); }
@media (max-width: 760px) { .team__head { grid-template-columns: 1fr; gap: 16px; } .team__title, .team__head p { grid-column: 1; } .team__list { grid-template-columns: 1fr 1fr; } .team__item:first-child { grid-column: 1 / -1; } }
.duo { padding-top: 0; }
.duo__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); align-items: start; }
.duo__grid figure { margin: 0; }
.duo__a { grid-column: 1 / 8; }
.duo__a .frame { aspect-ratio: 4 / 3; }
.duo__b { grid-column: 9 / 13; margin-top: 18vh !important; }
.duo__b .frame { aspect-ratio: 4 / 5; }
.duo .frame img { height: 112%; }
@media (max-width: 760px) { .duo__grid { grid-template-columns: 1fr; gap: 32px; } .duo__a, .duo__b { grid-column: 1; margin-top: 0 !important; } }

/* ---------- снимки */
.gallery { padding-top: 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px var(--col-gap); align-items: start; }
.gallery__item { margin: 0; }
.gallery__btn { display: block; width: 100%; overflow: hidden; cursor: zoom-in; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-expo); }
@media (hover: hover) and (pointer: fine) { .gallery__btn:hover img { transform: scale(1.04); } }
.gallery__cap { margin-top: 10px; }
.gallery__item--1 { grid-column: 1 / 8; } .gallery__item--1 .gallery__btn { aspect-ratio: 3 / 2; }
.gallery__item--2 { grid-column: 9 / 13; margin-top: 12vh; } .gallery__item--2 .gallery__btn { aspect-ratio: 4 / 5; }
.gallery__item--3 { grid-column: 1 / 6; } .gallery__item--3 .gallery__btn { aspect-ratio: 4 / 5; }
.gallery__item--4 { grid-column: 6 / 13; margin-top: 8vh; } .gallery__item--4 .gallery__btn { aspect-ratio: 3 / 2; }
.gallery__item--5 { grid-column: 2 / 7; } .gallery__item--5 .gallery__btn { aspect-ratio: 1; }
.gallery__item--6 { grid-column: 8 / 13; margin-top: 14vh; } .gallery__item--6 .gallery__btn { aspect-ratio: 1; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .gallery__item { grid-column: auto !important; margin-top: 0 !important; }
  .gallery__item--1, .gallery__item--4 { grid-column: 1 / -1 !important; }
  .gallery__item .gallery__btn { aspect-ratio: 4 / 5 !important; }
  .gallery__item--1 .gallery__btn, .gallery__item--4 .gallery__btn { aspect-ratio: 3 / 2 !important; }
}
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 12, 20, 0.96); display: none; place-items: center; opacity: 1; transition: opacity 200ms ease, display 200ms allow-discrete, overlay 200ms allow-discrete; }
.lightbox[open] { display: grid; }
.lightbox:not([open]) { opacity: 0; transition-duration: 140ms; }
@starting-style { .lightbox[open] { opacity: 0; } .lightbox[open] img { transform: scale(0.96); } }
.lightbox img { max-width: calc(100vw - 2 * var(--m)); max-height: calc(100svh - 120px); object-fit: contain; transition: transform 260ms var(--ease-out); }
.lightbox::backdrop { background: transparent; }
.lightbox__close { position: absolute; top: 14px; right: var(--m); min-height: 44px; font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.credits__title { font-size: var(--s-head); margin-bottom: 24px; }
.credits__lead { max-width: 60ch; margin-bottom: 40px; }
.credits__table { width: 100%; border-collapse: collapse; font-size: var(--s-small); font-family: var(--f-display); }
.credits__table th, .credits__table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid #27425e; vertical-align: top; }
.credits__table th { color: var(--soft); font-weight: 500; }
@media (max-width: 760px) { .credits__table th:nth-child(4), .credits__table td:nth-child(4) { display: none; } }

/* ---------- контакт */
.khero { padding-top: clamp(110px, 16vh, 170px); padding-bottom: var(--gap); }
.khero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px var(--col-gap); align-items: start; }
.khero__intro { grid-column: 1 / 7; }
.khero__intro p { max-width: 60ch; }
.khero__title { font-size: var(--s-head); margin-bottom: 24px; max-width: 10ch; }
.khero__phone { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.25rem, 1rem + 3.4vw, 4.5rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 28px; }
.khero__phone a { text-decoration: none; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .khero__phone a:hover { color: var(--accent); } }
.khero__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); margin-top: 56px; }
.k-h { font-size: var(--s-body); letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.2; }
.hours { border-collapse: collapse; font-family: var(--f-display); font-size: 1rem; width: 100%; }
.hours th, .hours td { text-align: left; padding: 6px 12px 6px 0; font-weight: 400; vertical-align: top; }
.hours td { white-space: nowrap; }
.hours tr.is-today { color: var(--accent); }
.hours tr.is-today th { font-weight: 600; }
.open-now { margin-top: 12px; font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); }
.form { grid-column: 8 / 13; background: var(--surface); padding: clamp(24px, 3vw, 40px); }
.form__title { font-size: var(--s-lead); letter-spacing: -0.02em; margin-bottom: 10px; }
.form__lead { color: var(--soft); font-size: 1rem; margin-bottom: 24px; }
.form__seg { border: 0; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.form__seg legend { font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); margin-bottom: 8px; padding: 0; }
.form__seg label { position: relative; }
.form__seg input { position: absolute; opacity: 0; inset: 0; }
.form__seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--surface-2); font-family: var(--f-display); font-weight: 500; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.form__seg input:checked + span { background: var(--ink); color: var(--bg); }
.form__seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--bg); color: var(--ink); border: 1px solid #2a4562; border-radius: 0; font-family: var(--f-display); font-size: 1rem; transition: border-color var(--t-hover) ease; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #6f8093; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field__err { display: none; font-style: normal; font-family: var(--f-display); font-size: var(--s-small); color: #ff9a5c; margin-top: 6px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff9a5c; }
.field.is-invalid .field__err { display: block; }
.form__row3 { display: grid; grid-template-columns: 1fr 1fr 0.7fr; gap: 10px; }
.form__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 18px; }
.form__note { font-size: var(--s-small); color: var(--soft); margin-bottom: 8px; max-width: 60ch; }
@media (max-width: 900px) {
  .khero__grid { grid-template-columns: 1fr; }
  .khero__intro, .form { grid-column: 1; }
  .form { margin-inline: calc(var(--m) * -1); }
}
@media (max-width: 560px) { .khero__cols { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; } .form__row3 { grid-template-columns: 1fr 1fr; } .form__row3 .field:last-child { grid-column: 1 / -1; } .form__row2 { grid-template-columns: 1fr; } .form__actions .btn { flex: 1 1 100%; } }
.map { padding-block: clamp(64px, 8vw, 120px) 0; }
.map__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.map__title { font-size: var(--s-head); }
.map__box { position: relative; height: min(70svh, 640px); background: var(--surface-2); }
.map__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.3); }
.map__load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.map__note { font-family: var(--f-display); font-size: var(--s-small); color: var(--soft); max-width: 34ch; }

/* ---------- поверителност, 404 */
.legal { padding: clamp(120px, 18vh, 200px) 0 var(--gap); min-height: 80svh; }
.legal__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.legal__title { grid-column: 1 / 6; font-size: var(--s-head); }
.legal__body { grid-column: 6 / 12; max-width: 64ch; }
.legal__body h2 { font-size: var(--s-lead); letter-spacing: -0.02em; margin: 44px 0 12px; line-height: 1.15; }
.legal__lead { font-size: var(--s-lead); line-height: 1.3; }
@media (max-width: 900px) { .legal__grid { grid-template-columns: 1fr; gap: 32px; } .legal__title, .legal__body { grid-column: 1; } }

/* ---------- движение: скритите състояния важат само с JS и без „намалено движение“ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-r], .js [data-row], .js [data-hero-in], .js [data-hero-pic] { opacity: 0; }
  .js:not(.motion) [data-r], .js:not(.motion) [data-row], .js:not(.motion) [data-hero-in], .js:not(.motion) [data-hero-pic] { animation: show-anyway 0.4s 3s forwards; }
  @keyframes show-anyway { to { opacity: 1; } }
  .js.no-motion [data-r], .js.no-motion [data-row], .js.no-motion [data-hero-in], .js.no-motion [data-hero-pic] { opacity: 1; }
}

/* ---------- плавни преходи между страниците */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 200ms var(--ease-exit) both; }
::view-transition-new(root) { animation: vt-in 460ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 120ms; animation-name: vt-fade; }
  @keyframes vt-fade { from { opacity: 0; } }
  *, *::before, *::after { scroll-behavior: auto !important; }
  .svc__row .svc__name, .btn, .chip { transition-property: color, background-color !important; }
}

/* „За нас“: втори ред снимки, огледален */
.duo__grid--flip { margin-top: var(--gap); }
.duo__grid--flip .duo__b { grid-column: 1 / 5; margin-top: 0 !important; }
.duo__grid--flip .duo__a { grid-column: 6 / 13; margin-top: 14vh; }
@media (max-width: 760px) { .duo__grid--flip { margin-top: 32px; } .duo__grid--flip .duo__a { margin-top: 0; } }

.slip { --zigzag: polygon(0 0, 100% 0, 100.000% calc(100% - var(--zz)), 96.154% 100%, 92.308% calc(100% - var(--zz)), 88.462% 100%, 84.615% calc(100% - var(--zz)), 80.769% 100%, 76.923% calc(100% - var(--zz)), 73.077% 100%, 69.231% calc(100% - var(--zz)), 65.385% 100%, 61.538% calc(100% - var(--zz)), 57.692% 100%, 53.846% calc(100% - var(--zz)), 50.000% 100%, 46.154% calc(100% - var(--zz)), 42.308% 100%, 38.462% calc(100% - var(--zz)), 34.615% 100%, 30.769% calc(100% - var(--zz)), 26.923% 100%, 23.077% calc(100% - var(--zz)), 19.231% 100%, 15.385% calc(100% - var(--zz)), 11.538% 100%, 7.692% calc(100% - var(--zz)), 3.846% 100%, 0.000% calc(100% - var(--zz))); }
