/* ============================================================
   VAG·АвтоПро — stylesheet
   ============================================================ */

:root {
  --bg:        #07080d;
  --bg-2:      #0b0d15;
  --surface:   rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --line:      rgba(255,255,255,.10);
  --text:      #eef1f8;
  --muted:     #9aa3b8;
  --muted-2:   #6b7388;

  --brand:     #5b8cff;
  --brand-2:   #a855f7;
  --brand-3:   #22d3ee;
  --accent:    #c6f24e;

  --grad: linear-gradient(120deg, #5b8cff 0%, #8b5cf6 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(91,140,255,.18), rgba(168,85,247,.18) 50%, rgba(34,211,238,.18));

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  --glow: 0 0 60px -12px rgba(91,140,255,.55);

  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1200px;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

h1,h2,h3,.logo__text { font-family: 'Unbounded', sans-serif; font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
h1,h2,h3 { overflow-wrap: break-word; }
.section__title, .hero__title { hyphens: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- background aurora ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
  radial-gradient(1200px 600px at 80% -10%, rgba(91,140,255,.12), transparent 60%),
  radial-gradient(900px 500px at 0% 20%, rgba(168,85,247,.10), transparent 55%),
  var(--bg); }
.orb { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .42; will-change: transform; transform: translateZ(0); }
.orb-1 { width: 400px; height: 400px; background: #3b6cff; top: -110px; left: -70px; animation: float1 22s ease-in-out infinite; }
.orb-2 { width: 440px; height: 440px; background: #8b5cf6; top: 30%; right: -130px; animation: float2 26s ease-in-out infinite; }
.orb-3 { width: 360px; height: 360px; background: #16b8c9; bottom: -150px; left: 30%; animation: float3 24s ease-in-out infinite; }
.grid-overlay { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%); }
@keyframes float1 { 50% { transform: translate(60px,40px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-50px,30px) scale(1.08); } }
@keyframes float3 { 50% { transform: translate(40px,-40px) scale(1.12); } }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: var(--grad); box-shadow: 0 0 12px rgba(91,140,255,.7); transition: width .1s linear; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .96rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { color: #08101f; background: var(--grad); background-size: 180% 180%; box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -8px rgba(91,140,255,.7); animation: gradShift 3s ease infinite; }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn--glass { background: rgba(255,255,255,.07); border: 1px solid var(--line); color: var(--text); }
.btn--glass:hover { transform: translateY(-3px); border-color: rgba(91,140,255,.5); background: rgba(91,140,255,.10); }
.btn--ghost { padding: 9px 14px; color: var(--muted); font-weight: 600; }
.btn--ghost:hover { color: var(--text); }
.btn--phone svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- header ---------- */
.header { position: fixed; top: 0; inset-inline: 0; z-index: 100; padding: 16px 0;
  transition: padding .3s var(--ease), background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { padding: 10px 0; background: rgba(8,9,14,.94); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--brand); }
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { font-size: 1.12rem; }
.logo__accent { color: var(--muted); -webkit-text-fill-color: var(--muted); }

.nav { display: flex; gap: 6px; }
.nav__link { position: relative; padding: 8px 14px; font-weight: 600; font-size: .95rem; color: var(--muted); border-radius: 999px; transition: color .2s, background .2s; }
.nav__link:hover { color: var(--text); background: var(--surface); }

.header__cta { display: flex; align-items: center; gap: 8px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 99;
  background: rgba(10,12,20,.96); backdrop-filter: blur(20px); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column;
  justify-content: center; gap: 30px; padding: 90px 30px 40px; }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__link { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 1.4rem; padding: 10px 0; border-bottom: 1px solid var(--line); transition: color .2s, padding-left .25s; }
.mobile-menu__link:hover { color: var(--brand); padding-left: 8px; }
.mobile-menu__foot { display: grid; gap: 14px; }
.mobile-menu__foot p { color: var(--muted); font-size: .9rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 0; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(198,242,78,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,242,78,.55); } 70% { box-shadow: 0 0 0 10px rgba(198,242,78,0); } 100% { box-shadow: 0 0 0 0 rgba(198,242,78,0); } }

.hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 900; margin: 22px 0 18px; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }

.hero__stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hstat { flex: 1 1 130px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.hstat__num { display: block; font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hstat__label { font-size: .82rem; color: var(--muted); }

/* hero visual */
.hero__visual { position: relative; }
.hero__card-glow { position: absolute; inset: -10% -6% -10% -6%; background: radial-gradient(closest-side, rgba(91,140,255,.4), transparent 70%); filter: blur(20px); z-index: -1; animation: float2 10s ease-in-out infinite; }
.hero__photo { display: block; position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); aspect-ratio: 4/3.2; background:
  linear-gradient(135deg, #11131f, #0a0b12); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__photo:hover img { transform: scale(1.05); }
.hero__photo.is-fallback img { display: none; }
.hero__photo.is-fallback::after { content: "AUDI · VW · PORSCHE · ŠKODA"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'Unbounded'; font-weight: 800; color: rgba(255,255,255,.25); letter-spacing: .1em; font-size: .9rem; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(91,140,255,.18), transparent 70%); }

.hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 14px;
  background: rgba(13,16,24,.95); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
  will-change: transform; }
.hero__chip svg { width: 18px; height: 18px; color: var(--brand-3); }
.hero__chip--1 { top: 26px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.hero__chip--2 { bottom: 30px; right: -18px; animation: floaty 6s ease-in-out infinite .8s; }
.hero__chip--2 svg { color: var(--accent); }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* marquee */
.marquee { margin-top: 70px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.marquee__track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: scroll-x 32s linear infinite;
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--muted-2);
  will-change: transform; backface-visibility: hidden; }
.marquee__track span:nth-child(3n+1) { color: var(--text); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__subtitle { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-3); margin-bottom: 14px; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media-frame { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4/4.4; background: linear-gradient(135deg,#11131f,#0a0b12); }
.about__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about__media-frame.is-fallback { display: grid; place-items: center; }
.about__media-frame.is-fallback img { display: none; }
.about__media-frame.is-fallback::after { content: "VAG SERVICE"; font-family: 'Unbounded'; font-weight: 800; color: rgba(255,255,255,.18); letter-spacing: .15em; }
.about__badge { position: absolute; right: -18px; bottom: 28px; display: grid; gap: 2px; padding: 18px 22px; border-radius: 18px;
  background: rgba(11,13,21,.95); border: 1px solid var(--line); box-shadow: var(--shadow); }
.about__badge-num { font-family: 'Unbounded'; font-weight: 800; font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about__badge-text { font-size: .82rem; color: var(--muted); max-width: 120px; }

.about__content .section__title { text-align: left; }
.about__text { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }
.about__points { display: grid; gap: 12px; margin: 26px 0; }
.about__points li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 500; }
.tick { flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; background: var(--grad-soft); border: 1px solid var(--line); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--brand-3); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(91,140,255,.16), transparent 45%); opacity: 0; transition: opacity .35s; }
.card:hover { transform: translateY(-6px); border-color: rgba(91,140,255,.45); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line); color: var(--brand-3); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-family: 'Unbounded'; font-weight: 600; font-size: 1.02rem; line-height: 1.3; margin-bottom: 6px; }
.card__text { color: var(--muted); font-size: .9rem; }
.card__num { position: absolute; top: 16px; right: 18px; font-family: 'Unbounded'; font-weight: 800; font-size: 1rem; color: rgba(255,255,255,.10); }

/* ---------- price ---------- */
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-cat { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s; }
.price-cat:hover { transform: translateY(-5px); border-color: rgba(168,85,247,.4); }
.price-cat--featured { background: linear-gradient(180deg, rgba(91,140,255,.10), rgba(168,85,247,.06)); border-color: rgba(91,140,255,.4); box-shadow: var(--glow); }
.price-cat__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-cat__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line); color: var(--brand-3); }
.price-cat__icon svg { width: 22px; height: 22px; }
.price-cat__title { font-family: 'Unbounded'; font-weight: 600; font-size: 1.08rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,.07); }
.price-row:last-child { border-bottom: none; }
.price-row__name { color: var(--muted); font-size: .95rem; }
.price-row__val { font-weight: 700; white-space: nowrap; }
.price-row__val b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price__note { text-align: center; color: var(--muted-2); font-size: .9rem; margin-top: 30px; }
.price__note a { color: var(--brand); font-weight: 600; }

/* ---------- booking ---------- */
.booking__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.booking__intro .section__title { text-align: left; }
.booking__lead { color: var(--muted); font-size: 1.05rem; margin-top: 18px; }
.booking__benefits { display: grid; gap: 12px; margin: 26px 0; }
.booking__benefits li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.booking__contacts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }
.booking__phone { font-family: 'Unbounded'; font-weight: 600; font-size: 1.2rem; transition: color .2s; }
.booking__phone:hover { color: var(--brand); }

.booking-form { position: relative; padding: 34px; border-radius: 26px; background: rgba(12,14,22,.92); border: 1px solid var(--line); box-shadow: var(--shadow); }
.booking-form__glow { position: absolute; inset: -1px; border-radius: 26px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none; }
.booking-form__title { font-family: 'Unbounded'; font-weight: 700; font-size: 1.4rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: rgba(91,140,255,.06); box-shadow: 0 0 0 4px rgba(91,140,255,.12); }
.field textarea { resize: vertical; min-height: 84px; }
.field input.is-invalid { border-color: #ff6b6b; box-shadow: 0 0 0 4px rgba(255,107,107,.12); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap select option { background: #0b0d15; color: var(--text); }
.select-wrap__chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.booking-form .btn { margin-top: 8px; }
.booking-form__hint { font-size: .78rem; color: var(--muted-2); text-align: center; margin-top: 14px; }

/* ---------- contacts ---------- */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.contacts__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.contact-card { display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(91,140,255,.4); background: var(--surface-2); }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line); color: var(--brand-3); margin-bottom: 8px; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label { font-size: .8rem; color: var(--muted); }
.contact-card__value { font-weight: 700; font-size: 1.02rem; }
.contact-card--wa { background: linear-gradient(180deg, rgba(37,211,102,.12), rgba(37,211,102,.04)); border-color: rgba(37,211,102,.3); }
.contact-card--wa .contact-card__icon { color: #25d366; background: rgba(37,211,102,.12); }
.contacts__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; box-shadow: var(--shadow); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 26px; background: rgba(8,9,15,.6); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: .95rem; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { color: var(--muted); transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.footer__contacts a { font-family: 'Unbounded'; font-weight: 600; }
.footer__contacts span { color: var(--muted); font-size: .92rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .85rem; }

/* ---------- fab + toast ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 36px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.fab svg { width: 30px; height: 30px; }
.fab:hover { transform: scale(1.1) translateY(-2px); }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: pulse 2.4s infinite; }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%); z-index: 300; max-width: 90vw;
  padding: 15px 22px; border-radius: 14px; background: rgba(16,20,30,.96); backdrop-filter: blur(12px); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-weight: 600; display: flex; align-items: center; gap: 12px; transition: transform .5s var(--ease); }
.toast.is-show { transform: translate(-50%, 0); }
.toast::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); flex: none; }
.toast--ok::before { background: #25d366; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); cursor: pointer; padding: 0; background: var(--surface); display: block; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,8,13,.78), transparent 52%); transition: opacity .3s; }
.gallery__cap { position: absolute; left: 15px; bottom: 13px; z-index: 1; font-weight: 700; font-size: .92rem; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- working hours card ---------- */
.contact-card--hours { grid-column: 1 / -1; }
.contact-card--hours:hover { transform: none; }
.hours__title { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--brand-3); margin-bottom: 12px; }
.hours__title svg { width: 20px; height: 20px; }
.hours__list { display: flex; flex-wrap: wrap; gap: 10px; }
.hours__list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); min-width: 96px; }
.hours__list span { font-size: .8rem; color: var(--muted); }
.hours__list b { font-size: .98rem; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(5,6,10,.93); }
.lightbox.is-open { display: flex; animation: lbFade .25s ease; }
@keyframes lbFade { from { opacity: 0; } }
.lightbox__img { max-width: min(1100px, 94vw); max-height: 88vh; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid var(--line); font-size: 1.9rem; line-height: 1; color: #fff; transition: background .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.22); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .about__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .about__content .section__title, .booking__intro .section__title { text-align: center; }
  .about__content { text-align: center; }
  .about__points li { text-align: left; }
  .booking__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .booking__intro { text-align: center; }
  .booking__benefits { max-width: 420px; margin-inline: auto; }
  .booking__contacts { justify-content: center; }
  .price__grid { grid-template-columns: repeat(2, 1fr); }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 120px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 12px; }
  .price__grid { grid-template-columns: 1fr; }
  .contacts__cards { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .hero__chip--1 { left: 6px; }
  .hero__chip--2 { right: 6px; }
  .marquee__track { font-size: 1.05rem; }
  .about__badge { right: 8px; }
}
@media (max-width: 440px) {
  .container { padding-inline: 16px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { padding: 20px 16px; }
  .hstat { flex-basis: calc(50% - 7px); }
  .booking-form { padding: 24px 20px; }
  .contacts__cards { grid-template-columns: 1fr; }
}
