/* ============================================================
   АВТОБЮРО — автосервис · дизайн-система
   Светлая тема · красно-чёрные градиентные акценты
   ============================================================ */

: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%);
  /* Для круглых элементов: без перехода в чёрный, иначе по краю тёмный ободок */
  --grad-red: linear-gradient(135deg, #FF4438 0%, #E0121D 55%, #A80D16 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: 24px; 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); white-space: nowrap;
  padding: 9px 12px; 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; margin-top: 16px; }
.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; }

.fit-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   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: 300px; 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; overflow: hidden; }
.feat-bg svg {
  position: absolute; right: -4%; top: -14%; width: 52%; max-width: 300px; height: auto;
  color: rgba(255,255,255,.07); transition: transform .5s cubic-bezier(.2,.7,.2,1), color .4s;
}
.feat-card:hover .feat-bg svg { transform: rotate(-8deg) scale(1.04); color: rgba(255,255,255,.1); }
.feat-ic {
  position: absolute; top: 26px; left: 30px; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(4px); transition: background .3s, border-color .3s;
}
.feat-ic svg { width: 26px; height: 26px; }
.feat-card:hover .feat-ic, .feat-card.is-accent .feat-ic { background: var(--grad-red) border-box; border-color: transparent; backdrop-filter: none; }
.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: 28px; right: 28px; 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-red) border-box; 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: 92px; right: -14px; 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-red); border: 0; 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-red); 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; min-height: 0; }
.gallery-tile { position: relative; min-height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.gallery-tile img { position: absolute; inset: 0; }

/* ============================================================
   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; }
.rev-link, .rev-note { gap: 4px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.rev-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.rev-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: var(--grad); box-shadow: var(--shadow-red); }
.rev-ic svg { width: 22px; height: 22px; }
.rev-link b, .rev-note b { font-family: var(--ff-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.rev-link small { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.rev-link .svc-more { margin-top: auto; padding-top: 22px; }
.rev-link:hover .svc-more svg { transform: translateX(4px); }
.rev-note { background: var(--bg); box-shadow: none; }
.rev-note .rev-ic { background: var(--surface); color: var(--red); border: 1px solid var(--line); box-shadow: none; }
.rev-note p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { margin: 48px 0 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: 28px 0 0; padding: 0; }
.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; }

/* ============================================================
   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; overflow: hidden; background: #E9EAEC; }
.loc-map-art {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent calc(38% - 9px), #fff calc(38% - 9px), #fff calc(38% + 9px), transparent calc(38% + 9px)),
    linear-gradient(0deg, transparent calc(58% - 7px), #fff calc(58% - 7px), #fff calc(58% + 7px), transparent calc(58% + 7px)),
    linear-gradient(28deg, transparent calc(50% - 4px), rgba(255,255,255,.9) calc(50% - 4px), rgba(255,255,255,.9) calc(50% + 4px), transparent calc(50% + 4px)),
    radial-gradient(ellipse 22% 30% at 82% 22%, #DCE8D6 0 98%, transparent 100%),
    radial-gradient(ellipse 16% 22% at 12% 84%, #DCE8D6 0 98%, transparent 100%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.55) 46px 48px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.55) 46px 48px),
    #E9EAEC;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
a.loc-map:hover .loc-map-art { transform: scale(1.04); }
.loc-map-dot {
  position: absolute; left: 38%; top: 58%; width: 48px; height: 48px; margin: -48px 0 0 -24px;
  display: grid; place-items: center; color: #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--grad-red); box-shadow: var(--shadow-red);
}
.loc-map-dot svg { width: 22px; height: 22px; transform: rotate(45deg); }
.loc-map-dot svg circle { fill: #fff; }
.loc-map-dot::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 14px; height: 14px; margin: 0 0 -7px -7px;
  border-radius: 50%; background: rgba(214,16,27,.25); transform: rotate(45deg);
}
.loc-map-label {
  position: absolute; left: calc(38% + 34px); top: calc(58% - 52px);
  display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px;
  background: var(--surface); box-shadow: var(--shadow); line-height: 1.25; max-width: 55%;
}
.loc-map-label b { font-family: var(--ff-display); font-weight: 800; font-size: 14px; color: var(--ink); }
.loc-map-label small { font-size: 12px; font-weight: 600; color: var(--muted); }
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; flex-wrap: wrap; align-items: center; gap: 6px 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; }
/* Две карточки рядом: строки (тег, адрес, часы…) и кнопки на одном уровне — общая сетка через subgrid.
   Строки карточки: карта, тег, заголовок, 4 пункта, кнопки = 8 */
@supports (grid-template-rows: subgrid) {
  .loc-grid:not(.loc-grid-single) .loc-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; }
  .loc-grid:not(.loc-grid-single) .loc-body { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
  .loc-grid:not(.loc-grid-single) .loc-rows { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; }
  .loc-grid:not(.loc-grid-single) .loc-tag { align-self: center; }
  .loc-grid:not(.loc-grid-single) .loc-cta { align-self: end; }
}
.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); }


