/* ============ Гараж 24 — основной стиль ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --ink: #0c0e11;
  --ink-2: #14171c;
  --paper: #f3f1eb;
  --white: #fff;
  --amber: #f4b02a;
  --amber-light: #fcd34d;
  --amber-dark: #d97706;
  --stone-950: #0c0a09;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --green: #6ee7b7;
  --red: #b91c1c;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --maxw: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--paper); color: var(--stone-950); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
h1, h2, h3, p { margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--amber-dark); }
.dark .eyebrow, .eyebrow.on-dark { color: var(--amber-light); }
.h2 { margin-top: 12px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border: 1px solid transparent; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn-lg { height: 52px; padding: 0 32px; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-light); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #292524; }
.btn-ghost-light { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; border-color: var(--stone-950); color: var(--stone-950); }
.btn-outline:hover { background: var(--stone-950); color: #fff; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.header.scrolled { background: rgba(12,14,17,.95); box-shadow: 0 25px 50px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--amber); color: var(--ink); border: 1px solid rgba(252,211,77,.5); font: 700 14px var(--mono); box-shadow: 0 0 28px rgba(244,176,42,.25); }
.logo-name { font-size: 14px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; line-height: 1.2; }
.logo-sub { font: 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.nav { display: none; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); transition: color .2s; }
.nav a:hover { color: #fff; }
.header-right { display: none; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font: 14px var(--mono); color: rgba(255,255,255,.8); }
.header-phone svg { width: 16px; height: 16px; color: var(--amber-light); }
.burger { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: #fff; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .nav { display: flex; } .header-right { display: flex; } .burger { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 50; display: none; }
.mobile-menu.open { display: block; }
.mobile-menu .backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.mobile-menu .panel { position: absolute; top: 0; right: 0; bottom: 0; width: 86vw; max-width: 384px; background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.mobile-menu .panel-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mobile-menu .panel-head button { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 16px; gap: 4px; }
.mobile-menu nav a { padding: 12px 16px; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.8); border-radius: 8px; }
.mobile-menu nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.mobile-menu .panel-foot { margin-top: auto; padding: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.mobile-menu .panel-foot .mono { display: block; color: var(--amber-light); margin-bottom: 16px; font-size: 14px; }
.mobile-menu .panel-foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: var(--ink); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.9) 1px, transparent 0); background-size: 22px 22px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to right, var(--ink), rgba(12,14,17,.8), rgba(12,14,17,.2)); }
.dark-grid { position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; }
.hero-in { position: relative; z-index: 10; display: grid; gap: 48px; align-items: center; min-height: 100vh; min-height: 100dvh; padding-top: 112px; padding-bottom: 112px; }
@media (min-width: 1024px) { .hero-in { grid-template-columns: 1.05fr .95fr; } }
.pill { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 8px 16px; border: 1px solid rgba(252,211,77,.35); background: rgba(252,211,77,.1); font: 600 11px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: #fde68a; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-light); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { max-width: 900px; font-size: clamp(44px, 8vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.hero p.lead { margin-top: 28px; max-width: 560px; font-size: clamp(16px, 2vw, 18px); line-height: 1.8; color: rgba(255,255,255,.7); }
.hero-cta { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 576px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-stats > div { padding: 20px 12px; border-left: 1px solid rgba(255,255,255,.1); }
.hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.hero-stats b { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.hero-stats span { display: block; margin-top: 4px; font: 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hero-card { display: none; position: relative; }
@media (min-width: 1024px) { .hero-card { display: block; } }
.hero-card::before, .hero-card::after { content: ""; position: absolute; width: 144px; height: 144px; border: 1px solid rgba(252,211,77,.45); }
.hero-card::before { left: -32px; top: -32px; border-right: 0; border-bottom: 0; }
.hero-card::after { right: -32px; bottom: -32px; border-left: 0; border-top: 0; }
.hero-card-in { position: relative; padding: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.1); box-shadow: 0 25px 50px rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.hero-card-in img { width: 100%; height: 480px; object-fit: cover; }
.live { position: absolute; left: 32px; right: 32px; bottom: 32px; padding: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(12,14,17,.9); backdrop-filter: blur(20px); }
.live-head { display: flex; justify-content: space-between; margin-bottom: 16px; font: 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.live-head b { color: var(--amber-light); font-weight: 400; }
.live-row { display: flex; justify-content: space-between; padding: 0 0 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.6); }
.live-row:last-child { border: 0; margin: 0; padding: 0; }
.live-row span:last-child { font-family: var(--mono); }
.c-amber { color: var(--amber-light); } .c-green { color: var(--green); } .c-dim { color: rgba(255,255,255,.4); }

.ticker-wrap { position: absolute; z-index: 10; inset: auto 0 0 0; overflow: hidden; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); background: rgba(10,12,15,.9); backdrop-filter: blur(20px); }
.ticker { display: flex; align-items: center; gap: 32px; width: max-content; font: 600 12px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.45); animation: ticker 34s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker span { display: flex; align-items: center; gap: 32px; }
.ticker span::after { content: ""; width: 6px; height: 6px; background: var(--amber-light); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Преимущества ---------- */
.perks { border-bottom: 1px solid var(--stone-200); }
.perks-grid { display: grid; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 640px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .perks-grid { grid-template-columns: repeat(4, 1fr); } }
.perk { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--stone-200); background: #fff; }
.perk svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: #f59e0b; }
.perk b { display: block; font-weight: 700; }
.perk span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--stone-600); }

