/* КортезАвто — Oldschool American muscle · navy + burgundy */
:root {
  /* Базовый тёмно-синий (deep navy) */
  --bg: #0d1b2a;
  --bg2: #14233a;
  --bg3: #1a2d49;
  --bg4: #243a5e;
  /* Акцент — тёмно-красный / бордовый (deep burgundy/maroon) */
  --accent: #8b2020;
  --accent-dark: #6e1818;
  --accent-deep: #7a1f1f;
  /* Винтажный кремовый/бежевый текст */
  --text: #e8dcc4;
  --text2: #b7ac95;
  --text3: #8a8069;
  /* Тёплый золотисто-янтарный для деталей */
  --gold: #d9a441;
  --gold-dark: #b8862c;
  /* Линии — тёплые тонкие */
  --line: rgba(232,220,196,.12);
  --line2: rgba(232,220,196,.22);
  --line-gold: rgba(217,164,65,.35);
  /* Chrome / металлик */
  --chrome: linear-gradient(180deg, #f2ead6 0%, #cfc4a8 45%, #9a9079 55%, #e6dcc4 100%);
  --maxw: 1200px;
  --font-display: 'Oswald', 'Bebas Neue', 'Roboto Condensed', Impact, system-ui, sans-serif;
  --font-body: 'Inter', 'Roboto Condensed', system-ui, -apple-system, sans-serif;
  --font: var(--font-body);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100vw; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font-body);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  /* Лёгкий винтажный шум/паттерн через градиенты */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(36,58,94,.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(122,31,31,.12) 0%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.04) 0px, rgba(0,0,0,.04) 1px, transparent 1px, transparent 3px);
  background-attachment: fixed;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea { font-family: inherit; font-size: 16px; }