/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 150; max-width: 820px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 18px 20px 18px 24px; display: flex; gap: 20px; align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s, visibility .4s;
}
.cookie.show { opacity: 1; visibility: visible; transform: none; }
.cookie p { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.55; 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; }

  /* Заголовки по словам (разбивка — в app.js). Сам заголовок не сдвигаем, едут слова */
  .split.reveal { opacity: 1; transform: none; }
  .split .w {
    display: inline-block; overflow: hidden; vertical-align: bottom;
    /* запас под «Й», «Ё» и выносные — иначе маска их обрежет */
    padding: .14em .04em .1em; margin: -.14em -.04em -.1em;
  }
  .split .w > span {
    display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%;
    transition: transform 1s cubic-bezier(.16,.84,.24,1);
    transition-delay: calc(var(--i, 0) * 55ms + 80ms);
  }
  .split.in .w > span, .in .split .w > span { transform: none; }
  .split .grad-host { background: none; animation: none; }

  /* Линия у надписей над заголовками прорисовывается */
  .reveal .eyebrow::before, .eyebrow.reveal::before {
    transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2,.7,.2,1) .25s;
  }
  .reveal.in .eyebrow::before, .eyebrow.reveal.in::before { transform: none; }

  /* Медленный перелив градиента в акцентном слове на первом экране */
  .hero-h1 .grad-text, .svc-h1 .grad-text {
    background-size: 220% 100%; animation: grad-flow 7s ease-in-out infinite alternate;
  }

  /* Блик по красным кнопкам при наведении */
  .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
  .max-fab { overflow: hidden; isolation: isolate; } /* position: fixed не трогаем */
  .btn-primary::after, .max-fab::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg); transition: left .7s cubic-bezier(.2,.7,.2,1);
  }
  .btn-primary:hover::after, .max-fab:hover::after { left: 130%; }
}
@keyframes grad-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ============================================================
   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: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; 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;
  /* .wrap задаёт padding-inline — без этого плашка шире контентной колонки */
  width: calc(100% - 2 * var(--gut)); max-width: calc(var(--maxw) - 2 * var(--gut));
}
.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: 1360px) {
  .header-phone { display: none; }
}
@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .main-nav a { padding: 9px 9px; font-size: 14.5px; }
  .logo-sub { display: none; }
}
@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; }
  .proc-step:not(:last-child)::before { right: 0; }
  .rev-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .logo-sub { display: block; }
  .header-phone { display: flex; }
  .header-phone span { display: none; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; width: 100%; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-badge { left: 14px; bottom: 14px; padding: 12px 16px; }
  .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; }
  .gallery-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-tile { aspect-ratio: 4 / 3; }
  .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 { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .cookie p { font-size: 13px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; padding: 12px 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .feat-card { min-height: 260px; padding: 24px; }
  .feat-ic { top: 22px; left: 24px; width: 46px; height: 46px; }
  .feat-num { top: 24px; right: 24px; }
  .loc-map-label { left: auto; right: 12px; top: 12px; max-width: 60%; }
  .header-phone { display: none; }
  .header-inner { gap: 8px; }
  .logo { flex-shrink: 1; min-width: 0; }
  .logo-sub { display: none; }
  .logo-img { height: 44px; }
  .foot-brand .logo-img { height: 68px; }
  .foot-brand .logo-word { font-size: 24px; }
  .foot-brand .logo-sub { display: block; margin-top: 2px; }
  .drawer { width: 100%; padding-inline: 20px; }
  .logo-word { font-size: 17px; }
  .header-cta { gap: 8px; flex-shrink: 0; }
  .header-cta .btn-primary { display: none; }
}

/* ============================================================
   NAV DROPDOWN (Услуги)
   ============================================================ */
.nav-dd { position: relative; }
.main-nav .nav-dd-top { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd-top svg { width: 15px; height: 15px; transition: transform .2s; }
.nav-dd:hover .nav-dd-top svg, .nav-dd:focus-within .nav-dd-top svg { transform: rotate(180deg); }
.main-nav .nav-dd-top.is-active { color: var(--red); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; z-index: 70;
  width: 520px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .nav-dd-menu a {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.main-nav .nav-dd-menu a:hover, .main-nav .nav-dd-menu a.is-active { background: var(--bg); color: var(--ink); }
.dd-ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--red); transition: background .2s, color .2s;
}
.dd-ic svg { width: 18px; height: 18px; }
.nav-dd-menu a:hover .dd-ic, .nav-dd-menu a.is-active .dd-ic { background: var(--grad-red) border-box; color: #fff; border-color: transparent; }
.main-nav .nav-dd-menu .dd-all {
  grid-column: 1 / -1; justify-content: space-between; margin-top: 6px; padding: 12px;
  border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--red); font-family: var(--ff-display); font-weight: 700;
}
.dd-all svg { width: 17px; height: 17px; }

/* Drawer: services */
.drawer-svc h5 {
  font-family: var(--ff-display); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
.drawer-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-svc-grid a {
  padding: 11px 12px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line);
  font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.25; transition: border-color .2s, color .2s;
}
.drawer-svc-grid a:hover, .drawer-svc-grid a.is-active { border-color: var(--red); color: var(--red); }
.pt-new {
  display: inline-flex; align-items: center; justify-content: center; height: 20px; padding: 0 9px;
  /* Manrope: заглавные встают ровно по центру (у Bricolage они смещены вниз) */
  font-style: normal; font-family: var(--ff-body); font-weight: 800; font-size: 10px; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap;
  border-radius: 999px; background: var(--grad-red); color: #fff; margin-left: 6px;
}
.foot-col a b { color: rgba(255,255,255,.92); font-weight: 700; }

/* Service links (index grid / related) */
a.svc-item { color: inherit; }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-family: var(--ff-display); font-weight: 700; font-size: 13.5px; color: var(--red);
}
.svc-more svg { width: 15px; height: 15px; transition: transform .2s; }
a.svc-item:hover .svc-more svg, .hub-card:hover .svc-more svg { transform: translateX(4px); }
.svc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.inline-link { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.feat-card .feat-go::after { content: ""; position: absolute; inset: 0; }
.loc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.loc-grid-single { grid-template-columns: 1fr; }
.loc-grid-single .loc-card { display: grid; grid-template-columns: 1.1fr 1fr; }
.loc-grid-single .loc-map { aspect-ratio: auto; min-height: 320px; }
.loc-tag .pt-new { margin-left: 0; }

/* ============================================================
   SERVICE PAGE
   ============================================================ */
.svc-hero { position: relative; padding: clamp(22px, 3vw, 36px) 0 clamp(48px, 7vw, 92px); overflow: hidden; }
.svc-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 100% 0%, rgba(255,59,48,.10), transparent 60%);
}
.svc-hero .wrap { position: relative; z-index: 1; }
.svc-hero .crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--faint); margin-bottom: clamp(22px, 3vw, 40px);
}
.svc-hero .crumbs a { color: var(--muted); transition: color .2s; }
.svc-hero .crumbs a:hover { color: var(--red); }
.svc-hero .crumbs svg { width: 14px; height: 14px; opacity: .6; }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.svc-hero-copy { min-width: 0; }
.svc-h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem); text-transform: uppercase; letter-spacing: -.03em;
  margin-top: 14px; overflow-wrap: break-word;
}
.svc-h1 .grad-text { display: block; }
.svc-hero .hero-lead { max-width: 52ch; }