/* ---------- Секции ---------- */
.section { padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
.section.dark { background: var(--ink); color: #fff; }
.section.white { background: #fff; border-top: 1px solid var(--stone-200); border-bottom: 1px solid var(--stone-200); }
.section-head { display: flex; flex-direction: column; gap: 32px; margin-bottom: 40px; }
@media (min-width: 1024px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .tabs { flex-wrap: wrap; justify-content: flex-end; max-width: 672px; } }
.tab { flex: none; height: 40px; padding: 0 16px; border: 1px solid var(--stone-300); background: #fff; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone-600); cursor: pointer; transition: all .2s; }
.tab:hover { border-color: var(--stone-950); color: var(--stone-950); }
.tab.active { border-color: var(--stone-950); background: var(--stone-950); color: #fff; }

.services-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--stone-200); background: #fff; transition: all .3s; }
.service:hover { transform: translateY(-4px); border-color: var(--stone-950); box-shadow: 0 24px 50px rgba(12,14,17,.12); }
.service[hidden] { display: none; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.badge { padding: 4px 12px; background: var(--stone-950); color: #fff; font: 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.service-top .dur { font: 12px var(--mono); color: var(--stone-400); white-space: nowrap; }
.service h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.service p { flex: 1; margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--stone-600); }
.service-bottom { flex-wrap: wrap; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--stone-200); }
.service-bottom small { display: block; font: 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--stone-400); }
.service-bottom b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.service .btn { height: 40px; padding: 0 16px; }

/* ---------- Запись ---------- */
.booking { position: relative; overflow: hidden; }
.light-grid { position: absolute; inset: 0; opacity: .05; background-image: linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px); background-size: 42px 42px; }
.booking-in { position: relative; display: grid; gap: 48px; }
@media (min-width: 1024px) { .booking-in { grid-template-columns: .9fr 1.1fr; } }
.booking-lead { margin-top: 24px; max-width: 576px; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.6); }
.contact-list { display: grid; gap: 16px; margin-top: 40px; }
.contact { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); transition: border-color .2s; }
a.contact:hover { border-color: rgba(252,211,77,.5); }
.contact .ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; background: rgba(255,255,255,.1); color: var(--amber-light); }
.contact .ico.hot { background: var(--amber); color: var(--ink); }
.contact .ico svg { width: 20px; height: 20px; }
.contact small { display: block; font: 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.contact b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.contact b.big { font-size: 18px; font-weight: 700; }

/* ---------- Формы ---------- */
.card-form { padding: 20px; border: 1px solid rgba(255,255,255,.1); background: var(--ink-2); color: #fff; box-shadow: 0 25px 50px rgba(0,0,0,.2); }
@media (min-width: 640px) { .card-form { padding: 28px; } }
.card-form.light { align-self: start; border-color: var(--stone-200); background: #fff; color: var(--stone-950); box-shadow: 0 20px 40px rgba(28,25,23,.05); }
.form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.form-head h3 { margin-top: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.form-head .ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); color: var(--amber-light); }
.light .form-head .ico { background: #f5f5f4; border: 0; color: #44403c; }
.form-head .ico svg { width: 20px; height: 20px; }
.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field label, .field .lbl { display: block; margin-bottom: 8px; font: 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.light .field label, .light .field .lbl { color: var(--stone-500); }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 0; background: rgba(255,255,255,.05); color: #fff; outline: none; transition: border-color .2s; }
.field textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field input[type=date] { color-scheme: dark; }
.field select option { background: #171a1f; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.light .field input, .light .field textarea { border-color: var(--stone-300); background: #fff; color: var(--stone-950); }
.light .field textarea { min-height: 128px; }
.light .field input::placeholder, .light .field textarea::placeholder { color: var(--stone-400); }
.light .field input:focus, .light .field textarea:focus { border-color: var(--stone-950); }
.form-error { display: none; margin-top: 16px; padding: 12px 16px; border: 1px solid rgba(248,113,113,.3); background: rgba(239,68,68,.1); font-size: 14px; color: #fee2e2; }
.light .form-error { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }
.form-error.show { display: block; }
.card-form .btn[type=submit] { width: 100%; height: 48px; margin-top: 24px; }
.fine { margin-top: 16px; text-align: center; font: 11px/1.6 var(--mono); color: rgba(255,255,255,.4); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { padding: 28px; border: 1px solid rgba(252,211,77,.5); background: var(--ink-2); color: #fff; box-shadow: 0 25px 50px rgba(0,0,0,.2); }
.light.success { height: 100%; border-color: var(--stone-200); background: #fff; color: var(--stone-950); }
.success .ok { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: rgba(244,176,42,.15); color: var(--amber-light); }
.light.success .ok { background: #fef3c7; color: #d97706; }
.success .ok svg { width: 24px; height: 24px; }
.success h3 { margin-top: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.success p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.65); }
.light.success p { color: var(--stone-600); }
.success p b { color: #fff; font-weight: 500; }
.success .btn { margin-top: 24px; }
.success[hidden], .card-form[hidden] { display: none; }

/* ---------- Как проходит визит ---------- */
.steps { display: grid; gap: 40px; }
@media (min-width: 1024px) { .steps { grid-template-columns: .8fr 1.2fr; } }
.steps-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 24px; border: 1px solid var(--stone-200); background: var(--paper); }
.step .n { font: 700 36px var(--mono); letter-spacing: -.08em; color: var(--stone-300); }
.step b { display: block; margin-top: 32px; font-size: 18px; }
.step p { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--stone-600); }

/* ---------- Галерея ---------- */
.gallery-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } .gallery-grid figure:first-child { grid-column: span 2; } }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); }
.gallery-grid img { width: 100%; height: 320px; object-fit: cover; transition: transform .5s; }
@media (min-width: 768px) { .gallery-grid figure:first-child img { height: 430px; } }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 64px 20px 20px; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); }
.gallery-grid figcaption small { display: block; font: 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--amber-light); }
.gallery-grid figcaption b { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; }
.gallery-lead { max-width: 448px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.55); }

