/* ============================================================
   АВТОБЮРО — автосервис · дизайн-система
   Светлая тема · красно-чёрные градиентные акценты
   ============================================================ */

:root {
  /* Brand gradient */
  --grad: linear-gradient(135deg, #FF3B30 0%, #D6101B 46%, #1A1A1A 100%);
  --grad-soft: linear-gradient(135deg, #FF4438 0%, #E0121D 55%, #2A2A2A 100%);
  --grad-text: linear-gradient(100deg, #FF3B30 0%, #D6101B 60%, #2A1012 100%);

  /* Reds / black */
  --red: #E0121D;
  --red-bright: #FF3B30;
  --red-deep: #9E0C14;
  --black: #161616;
  --black-2: #0E0E10;

  /* Neutrals (cool-warm balanced) */
  --bg: #F6F6F7;
  --bg-2: #EFEFF1;
  --surface: #FFFFFF;
  --ink: #16171B;
  --ink-2: #34363D;
  --muted: #71747D;
  --faint: #9A9DA5;
  --line: #E5E6E9;
  --line-2: #D9DADE;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(20,21,24,.05), 0 1px 1px rgba(20,21,24,.04);
  --shadow: 0 12px 30px -12px rgba(20,21,24,.18), 0 4px 10px -6px rgba(20,21,24,.10);
  --shadow-lg: 0 40px 80px -28px rgba(20,21,24,.30), 0 12px 24px -16px rgba(20,21,24,.16);
  --shadow-red: 0 18px 40px -16px rgba(214,16,27,.45);

  --maxw: 1360px;
  --gut: clamp(20px, 4.5vw, 72px);

  --ff-display: "Bricolage Grotesque", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad);
}
.eyebrow.center::before { display: none; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff; background: var(--grad); background-size: 160% 160%;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 24px 48px -16px rgba(214,16,27,.55); }
.btn-primary:active { transform: translateY(0); }
.btn-dark { color: #fff; background: var(--black); }
.btn-dark:hover { transform: translateY(-2px); background: #000; box-shadow: var(--shadow); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,246,247,.78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  border-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(20,21,24,.3);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: auto; height: 60px; object-fit: contain; flex-shrink: 0; display: block; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--grad); background-size: 140% 140%;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: var(--shadow-red);
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 42%);
}
.logo-mark span {
  font-family: var(--ff-display); font-weight: 800; color: #fff;
  font-size: 19px; letter-spacing: -.04em; position: relative; z-index: 1;
  transform: skewX(-8deg);
}
.logo-word { font-family: var(--ff-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.logo-word b { font-weight: 800; }
.logo-sub { display: block; font-family: var(--ff-body); font-weight: 600; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-top: -2px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav a {
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  padding: 9px 14px; border-radius: 9px; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg-2); color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header-phone a { font-family: var(--ff-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.header-phone span { font-size: 11.5px; color: var(--muted); font-weight: 600; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -8%; top: -18%;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at 60% 40%, rgba(255,59,48,.16), rgba(214,16,27,.05) 42%, transparent 66%);
  pointer-events: none; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero-copy { min-width: 0; }

.hero-h1 { font-size: clamp(2.3rem, 3.45vw, 3.2rem); text-transform: uppercase; letter-spacing: -.03em; overflow-wrap: break-word; }
.hero-h1 .line2 { display: block; }
.hero-lead { font-size: clamp(1.02rem, 1.35vw, 1.18rem); color: var(--ink-2); max-width: 44ch; margin-top: 22px; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 9px 15px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); display: inline-block; }

.hero-stats { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 40px; }
.stat .num { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1; }
.stat .lab { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 6px; max-width: 16ch; }

/* Hero media */
.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  aspect-ratio: 9/10; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-badge {
  position: absolute; left: -22px; bottom: 34px; z-index: 3;
  background: var(--surface); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
}
.hero-badge .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex-shrink: 0; }
.hero-badge .ic svg { width: 22px; height: 22px; color: #fff; }
.hero-badge b { font-family: var(--ff-display); font-weight: 800; font-size: 17px; display: block; }
.hero-badge small { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* Placeholder image style */
.fit-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(22,23,27,.045) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, #2a2b30, #161616 70%);
  display: grid; place-items: center; color: rgba(255,255,255,.62);
}
.ph.light {
  background:
    repeating-linear-gradient(135deg, rgba(22,23,27,.05) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, #ECEDEF, #DFE0E3 70%);
  color: var(--faint);
}
.ph .ph-tag {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; letter-spacing: .04em; padding: 7px 12px;
  border: 1px dashed currentColor; border-radius: 8px; text-align: center;
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { position: relative; }
.section { padding-block: clamp(64px, 8vw, 116px); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 3.3rem); text-transform: uppercase; margin-top: 14px; }
.section-sub { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); margin-top: 16px; font-weight: 500; }

/* ============================================================
   FEATURED SERVICES
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.feat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; color: #fff; isolation: isolate;
  border: 1px solid var(--line); background: var(--black);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-card .feat-bg { position: absolute; inset: 0; z-index: -2; }
.feat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,14,16,.05) 0%, rgba(14,14,16,.55) 58%, rgba(14,14,16,.92) 100%);
}
.feat-card.is-accent::after { background: linear-gradient(150deg, rgba(214,16,27,.30) 0%, rgba(20,16,18,.55) 50%, rgba(14,14,16,.94) 100%); }
.feat-num { position: absolute; top: 24px; right: 26px; font-family: var(--ff-display); font-weight: 800; font-size: 15px; color: rgba(255,255,255,.5); letter-spacing: .1em; }
.feat-card h3 { font-size: 1.7rem; text-transform: uppercase; }
.feat-card p { color: rgba(255,255,255,.78); font-size: 14.5px; margin-top: 8px; font-weight: 500; max-width: 34ch; }
.feat-go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--ff-display); font-weight: 700; font-size: 14px; color: #fff;
}
.feat-go svg { width: 17px; height: 17px; transition: transform .25s; }
.feat-card:hover .feat-go svg { transform: translateX(4px); }

/* ============================================================
   ALL SERVICES GRID
   ============================================================ */
.svc-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.svc-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); transition: border-color .25s, transform .25s, box-shadow .25s, background .25s;
}
.svc-item:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--surface); box-shadow: var(--shadow); }
.svc-ic {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #fff, #f1f1f3); border: 1px solid var(--line);
  color: var(--red);
}
.svc-item:hover .svc-ic { background: var(--grad); color: #fff; border-color: transparent; }
.svc-ic svg { width: 25px; height: 25px; }
.svc-item h4 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; }
.svc-item p { color: var(--muted); font-size: 14px; margin-top: 5px; font-weight: 500; }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.adv-card { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.adv-num { font-family: var(--ff-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1; }
.adv-card h4 { font-size: 1.18rem; font-weight: 700; margin-top: 16px; }
.adv-card p { color: var(--muted); font-size: 14.5px; margin-top: 9px; font-weight: 500; }

/* ============================================================
   PROCESS
   ============================================================ */
.proc-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; counter-reset: step; }
.proc-step { position: relative; padding: 0 26px; }
.proc-step:not(:last-child)::before {
  content: ""; position: absolute; top: 26px; left: 50%; right: -50%; height: 2px;
  background: linear-gradient(90deg, var(--line-2), var(--line)); z-index: 0;
}
.proc-dot {
  position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 20px;
  color: var(--ink); margin-bottom: 22px;
}
.proc-step:first-child .proc-dot, .proc-step.active .proc-dot { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--shadow-red); }
.proc-step h4 { font-size: 1.2rem; font-weight: 700; }
.proc-step p { color: var(--muted); font-size: 14px; margin-top: 8px; font-weight: 500; padding-right: 14px; }

/* ============================================================
   GALLERY / BEFORE-AFTER
   ============================================================ */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-top: 48px; }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; user-select: none;
  aspect-ratio: 16/10; box-shadow: var(--shadow); border: 1px solid var(--line); touch-action: pan-y;
}
.ba .ba-layer { position: absolute; inset: 0; }
.ba .ba-after { z-index: 1; }
.ba .ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-label { position: absolute; bottom: 14px; z-index: 3; font-family: var(--ff-display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(14,14,16,.6); padding: 6px 12px; border-radius: 8px; backdrop-filter: blur(4px); }
.ba-label.l { left: 14px; }
.ba-label.r { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; z-index: 4; left: 50%; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.1); cursor: ew-resize; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-red); color: #fff; }
.ba-knob svg { width: 22px; height: 22px; }
.gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery-tile { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* ============================================================
   REVIEWS
   ============================================================ */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.rev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.rev-stars { display: flex; gap: 3px; color: var(--red); margin-bottom: 16px; }
.rev-stars svg { width: 18px; height: 18px; }
.rev-card p { font-size: 15.5px; color: var(--ink-2); font-weight: 500; flex: 1; }
.rev-who { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.rev-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--ff-display); font-weight: 800; font-size: 16px; }
.rev-who b { font-weight: 700; font-size: 15px; display: block; }
.rev-who small { color: var(--muted); font-size: 13px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 880px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--ff-display); font-weight: 700; font-size: 1.16rem; color: var(--ink); }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--bg-2); display: grid; place-items: center; transition: background .25s, transform .25s, color .25s; }
.faq-icon svg { width: 18px; height: 18px; }
.faq-item.open .faq-icon { background: var(--grad); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; font-weight: 500; }