.svc-hero-media { position: relative; min-width: 0; }
.svc-photo {
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--black);
}
.svc-visual {
  aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--black); color: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(56px, 6vw, 72px);
}
.svc-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,59,48,.45), transparent 50%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 12px);
}
.svc-visual-ic { position: absolute; top: -6%; right: -6%; width: 62%; color: rgba(255,255,255,.10); }
.svc-visual-ic svg { width: 100%; height: auto; }
.svc-visual ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc-visual li { display: flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.svc-visual li svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--grad); flex-shrink: 0; }

.svc-point {
  position: absolute; left: clamp(-24px, -2vw, -8px); bottom: -24px; right: 18%;
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow-lg); transition: transform .2s, border-color .2s;
}
.svc-point:hover { transform: translateY(-3px); border-color: var(--red); }
.svc-point-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.svc-point-ic svg { width: 21px; height: 21px; }
.svc-point-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.svc-point-txt b { font-family: var(--ff-display); font-weight: 800; font-size: 16.5px; color: var(--ink); }
.svc-point-txt small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.svc-point-txt em { font-style: normal; color: var(--red); }
.svc-point-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-display); font-weight: 700; font-size: 13.5px; color: var(--red); white-space: nowrap; }
.svc-point-go svg { width: 15px; height: 15px; }