/* ---------- Отзывы ---------- */
.rating-head { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 1024px) { .rating-head { grid-template-columns: .9fr 1.1fr; align-items: end; } .avg { justify-content: flex-end; } }
.avg { display: flex; align-items: center; gap: 20px; }
.avg .num { font-size: 60px; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.avg small { display: block; margin-top: 8px; font: 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--stone-500); }
.stars { display: inline-flex; gap: 2px; color: #f59e0b; }
.stars svg { width: 18px; height: 18px; }
.stars .off { color: var(--stone-300); }
.reviews-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .reviews-layout { grid-template-columns: 1.15fr .85fr; } }
.reviews-grid { display: grid; gap: 16px; align-content: start; }
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review { padding: 24px; border: 1px solid var(--stone-200); background: #fff; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.review-who { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; background: var(--stone-950); color: #fff; font: 700 12px var(--mono); }
.review p { font-size: 14px; line-height: 1.75; color: var(--stone-600); }
.review time { display: block; margin-top: 20px; font: 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--stone-400); }
.empty { padding: 32px; border: 1px dashed var(--stone-300); color: var(--stone-500); text-align: center; font-size: 14px; }

.star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-picker { position: relative; }
.star-picker input[type=radio] { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.star-picker label { margin: 0; cursor: pointer; color: var(--stone-300); transition: color .15s; line-height: 0; }
.star-picker label svg { width: 30px; height: 30px; }
.star-picker label:hover, .star-picker label:hover ~ label, .star-picker input:checked ~ label { color: #f59e0b; }
.star-picker input:focus-visible + label { outline: 2px solid var(--amber); }

/* ---------- CTA и подвал ---------- */
.cta { background: var(--amber); color: var(--ink); padding: 64px 0; }
.cta-in { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .cta-in { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta .eyebrow { color: var(--ink); font-weight: 700; }
.cta h2 { margin-top: 12px; max-width: 672px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }

.footer { background: var(--ink); color: #fff; }
.footer-grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; } }
.footer .logo-mark { width: 44px; height: 44px; box-shadow: none; }
.footer .about { max-width: 384px; margin-top: 20px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.6); }
.footer h4 { margin: 0 0 20px; font: 600 12px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--amber-light); }
.footer .contacts { font: 14px var(--mono); color: rgba(255,255,255,.7); }
.footer .contacts a, .footer .contacts div { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.footer .contacts a:hover { color: #fff; }
.footer .contacts svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: rgba(255,255,255,.4); }
.footer-nav { display: grid; gap: 12px; font-size: 14px; color: rgba(255,255,255,.7); }
.footer-nav a { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom .container { display: flex; flex-direction: column; gap: 8px; font: 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; } }

.toast { position: fixed; z-index: 100; right: 16px; bottom: 16px; max-width: 340px; padding: 14px 18px; background: var(--ink); color: #fff; border-left: 4px solid var(--amber); box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 14px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s; }
.toast.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.gal-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
@media (min-width: 640px) { .gal-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.footer-nav svg { width: 16px; height: 16px; color: rgba(255,255,255,.35); }
[hidden]{display:none!important}