::selection { background: var(--accent); color: var(--text); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* BUTTONS — прямоугольные ретро-таблички с чёткой обводкой */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 34px; border-radius: 2px; font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; transition: .2s; white-space: nowrap; cursor: pointer;
  position: relative;
}
.btn--red {
  background: linear-gradient(180deg, #9c2727 0%, var(--accent) 50%, var(--accent-dark) 100%);
  color: var(--text);
  border: 1px solid var(--gold-dark);
  box-shadow: inset 0 0 0 1px rgba(232,220,196,.15), 0 2px 0 rgba(0,0,0,.4);
}
.btn--red:hover {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: translateY(-2px); border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(232,220,196,.2), 0 4px 0 rgba(0,0,0,.45);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 2px solid var(--line2); box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }

/* NAV — эмалированная панель с золотой кромкой */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(13,27,42,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-gold); box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.nav__bar { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* LOGO — эмалированный знак / номерной шильд */
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: linear-gradient(180deg, #9c2727 0%, var(--accent-deep) 100%);
  border: 1px solid var(--gold); border-radius: 3px; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(232,220,196,.18);
}
.logo__mark svg { width: 22px; height: 22px; color: var(--text); }
.logo__text { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); line-height: 1; }
.logo__text--accent { font-weight: 600; color: var(--gold); }

.nav__links { display: flex; gap: 28px; }
.nav__links a { font-family: var(--font-display); font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); transition: color .2s; }
.nav__links a:hover { color: var(--gold); }
.nav__links a.active { color: var(--gold); position: relative; }
.nav__links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: .04em; color: var(--text); white-space: nowrap; }
.nav__phone:hover { color: var(--gold); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: .3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu { display: none; position: fixed; inset: 0; top: 64px; z-index: 99; background: var(--bg); padding: 24px; flex-direction: column; gap: 0; border-top: 1px solid var(--line-gold); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a.active { color: var(--gold); border-left: 3px solid var(--accent); padding-left: 12px; }

body { padding-top: 64px; }

/* SECTION HEADS */
section { padding: 80px 0; position: relative; }
section[id] { scroll-margin-top: 80px; }
.tag {
  display: inline-block; font-family: var(--font-display); font-size: 14px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; padding: 4px 12px; border: 1px solid var(--line-gold); border-radius: 2px;
  background: rgba(217,164,65,.06);
}
.h2 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.h2-accent { color: var(--gold); }
.section-sub { font-size: 16px; line-height: 1.6; color: var(--text2); max-width: 560px; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin: 0 auto; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* HERO — всё на одном экране, одна колонка */
.hero { position: relative; padding: 40px 0 48px; overflow: hidden; background: var(--bg); min-height: calc(100vh - 64px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,27,42,.88) 0%, rgba(13,27,42,.7) 40%, rgba(13,27,42,.92) 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0px, rgba(0,0,0,.06) 1px, transparent 1px, transparent 3px);
}
.hero__content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }
.hero__title { font-family: var(--font-display); font-size: clamp(30px, 5.2vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: .02em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; max-width: 760px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero__title-accent { color: var(--gold); }
.hero__offer { font-size: clamp(14px, 2.2vw, 18px); font-weight: 500; line-height: 1.5; color: var(--text); margin-bottom: 22px; max-width: 520px; }
.hero__cta { margin-bottom: 28px; }

/* HERO advantages carousel — эмалированные таблички */
.hero__adv-carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.hero__adv-carousel::-webkit-scrollbar { display: none; }
.hero__adv-item { flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; background: rgba(13,27,42,.6); border: 1px solid var(--line-gold); border-radius: 3px; backdrop-filter: blur(8px); min-width: 140px; box-shadow: inset 0 0 0 1px rgba(232,220,196,.08); }
.hero__adv-item b { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: .04em; color: var(--gold); white-space: nowrap; }
.hero__adv-item span { font-size: 13px; color: var(--text2); white-space: nowrap; }

/* ADVANTAGES */
.advantages { background: var(--bg); }
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv__card { background: var(--bg2); border: 1px solid var(--line); border-radius: 3px; padding: 28px 24px; transition: .25s; box-shadow: inset 0 0 0 1px rgba(232,220,196,.04); }
.adv__card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-gold), 0 6px 18px rgba(0,0,0,.35); }
.adv__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 3px;
  background: linear-gradient(180deg, #9c2727 0%, var(--accent-deep) 100%);
  border: 1px solid var(--gold-dark); color: var(--text);
  font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 16px;
}
.adv__card h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.adv__card p { font-size: 14px; line-height: 1.6; color: var(--text2); }

/* SERVICES */
.services { background: var(--bg2); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { background: var(--bg3); border: 1px solid var(--line); border-radius: 3px; padding: 28px; transition: .25s; position: relative; box-shadow: inset 0 0 0 1px rgba(232,220,196,.04); }
.svc:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-gold), 0 6px 18px rgba(0,0,0,.35); }
.svc--hot { border-color: var(--line-gold); box-shadow: inset 0 0 0 1px rgba(217,164,65,.18); }
.svc__badge { position: absolute; top: 16px; right: 16px; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text); background: linear-gradient(180deg, #9c2727 0%, var(--accent-deep) 100%); border: 1px solid var(--gold-dark); padding: 4px 10px; border-radius: 2px; }
.svc__num { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--gold); margin-bottom: 12px; line-height: 1; letter-spacing: .02em; }
.svc h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.svc p { font-size: 14px; line-height: 1.6; color: var(--text2); margin-bottom: 14px; }
.svc__time { display: inline-block; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); padding: 5px 12px; background: rgba(217,164,65,.08); border: 1px solid var(--line-gold); border-radius: 2px; }