/* Includes */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.inc-card {
  padding: 28px 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.inc-card:hover { transform: translateY(-3px); background: var(--surface); box-shadow: var(--shadow); }
.inc-num { font-family: var(--ff-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.04em; line-height: 1; }
.inc-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin-top: 16px; }
.inc-card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; font-weight: 500; }

/* Signs */
.signs-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.signs-cta { margin-top: 28px; }
.signs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.signs-list li {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  font-weight: 600; font-size: 15.5px; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.signs-ic { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: rgba(224,18,29,.08); color: var(--red); }
.signs-ic svg { width: 19px; height: 19px; }

/* Price table (если заданы цены в data.js) */
.price-table { margin-top: 40px; max-width: 880px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.price-row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 22px; font-weight: 600; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row b { font-family: var(--ff-display); white-space: nowrap; }

.svc-ba { margin-top: 48px; max-width: 980px; }
.svc-ba .ba { aspect-ratio: 16 / 9; }
.related-all { margin-top: 28px; text-align: center; }

/* ============================================================
   HUB (каталог услуг)
   ============================================================ */
.hub-hero .svc-h1 .grad-text { display: inline; }
.hub-hero .hero-lead { max-width: 60ch; }
.hub-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; max-width: 920px; }
.hub-jump a {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 44px 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s;
}
.hub-jump a:hover { border-color: var(--red); transform: translateY(-2px); }
.hub-jump b { font-family: var(--ff-display); font-weight: 800; font-size: 16px; }
.hub-jump small { font-size: 13px; color: var(--muted); font-weight: 600; }
.hub-jump svg { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--red); }
.hub-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hub-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hub-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hub-meta svg { width: 18px; height: 18px; color: var(--red); }
.hub-meta .btn { padding: 11px 18px; font-size: 14px; }
.hub-meta .btn svg { color: inherit; width: 16px; height: 16px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.hub-card {
  display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-band .hub-card { background: var(--bg); }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.hub-card:hover .svc-ic { background: var(--grad-red) border-box; color: #fff; border-color: transparent; }
.hub-card h3 { font-size: 1.35rem; margin-top: 18px; }
.hub-card p { color: var(--muted); font-size: 14.5px; font-weight: 500; margin-top: 8px; }
.hub-card ul { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; flex: 1; align-content: start; }
.hub-card li { position: relative; padding-left: 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hub-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 2px; border-radius: 2px; background: var(--red); }
.hub-card .svc-more { margin-top: 18px; }

/* ---------- Responsive (страницы услуг) ---------- */
@media (max-width: 1080px) {
  .svc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .loc-grid-3 { grid-template-columns: 1fr 1fr; }
  .inc-grid, .hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-media { max-width: 600px; width: 100%; margin-bottom: 24px; }
  .svc-point { left: 12px; right: 12px; }
  .signs-grid { grid-template-columns: 1fr; }
  .loc-grid-3 { grid-template-columns: 1fr; }
  .loc-grid-single .loc-card { grid-template-columns: 1fr; }
  .loc-grid-single .loc-map { min-height: 0; aspect-ratio: 16 / 8; }
  .hub-jump { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .svc-grid-4, .inc-grid, .hub-grid { grid-template-columns: 1fr; }
  .svc-h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .svc-point { position: relative; left: 0; right: 0; bottom: 0; margin: -28px 12px 0; }
  .svc-point-go { display: none; }
  .signs-list li { padding: 15px 16px; font-size: 15px; }
  .drawer-svc-grid a { font-size: 13.5px; }
}

/* ============================================================
   LEGAL: cookie table, inline controls, 404
   ============================================================ */
.ck-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 6px 0 18px; background: var(--surface); }
.ck-row { display: grid; grid-template-columns: 1.1fr 1.6fr .7fr; }
.ck-row + .ck-row { border-top: 1px solid var(--line); }
.ck-row > span { padding: 16px 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ck-row > span + span { border-left: 1px solid var(--line); }
.ck-head > span { background: var(--bg-2); font-family: var(--ff-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--ink); }
.ck-row b { color: var(--ink); }
.ck-row > span:first-child b { display: block; }
.ck-row small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; word-break: break-word; }
.inline-light { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.inline-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.nf-grid { margin-top: 56px; }
@media (max-width: 700px) {
  .ck-head { display: none; }
  .ck-row { grid-template-columns: 1fr; }
  .ck-row > span + span { border-left: 0; padding-top: 0; }
}
