/* Маяк — тестова страница „Шкода Център Варна“. Светла тема (Emerald #0E3A2F + Electric #78FAAE), mobile-first.
   Electric green е само за акценти/линии/фон на бутони — не като текст върху бяло. Текстът на светло е emerald или почти черен. */
:root {
  --emerald: #0e3a2f;
  --emerald-2: #135443;
  --emerald-3: #1d6b55;
  --electric: #78faae;
  --electric-2: #5ef09b;
  --mint: #e8fbf1;
  --bg: #ffffff;
  --bg-2: #f4f6f5;
  --bg-3: #eaeeec;
  --surface: #ffffff;
  --line: #e0e6e3;
  --line-2: #c4cdc9;
  --text: #101a16;
  --muted: #4c5a54;
  --steel: #6b7873;
  --ok: #10734a;
  --err: #b42318;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -28px rgba(14, 58, 47, .35);
  --shadow-sm: 0 6px 20px -12px rgba(14, 58, 47, .3);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--emerald); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--emerald-3); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--electric); color: var(--emerald); }

:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(120, 250, 174, .55); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--emerald); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(860px, 100% - 2.5rem); }

/* ---------- бутони ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.3rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, box-shadow .25s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active:not([disabled]) { transform: translateY(1px) scale(.985); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { --h: 40px; padding: 0 1rem; font-size: .92rem; }
.btn-lg { --h: 56px; padding: 0 1.6rem; font-size: 1.06rem; }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary svg { color: var(--electric); transition: transform .25s var(--ease); }
.btn-primary:hover:not([disabled]) { background: var(--electric); color: var(--emerald); transform: translateY(-1px); }
.btn-primary:hover:not([disabled]) svg { color: var(--emerald); transform: translateX(3px); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--emerald); }
.btn-ghost:hover:not([disabled]) { border-color: var(--emerald); background: var(--bg-2); color: var(--emerald); }
.btn-outline { background: #fff; border-color: var(--emerald); color: var(--emerald); }
.btn-outline:hover:not([disabled]) { background: var(--emerald); color: #fff; }
.btn-chip { --h: 40px; padding: 0 1rem; font-size: .92rem; background: var(--emerald); color: #fff; }
.btn-chip svg { color: var(--electric); }
.btn-chip:hover { background: var(--electric); color: var(--emerald); }
.btn-chip:hover svg { color: var(--emerald); }

/* ---------- лента „тест“ и зареждане ---------- */
.test-ribbon {
  position: relative; z-index: 60; display: flex; gap: .6rem; align-items: center; justify-content: center;
  padding: .55rem 1rem; font-size: .86rem; line-height: 1.4; text-align: center;
  background: var(--emerald); color: #fff; border-bottom: 2px solid var(--electric);
}
.test-ribbon strong { color: var(--electric); }
.test-ribbon-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 4px rgba(120, 250, 174, .25); }
.boot-status {
  position: fixed; z-index: 70; left: 50%; top: calc(var(--nav-h) + 48px); transform: translateX(-50%);
  display: flex; align-items: center; gap: .6rem; padding: .55rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); color: var(--emerald);
}
.boot-spin { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--emerald); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot-error {
  position: fixed; z-index: 70; left: 1rem; right: 1rem; top: calc(var(--nav-h) + 48px); margin-inline: auto; max-width: 520px;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: #fff4f2; border: 1px solid #f1b8ae; color: #6b1a10; box-shadow: var(--shadow);
}
.boot-error p { margin-bottom: .7rem; }

