/* FelixBG: ръчно писан CSS, без framework.
   Концепция: „Магазинът се сглобява“ (виж kod/build.py). */
:root {
  --navy: #14213D;
  --ink: #0E1830;
  --orange: #FF6A13;
  --orange-d: #E85A06;
  --muted: #56617A;
  --line: #DDE2EA;
  --bg: #FFFFFF;
  --soft: #F3F5F8;
  --on-dark-2: #C4CCDB;
  --err: #C62828;
  --ok: #1B7F4B;
  --r: 8px;
  --r-lg: 18px;
  --bar-h: 60px;
  --bar-top: 12px;
  --font: "Onest", "Onest Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Onest, локално от /fonts (без заявки към Google) */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/onest-cyrillic.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: 400 800; font-display: swap; src: url(../fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ширините на текста са в em (1ch на Onest = 0.66em), за да не зависят от шрифта при зареждане.
   резервен шрифт с размерите на Onest, за да не се размества страницата при зареждане (CLS) */
@font-face { font-family: 'Onest Fallback'; src: local('Arial'), local('ArialMT'), local('Helvetica'); size-adjust: 103%; ascent-override: 94%; descent-override: 29%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + var(--bar-top) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec-dark { background: var(--navy); color: #fff; }
.sec-dark h2 { color: #fff; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 30.36em; margin-top: 18px; }
.sec-dark .lead { color: var(--on-dark-2); }
.num { display: block; font-size: .95rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.ic { width: 18px; height: 18px; flex: none; }

/* бутони: 8 px радиус, оранжево с тъмносин текст (контраст 5.7:1) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r); border: 2px solid var(--orange);
  background: var(--orange); color: var(--navy); font: 700 1.0625rem/1 var(--font); text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, transform .1s ease-out; touch-action: manipulation;
}
.btn:hover { background: var(--orange-d); border-color: var(--orange-d); }
.btn:active { transform: scale(.97); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-quiet { background: transparent; border-color: rgba(20, 33, 61, .25); color: var(--navy); }
.btn-quiet:hover { background: transparent; border-color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-wide { width: 100%; }

/* лента (Starlink): един заоблен бар, лого вляво, едно действие вдясно */
.bar-wrap { position: sticky; top: var(--bar-top); z-index: 50; padding-inline: 12px; }
.bar {
  width: min(1200px, 100%); margin: var(--bar-top) auto 0; height: var(--bar-h);
  display: flex; align-items: center; gap: 24px; padding: 0 9px 0 18px;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(20, 33, 61, .07); border-radius: 14px;
}
@media (prefers-reduced-transparency: reduce) { .bar { background: #fff; backdrop-filter: none; } }
.brand img { width: 118px; height: auto; }
.nav { display: none; gap: 26px; margin-left: auto; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 0; }
.nav a:hover { color: var(--navy); }
.lang { margin-left: auto; font-size: .875rem; font-weight: 700; text-decoration: none; color: var(--navy); padding: 10px 8px; min-width: 44px; text-align: center; }
@media (min-width: 1000px) { .nav { display: flex; } .lang { margin-left: 0; } }

/* устройства: лаптоп с браузър и телефон с истински сайт */
.device { position: relative; padding-right: 9%; padding-bottom: 7%; }
.laptop { border-radius: 14px; background: var(--ink); padding: 0 8px 8px; box-shadow: 0 40px 80px -40px rgba(14, 24, 48, .45); }
.browser { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 8px; color: #AEB7C8; font-size: .8rem; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #3A465E; }
.url { flex: 1; max-width: 280px; margin-inline: auto; text-align: center; background: #1F2C4A; border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen { position: relative; overflow: hidden; border-radius: 6px; background: #fff; }
.laptop .screen { aspect-ratio: 16 / 10; }
.scr { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* телефонът е тип iPhone 16: тънка черна рамка (~1.7% от ширината), ъгли ~13.5%, Dynamic Island, лента за статус */
.phone {
  position: absolute; right: 0; bottom: 0; width: 23%; padding: .4%; border-radius: 13.5% / 6.2%; background: #0B0B0C;
  box-shadow: 0 0 0 1px #5A5A5E, 0 30px 50px -22px rgba(14, 24, 48, .55);
  container-type: inline-size;
}
.phone .screen { aspect-ratio: 9 / 19.5; border-radius: 12.5% / 5.8%; background: var(--sb, #fff); }
.phone .screen::before { content: ""; position: absolute; z-index: 2; top: 1.6%; left: 50%; width: 31%; height: 4.1%; transform: translateX(-50%); border-radius: 99px; background: #000; }
.sb { position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 6.2%; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 13%; color: var(--sb-ink, #000); font: 600 5.2cqw/1 -apple-system, "SF Pro Text", var(--font); }
.sb svg { width: 19cqw; height: auto; }
.phone .screen .scr { position: absolute; left: 0; bottom: 0; height: 93.8%; }

/* първи екран (Paste): заглавие, един ред, действие, продуктът, доказателство */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); text-align: center; overflow: hidden; }
.bg-arrow { position: absolute; left: 50%; top: 52%; width: min(1500px, 190vw); transform: translateX(-46%); color: var(--soft); z-index: -1; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.5rem); line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: var(--navy); max-width: 8.58em; margin-inline: auto; }
.hero h1 span { color: var(--muted); }
.hero-sub { font-size: clamp(1.125rem, 1.7vw, 1.35rem); line-height: 1.45; color: var(--muted); max-width: 26.4em; margin: 22px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.device-hero { width: min(900px, 100%); margin: clamp(48px, 6vw, 72px) auto 0; text-align: left; }
.proof { margin-top: 28px; font-size: .95rem; color: var(--muted); }
.proof strong { color: var(--navy); margin-right: 6px; }

/* сглобяване (сигнатурата): лаптопът стои, стъпките минават покрай него */
.build { background: var(--soft); padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.build-in { position: relative; margin-top: 40px; view-timeline-name: --build; }
.build-stage { position: sticky; top: calc(var(--bar-h) + var(--bar-top) + 12px); z-index: 2; background: var(--soft); padding: 8px 0 14px; display: grid; gap: 18px; }
.device-build { width: min(620px, 100%); }
.stack .layer { position: absolute; inset: 0; }
.stack .layer-1 { position: relative; height: 100%; }
.edge { position: absolute; top: 0; bottom: 0; left: 100%; width: 3px; background: var(--orange); opacity: 0; }
/* карти върху екрана: бележки (01), оферта (03) */
.notes, .offer {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 24px 50px -16px rgba(14, 24, 48, .45);
  font-size: clamp(.5rem, 1.05vw, .82rem); line-height: 1.35; color: var(--ink); padding: 3.4% 4%;
}
.card-h { font-weight: 700; font-size: 1.3em; color: var(--navy); letter-spacing: -0.02em; }
.card-h span { display: block; font-size: .72em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.notes-wrap { position: absolute; inset: 0; }
.notes { right: 5%; top: 16%; width: 42%; opacity: 0; }
.notes ul { margin: .7em 0 0; padding: 0; list-style: none; display: grid; gap: .45em; }
.notes li { padding-left: 1.3em; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .2em; width: .8em; height: .8em; border-radius: 3px; border: 1.5px solid var(--orange); }
.offer { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48%; opacity: 0; }
.offer dl { margin: .9em 0 0; display: grid; gap: .45em; }
.offer dl div { display: flex; justify-content: space-between; gap: 1em; border-bottom: 1px solid var(--line); padding-bottom: .45em; }
.offer dt { color: var(--muted); }
.offer dd { margin: 0; font-weight: 600; text-align: right; }
.offer .offer-price { font-weight: 800; color: var(--navy); }
.offer-ok { display: block; margin-top: .9em; padding: .6em; border-radius: 6px; background: var(--orange); color: var(--navy); text-align: center; font-weight: 700; }
.chip { font-size: .72rem; font-weight: 700; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 99px; padding: 1px 8px; opacity: 0; white-space: nowrap; }
.stage-bar { margin-top: 10px; height: 3px; border-radius: 2px; background: rgba(20, 33, 61, .12); overflow: hidden; }
.stage-bar span { display: block; height: 100%; background: var(--orange); transform-origin: left; }
.live { font-size: .75rem; font-weight: 700; color: #7EE2A8; white-space: nowrap; }
.stage-names { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.caps { display: grid; margin-top: 18px; }
.cap { grid-area: 1 / 1; }
.step-n { font-size: .95rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cap h3, .step h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; color: var(--navy); margin-top: 6px; }
.cap p, .step p { color: var(--muted); max-width: 23.76em; margin-top: 10px; font-size: 1.1rem; }
/* без анимации (reduced motion): стъпките се виждат като обикновен списък, надписите в композицията се крият */
.caps { display: none; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .build-stage { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; top: calc(50svh - 230px); padding: 0; }
  .device-build { width: 100%; }
}

/* движението: CSS scroll-driven, обратимо; без поддръжка JS слага класове s2-s4; при reduced motion: крайното състояние */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stack .layer-2, .stack .layer-3 { animation: wipe linear both; animation-timeline: --build; }
    .stack .layer-2 { animation-range: contain 16% contain 27%; }
    .stack .layer-3 { animation-range: contain 29% contain 40%; }
    .edge { animation: edge linear both; animation-timeline: --build; }
    .edge-2 { animation-range: contain 16% contain 27%; }
    .edge-3 { animation-range: contain 29% contain 40%; }
    .stack .offer { animation: offer linear both; animation-timeline: --build; animation-range: contain 45% contain 72%; }
    .notes-wrap { animation: notes-in linear both; animation-timeline: --build; animation-range: entry 55% contain 3%; }
    .notes { opacity: 1; animation: notes-out linear both; animation-timeline: --build; animation-range: contain 9% contain 16%; }
    .chip { animation: chip linear both; animation-timeline: --build; animation-range: contain 16% contain 80%; }
    .stage-bar span { animation: bar linear both; animation-timeline: --build; animation-range: contain 0% contain 100%; }
    .device-build .layer-4 { animation: rise linear both; animation-timeline: --build; animation-range: contain 72% contain 86%; }
    .device-build .live { animation: show linear both; animation-timeline: --build; animation-range: contain 78% contain 86%; }
    .stage-names li { animation: on linear both; animation-timeline: --build; }
    .stage-names li:nth-child(1) { animation-range: contain -10% contain 20%; }
    .stage-names li:nth-child(2) { animation-range: contain 18% contain 46%; }
    .stage-names li:nth-child(3) { animation-range: contain 44% contain 72%; }
    .stage-names li:nth-child(4) { animation: on-last linear both; animation-timeline: --build; animation-range: contain 70% contain 100%; }
    .caps { display: grid; }
    .steps { display: block; margin: 0; }
    .step { height: 62svh; }
    .step-in { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    /* композицията стои в средата на екрана, без празно отдолу */
    .build-stage { top: max(calc(var(--bar-h) + var(--bar-top) + 12px), calc(50svh - 250px)); }
    @media (min-width: 1000px) { .build-stage { top: max(calc(var(--bar-h) + var(--bar-top) + 12px), calc(50svh - 215px)); } }
    .cap { animation: cap linear both; animation-timeline: --build; }
    .cap-1 { animation-range: contain -10% contain 20%; }
    .cap-2 { animation-range: contain 18% contain 46%; }
    .cap-3 { animation-range: contain 44% contain 72%; }
    .cap-4 { animation: cap-last linear both; animation-timeline: --build; animation-range: contain 70% contain 100%; }
  }
}
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes edge { 0% { left: 0; opacity: 1; } 96% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes rise { from { transform: translateY(24%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes offer { 0% { opacity: 0; transform: translate(-50%, -42%) scale(.96); } 22%, 78% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, -58%) scale(.96); } }
@keyframes notes-in { from { opacity: 0; transform: translateY(6%); } to { opacity: 1; transform: none; } }
@keyframes notes-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6%); } }
@keyframes chip { 0% { opacity: 0; } 8%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bar { from { transform: scaleX(.04); } to { transform: scaleX(1); } }
@keyframes cap { 0%, 100% { opacity: 0; transform: translateY(8px); } 22%, 78% { opacity: 1; transform: none; } }
@keyframes cap-last { 0% { opacity: 0; transform: translateY(8px); } 22%, 100% { opacity: 1; transform: none; } }
@keyframes show { from { opacity: 0; } to { opacity: 1; } }
@keyframes on { 0%, 100% { opacity: .66; } 25%, 75% { opacity: 1; } }
@keyframes on-last { 0% { opacity: .66; } 25%, 100% { opacity: 1; } }

/* резервен вариант с JS (браузъри без scroll timeline) */
.js-stage .layer-2, .js-stage .layer-3 { clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.2, .7, .2, 1); }
.js-stage.s2 .layer-2, .js-stage.s3 .layer-3 { clip-path: inset(0 0 0 0); }
.js-stage .offer, .js-stage .notes, .js-stage .chip { opacity: 0; transition: opacity .4s; }
.js-stage[data-n="1"] .notes, .js-stage[data-n="2"] .chip, .js-stage[data-n="3"] .chip { opacity: 1; }
.js-stage .caps { display: grid; }
.js-stage .cap { opacity: 0; transition: opacity .35s; }
.js-stage[data-n="1"] .cap-1, .js-stage[data-n="2"] .cap-2, .js-stage[data-n="3"] .cap-3, .js-stage[data-n="4"] .cap-4 { opacity: 1; }
.js-stage + .steps { display: block; margin: 0; }
.js-stage + .steps .step { height: 62svh; }
.js-stage + .steps .step-in { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.js-stage .stage-bar span { transition: transform .5s; transform: scaleX(calc(var(--n, 1) / 4)); }
.js-stage[data-n="3"] .offer { opacity: 1; }
.js-stage .layer-4 { opacity: 0; transform: translateY(24%); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js-stage.s4 .layer-4 { opacity: 1; transform: none; }
.js-stage .live { opacity: 0; transition: opacity .4s; }
.js-stage.s4 .live { opacity: 1; }
.js-stage .stage-names li { opacity: .66; transition: opacity .3s; }
.js-stage[data-n="1"] .stage-names li:nth-child(1), .js-stage[data-n="2"] .stage-names li:nth-child(2),
.js-stage[data-n="3"] .stage-names li:nth-child(3), .js-stage[data-n="4"] .stage-names li:nth-child(4) { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js-stage .layer-2, .js-stage .layer-3, .js-stage .layer-4 { transition: opacity .2s; } }

/* услуги (Monks): номер, заглавие, един ред, картина */
.svc-list { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; gap: clamp(64px, 8vw, 110px); }
.svc { display: grid; gap: 32px; align-items: center; }
.svc h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; color: var(--navy); }
.svc p { color: var(--muted); font-size: 1.1rem; max-width: 25.08em; margin-top: 14px; }
.svc-extra { list-style: none; padding: 0; margin: clamp(64px, 8vw, 110px) 0 0; display: grid; gap: 36px; }
.svc-extra p { color: var(--muted); margin-top: 8px; max-width: 26.4em; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1fr 1.5fr; gap: 64px; }
  .svc:nth-child(2) .svc-text { order: 2; }
  .svc-extra { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* проекти: подредена мрежа, 3 колони (2 на телефон), шестата клетка кани към запитване */
.wall { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; }
.wall figure { margin: 0; }
.wall img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; transition: transform .4s ease-out; }
.wall-link { display: block; border-radius: 8px; }
.wall-link:hover img { transform: scale(1.02); }
.wall figcaption { font-size: .85rem; line-height: 1.45; color: var(--on-dark-2); margin-top: 10px; }
.wall figcaption strong { display: block; color: #fff; font-weight: 600; font-size: .95rem; }
.st { white-space: nowrap; }
.st-live { color: #7EE2A8; }
.wall-next a {
  display: flex; flex-direction: column; justify-content: center; gap: 6px; aspect-ratio: 16 / 10; padding: 0 8%;
  border-radius: 8px; background: var(--orange); color: var(--navy); font-weight: 700; text-decoration: none; font-size: .95rem;
}
.wall-next a span { font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
.wall-next .ic { display: none; }
@media (min-width: 900px) {
  .wall { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
  .wall figcaption { font-size: .95rem; }
  .wall figcaption strong { font-size: 1.05rem; }
  .wall-next .ic { display: inline; }
}

/* пакети (Paste): центрирано, меки блокове без рамки */
.pk-grid { list-style: none; padding: 0; margin: clamp(44px, 5vw, 64px) 0 40px; display: grid; gap: 14px; text-align: left; }
.pk { padding: 28px; background: var(--soft); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.pk h3 { color: var(--navy); }
.pk > p { color: var(--muted); margin-top: 10px; }
.pk .pk-time { margin-top: 4px; font-size: .95rem; }
.pk-time strong { color: var(--navy); }
.pk ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 1rem; }
.pk li { padding-left: 22px; position: relative; }
.pk li::before { content: ""; position: absolute; left: 0; top: .66em; width: 12px; height: 3px; border-radius: 2px; background: var(--orange); }
.pk-price { font-size: clamp(1.8rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--navy) !important; margin-top: 6px !important; font-variant-numeric: tabular-nums; }
.pk-price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.menus { display: grid; gap: 40px; margin: 56px 0 44px; text-align: left; }
.menus h3 { color: var(--navy); margin-bottom: 8px; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.m-name { flex: 1; }
.m-price { font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .menus { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (min-width: 720px) { .pk-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pk-grid { grid-template-columns: repeat(4, 1fr); } }

/* за нас (Monks): снимката на единия ръб, текстът до нея */
.about { display: grid; gap: 40px; align-items: center; background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 120px) max(20px, calc((100% - 1200px) / 2)); }
.about-pic img { width: min(100%, 440px); aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); }
.about-text { align-self: center; }
.about h2 { color: #fff; max-width: 9.24em; }
.about .lead { color: var(--on-dark-2); }
.about-name { margin-top: 32px; font-size: 1.15rem; font-weight: 700; }
.about-name span { display: block; font-size: 1rem; font-weight: 400; color: var(--on-dark-2); max-width: 26.4em; margin-top: 4px; }
@media (min-width: 720px) { .about { grid-template-columns: minmax(260px, 5fr) 7fr; gap: clamp(40px, 6vw, 80px); } .about-pic img { width: 100%; } }
@media (min-width: 1200px) { .about { grid-template-columns: 440px 1fr; } }

/* въпроси (Aevion): отвореният ред е тъмен, другите по-тихи */
.qa-list { margin-top: 36px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; position: relative; color: var(--muted); transition: color .2s; }
.qa summary:hover, .qa[open] summary { color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { color: var(--muted); padding-bottom: 24px; max-width: 40.92em; }

/* запитване (Paste): център, после формата */
.contact { background: var(--soft); border-radius: 28px; padding: clamp(36px, 6vw, 80px) clamp(18px, 5vw, 80px); }
.contact-head { text-align: center; }
.contact-head .lead { margin-inline: auto; }
.person { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-align: left; }
.contact-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.person p { color: var(--muted); font-size: 1rem; }
.person strong { color: var(--navy); }
.direct { margin-top: 18px; font-weight: 600; color: var(--navy); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.direct a { display: inline-block; padding: 8px 0; text-underline-offset: 3px; }
.footer p { line-height: 1.7; }
.form { max-width: 720px; margin: 40px auto 0; background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3.4vw, 36px); display: grid; gap: 16px; }
.row { display: grid; gap: 16px; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }
.f { display: grid; gap: 6px; align-content: start; }
.f label { font-size: .95rem; font-weight: 600; }
.opt, .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
.f input, .f select, .f textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 1rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid #B9C2D0; border-radius: var(--r);
}
.f textarea { resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255, 106, 19, .45); }
.f [aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .875rem; }
.err:empty { display: none; }
.f-check { grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.f-check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--navy); }
.f-check label { font-weight: 400; color: var(--muted); }
.f-check .err { grid-column: 2; }
.hp { position: absolute; left: -9999px; }
.err-sum { border: 2px solid var(--err); border-radius: var(--r); padding: 12px 14px; color: var(--err); font-size: .95rem; }
.err-sum ul { margin: 6px 0 0; padding-left: 18px; }
.status { font-weight: 600; }
.status.ok { color: var(--ok); }
.status.bad { color: var(--err); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* футър */
.footer { background: var(--ink); color: var(--on-dark-2); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-in { display: grid; gap: 28px; }
.footer img { width: 140px; }
.footer-cols { display: grid; gap: 18px; }
.footer a { text-decoration: none; display: inline-block; padding: 3px 0; }
.footer a:hover { color: #fff; }
@media (min-width: 720px) { .footer-in { grid-template-columns: 200px 1fr; } .footer-cols { grid-template-columns: repeat(3, 1fr); } }

/* правни страници и 404 */
.doc { padding: 48px 0 96px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.doc h2 { font-size: 1.4rem; margin-top: 34px; }
.doc p { margin-top: 12px; color: var(--muted); }
.doc .muted { font-size: .95rem; }
.doc-404 { min-height: 80vh; display: grid; align-items: center; }
.doc-404 img { width: 140px; margin-bottom: 40px; }
.doc-404 .btn { margin: 24px 8px 0 0; }
.menu-note { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }
.menu-care .m-name small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: 2px; }
