/* ==========================================================================
   SimRacing Garage - design system ("Dark Apple": black, red, glass, restrained)
   ========================================================================== */

:root {
  --bg: #000;
  --bg-deepest: #000;
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --surface: #121214;
  --surface-2: #1a1a1d;
  --bg-card: var(--surface);
  --bg-elevated: var(--surface-2);

  --text-primary: #f5f5f7;
  --text-secondary: #c7c7cc;
  --text-muted: #8e8e93;
  --text-dim: #5c5c61;

  --border-hair: #ffffff0f;
  --border: #ffffff1a;
  --border-strong: #ffffff2e;

  --red: #ff2a3a;
  --red-dark: #c4101f;
  --red-soft: #ff5b67;
  --red-tint: #ff2a3a1f;
  /* Experience accents are kept quiet: one brand colour, neutrals for the rest. */
  --drive: #e5e5ea;
  --feel: #f5a524;
  --ultimate: #ff2a3a;
  --success: #30d158;

  --glass: #1c1c1fa6;
  --glass-strong: #161618d9;
  --glass-border: #ffffff24;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font-sans);
  --font-heading: var(--font-sans);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --container: 76rem;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-primary);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.55; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
svg { width: 1.1em; height: 1.1em; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--line { border-top: 1px solid var(--border-hair); }
.section--alt { background: var(--bg-primary); }
.section--glow { background: radial-gradient(50% 60% at 50% 0%, #ff2a3a14, transparent 70%); }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.stack > * + * { margin-top: var(--gap, 1rem); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.row--between { justify-content: space-between; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.d-block { display: block; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Typography ---------- */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--red-soft); }
.eyebrow--muted { color: var(--text-muted); }
.display { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; overflow-wrap: break-word; hyphens: manual; padding-right: .06em; }
.h-hero { font-size: clamp(2.4rem, 6.4vw, 5rem); letter-spacing: -.025em; }
.h-xl { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.h-md { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.h-sm { font-size: 1.1rem; font-weight: 650; letter-spacing: -.015em; }
.label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.cond { font-weight: 700; letter-spacing: -.02em; }
.num { font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-muted); max-width: 40rem; line-height: 1.55; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.xs { font-size: .8rem; }
.accent-red { color: var(--red); }
/* Signature punchline: italic, heavy, white→red gradient (echoes the hero title). Use once per heading. */
.accent-italic { font-style: italic; font-weight: 900; padding-right: .08em; color: var(--red); text-shadow: 0 0 20px #ff2a3a8c, 0 0 50px #ff2a3a40; }
.accent-drive { color: var(--drive); }
.accent-feel { color: var(--feel); }
.accent-ultimate { color: var(--ultimate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.9rem; padding: .7rem 1.25rem; border-radius: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap;
  border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.btn svg { width: 1em; height: 1em; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 18px #ff2a3a99, 0 0 44px #ff2a3a40; }
.btn-red:hover { box-shadow: 0 0 22px #ff2a3acc, 0 0 60px #ff2a3a66; }
.btn-red:hover { background: #ff4452; }
.btn-ghost { background: #ffffff0d; border-color: var(--border); color: var(--text-primary); }
.btn-ghost:hover { background: #ffffff17; border-color: var(--border-strong); }
.btn-white, .btn-drive { background: #f5f5f7; color: #000; }
.btn-white:hover, .btn-drive:hover { background: #fff; }
.btn-ultimate { background: var(--red); color: #fff; }
.btn-feel { background: var(--feel); color: #1a1000; }
.btn-sm { min-height: 2.3rem; padding: .45rem .9rem; font-size: .85rem; border-radius: 8px; }
.btn-lg { min-height: 3.3rem; padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .35; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--red-soft); font-size: .95rem; }
.link-arrow:hover { color: #fff; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 6px;
  border: 1px solid var(--border); background: #ffffff08; font-size: .78rem; font-weight: 600; color: var(--text-secondary);
}
button.chip:hover { border-color: var(--border-strong); color: #fff; }
.chip--red, .chip--ultimate { border-color: #ff2a3a55; background: var(--red-tint); color: var(--red-soft); }
.chip--drive { color: var(--drive); }
.chip--feel { border-color: #f5a52455; background: #f5a52414; color: var(--feel); }
.chip--success { border-color: #30d15855; background: #30d15814; color: var(--success); }
.dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--red); display: inline-block; }
.dot--success { background: var(--success); }

/* ---------- Surfaces ---------- */
.card { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border-hair); background: var(--surface); padding: clamp(1.25rem, 2.4vw, 1.75rem); }
.card--flat { background: transparent; border-color: var(--border); }
.card--inset { border-radius: var(--radius); background: #ffffff06; border-color: var(--border-hair); padding: 1rem 1.15rem; }
.card--glass { background: var(--glass); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border-color: var(--glass-border); }
.card--link { display: block; transition: border-color .2s, background .2s; }
.card--link:hover { border-color: var(--border-strong); background: var(--surface-2); }
.card--red { border-color: #ff2a3a40; }
:where(.card) h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.015em; }
:where(.card) p { color: var(--text-muted); }
.icon-badge { width: 2.5rem; height: 2.5rem; border-radius: 10px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); flex: none; }
.icon-badge svg { width: 1.2rem; height: 1.2rem; }
.num-badge { width: 2rem; height: 2rem; border-radius: 8px; display: grid; place-items: center; flex: none; background: #ffffff0d; color: var(--text-secondary); font-weight: 650; font-size: .9rem; }
.stat b { display: block; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stat span { font-size: .85rem; color: var(--text-muted); }
.divider { height: 1px; background: var(--border-hair); border: 0; margin: 1.25rem 0; }

.checklist li { position: relative; padding-left: 1.5rem; color: var(--text-secondary); }
.checklist li + li { margin-top: .5rem; }
.checklist li::before { content: ""; position: absolute; left: .1rem; top: .42em; width: .7rem; height: .4rem; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.bullets li { position: relative; padding-left: 1rem; color: var(--text-secondary); }
.bullets li + li { margin-top: .35rem; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: .3rem; height: .3rem; border-radius: 50%; background: var(--text-dim); }

.meter { display: flex; gap: 4px; }
.meter span { flex: 1; height: 4px; border-radius: 2px; background: #ffffff1a; }
.meter span.on { background: var(--red); }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border-hair); border-radius: var(--radius); overflow: hidden; background: #ffffff04; }
.prices > div { padding: .75rem .5rem; text-align: center; }
.prices > div + div { border-left: 1px solid var(--border-hair); }
.prices small { display: block; font-size: .75rem; color: var(--text-muted); }
.prices b { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- Header (liquid glass) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 12px clamp(.6rem, 2vw, 1.25rem) 0; pointer-events: none; }
.site-header__bar {
  pointer-events: auto; max-width: 76rem; margin-inline: auto;
  display: flex; align-items: center; gap: 1rem; height: 56px; padding: 0 .5rem 0 1rem;
  border-radius: 14px; border: 1px solid var(--glass-border);
  background: #18181b8c; backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px -12px #0009, inset 0 1px 0 #ffffff14;
}
.logo { display: inline-flex; align-items: center; }
.logo img { width: auto; }
.logo__word { height: 34px; }
.logo__mark { display: none; height: 30px; }
.site-footer .logo__word { height: 52px; }
@media (max-width: 480px) { .site-header .logo__word { display: none; } .site-header .logo__mark { display: block; } }
.site-nav { display: flex; gap: .15rem; margin-inline: auto; }
.site-nav a { white-space: nowrap; padding: .45rem .75rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--text-secondary); transition: color .2s, background .2s; }
.site-nav a:hover { color: #fff; background: #ffffff0f; }
.site-nav a[aria-current="page"] { color: #fff; background: #ffffff17; }
.site-header__garage { margin-left: 0; }
.site-header__garage[aria-current="page"] { background: #ffffff1f; border-color: var(--border-strong); }
@media (max-width: 480px) { .site-header__garage span { display: none; } .site-header__garage { padding-inline: .7rem; } }
.site-header__cta[aria-current="page"] { background: #ff2a3a26; border-color: var(--red); color: #fff; }
.burger { display: none; width: 2.6rem; height: 2.6rem; border-radius: 10px; place-items: center; }
.burger:hover { background: #ffffff12; }
.burger svg { width: 1.3rem; height: 1.3rem; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: #000000e6; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 5.5rem 1.5rem 2rem; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a:not(.btn) { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; padding: .7rem 0; border-bottom: 1px solid var(--border-hair); }
.mobile-nav a[aria-current="page"] { color: var(--red); }
.mobile-nav__close { position: absolute; top: 1.4rem; right: 1.4rem; width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: #ffffff12; }
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .burger { display: grid; }
  .site-header__garage { margin-left: auto; }
}

main { min-height: 60vh; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero .eyebrow + h1, .page-hero .eyebrow + .display { margin-top: .75rem; }
.page-hero .lead { margin-top: 1.1rem; }

/* ---------- Section header ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.sec-head > div:first-child { max-width: 44rem; min-width: 0; }
.sec-head h2 { margin-top: .5rem; }
.sec-head .lead { margin-top: .9rem; }

/* ---------- Accordion ---------- */
.acc { border-bottom: 1px solid var(--border); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.02rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 300; color: var(--text-muted); transition: transform .25s; line-height: 1; }
.acc[open] summary::after { transform: rotate(45deg); color: var(--red); }
.acc__body { padding: 0 0 1.25rem; color: var(--text-muted); max-width: 46rem; }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 11px; background: #ffffff0d; border: 1px solid var(--border-hair); }
.seg button { padding: .5rem .9rem; border-radius: 8px; font-size: .88rem; font-weight: 600; color: var(--text-muted); transition: background .2s, color .2s; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #ffffff1f; color: #fff; box-shadow: 0 1px 2px #0006; }

/* ---------- Forms ---------- */
.field { display: block; }
.field > span { display: block; font-size: .85rem; font-weight: 500; color: var(--text-secondary); margin-bottom: .4rem; }
.input {
  width: 100%; border-radius: 10px; border: 1px solid var(--border); background: #ffffff08;
  padding: .8rem .95rem; color: #fff; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #ffffff40; }
.input:hover { border-color: var(--border-strong); }
.input:focus { border-color: var(--red); box-shadow: 0 0 0 3px #ff2a3a29; background: #ffffff0b; }
.input[aria-invalid="true"] { border-color: var(--red); }
textarea.input { min-height: 6.5rem; resize: vertical; }
select.input { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1rem; }
select.input option { background: var(--surface-2); }
input[type="date"].input { color-scheme: dark; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--text-secondary); cursor: pointer; }
.check input { accent-color: var(--red); width: 1.05rem; height: 1.05rem; margin-top: .15rem; flex: none; }
.field-error { color: var(--red-soft); font-size: .8rem; margin-top: .35rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-hair); padding: clamp(3rem, 6vw, 4rem) 0 2rem; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .8rem; }
.site-footer p, .site-footer li { color: var(--text-secondary); }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-hair); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--text-dim); font-size: .82rem; }
.site-footer__bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0a0a0b; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #000c); pointer-events: none; }
.frame__label { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; }
.placeholder-media { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px dashed var(--border-strong); display: grid; place-items: center; color: var(--text-dim); font-size: .85rem; }

/* ---------- Modal (sheet) ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 1rem; background: #000a; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__panel { position: relative; width: min(40rem, 100%); max-height: min(88vh, 52rem); overflow-y: auto; border-radius: 18px; border: 1px solid var(--glass-border); background: #161618f5; box-shadow: 0 40px 80px -20px #000; padding: clamp(1.25rem, 3vw, 2rem); transform: translateY(12px) scale(.98); transition: transform .25s var(--ease); }
.modal.open .modal__panel { transform: none; }
.modal__close { position: absolute; top: 1rem; right: 1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: #ffffff14; }
.modal__close:hover { background: #ffffff24; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); z-index: 100; background: #232326f2; backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 12px; padding: .75rem 1.1rem; font-size: .9rem; box-shadow: 0 20px 40px -20px #000; transition: transform .3s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ==========================================================================
   Review dock - „Промени“ outlines changed elements on an overlay layer; „Обратна връзка“ opens the summary.
   ========================================================================== */
.review-dock { position: fixed; left: 1rem; bottom: 1rem; z-index: 80; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; max-width: calc(100vw - 2rem); }
.review-dock__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.review-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: 999px; border: 1px solid #ffd60a66; background: #1c1a0ccc; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #ffd60a; font-size: .8rem; font-weight: 600; }
.review-toggle b { background: #ffd60a; color: #111; border-radius: 999px; padding: 0 .45rem; }
.review-toggle[aria-pressed="true"] { background: #ffd60a; color: #111; }
.review-toggle[aria-pressed="true"] b { background: #111; color: #ffd60a; }
.review-toggle--fb { border-color: var(--glass-border); background: #18181bcc; color: var(--text-primary); }
.review-toggle--fb svg { width: 1rem; height: 1rem; }
.review-layer { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 79; }
.review-layer--fixed { position: fixed; inset: 0; height: auto; z-index: 81; }
.review-box { position: absolute; outline: 2px dashed #ffd60a; outline-offset: 2px; border-radius: 6px; }
.review-label { position: absolute; top: -.85rem; left: -.15rem; pointer-events: auto; max-width: min(24rem, 80vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #ffd60a; color: #111; font: 600 .72rem/1.35 var(--font-sans); padding: .2rem .5rem; border-radius: .35rem; box-shadow: 0 4px 12px #0008; cursor: pointer; }
.review-label:hover { white-space: normal; z-index: 1; }
.review-box--edge .review-label { top: .3rem; left: .3rem; }

/* Removed-text quotes and feedback summary */
.removed-list { display: grid; gap: .4rem; }
.removed-list li { padding: .5rem .75rem; border-left: 2px solid #ff2a3a66; background: #ffffff05; border-radius: 0 8px 8px 0; color: var(--text-muted); font-size: .9rem; text-decoration: line-through; text-decoration-color: #ff2a3a99; }
.fb-list { display: grid; gap: 1rem; }
.fb-list > li { display: flex; gap: 1rem; align-items: flex-start; }
.fb-num { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 8px; display: grid; place-items: center; background: var(--red-tint); color: var(--red-soft); font-size: .85rem; }
.fb-list h4 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; }
.fb-list p { color: var(--text-secondary); margin-top: .3rem; font-size: .95rem; }

/* Hardware explanation list (used in SRG.hardwareSheet) */
.hw-list { display: grid; gap: 1.1rem; }
.hw-list li { display: flex; gap: 1rem; align-items: flex-start; }
.hw-list b { font-weight: 650; }

/* On phones the modal becomes a bottom sheet */
@media (max-width: 680px) {
  .modal { place-items: end center; padding: 0; }
  .modal__panel { width: 100%; border-radius: 18px 18px 0 0; max-height: 88svh; transform: translateY(24px); }
}

/* ---------- Offers: today pill, weekly strip, offer cards (shared by every page) ---------- */
.today-pill {
  pointer-events: auto; display: flex; align-items: center; gap: .55rem; width: max-content; max-width: min(100%, 46rem);
  margin: 8px auto 0; padding: .4rem .5rem .4rem .8rem; border-radius: 999px; font-size: .8rem; color: #fff;
  border: 1px solid var(--red); background: #1a0306d9; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.today-pill b { font-weight: 700; white-space: nowrap; }
/* v6.25: the pill changes its message every 5 s - a short fade, no movement */
.today-pill > * { transition: opacity .2s; }
.today-pill.is-swap > * { opacity: 0; }
.today-pill__txt { color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.today-pill__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 3px #ff2a3a33; }
.today-pill svg { width: 1rem; height: 1rem; flex: none; }
.today-pill:hover { background: #2a0509e6; }
@media (max-width: 640px) { .today-pill__txt { display: none; } }

.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
.week__day { position: relative; display: flex; flex-direction: column; gap: .35rem; min-width: 0; padding: .9rem .8rem; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); }
.week__day small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.week__day b { font-size: .95rem; line-height: 1.25; }
.week__day p { font-size: .78rem; color: var(--text-muted); line-height: 1.4; }
.week__tag { align-self: flex-start; margin-top: auto; font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: var(--red-tint); color: var(--red-soft); }
.week__day.is-today { border-color: var(--red); background: linear-gradient(180deg, #2a0509, var(--surface) 70%); }
.week__day.is-today::before { content: 'ДНЕС'; position: absolute; top: -.6rem; left: .8rem; font-size: .66rem; font-weight: 800; letter-spacing: .08em;
  padding: .12rem .5rem; border-radius: 999px; background: var(--red); color: #fff; }
@media (max-width: 900px) {
  .week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: .7rem 0 .4rem; scrollbar-width: none; }
  .week::-webkit-scrollbar { display: none; }
  .week__day { flex: 0 0 min(62vw, 13rem); scroll-snap-align: start; }
}

.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: .75rem; }
.offer { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); min-width: 0; }
.offer__ic { width: 2.2rem; height: 2.2rem; border-radius: 10px; display: grid; place-items: center; background: var(--red-tint); color: var(--red-soft); }
.offer__ic svg { width: 1.1rem; height: 1.1rem; }
.offer b { font-size: 1rem; }
.offer p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }
.offer .link-arrow { margin-top: auto; }
.offer-rules { font-size: .8rem; color: var(--text-dim); }
.price-note { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-top: .6rem; font-size: .8rem; color: var(--text-muted); }
.price-note b { color: var(--red-soft); }

/* ---------- Neon (design system v2, 14.11.2026): white = PREMIUM, red = FULL MOTION and actions ---------- */
:root { --neon-red: 0 0 0 1px #ff2a3a, 0 0 22px #ff2a3a99, 0 0 64px #ff2a3a4d, inset 0 0 28px #ff2a3a1f;
        --neon-white: 0 0 0 1px #ffffff59, 0 0 18px #ffffff33, 0 0 50px #ffffff14, inset 0 0 24px #ffffff0d; }
.today-pill { box-shadow: 0 0 16px #ff2a3a66; }
.week__day.is-today { box-shadow: 0 0 16px #ff2a3a80, 0 0 40px #ff2a3a33; }
.neon-red { color: var(--red); text-shadow: 0 0 14px #ff2a3acc, 0 0 36px #ff2a3a73; }
.neon-white { color: #fff; text-shadow: 0 0 12px #ffffffa6; }

/* ---------- Phone bottom bar ---------- */
.tabbar { display: none; }
@media (max-width: 768px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    padding: .35rem max(.5rem, env(safe-area-inset-right, 0px)) calc(.35rem + env(safe-area-inset-bottom, 0px)) max(.5rem, env(safe-area-inset-left, 0px));
    background: #0a0a0bf2; border-top: 1px solid var(--border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .tabbar a { display: grid; justify-items: center; gap: .15rem; padding: .35rem 0; font-size: .66rem; font-weight: 600; color: var(--text-muted); }
  .tabbar a svg { width: 1.3rem; height: 1.3rem; }
  .tabbar a[aria-current="page"] { color: #fff; }
  .tabbar__book { margin-top: -1.3rem; }
  .tabbar__book svg { box-sizing: content-box; width: 1.4rem !important; height: 1.4rem !important; padding: .8rem; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 18px #ff2a3aaa, 0 0 40px #ff2a3a55; }
  .tabbar__book span { color: #fff; }
  body.has-tabbar { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
  body.has-tabbar .review-dock { bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px)); }
  body.has-tabbar .toast { bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Footer legal row ---------- */
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding: 1rem 0; margin-top: 1.5rem; border-top: 1px solid var(--border-hair); font-size: .78rem; color: var(--text-dim); }
.site-footer__legal span { display: inline-flex; align-items: center; gap: .4rem; }
.site-footer__legal svg { width: .95rem; height: .95rem; color: var(--text-muted); }

.rk-demo { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: .7rem 1rem; border-radius: 12px; border: 1px dashed #ffd60a80; background: #1c1a0c; color: #e9e3b8; font-size: .85rem; }
.rk-demo b { font-size: .7rem; letter-spacing: .08em; padding: .15rem .5rem; border-radius: 999px; background: #ffd60a; color: #111; }

/* „Нагоре“ бутонът – глобален (преди 27.11 беше само в gear.css и на Гараж, Контакти, Резервация, 404 и Условия стоеше като гола стрелка под футъра) */
.to-top { position: fixed; right: 1rem; bottom: 1.2rem; z-index: 60; width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid #ffffff2e; background: #111114e6; color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 24px -10px #000; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, bottom .3s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: #ff2a3a; }
.to-top svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 900px) { .to-top { bottom: calc(5.4rem + env(safe-area-inset-bottom)); } html.cs-down .to-top { bottom: calc(1rem + env(safe-area-inset-bottom)); } }
/* 27.11: в резервацията няма „нагоре“ бутон (там долу е лентата с цената); на телефон бутонът се показва при скрол нагоре, за да не стои върху съдържанието, докато четеш */
body:has(#bk-nav) .to-top { display: none !important; }
@media (max-width: 900px) { html.cs-down .to-top { opacity: 0 !important; visibility: hidden !important; } }