/* ---------- навигация ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow .3s;
}
.is-scrolled .nav, .menu-open .nav { box-shadow: 0 8px 30px -20px rgba(14, 58, 47, .45); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: baseline; gap: .6rem; color: var(--emerald); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--emerald); }
.brand-word { flex: none; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--emerald); }
.brand-name { font-weight: 500; font-size: .92rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: .6rem; border-left: 2px solid var(--electric); line-height: 1.1; }
.nav-links { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav-toggle { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--emerald); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .nav-links {
  display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
  padding: .5rem 1.25rem 1.25rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  animation: drop .25s var(--ease);
}
.menu-open .nav-links a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 420px) { .brand-name { display: none; } }

@media (min-width: 960px) {
  :root { --nav-h: 72px; }
  .nav-toggle { display: none; }
  .nav-links, .menu-open .nav-links { display: flex; position: static; flex-direction: row; gap: .15rem; padding: 0; background: none; border: 0; box-shadow: none; margin-left: 1.25rem; animation: none; }
  .nav-links a, .menu-open .nav-links a { position: relative; padding: .5rem .7rem; border: 0; color: var(--muted); font-size: .93rem; text-decoration: none; font-weight: 600; transition: color .2s; }
  .nav-links a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--electric); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav-links a:hover { color: var(--emerald); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .brand-name { font-size: .98rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -22vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 250, 174, .35), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--emerald); box-shadow: var(--shadow-sm); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 0 0 rgba(120, 250, 174, .8); outline: 1.5px solid var(--emerald); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(120, 250, 174, 0); } 100% { box-shadow: 0 0 0 0 rgba(120, 250, 174, 0); } }
.hero-title { margin-top: 1.1rem; font-family: var(--display); font-weight: 700; font-size: clamp(2.15rem, 7.6vw, 4.1rem); line-height: 1.05; letter-spacing: -.035em; color: var(--emerald); max-width: 15ch; text-wrap: balance; }
.accent { position: relative; white-space: nowrap; background: linear-gradient(transparent 62%, var(--electric) 62%, var(--electric) 92%, transparent 92%); padding: 0 .06em; }
.hero-lead { margin-top: 1.2rem; max-width: 36rem; font-size: clamp(1.03rem, 2.6vw, 1.18rem); color: var(--muted); }
.hero-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-test { margin-top: .9rem; font-size: .86rem; color: var(--muted); display: flex; gap: .5rem; align-items: baseline; }
.hero-test::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--electric); outline: 1.5px solid var(--emerald); transform: translateY(-1px); }
.hero-stats { list-style: none; margin: 2.2rem 0 0; padding: 1.1rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--line); max-width: 36rem; }
.hero-stats strong { display: block; font-family: var(--display); font-size: clamp(1.35rem, 4.5vw, 1.9rem); font-weight: 700; color: var(--emerald); letter-spacing: -.02em; }
.hero-stats span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.3; }

.hero-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; filter: saturate(.9) brightness(1.04); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(14, 58, 47, .45)); pointer-events: none; }
.hero-line { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 6px; background: var(--electric); }
.hero-badge { position: absolute; z-index: 2; left: 1.1rem; bottom: 1.1rem; display: flex; flex-direction: column; padding: .7rem 1rem; border-radius: 14px; background: var(--emerald); color: #fff; box-shadow: var(--shadow-sm); }
.hero-badge-k { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--electric); }
.hero-badge-v { font-weight: 700; font-size: 1.02rem; }
@media (min-width: 960px) { .hero-media { aspect-ratio: 5 / 6; } }

.hero-anim { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-anim.d1 { animation-delay: .1s; } .hero-anim.d2 { animation-delay: .22s; } .hero-anim.d3 { animation-delay: .34s; } .hero-anim.d4 { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (min-width: 720px) { .hero-cta .btn { flex: 0 0 auto; } }

/* ---------- секции ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); max-width: 46rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); }
.kicker::before { content: ""; width: 24px; height: 4px; background: var(--electric); border-radius: 2px; }
.section-head h2, .cancel-copy h2 { margin-top: .7rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 5vw, 2.7rem); letter-spacing: -.03em; color: var(--emerald); text-wrap: balance; }
.section-lead { margin-top: .8rem; color: var(--muted); font-size: 1.06rem; }
.note { margin-top: 1.4rem; display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .92rem; max-width: 60rem; }
.note-sm { margin-top: 0; font-size: .86rem; }
.note-ico { flex: none; width: 20px; height: 20px; display: grid; place-content: center; border-radius: 50%; border: 1.5px solid var(--emerald); color: var(--emerald); font-size: .72rem; font-weight: 800; font-style: italic; margin-top: .1rem; }

/* поява при превъртане (класът .rv се слага от JS само под видимата част) */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- услуги ---------- */
.svc-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: .8rem; min-height: 220px; padding: 1.4rem;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--electric); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.svc-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-ico { width: 52px; height: 52px; display: grid; place-content: center; border-radius: 14px; color: var(--emerald); background: var(--mint); }
.svc-dur { font-size: .82rem; font-weight: 700; color: var(--muted); padding: .3rem .65rem; border-radius: 999px; background: var(--bg-2); }
.svc-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--emerald); }
.svc-desc { color: var(--muted); font-size: .94rem; margin-top: -.3rem; }
.svc-bottom { margin-top: auto; padding-top: .4rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.svc-price { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--text); display: flex; flex-direction: column; line-height: 1.2; }
.svc-price-l { font-family: var(--font); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.skel { background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; border-color: var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- помощник за записване ---------- */
.section-book { background: var(--emerald); color: #fff; }
.section-book .kicker { color: var(--electric); }
.section-book .section-head h2 { color: #fff; }
.section-book .section-lead { color: #cfe3da; }
.bk-shell { border-radius: calc(var(--radius) + 6px); background: #fff; color: var(--text); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .5); padding: clamp(1rem, 3.5vw, 2rem); scroll-margin-top: calc(var(--nav-h) + 12px); }
.bk-wait, .bk-noscript { display: flex; gap: .7rem; align-items: center; color: var(--muted); padding: 1rem 0; }
.bk-noscript { color: var(--text); }

.bk-progress { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; }
.bk-progress li { position: relative; }
.bk-progress li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 3px; background: var(--bg-3); transition: background-color .3s; }
.bk-progress li.is-done::after { background: var(--emerald-3); }
.bk-progress li.is-on::after { background: var(--electric); }
.bk-progress button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .25rem .1rem .75rem; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .74rem; font-weight: 700; }
.bk-progress button[disabled] { cursor: default; opacity: .55; }
.bk-progress .bk-n { width: 30px; height: 30px; display: grid; place-content: center; border-radius: 50%; border: 1.5px solid var(--line-2); font-size: .85rem; transition: all .3s var(--ease); }
.bk-progress .is-done .bk-n { border-color: var(--emerald); color: var(--emerald); background: var(--mint); }
.bk-progress .is-on button { color: var(--emerald); }
.bk-progress .is-on .bk-n { background: var(--emerald); border-color: var(--emerald); color: var(--electric); box-shadow: 0 0 0 5px rgba(120, 250, 174, .45); }
.bk-progress .bk-l { display: none; }
@media (min-width: 560px) { .bk-progress .bk-l { display: block; } .bk-progress button { font-size: .82rem; } }

.bk-body { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .bk-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; } }
.bk-main { min-width: 0; }
.bk-step { animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.bk-h { font-size: clamp(1.2rem, 3.4vw, 1.5rem); font-weight: 700; color: var(--emerald); }
.bk-h:focus { outline: none; }
.bk-h:focus-visible { outline: 3px solid var(--emerald); }
.bk-sub { margin-top: .3rem; color: var(--muted); }
.bk-empty { color: var(--muted); padding: .8rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.bk-actions { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.bk-actions .btn-primary { margin-left: auto; }

/* 1. услуги */
.bk-services { margin-top: 1.1rem; display: grid; gap: .6rem; }
@media (min-width: 620px) { .bk-services { grid-template-columns: repeat(2, 1fr); } }
.bk-svc { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.05rem; border-radius: var(--radius-sm); background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s; }
.bk-svc:hover { border-color: var(--line-2); background: var(--bg-2); }
.bk-svc-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-svc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.bk-svc-name { font-weight: 700; color: var(--emerald); }
.bk-svc-desc { font-size: .86rem; color: var(--muted); }
.bk-svc-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.bk-svc-price { color: var(--text); font-weight: 700; }
.bk-tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-content: center; transition: all .2s var(--ease); }
.bk-svc:has(.bk-svc-input:checked) { border-color: var(--emerald); background: var(--mint); }
.bk-svc-input:checked ~ .bk-tick { border-color: var(--emerald); background: var(--emerald); }
.bk-svc-input:checked ~ .bk-tick::after { content: ""; width: 10px; height: 6px; border: solid var(--electric); border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.bk-svc:has(.bk-svc-input:focus-visible) { outline: 3px solid var(--emerald); outline-offset: 2px; }

/* 2. дни */
.bk-days-wrap { position: relative; margin: 1.1rem -.25rem 0; }
.bk-days { display: flex; gap: .5rem; overflow-x: auto; padding: .35rem .25rem .8rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.bk-day {
  flex: 0 0 74px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .05rem;
  padding: .7rem .3rem; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; color: var(--text);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.bk-day.skel { height: 104px; border: 0; }
.bk-day:hover:not([disabled]) { border-color: var(--emerald); transform: translateY(-2px); }
.bk-day-wd { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.bk-day-num { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.2; color: var(--emerald); }
.bk-day-mon { font-size: .8rem; color: var(--muted); }
.bk-day-cnt { margin-top: .25rem; font-size: .7rem; font-weight: 700; color: var(--ok); }
.bk-day.is-off { cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(14, 58, 47, .04) 6px 12px), var(--bg-2); border-style: dashed; border-color: var(--line-2); }
.bk-day.is-off .bk-day-num { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--steel); }
.bk-day.is-off .bk-day-cnt, .bk-day.is-off .bk-day-wd, .bk-day.is-off .bk-day-mon { color: var(--steel); }
.bk-day.is-on { background: var(--emerald); border-color: var(--emerald); }
.bk-day.is-on .bk-day-num { color: #fff; }
.bk-day.is-on .bk-day-wd, .bk-day.is-on .bk-day-mon { color: #cfe3da; }
.bk-day.is-on .bk-day-cnt { color: var(--electric); }
.bk-legend { margin-top: .3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; color: var(--muted); font-size: .82rem; }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); background: #fff; }
.lg-off { border-style: dashed; background: var(--bg-2); margin-left: .5rem; }

/* 3. часове */
.bk-times { margin-top: 1rem; display: grid; gap: 1.2rem; }
.bk-thead { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .55rem; font-weight: 700; color: var(--emerald); }
.bk-thead small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.bk-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.bk-time { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--emerald); font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; transition: all .18s var(--ease); }
.bk-time:hover { border-color: var(--emerald); background: var(--mint); }
.bk-time.is-on { background: var(--emerald); border-color: var(--emerald); color: #fff; box-shadow: inset 0 -3px 0 var(--electric); }

/* 4. данни */
.bk-fields { margin-top: 1.1rem; display: grid; gap: .9rem; }
@media (min-width: 620px) { .bk-fields { grid-template-columns: 1fr 1fr; } .fld-wide { grid-column: 1 / -1; } }
.fld { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: .92rem; color: var(--text); }
.fld .opt { color: var(--muted); font-weight: 500; }
.fld input, .fld textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: #fff; color: var(--text); font-size: 1.02rem; font-weight: 500; transition: border-color .2s, box-shadow .2s;
}
.fld textarea { resize: vertical; min-height: 88px; }
.fld input::placeholder, .fld textarea::placeholder { color: #7b8782; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(120, 250, 174, .5); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.plate, .code-input { text-transform: uppercase; letter-spacing: .06em; }
.mk-email-hint { font-weight: 500; font-size: .85rem; color: var(--muted); }
.bk-privacy { margin-top: 1.1rem; color: var(--muted); font-size: .88rem; }
.bk-ack { margin-top: .8rem; display: flex; gap: .75rem; align-items: flex-start; padding: .85rem .95rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2); cursor: pointer; font-size: .93rem; }
.bk-ack input { flex: none; width: 22px; height: 22px; margin: .05rem 0 0; accent-color: var(--emerald); cursor: pointer; }
.bk-ack:has(input[aria-invalid="true"]) { border-color: var(--err); }
.bk-ack:has(input:checked) { border-color: var(--emerald); background: var(--mint); }

/* 5. преглед */
.bk-review { margin: 1.1rem 0 0; display: grid; border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; }
.bk-review div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.bk-review div:nth-child(odd) { background: var(--bg-2); }
.bk-review div:last-child { border-bottom: 0; }
.bk-review dt { color: var(--muted); font-size: .9rem; }
.bk-review dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

.sdc-book-errors { margin-top: 1.2rem; padding: .8rem 1rem; border-radius: 12px; background: #fff4f2; border: 1px solid #f1b8ae; color: #7a1d12; font-weight: 600; white-space: pre-line; }
.sdc-book-errors::before { content: "! "; font-weight: 900; color: var(--err); }

/* обобщение отстрани */
.bk-aside { display: none; }
@media (min-width: 960px) {
  .bk-aside { display: block; align-self: start; position: sticky; top: calc(var(--nav-h) + 20px); padding: 1.3rem; border-radius: var(--radius); background: var(--emerald); color: #fff; }
}
.bk-aside-title { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--electric); }
.bk-sum { margin: .9rem 0 0; display: grid; gap: .75rem; }
.bk-sum div { padding-bottom: .7rem; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.bk-sum dt { font-size: .8rem; color: #b9d3c8; }
.bk-sum dd { margin: .1rem 0 0; font-weight: 700; color: #8fb3a5; transition: color .3s; }
.bk-sum .is-set dd { color: #fff; }
.bk-aside-note { margin-top: .9rem; font-size: .85rem; color: #cfe3da; }

/* успех */
.bk-done { animation: stepIn .5s var(--ease); }
.bk-confirm { text-align: left; display: flex; flex-direction: column; gap: .5rem; }
.bk-ok-ico { width: 60px; height: 60px; display: grid; place-content: center; border-radius: 50%; background: var(--electric); color: var(--emerald); animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.bk-ok-title { margin-top: .4rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 4vw, 1.9rem); color: var(--emerald); }
.bk-ok-title:focus { outline: none; }
.bk-ok-when { color: var(--emerald); font-weight: 700; }
.bk-ok-text { margin-top: .3rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); white-space: pre-line; overflow-wrap: anywhere; }
.bk-again { margin-top: 1.2rem; }

/* „Добави в календара“ (calendar.js) */
.mk-cal { display: flex; flex-direction: column; align-items: stretch; gap: .5rem; margin-top: .8rem; }
.mk-cal .sdc-confirm-btn.mk-cal-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 54px; padding: .7rem 1.3rem;
  border-radius: 999px; border: 0; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  background: var(--emerald); color: #fff; box-shadow: var(--shadow-sm);
}
.mk-cal .sdc-confirm-btn.mk-cal-btn svg { color: var(--electric); }
.mk-cal .sdc-confirm-btn.mk-cal-btn:hover { background: var(--electric); color: var(--emerald); }
.mk-cal .sdc-confirm-btn.mk-cal-btn:hover svg { color: var(--emerald); }
.mk-cal-btn svg { flex: none; }
.mk-cal-btn:focus-visible, .mk-cal-alt:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; }
.mk-cal-hint { margin: 0; font-size: .9rem; text-align: center; color: var(--muted); }
.mk-cal-alt { align-self: center; background: none; border: 0; padding: .4rem .2rem; font: inherit; font-size: .95rem; color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mk-cal-invite { margin: 0; padding: .7rem .9rem; border-radius: 12px; background: var(--mint); border: 1px solid var(--emerald-3); color: var(--emerald); font-weight: 700; }
@media (min-width: 700px) { .mk-cal .sdc-confirm-btn.mk-cal-btn { width: auto; align-self: flex-start; } .mk-cal-alt, .mk-cal-hint { align-self: flex-start; text-align: left; } }

/* ---------- защо при нас ---------- */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 620px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.why-card { padding: 1.5rem; border-radius: var(--radius); background: var(--bg-2); position: relative; overflow: hidden; }
.why-card::after { content: ""; position: absolute; left: 1.5rem; top: 0; width: 40px; height: 4px; background: var(--electric); border-radius: 0 0 3px 3px; }
.why-ico { width: 48px; height: 48px; display: grid; place-content: center; border-radius: 14px; color: var(--electric); background: var(--emerald); margin-bottom: 1rem; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--emerald); }
.why-card p { margin-top: .45rem; color: var(--muted); }

/* ---------- отзиви ---------- */
.demo-flag { margin-top: 1rem; display: inline-flex; gap: .5rem; align-items: center; padding: .55rem .9rem; border-radius: 10px; background: #fff; border: 1.5px dashed var(--emerald); color: var(--emerald); font-size: .92rem; font-weight: 600; }
.rev-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 860px) { .rev-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.rev-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.rev-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); background: var(--mint); padding: .2rem .55rem; border-radius: 6px; }
.rev-stars { color: var(--emerald); letter-spacing: .15em; }
.rev-card blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.rev-who { margin-top: auto; display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.rev-av { width: 36px; height: 36px; display: grid; place-content: center; border-radius: 50%; background: var(--emerald); color: var(--electric); font-weight: 700; }

/* ---------- ЧЗВ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.faq details[open] { border-color: var(--emerald); box-shadow: inset 4px 0 0 var(--electric); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.15rem; font-weight: 700; font-size: 1.02rem; color: var(--emerald); border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border: solid var(--emerald); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 1.15rem 1.1rem; color: var(--muted); animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- контакти ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; } .map-ph { position: sticky; top: calc(var(--nav-h) + 20px); } }
.contact-cards { display: grid; gap: 1rem; }
.info-card { padding: 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--emerald); }
.info-sub { margin: .15rem 0 .8rem; color: var(--muted); font-size: .88rem; }
.info-card h3 + .contact-line { margin-top: .8rem; }
.hours { margin: 0 0 .4rem; display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); text-align: right; }
.hours .is-closed dd { color: var(--steel); font-weight: 500; }
.hours .is-today dt, .hours .is-today dd { color: var(--emerald); font-weight: 700; }
.today-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .1rem .45rem; border-radius: 6px; background: var(--electric); color: var(--emerald); vertical-align: 2px; }
.contact-line { display: flex; gap: .7rem; align-items: flex-start; padding: .35rem 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-line a { color: var(--emerald); }
.contact-main { font-size: 1.15rem; font-weight: 700; }
.contact-meta { color: var(--muted); font-weight: 500; font-size: .88rem; }
.ci { flex: none; color: var(--emerald); margin-top: .2rem; }

.map-ph {
  position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background:
    linear-gradient(rgba(14, 58, 47, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(14, 58, 47, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    #f7f9f8;
}
.map-sea { position: absolute; right: -10%; bottom: -25%; width: 70%; height: 80%; background: linear-gradient(160deg, #dcefee, #cfe7e6); border-top-left-radius: 60% 70%; }
.map-road { position: absolute; background: #fff; border: 1px solid #dde3e0; border-radius: 4px; }
.map-road.r1 { left: -5%; right: -5%; top: 48%; height: 10px; transform: rotate(-8deg); }
.map-road.r2 { top: -10%; bottom: -10%; left: 38%; width: 9px; transform: rotate(14deg); }
.map-road.r3 { left: 5%; right: 30%; top: 24%; height: 6px; transform: rotate(18deg); }
.map-pin { position: absolute; left: 42%; top: 40%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--emerald); border: 4px solid var(--electric); box-shadow: 0 6px 20px rgba(14, 58, 47, .35); }
.map-pin span { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--emerald-3); animation: radar 2.4s var(--ease) infinite; }
@keyframes radar { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.map-label { position: absolute; left: calc(42% + 22px); top: calc(40% - 18px); max-width: 50%; padding: .35rem .7rem; border-radius: 10px; background: var(--emerald); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.3; box-shadow: var(--shadow-sm); }
.map-cap { position: absolute; left: 1rem; bottom: .8rem; font-size: .78rem; color: var(--muted); background: rgba(255, 255, 255, .85); padding: .1rem .4rem; border-radius: 4px; }

/* ---------- отказ ---------- */
.cancel-card { padding: clamp(1.3rem, 4vw, 2.2rem); border-radius: calc(var(--radius) + 4px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 5px solid var(--electric); }
.cancel-copy p:not(.kicker) { margin-top: .7rem; color: var(--muted); }
.cancel-form { margin-top: 1.3rem; display: grid; gap: .9rem; }
@media (min-width: 680px) { .cancel-form { grid-template-columns: 1fr 1fr auto; align-items: end; } .cancel-btn { --h: 50px; } }
.cancel-result { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; white-space: pre-line; font-weight: 600; }
.cancel-result.is-ok { background: var(--mint); border: 1px solid var(--emerald-3); color: var(--emerald); }
.cancel-result.is-ok::before { content: "✓ "; color: var(--ok); }
.cancel-result.is-err { background: #fff4f2; border: 1px solid #f1b8ae; color: #7a1d12; }
.cancel-result.is-err::before { content: "! "; color: var(--err); font-weight: 900; }

/* ---------- футър и плаващ бутон ---------- */
.footer { padding: 2.6rem 0 calc(5.5rem + env(safe-area-inset-bottom)); background: var(--emerald); color: #d6e8e0; font-size: .92rem; border-top: 4px solid var(--electric); }
.footer a { color: #fff; }
.footer a:hover { color: var(--electric); }
.footer-inner { display: grid; gap: 1.6rem; }
.footer-col { display: flex; flex-direction: column; gap: .35rem; }
.footer-brand { display: flex; align-items: baseline; gap: .6rem; color: #fff; font-weight: 600; font-size: 1.05rem; }
.footer-brand .brand-word { color: var(--electric); }
.footer-test strong { color: var(--electric); }
.footer-small { font-size: .84rem; color: #b9d3c8; }
@media (min-width: 760px) { .footer { padding-bottom: 2.6rem; } .footer-inner { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }

.dock {
  position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 54px; border-radius: 999px;
  background: var(--emerald); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--electric);
  box-shadow: 0 16px 40px -12px rgba(14, 58, 47, .6);
  transform: translateY(140%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; pointer-events: none;
}
.dock svg { color: var(--electric); }
.dock:hover { color: #fff; }
.dock-on .dock { transform: none; opacity: 1; pointer-events: auto; }
@media (min-width: 760px) { .dock { left: auto; right: 1.5rem; bottom: 1.5rem; padding: 0 1.4rem; } }

.noscript { position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; margin: 0; padding: .8rem 1rem; text-align: center; background: #fff4f2; color: #6b1a10; }

/* ---------- намалено движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-anim, .rv { opacity: 1; transform: none; }
  .boot-spin { animation: spin 1.6s linear infinite !important; }
}