/* WORKS — до/после, два фото рядом, swipe + кнопки */
.works { background: var(--bg); }
.works__viewport { position: relative; max-width: var(--maxw); margin: 0 auto; }
.works__carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 6px 24px; scrollbar-width: none; scroll-behavior: smooth; cursor: grab; }
.works__carousel.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.works__carousel.is-dragging img { pointer-events: none; }
.works__carousel::-webkit-scrollbar { display: none; }
.works__item { flex: 0 0 480px; max-width: 90vw; scroll-snap-align: center; border-radius: 3px; border: 1px solid var(--line2); box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3px var(--line-gold); padding: 6px; background: var(--bg2); margin: 0; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: 2px; overflow: hidden; }
.ba__side { position: relative; overflow: hidden; }
.ba__side img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: saturate(.92); -webkit-user-drag: none; user-select: none; }
.ba__label { position: absolute; left: 8px; bottom: 8px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 4px 12px; border-radius: 2px; border: 1px solid rgba(255,255,255,.25); }
.ba__label--before { background: rgba(122,31,31,.92); }
.ba__label--after { background: rgba(20,60,40,.92); }
.works__cap { font-family: var(--font-display); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--text2); text-align: center; padding: 12px 8px 4px; }
.works__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--text); background: var(--bg2); border: 1px solid var(--line-gold); border-radius: 3px; box-shadow: 0 4px 14px rgba(0,0,0,.5); transition: .2s; }
.works__nav:hover { background: var(--accent); color: #fff; }
.works__nav--prev { left: 8px; }
.works__nav--next { right: 8px; }
.works__hint { text-align: center; font-family: var(--font-display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-top: 20px; }

/* REVIEWS — карточки с винтажными рамками */
.reviews { background: var(--bg2); }
.reviews__carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 24px; max-width: var(--maxw); margin: 0 auto; scrollbar-width: none; }
.reviews__carousel::-webkit-scrollbar { display: none; }
.review { flex: 0 0 340px; scroll-snap-align: start; background: var(--bg3); border: 1px solid var(--line2); border-radius: 3px; padding: 24px; box-shadow: inset 0 0 0 1px rgba(232,220,196,.04); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__avatar { width: 46px; height: 46px; border-radius: 3px; display: grid; place-items: center; background: var(--bg4); border: 1px solid var(--line-gold); color: var(--gold); font-family: var(--font-display); font-size: 20px; font-weight: 600; flex-shrink: 0; }
.review__name { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
.review__meta { font-size: 12px; color: var(--text3); }
.review__stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review__text { font-size: 14px; line-height: 1.6; color: var(--text); }
.review__source { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--text3); }
.review__source svg { width: 14px; height: 14px; }
.reviews__hint { text-align: center; font-family: var(--font-display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--text3); margin-top: 20px; }

/* FORM SECTION */
.form-section { background: var(--bg); }
.form-section__inner { display: grid; grid-template-columns: 1fr .85fr; gap: 48px; align-items: start; }
.form-section__text { max-width: 440px; }
.form-section__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.form-section__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text2); }
.form-section__list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* FORM — эмалированная табличка с двойной рамкой */
.form { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 3px; background: var(--bg2); border: 1px solid var(--line-gold); box-shadow: inset 0 0 0 1px rgba(232,220,196,.06), 0 8px 24px rgba(0,0,0,.4); }
.form__head { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--text2); text-transform: uppercase; letter-spacing: .08em; }
.form input, .form textarea { padding: 14px 16px; border-radius: 2px; background: var(--bg); border: 1px solid var(--line2); color: var(--text); transition: .2s; font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 15px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--line-gold); }
.form input.err { border-color: var(--accent); }
.form textarea { resize: vertical; }
.form__err { font-size: 12px; color: #c0584f; min-height: 14px; font-weight: 600; text-transform: none; }
.form__ok { font-family: var(--font-display); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); text-align: center; padding: 14px; background: linear-gradient(180deg, #9c2727 0%, var(--accent-deep) 100%); border: 1px solid var(--gold-dark); border-radius: 2px; font-weight: 600; }
.form__hint { font-size: 12px; color: var(--text3); text-align: center; text-transform: none; letter-spacing: 0; }
.form__hint a { color: var(--gold); text-decoration: underline; }

/* CONTACTS */
.contact { background: var(--bg2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact__map { border-radius: 3px; overflow: hidden; border: 1px solid var(--line-gold); min-height: 360px; box-shadow: inset 0 0 0 1px rgba(232,220,196,.06); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact__channel { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 3px; background: var(--bg3); border: 1px solid var(--line); transition: .25s; }
.contact__channel:hover { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-gold); }
.contact__channel-icon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 3px; background: linear-gradient(180deg, #9c2727 0%, var(--accent-deep) 100%); border: 1px solid var(--gold-dark); color: var(--text); }
.contact__channel-icon svg { width: 22px; height: 22px; }
.contact__channel--phone .contact__channel-icon { background: var(--bg4); border-color: var(--line-gold); color: var(--gold); }
.contact__channel-body b { font-family: var(--font-display); display: block; font-size: 18px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--text); }
.contact__channel-body span { font-size: 13px; color: var(--text2); }
.contact__addr { display: flex; flex-direction: column; gap: 14px; }
.contact__addr-item { display: flex; flex-direction: column; gap: 4px; }
.contact__addr-item .label { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.contact__addr-item .value { font-size: 15px; color: var(--text); }
.contact__addr-item a.value:hover { color: var(--gold); }

/* FOOTER */
.footer { background: var(--bg); padding: 48px 0 24px; border-top: 1px solid var(--line-gold); }
.footer__top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; margin-bottom: 32px; }
.footer .logo__text { color: var(--text); }
.footer__brand p { font-size: 14px; color: var(--text3); line-height: 1.6; margin-top: 14px; max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h5 { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer__col a, .footer__col span { display: block; font-size: 14px; color: var(--text2); margin-bottom: 8px; transition: .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text3); }
.footer__bottom a { color: var(--text3); text-decoration: underline; }
.footer__bottom a:hover { color: var(--gold); }

/* FLOATING WIDGETS — call + Telegram, ретро-жетоны */
.fab-group { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--text); box-shadow: 0 6px 20px rgba(0,0,0,.5); transition: .25s; position: relative; border: 2px solid var(--gold); }
.fab svg { width: 26px; height: 26px; }
.fab--call { background: linear-gradient(180deg, #9c2727 0%, var(--accent-deep) 100%); }
.fab--call:hover { background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%); transform: scale(1.08); }
.fab--tg { background: linear-gradient(180deg, #3a9bd9 0%, #2a7ec0 100%); }
.fab--tg:hover { background: linear-gradient(180deg, #2a8bd9 0%, #1e7bc4 100%); transform: scale(1.08); }
.fab::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: fabPulse 2.4s ease-out infinite; }
.fab--call::after { border-color: var(--gold); }
.fab--tg::after { border-color: #3a9bd9; }
@keyframes fabPulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .fab::after { animation: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .adv__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .form-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
  .hero { padding: 32px 0 40px; }
  .hero__title { font-size: 28px; }
  .hero__offer { font-size: 14px; }
  .hero__cta .btn { width: 100%; }
  .hero__adv-item { min-width: 120px; padding: 12px 16px; }
  .adv__grid, .services__grid { grid-template-columns: 1fr; }
  .works__item { flex: 0 0 300px; }
  .works__nav { width: 40px; height: 40px; font-size: 24px; }
  .works__nav--prev { left: 2px; }
  .works__nav--next { right: 2px; }
  .ba__label { font-size: 11px; padding: 3px 8px; left: 5px; bottom: 5px; }
  .review { flex: 0 0 280px; }
  .form { padding: 24px 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 22px; height: 22px; }
  .fab-group { right: 14px; bottom: 16px; gap: 10px; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 24px; }
  .h2 { font-size: 28px; }
  .footer__cols { grid-template-columns: 1fr; }
  .works__item { flex: 0 0 280px; }
  .review { flex: 0 0 260px; }
}