/* ============================================================
   CTA / FORM
   ============================================================ */
.cta-section { position: relative; overflow: hidden; }
.cta-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--black); color: #fff; padding: clamp(34px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,59,48,.34), transparent 46%),
    radial-gradient(circle at 92% 110%, rgba(214,16,27,.30), transparent 50%);
}
.cta-copy { position: relative; z-index: 1; min-width: 0; }
.cta-copy .eyebrow { color: #ff6a62; }
.cta-copy h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); text-transform: uppercase; margin-top: 14px; }
.cta-copy p { color: rgba(255,255,255,.74); font-size: 1.05rem; margin-top: 16px; font-weight: 500; max-width: 38ch; }
.cta-perks { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.cta-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.92); list-style: none; }
.cta-perks .pic { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #ff6a62; flex-shrink: 0; }
.cta-perks .pic svg { width: 15px; height: 15px; }
.cta-perks ul { padding: 0; margin: 0; }

/* ============================================================
   CONTACTS
   ============================================================ */
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.loc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.loc-map { aspect-ratio: 16/8; position: relative; display: block; }
a.loc-map { text-decoration: none; }
.loc-map-pin { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(2px); transition: background .2s; }
a.loc-map:hover .loc-map-pin { background: var(--red); }
.loc-body { padding: 26px 28px; }
.loc-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-display); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.loc-card h3 { font-size: 1.35rem; margin-top: 12px; }
.loc-rows { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.loc-row { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.loc-row svg { width: 19px; height: 19px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.loc-row a { font-weight: 600; }
.loc-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.loc-cta .btn { padding: 13px 20px; font-size: 15px; }
.loc-cta .btn-dark { flex: 1; }

/* ---------- Floating MAX button ---------- */
.max-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 140;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--grad); background-size: 160% 160%; color: #fff;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  box-shadow: var(--shadow-red); transition: transform .25s, box-shadow .25s, background-position .35s;
}
.max-fab svg { width: 22px; height: 22px; }
.max-fab:hover { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 26px 52px -18px rgba(214,16,27,.6); }
.max-fab:active { transform: translateY(0); }
body.cookie-open .max-fab { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-display); font-weight: 700; font-size: 15px;
  padding: 14px 12px; border-radius: 12px;
}
.mobile-bar .mb-call { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.mobile-bar .mb-call svg { width: 18px; height: 18px; color: var(--red); }
.mobile-bar .mb-max { background: var(--grad); color: #fff; box-shadow: var(--shadow-red); }
body.cookie-open .mobile-bar { transform: translateY(120%); }
body.drawer-open .mobile-bar { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black-2); color: rgba(255,255,255,.7); padding-top: 64px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .logo-word { color: #fff; }
.foot-brand .logo-sub { color: rgba(255,255,255,.4); }
.foot-about { font-size: 14.5px; margin-top: 18px; max-width: 34ch; font-weight: 500; line-height: 1.65; }
.foot-col h5 { font-family: var(--ff-display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a, .foot-col li { font-size: 14.5px; font-weight: 500; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-doc { background: none; border: 0; color: rgba(255,255,255,.7); font: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; padding: 0; text-align: left; transition: color .2s; }
.foot-doc:hover { color: #fff; text-decoration: underline; }
.foot-legal { padding: 26px 0 34px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.45); }
.foot-legal .req-line { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.foot-bottom .made { color: rgba(255,255,255,.4); }

/* ============================================================
   MODAL (legal docs)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14,14,16,.55); backdrop-filter: blur(4px); animation: fade .2s; }
.modal-card { position: relative; z-index: 1; background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 720px; max-height: 82vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2,.8,.2,1); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 30px 18px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1.5rem; text-transform: uppercase; }
.modal-close { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
.modal-close:hover { background: var(--black); color: #fff; border-color: transparent; }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 24px 30px 30px; overflow-y: auto; }
.modal-body h4 { font-size: 1.1rem; margin: 22px 0 8px; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; font-weight: 500; }
.modal-note { background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 11px; padding: 14px 16px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 150; max-width: 560px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 22px; display: none; gap: 16px; align-items: center; transform: translateY(120%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.cookie.show { display: flex; transform: translateY(0); }
.cookie-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.cookie-ic svg { width: 22px; height: 22px; }
.cookie p { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.cookie p a { color: var(--red); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie .btn { padding: 11px 18px; font-size: 14px; }

/* ============================================================
   CTA ACTION PANEL + BOOKING MODAL
   ============================================================ */
.cta-action { position: relative; z-index: 1; }
.cta-action-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  backdrop-filter: blur(6px);
  text-align: center;
}
.cta-action-kicker {
  display: inline-block; font-family: var(--ff-display); font-weight: 700;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #ff6a62; margin-bottom: 14px;
}
.cta-action-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); text-transform: uppercase; color: #fff; }
.cta-action-card p { color: rgba(255,255,255,.72); font-size: 15px; font-weight: 500; margin-top: 12px; max-width: 34ch; margin-inline: auto; }
.cta-action-card .btn { margin-top: 26px; }
.cta-action-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 14px; color: rgba(255,255,255,.5); font-size: 13px; font-weight: 600; }
.cta-action-or::before, .cta-action-or::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.16); }
.cta-action-phone { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: -.01em; color: #fff; }
.cta-action-phone:hover { color: #ff6a62; }

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
}

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(14,14,16,.5); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s;
}
.drawer-scrim.show { opacity: 1; }
body.drawer-open { overflow: hidden; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(400px, 92vw);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 18px;
  padding: 18px 22px calc(26px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility .32s;
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }

.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.drawer-logo { display: inline-flex; align-items: center; gap: 12px; }
.drawer-logo .logo-img { height: 46px; }
.drawer-logo .logo-sub { display: block; }
.drawer-close {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--bg);
  display: grid; place-items: center; color: var(--ink); transition: .2s;
}
.drawer-close:hover { background: var(--black); color: #fff; border-color: transparent; }
.drawer-close svg { width: 20px; height: 20px; }

.drawer-phone {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
}
.drawer-phone:hover { background: var(--surface); border-color: var(--line-2); }
.dp-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.dp-ic svg { width: 20px; height: 20px; }
.dp-text b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.dp-text small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 1px; }

.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 4px; font-family: var(--ff-display); font-weight: 700; font-size: 17px;
  color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s, padding-left .2s;
}
.drawer-nav a:last-child { border-bottom: 0; }
.drawer-nav a svg { width: 18px; height: 18px; color: var(--faint); transition: transform .2s, color .2s; }
.drawer-nav a:hover { color: var(--red); padding-left: 8px; }
.drawer-nav a:hover svg { color: var(--red); transform: translateX(3px); }

.drawer-points { display: flex; flex-direction: column; gap: 10px; }
.drawer-points h5 {
  font-family: var(--ff-display); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 2px;
}
.drawer-point {
  display: block; padding: 13px 15px; border-radius: 13px;
  background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.drawer-point:hover { border-color: var(--red); transform: translateY(-2px); }
.drawer-point b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.drawer-point small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 3px; }

.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--faint); font-weight: 500; }
.drawer-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 26px; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-ic { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(150deg, #fff, #f1f1f3); border: 1px solid var(--line); color: var(--red); }
.trust-ic svg { width: 21px; height: 21px; }
.trust-item b { display: block; font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.trust-item small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ============================================================
   OFFER BAND
   ============================================================ */
.offer-band { padding-block: clamp(28px, 4vw, 44px); }
.offer-inner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding: clamp(26px, 3.4vw, 40px) clamp(24px, 3.4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--black); color: #fff;
}
.offer-inner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 8% 0%, rgba(255,59,48,.32), transparent 44%),
              radial-gradient(circle at 96% 120%, rgba(214,16,27,.28), transparent 48%);
}
.offer-copy, .offer-actions { position: relative; z-index: 1; }
.offer-copy { min-width: 0; }
.offer-kicker {
  display: inline-block; font-family: var(--ff-display); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: #ff6a62; margin-bottom: 10px;
}
.offer-copy h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); text-transform: uppercase; }
.offer-copy p { color: rgba(255,255,255,.74); font-size: 15px; font-weight: 500; margin-top: 10px; max-width: 46ch; }
.offer-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.offer-actions .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.offer-actions .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-wrap { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .proc-step:nth-child(2)::before { display: none; }
  .rev-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 920px) {
  .main-nav, .header-phone span { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 540px; margin-inline: auto; width: 100%; }
  .feat-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.6rem); overflow-wrap: break-word; }
  .cta-copy { text-align: center; padding-right: 34px; }
  .cta-copy h2 { font-size: clamp(1.6rem, 7vw, 2.4rem); overflow-wrap: break-word; }
  .cta-copy p { margin-inline: auto; overflow-wrap: break-word; word-break: break-word; max-width: 100%; }
  .cta-perks { align-items: flex-start; width: fit-content; margin-inline: auto; }
  .cta-perks li { text-align: left; }
  .gallery { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }

  .mobile-bar { display: flex; }
  .max-fab { display: none; }
  body { padding-bottom: 76px; }
  .offer-inner { flex-direction: column; align-items: flex-start; }
  .offer-actions { width: 100%; }
  .offer-actions .btn { flex: 1; }
}
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 16px; }
  .adv-grid { grid-template-columns: 1fr; }
  .proc-wrap { grid-template-columns: 1fr; }
  .proc-step::before { display: none !important; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .foot-top { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
  .header-phone { display: none; }
  .header-inner { gap: 8px; }
  .logo { flex-shrink: 1; min-width: 0; }
  .logo-sub { display: none; }
  .logo-img { height: 44px; }
  .logo-word { font-size: 17px; }
  .header-cta { gap: 8px; flex-shrink: 0; }
  .header-cta .btn-primary { display: none; }
}
