/* ============================================================
   Э-Сервис — лендинг автосервиса грузовой техники
   Палитра: чёрный #0E0E0F, красный акцент #D32027, белый #FFFFFF / #F4F4F5
   ============================================================ */

:root{
  --ink:#0E0E0F;
  --ink-2:#161618;
  --ink-3:#0A0A0B;
  --accent:#D32027;
  --accent-dark:#A8181E;
  --accent-on-dark:#EC5A60;
  --accent-soft:rgba(211,32,39,.08);
  --bg:#F4F4F5;
  --white:#fff;
  --line:#E6E6E8;
  --line-2:#D7D7DA;
  --muted:#6B6B70;
  --text:#1A1A1C;
  --radius:12px;
  --radius-sm:8px;
  --shadow-sm:0 2px 8px rgba(0,0,0,.05);
  --shadow-md:0 18px 40px rgba(0,0,0,.10);
  --shadow-lg:0 24px 60px rgba(0,0,0,.16);
  --container:1240px;
  --header-h:76px;
  --font:"Segoe UI","Helvetica Neue",Arial,"Liberation Sans","Noto Sans",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.55;
  color:var(--text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
::selection{background:var(--accent);color:#fff}
section[id]{scroll-margin-top:calc(var(--header-h) + 12px)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.sprite{position:absolute;width:0;height:0;overflow:hidden}
.skip-link{
  position:absolute;left:12px;top:-60px;z-index:300;
  background:var(--accent);color:#fff;padding:10px 16px;border-radius:8px;
  font-size:14px;font-weight:700;transition:top .2s;
}
.skip-link:focus{top:12px}

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

/* ---------- Типографика секций ---------- */
.eyebrow{
  display:flex;align-items:center;gap:10px;
  font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);margin-bottom:18px;
}
.eyebrow__line{width:26px;height:2px;background:var(--accent);flex:none}
.eyebrow--light{color:rgba(255,255,255,.7)}

.section{padding:clamp(64px,7.5vw,104px) 0}
.section-head{margin-bottom:clamp(32px,4vw,52px)}
.section-head__row{
  display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:end;
}
.section-head h2{
  font-size:clamp(1.75rem,3vw,2.6rem);line-height:1.1;letter-spacing:-.02em;
  font-weight:800;color:var(--ink);
}
.section-head__lead{
  font-size:15.5px;line-height:1.65;color:var(--muted);max-width:470px;
  justify-self:end;
}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 24px;border:1px solid transparent;border-radius:10px;
  font-size:15px;font-weight:700;line-height:1.2;text-align:center;
  cursor:pointer;white-space:nowrap;
  transition:background-color .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.btn svg{width:18px;height:18px;flex:none}
.btn--primary{background:var(--accent);color:#fff;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.btn--primary:hover{background:var(--accent-dark);transform:translateY(-2px);box-shadow:0 12px 26px rgba(0,0,0,.22)}
.btn--ghost{color:#fff;border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.06);backdrop-filter:blur(6px)}
.btn--ghost:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.6);transform:translateY(-2px)}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#000;transform:translateY(-2px);box-shadow:var(--shadow-md)}
.btn--outline-dark{border-color:var(--line-2);color:var(--ink);background:transparent}
.btn--outline-dark:hover{border-color:var(--ink);transform:translateY(-2px)}
.btn--sm{padding:11px 18px;font-size:14px}
.btn--lg{padding:16px 30px;font-size:16px}
.btn--block{width:100%;padding:15px 24px}

/* ---------- Логотип ---------- */
.logo{display:inline-flex;align-items:center;gap:12px;flex:none}
.logo__mark{
  width:42px;height:42px;border-radius:10px;background:var(--accent);
  display:flex;align-items:center;justify-content:center;color:#fff;flex:none;
}
.logo__mark svg{width:24px;height:24px;stroke-width:1.7}
.logo__text{
  display:flex;flex-direction:column;line-height:1.05;
  font-size:20px;font-weight:800;letter-spacing:-.01em;color:#fff;
}
.logo__text small{
  font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.5);margin-top:5px;
}

/* ---------- Шапка ---------- */
.header{
  position:sticky;top:0;z-index:100;
  background:rgba(14,14,15,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:box-shadow .25s,background-color .25s;
}
.header.is-scrolled{box-shadow:0 10px 30px rgba(0,0,0,.28);background:rgba(16,16,17,.99)}
.header__inner{display:flex;align-items:center;gap:28px;height:var(--header-h)}

.nav{flex:1;display:flex;justify-content:center}
.nav__list{display:flex;align-items:center;gap:26px}
.nav__list a{
  position:relative;display:block;padding:6px 0;font-size:14.5px;font-weight:500;
  color:rgba(255,255,255,.78);transition:color .2s;
}
.nav__list a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--accent);
  transition:width .25s;
}
.nav__list a:hover{color:#fff}
.nav__list a:hover::after{width:100%}
.nav__mobile-extra{display:none}

.header__actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.header__phone{
  display:inline-flex;align-items:center;gap:9px;
  font-size:15.5px;font-weight:700;color:#fff;white-space:nowrap;transition:color .2s;
}
.header__phone svg{width:18px;height:18px;color:var(--accent);flex:none}
.header__phone:hover{color:var(--accent-on-dark)}

.burger{
  display:none;width:44px;height:44px;padding:0;margin-left:2px;
  border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(255,255,255,.05);
  cursor:pointer;position:relative;
}
.burger span{
  position:absolute;left:12px;right:12px;height:2px;background:#fff;border-radius:2px;
  transition:transform .25s,opacity .2s,top .25s;
}
.burger span:nth-child(1){top:15px}
.burger span:nth-child(2){top:21px}
.burger span:nth-child(3){top:27px}
.burger[aria-expanded="true"] span:nth-child(1){top:21px;transform:rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){top:21px;transform:rotate(-45deg)}

.nav__close{display:none}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:#fff;background:var(--ink-3);
  display:flex;align-items:center;min-height:max(660px,min(760px,82vh));overflow:hidden;
}
.hero__media,.hero__media img{position:absolute;inset:0;width:100%;height:100%}
.hero__media img{object-fit:cover;object-position:62% 12%}
.hero__overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(96deg,rgba(0,0,0,.95) 0%,rgba(0,0,0,.86) 36%,rgba(0,0,0,.5) 66%,rgba(0,0,0,.28) 100%),
    linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.15) 42%,rgba(0,0,0,.25) 100%);
}
.hero__inner{position:relative;z-index:2;padding:clamp(56px,7vw,102px) 0 clamp(86px,9vw,130px)}
.hero h1{
  font-size:clamp(2.05rem,4.6vw,4rem);line-height:1.05;letter-spacing:-.025em;
  font-weight:800;max-width:910px;margin-bottom:22px;
}
.hero__lead{
  font-size:clamp(1rem,1.25vw,1.27rem);line-height:1.5;color:rgba(255,255,255,.82);
  max-width:600px;margin-bottom:28px;
}
.chips{display:flex;flex-wrap:wrap;gap:8px;max-width:720px;margin-bottom:34px}
.chips li{
  padding:8px 14px;border:1px solid rgba(255,255,255,.22);border-radius:999px;
  background:rgba(255,255,255,.07);backdrop-filter:blur(4px);
  font-size:13.5px;font-weight:500;color:rgba(255,255,255,.9);white-space:nowrap;
}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}
.hero__note{
  display:inline-flex;align-items:center;gap:9px;
  font-size:14px;font-weight:500;color:rgba(255,255,255,.7);
}
.hero__note svg{width:18px;height:18px;color:var(--accent);flex:none}

/* ---------- Полоса фактов ---------- */
.facts{position:relative;z-index:3;margin-top:-58px}
.facts__grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 22px 54px rgba(0,0,0,.13);
}
.fact{
  display:flex;align-items:center;gap:14px;padding:26px 24px;
  border-left:1px solid var(--line);
}
.fact:first-child{border-left:0}
.fact__icon{
  width:46px;height:46px;border-radius:10px;background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.fact__icon svg{width:24px;height:24px}
.fact__text{font-size:14.5px;font-weight:600;line-height:1.35;color:var(--ink)}
.fact__text small{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-top:3px}

/* ---------- Услуги ---------- */
.services{background:var(--bg)}
.services__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 26px 26px;transition:transform .25s,box-shadow .25s,border-color .25s;
}
.service::before{
  content:"";position:absolute;top:-1px;left:26px;width:42px;height:3px;
  background:var(--accent);border-radius:0 0 3px 3px;
}
.service:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--line-2)}
.service__icon{
  width:52px;height:52px;border-radius:12px;background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.service__icon svg{width:27px;height:27px}
.service h3{font-size:19px;font-weight:700;letter-spacing:-.01em;color:var(--ink);margin-bottom:14px}
.list li{
  position:relative;padding-left:17px;margin-bottom:8px;
  font-size:14.5px;line-height:1.5;color:#55555A;
}
.list li:last-child{margin-bottom:0}
.list li::before{
  content:"";position:absolute;left:0;top:.6em;width:6px;height:6px;
  background:var(--accent);border-radius:1px;
}
.service__note{
  margin-top:16px;padding-top:14px;border-top:1px dashed var(--line-2);
  font-size:12.5px;line-height:1.5;color:var(--muted);
}

/* ---------- Автопарки ---------- */
.fleet{position:relative;color:#fff;background:var(--ink-3);overflow:hidden}
.fleet__bg{
  position:absolute;inset:0;
  background:url("../img/fleet-bg.jpg") center/cover no-repeat;
}
.fleet__bg::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.9) 48%,rgba(0,0,0,.68) 100%),
    linear-gradient(to top,rgba(0,0,0,.7),transparent 60%);
}
.fleet__inner{
  position:relative;z-index:1;
  display:grid;grid-template-columns:1.12fr .88fr;gap:56px;align-items:start;
}
.fleet h2{
  font-size:clamp(1.7rem,2.9vw,2.45rem);line-height:1.12;letter-spacing:-.02em;
  font-weight:800;color:#fff;max-width:620px;margin-bottom:18px;
}
.fleet__text{font-size:15.5px;line-height:1.72;color:rgba(255,255,255,.76);max-width:640px}
.brands{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 30px}
.brands li{
  padding:9px 16px;border:1px solid rgba(255,255,255,.18);border-radius:8px;
  background:rgba(255,255,255,.06);font-size:14px;font-weight:600;color:rgba(255,255,255,.9);
}
.brands__more{color:rgba(255,255,255,.55)!important;background:transparent!important;border-style:dashed!important}
.fleet__card{
  background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.16);
  border-radius:14px;padding:32px;backdrop-filter:blur(10px);
}
.fleet__card-label{
  font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#F08B90;margin-bottom:8px;
}
.fleet__card h3{font-size:25px;font-weight:800;letter-spacing:-.01em;margin-bottom:8px}
.steps li{
  display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:baseline;
  padding:16px 0;border-top:1px solid rgba(255,255,255,.13);
  font-size:15.5px;line-height:1.4;color:rgba(255,255,255,.92);
}
.steps{margin-top:8px}
.steps span{
  font-size:12px;font-weight:800;letter-spacing:.1em;color:var(--accent-on-dark);
}
.fleet__card-note{
  margin-top:18px;font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.58);
}

/* ---------- Преимущества ---------- */
.advantages__inner{display:grid;grid-template-columns:.88fr 1.12fr;gap:60px;align-items:start}
.advantages h2{
  font-size:clamp(1.7rem,2.9vw,2.45rem);line-height:1.12;letter-spacing:-.02em;
  font-weight:800;color:var(--ink);max-width:420px;margin-bottom:16px;
}
.advantages__lead{font-size:15.5px;line-height:1.65;color:var(--muted);max-width:420px}
.advantages__call{
  margin-top:32px;padding:20px 22px;background:var(--bg);
  border-left:3px solid var(--accent);border-radius:0 10px 10px 0;
}
.advantages__call span{
  display:block;font-size:11.5px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);margin-bottom:4px;
}
.advantages__call a{
  display:inline-block;font-size:25px;font-weight:800;letter-spacing:-.02em;
  color:var(--ink);transition:color .2s;
}
.advantages__call a:hover{color:var(--accent)}
.advantages__call small{display:block;font-size:12.5px;color:var(--muted);margin-top:4px}

.advantages__list li{
  display:flex;gap:14px;align-items:flex-start;
  padding:17px 0;border-bottom:1px solid var(--line);
}
.advantages__list li:first-child{padding-top:0}
.advantages__list li:last-child{border-bottom:0;padding-bottom:0}
.advantages__list li > span:last-child{
  font-size:16px;line-height:1.45;font-weight:500;color:var(--text);
}
.check{
  width:30px;height:30px;border-radius:8px;background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;flex:none;margin-top:2px;
}
.check svg{width:16px;height:16px;stroke-width:2.6}

/* ---------- Стоимость и форма ---------- */
.price{
  position:relative;color:#fff;overflow:hidden;
  background:radial-gradient(900px 420px at 88% 0%,rgba(255,255,255,.05),transparent 62%),var(--ink);
}
.price__inner{display:grid;grid-template-columns:1fr 460px;gap:56px;align-items:start}
.price h2{
  font-size:clamp(1.65rem,2.8vw,2.35rem);line-height:1.15;letter-spacing:-.02em;
  font-weight:800;color:#fff;max-width:560px;margin-bottom:16px;
}
.price__text{font-size:15.5px;line-height:1.7;color:rgba(255,255,255,.72);max-width:520px}
.price__phone-block{margin-top:36px}
.price__label{
  display:block;font-size:11.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:rgba(255,255,255,.55);margin-bottom:6px;
}
.price__phone{
  display:inline-block;white-space:nowrap;font-size:clamp(1.8rem,3vw,2.5rem);font-weight:800;
  letter-spacing:-.02em;color:#fff;line-height:1.1;transition:color .2s;
}
.price__phone:hover{color:var(--accent)}
.price__hours{
  display:flex;align-items:center;gap:8px;margin-top:8px;
  font-size:13.5px;color:rgba(255,255,255,.62);
}
.price__hours svg{width:16px;height:16px;color:var(--accent);flex:none}
.messengers{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.messenger{
  display:inline-flex;align-items:center;gap:9px;padding:11px 18px;border-radius:10px;
  border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.05);
  font-size:14px;font-weight:600;color:#fff;transition:background-color .2s,border-color .2s;
}
.messenger svg{width:17px;height:17px;flex:none}
.messenger:hover{background:rgba(211,32,39,.18);border-color:var(--accent)}

.form-card{
  background:#fff;color:var(--ink);border-radius:14px;padding:32px;
  box-shadow:0 26px 60px rgba(0,0,0,.35);
}
.form-card h3{font-size:22px;font-weight:800;letter-spacing:-.01em}
.form-card__sub{font-size:13.5px;line-height:1.5;color:var(--muted);margin:7px 0 22px}
.field{margin-bottom:15px}
.field label{
  display:block;font-size:12px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:#3A3A3E;margin-bottom:7px;
}
.field label span{color:var(--accent)}
.field input,.field textarea{
  width:100%;min-height:48px;padding:13px 14px;border:1px solid var(--line-2);border-radius:8px;
  background:#FAFAFA;font-family:inherit;font-size:16px;line-height:1.4;color:var(--ink);
  transition:border-color .2s,box-shadow .2s,background-color .2s;
}
.field textarea{resize:vertical;min-height:92px}
.field input::placeholder,.field textarea::placeholder{color:#9A9A9F}
.field input:focus,.field textarea:focus{
  outline:none;border-color:var(--accent);background:#fff;
  box-shadow:0 0 0 3px rgba(211,32,39,.15);
}
.field__error{display:block;font-size:12.5px;line-height:1.4;color:#B01C22;margin-top:5px}
.field__error:empty{margin-top:0}
.field.is-error input,.field.is-error textarea{border-color:#D32027;background:#FDF4F4}

.consent{
  display:flex;align-items:flex-start;gap:10px;margin:6px 0 0;cursor:pointer;
  font-size:13.5px;line-height:1.45;color:#55555A;
}
.consent input{position:absolute;opacity:0;width:1px;height:1px}
.consent__box{
  width:20px;height:20px;border:1.5px solid #C3C3C8;border-radius:5px;background:#fff;
  display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px;
  transition:background-color .15s,border-color .15s;
}
.consent__box svg{width:13px;height:13px;color:#fff;opacity:0;stroke-width:3;transition:opacity .15s}
.consent input:checked + .consent__box{background:var(--accent);border-color:var(--accent)}
.consent input:checked + .consent__box svg{opacity:1}
.consent input:focus-visible + .consent__box{outline:2px solid var(--accent);outline-offset:2px}
.consent__text a{color:var(--accent);text-decoration:underline}
.form__note{font-size:11.5px;line-height:1.5;color:#7A7A80;margin-top:12px}
.form__status{margin-top:14px;font-size:14px;line-height:1.5}
.form__status:empty{margin-top:0}
.form__status.is-success{
  padding:12px 14px;border-radius:8px;background:#EDF5F0;border:1px solid #C3DFCD;color:#146B42;
}
.form__status.is-error{
  padding:12px 14px;border-radius:8px;background:#FBEBEC;border:1px solid #EFC4C6;color:#A8181E;
}
.form__status a{font-weight:700;text-decoration:underline}
.form form{margin:0}
.form .btn--block{margin-top:18px}

/* Honeypot: поле есть в разметке, но не видно людям */
.field--hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}

/* Сообщения сервера */
.alert{
  display:block;padding:13px 15px;border-radius:10px;margin-bottom:18px;
  font-size:14px;line-height:1.5;
}
.alert--ok{background:#EDF5F0;border:1px solid #C3DFCD;color:#146B42}
.alert--err{background:#FBEBEC;border:1px solid #EFC4C6;color:#A8181E}
.alert a{font-weight:700;text-decoration:underline}
.form-card .alert{margin-bottom:16px}

/* ---------- Галерея ---------- */
.gallery{background:var(--bg)}
.gallery__grid{column-count:4;column-gap:14px}
.shot{
  position:relative;margin:0 0 14px;break-inside:avoid;-webkit-column-break-inside:avoid;
  border-radius:12px;overflow:hidden;background:#E4E4E7;
}
.shot__btn{
  display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;position:relative;
}
.shot img{
  width:100%;height:auto;transition:transform .55s cubic-bezier(.22,.61,.36,1),filter .3s;
}
.shot figcaption{
  position:absolute;left:0;right:0;bottom:0;padding:30px 16px 14px;
  background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,0));
  color:#fff;font-size:13px;font-weight:600;line-height:1.35;
  opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;
  pointer-events:none;
}
.shot__btn:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}
.shot:hover img,.shot:focus-within img{transform:scale(1.04)}
.shot:hover figcaption,.shot:focus-within figcaption{opacity:1;transform:none}

/* ---------- CTA-полоса ---------- */
.cta{position:relative;color:#fff;background:var(--ink-3);overflow:hidden}
.cta__bg{
  position:absolute;inset:0;
  background:url("../img/cta-bg.jpg") center 45%/cover no-repeat;
}
.cta__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.97) 0%,rgba(0,0,0,.93) 46%,rgba(0,0,0,.78) 100%);
}
.cta__inner{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;
  gap:32px;padding:clamp(48px,6vw,72px) 24px;
}
.cta h2{
  font-size:clamp(1.5rem,2.6vw,2.15rem);line-height:1.15;letter-spacing:-.02em;
  font-weight:800;max-width:700px;margin-bottom:10px;
}
.cta p{font-size:15px;line-height:1.6;color:rgba(255,255,255,.72);max-width:560px}

/* ---------- Контакты ---------- */
.contacts__inner{display:grid;grid-template-columns:1fr 1.05fr;gap:48px;align-items:start}
.contact-row{
  display:flex;gap:16px;padding:22px 0;border-bottom:1px solid var(--line);
}
.contact-row:first-child{padding-top:0}
.contact-row__icon{
  width:44px;height:44px;border-radius:10px;background:var(--accent-soft);color:var(--accent);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.contact-row__icon svg{width:22px;height:22px}
.contact-row__label{
  display:block;font-size:11.5px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);margin-bottom:3px;
}
.contact-row__value{
  display:block;font-size:17px;font-weight:600;line-height:1.4;color:var(--ink);
  overflow-wrap:break-word;transition:color .2s;
}
a.contact-row__value[href^="tel"]{white-space:nowrap}
a.contact-row__value:hover{color:var(--accent)}
.contact-row__sub{display:block;font-size:12.5px;color:var(--muted);margin-top:4px}
.contacts__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}

.map-card{
  border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;
  box-shadow:var(--shadow-sm);display:flex;flex-direction:column;
}
.map-card__canvas{
  position:relative;height:340px;background-color:#F1F1F2;
  background-image:
    linear-gradient(rgba(0,0,0,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,0,0,.055) 1px,transparent 1px);
  background-size:44px 44px;
  overflow:hidden;
}
.map-card__road{
  position:absolute;background:#fff;border:1px solid rgba(0,0,0,.07);
  box-shadow:0 0 0 6px rgba(255,255,255,.35);
}
.map-card__road--h{left:-8%;top:44%;width:118%;height:26px;transform:rotate(-6deg)}
.map-card__road--v{left:56%;top:-12%;width:24px;height:126%;transform:rotate(9deg)}
.map-card__road--diag{
  left:-12%;top:71%;width:126%;height:14px;transform:rotate(21deg);
  background:#FBEBEC;border-color:rgba(211,32,39,.18);
}
.map-card__pin{
  position:absolute;left:52%;top:40%;transform:translate(-50%,-100%);
  width:42px;height:42px;color:var(--accent);
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.28));
}
.map-card__pin svg{stroke-width:1.4}
.map-card__ring{
  position:absolute;left:52%;top:40%;width:22px;height:22px;
  transform:translate(-50%,-50%);border-radius:50%;
  background:rgba(211,32,39,.16);border:2px solid rgba(211,32,39,.45);
  animation:pulse 2.6s ease-out infinite;
}
@keyframes pulse{
  0%{transform:translate(-50%,-50%) scale(.7);opacity:.9}
  70%{transform:translate(-50%,-50%) scale(1.9);opacity:0}
  100%{opacity:0}
}
.map-card__label{
  position:absolute;left:52%;top:43%;transform:translate(-50%,0);
  background:#fff;border-radius:8px;padding:7px 12px;
  font-size:12.5px;font-weight:700;color:var(--ink);white-space:nowrap;
  box-shadow:0 6px 16px rgba(0,0,0,.14);
}
.map-card__bar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 18px;border-top:1px solid var(--line);
}
.map-card__bar strong{display:block;font-size:15px;font-weight:700;color:var(--ink)}
.map-card__bar span{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.map-card__bar a{
  display:inline-flex;align-items:center;gap:6px;flex:none;
  font-size:13.5px;font-weight:700;color:var(--accent);
}
.map-card__bar a svg{width:16px;height:16px;transition:transform .2s}
.map-card__bar a:hover svg{transform:translateX(3px)}

/* ---------- Подвал ---------- */
.footer{background:var(--ink-3);color:rgba(255,255,255,.66);padding-top:64px}
.footer__inner{
  display:grid;grid-template-columns:1.5fr .7fr 1fr;gap:48px;padding-bottom:48px;
}
.logo--footer{margin-bottom:18px}
.footer__brand p{font-size:14px;line-height:1.65;max-width:360px;color:rgba(255,255,255,.6)}
.footer__col h3{
  font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:#fff;margin-bottom:16px;
}
.footer__col ul li{margin-bottom:9px}
.footer__col a{font-size:14.5px;line-height:1.5;color:rgba(255,255,255,.66);transition:color .2s}
.footer__col a:hover{color:var(--accent-on-dark)}
.footer__col span{display:block;font-size:13.5px;color:rgba(255,255,255,.5);margin-top:10px}
.footer__phone{
  display:block;white-space:nowrap;font-size:22px!important;font-weight:800!important;letter-spacing:-.02em;
  color:#fff!important;margin-bottom:10px;
}
.footer__bottom{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:20px 24px 10px;border-top:1px solid rgba(255,255,255,.1);
  font-size:12.5px;color:rgba(255,255,255,.45);
}
.footer__policy{
  background:none;border:0;padding:0;font-size:12.5px;color:rgba(255,255,255,.55);
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;transition:color .2s;
}
.footer__policy:hover{color:var(--accent-on-dark)}
.footer__dev{
  padding:0 24px 22px;font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.45);
}
.footer__dev a{
  color:rgba(255,255,255,.55);text-decoration:underline;text-underline-offset:3px;
  transition:color .2s;
}
.footer__dev a:hover{color:var(--accent-on-dark)}

/* ---------- Мобильная панель звонка ---------- */
.mobile-bar{display:none}

/* ---------- Лайтбокс ---------- */
.lightbox{
  position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.95);padding:64px 76px;
}
.lightbox[hidden]{display:none}
.lightbox__figure{margin:0;text-align:center;max-width:100%}
.lightbox__img{
  max-width:100%;max-height:76vh;width:auto;height:auto;margin:0 auto;
  border-radius:6px;box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.lightbox__caption{
  display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:16px;color:#fff;
}
.lightbox__text{font-size:14.5px;font-weight:600}
.lightbox__count{font-size:12px;letter-spacing:.14em;color:rgba(255,255,255,.5)}
.lightbox__close,.lightbox__nav{
  position:absolute;display:flex;align-items:center;justify-content:center;
  width:48px;height:48px;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);color:#fff;
  transition:background-color .2s,border-color .2s;
}
.lightbox__close svg,.lightbox__nav svg{width:20px;height:20px}
.lightbox__close:hover,.lightbox__nav:hover{background:var(--accent);border-color:var(--accent)}
.lightbox__close{top:20px;right:20px}
.lightbox__nav{top:50%;transform:translateY(-50%)}
.lightbox__nav--prev{left:16px}
.lightbox__nav--next{right:16px}

/* ---------- Модальное окно политики ---------- */
.modal{position:fixed;inset:0;z-index:210;display:flex;align-items:center;justify-content:center;padding:20px}
.modal[hidden]{display:none}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.65);backdrop-filter:blur(3px)}
.modal__window{
  position:relative;z-index:1;background:#fff;border-radius:14px;padding:36px;
  max-width:640px;width:100%;max-height:86vh;overflow:auto;box-shadow:var(--shadow-lg);
}
.modal__window h2{font-size:24px;font-weight:800;letter-spacing:-.02em;margin-bottom:16px;color:var(--ink)}
.modal__window p{font-size:14.5px;line-height:1.7;color:#4A4A4F;margin-bottom:12px}
.modal__window a{color:var(--accent);text-decoration:underline}
.modal__close{
  position:absolute;top:14px;right:14px;width:40px;height:40px;
  border:0;border-radius:8px;background:var(--bg);color:var(--ink);cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background-color .2s,color .2s;
}
.modal__close svg{width:18px;height:18px}
.modal__close:hover{background:var(--accent);color:#fff}

/* ---------- Анимации появления ---------- */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s cubic-bezier(.22,.61,.36,1)}
.js .reveal.is-visible{opacity:1;transform:none}
.js .service.reveal:nth-child(2){transition-delay:.06s}
.js .service.reveal:nth-child(3){transition-delay:.12s}
.js .advantages__list .reveal:nth-child(2){transition-delay:.05s}
.js .advantages__list .reveal:nth-child(3){transition-delay:.1s}
.js .advantages__list .reveal:nth-child(4){transition-delay:.15s}
.js .advantages__list .reveal:nth-child(5){transition-delay:.2s}
.js .advantages__list .reveal:nth-child(6){transition-delay:.25s}
.js .advantages__list .reveal:nth-child(7){transition-delay:.3s}

.no-scroll{overflow:hidden}

/* ============================================================
   Адаптив: 1180 / 1024 / 768 / 480
   ============================================================ */
@media (max-width:1180px){
  .nav__list{gap:18px}
  .nav__list a{font-size:13.5px}
  .header__inner{gap:18px}
}

/* ---------- Планшет: меню уходит в полноэкранную шторку ---------- */
@media (max-width:1024px){
  :root{--header-h:68px}
  .container{padding:0 20px}
  /* backdrop-filter у шапки создаёт containing block для position:fixed —
     без этого полноэкранная шторка меню привязывается к шапке */
  .header{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(14,14,15,.98)}
  .header__inner{position:relative;z-index:130;gap:14px}
  .header__phone{font-size:14.5px}
  .header__call{padding:10px 16px;font-size:14px}
  .burger{display:block;position:relative;z-index:130}

  .nav{
    position:fixed;inset:0;z-index:120;
    display:flex;flex-direction:column;
    padding:calc(var(--header-h) + 20px) 24px calc(28px + env(safe-area-inset-bottom));
    background:rgba(12,12,13,.985);
    -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
    overflow-y:auto;overscroll-behavior:contain;
    opacity:0;visibility:hidden;transform:translateY(-10px);
    transition:opacity .22s ease,transform .22s ease,visibility .22s;
    box-shadow:0 24px 60px rgba(0,0,0,.5);
  }
  .nav.is-open{opacity:1;visibility:visible;transform:none}
  .nav__list{flex-direction:column;align-items:stretch;gap:0;flex:0 0 auto}
  .nav__list li{border-bottom:1px solid rgba(255,255,255,.09)}
  .nav__list a{
    display:flex;align-items:center;min-height:56px;padding:14px 0;
    font-size:18px;font-weight:600;color:#fff;
  }
  .nav__list a::after{display:none}
  .nav__close{
    display:flex;align-items:center;justify-content:center;
    position:absolute;right:16px;top:calc(var(--header-h) + 8px);
    width:44px;height:44px;border-radius:10px;color:#fff;
    background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  }
  .nav__close svg{width:20px;height:20px}
  .nav__mobile-extra{display:block;margin-top:auto;padding-top:28px}
  .nav__mobile-phone{
    display:block;font-size:24px;font-weight:800;color:#fff;margin-bottom:10px;
    white-space:nowrap;
  }
  .nav__mobile-extra p{font-size:14px;line-height:1.6;color:rgba(255,255,255,.6)}
  .nav__mobile-extra .btn{margin-top:18px;width:100%}

  .hero{min-height:600px}
  .facts{margin-top:-44px}
  .facts__grid{grid-template-columns:repeat(2,1fr)}
  .fact:nth-child(odd){border-left:0}
  .fact:nth-child(n+3){border-top:1px solid var(--line)}
  .services__grid{grid-template-columns:repeat(2,1fr)}
  .section-head__row{grid-template-columns:1fr;gap:16px}
  .section-head__lead{justify-self:start;max-width:620px}
  .fleet__inner{grid-template-columns:1fr;gap:36px}
  .fleet__card{max-width:620px}
  .advantages__inner{grid-template-columns:1fr;gap:34px}
  .advantages h2,.advantages__lead{max-width:680px}
  .advantages__call{max-width:460px}
  .price__inner{grid-template-columns:1fr;gap:38px}
  .form-card{max-width:600px}
  .contacts__inner{grid-template-columns:1fr;gap:34px}
  .map-card{max-width:100%}
  .gallery__grid{column-count:3}
  .cta__inner{flex-direction:column;align-items:flex-start;gap:22px}
  .footer__inner{grid-template-columns:1.3fr .9fr;gap:36px}
}

/* ---------- Телефон ---------- */
@media (max-width:768px){
  :root{--header-h:60px}
  body{padding-bottom:82px}
  .container{padding:0 16px}
  .header__inner{gap:10px}
  .logo{gap:9px}
  .logo__mark{width:36px;height:36px;border-radius:9px}
  .logo__mark svg{width:21px;height:21px}
  .logo__text{font-size:17px}
  .logo__text small{display:none}
  .header__phone{
    width:44px;height:44px;justify-content:center;border-radius:9px;
    border:1px solid rgba(255,255,255,.2);flex:none;
  }
  .header__phone span{display:none}
  .header__phone svg{width:19px;height:19px}
  .header__call{padding:0 12px;height:44px;font-size:13.5px;flex:none}
  .header__call svg{width:16px;height:16px}
  .burger{width:44px;height:44px;flex:none}
  .burger span{left:11px;right:11px}
  .burger span:nth-child(1){top:15px}
  .burger span:nth-child(2){top:21px}
  .burger span:nth-child(3){top:27px}

  /* Hero */
  .hero{min-height:0;align-items:flex-start}
  .hero__media img{object-position:50% 42%}
  .hero__overlay{
    background:
      linear-gradient(180deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.78) 42%,rgba(0,0,0,.94) 100%),
      linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,.2));
  }
  .hero__inner{padding:40px 0 84px}
  .hero .eyebrow{font-size:11px;margin-bottom:14px}
  .hero h1{
    font-size:clamp(1.6rem,6.6vw,2.3rem);line-height:1.12;letter-spacing:-.02em;
    margin-bottom:16px;max-width:100%;
  }
  .hero__lead{font-size:15.5px;line-height:1.55;margin-bottom:20px;max-width:100%}
  .chips{gap:6px;margin-bottom:24px;max-width:100%}
  .chips li{padding:7px 12px;font-size:12.5px;white-space:normal}
  .hero__actions{flex-direction:column;gap:10px;margin-bottom:20px}
  .hero__actions .btn{width:100%;min-height:50px;padding:15px 20px;font-size:15.5px}
  .hero__note{font-size:13px}

  /* Секции */
  .section{padding:52px 0}
  .section-head{margin-bottom:28px}
  .section-head h2{font-size:clamp(1.45rem,5.4vw,1.95rem)}
  .section-head__lead{font-size:14.5px}
  .eyebrow{font-size:11px;margin-bottom:14px}

  .facts{margin-top:-30px}
  .facts__grid{grid-template-columns:1fr;border-radius:12px}
  .fact{padding:16px 18px;border-left:0;border-top:1px solid var(--line)}
  .fact:first-child{border-top:0}
  .fact__icon{width:42px;height:42px}
  .fact__text{font-size:14px}

  .services__grid{grid-template-columns:1fr;gap:14px}
  .service{padding:24px 20px}
  .service h3{font-size:18px}
  .list li{font-size:15px}

  .fleet__card{padding:24px 20px}
  .fleet h2{font-size:clamp(1.45rem,5.4vw,1.95rem)}
  .fleet__text{font-size:15px}
  .steps li{font-size:15px;padding:14px 0}
  .brands li{font-size:13px;padding:8px 13px}

  .advantages__list li{padding:15px 0}
  .advantages__call{padding:18px}
  .advantages__call a{font-size:23px}

  .price h2{font-size:clamp(1.4rem,5.2vw,1.9rem)}
  .form-card{padding:22px 18px;border-radius:12px}
  .messengers{gap:8px}
  .messenger{flex:1 1 auto;justify-content:center;min-height:46px}

  /* Галерея: крупный кадр + пары */
  .gallery__grid{column-count:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .shot{margin:0;border-radius:10px;height:100%}
  .shot__btn{height:100%}
  .shot img{height:100%;object-fit:cover}
  .shot:nth-child(odd):not(:first-child){aspect-ratio:4/5}
  .shot:nth-child(even){aspect-ratio:1/1}
  .shot:first-child{grid-column:1 / -1;aspect-ratio:16/10}
  .shot figcaption{opacity:1;transform:none;font-size:11.5px;padding:22px 10px 8px}

  .cta__inner{padding:44px 16px}
  .cta h2{font-size:1.45rem}
  .cta .btn{width:100%;min-height:52px}

  .contact-row{padding:18px 0;gap:14px}
  .contact-row__value{font-size:16px}
  .contact-row__icon{width:42px;height:42px}
  .contacts__actions{flex-direction:column}
  .contacts__actions .btn{width:100%}
  .map-card__canvas{height:260px}
  .map-card__bar{flex-direction:column;align-items:flex-start;gap:10px}

  .footer{padding-top:40px}
  .footer__inner{grid-template-columns:1fr;gap:28px;padding-bottom:30px}
  .footer__bottom{padding:16px 16px 10px;font-size:12px}
  .footer__dev{padding:0 16px 18px;font-size:12px}
  .footer__bottom span{display:block;line-height:1.5}

  .mobile-bar{
    display:grid;grid-template-columns:1fr 1fr;gap:10px;
    position:fixed;left:0;right:0;bottom:0;z-index:95;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(14,14,15,.98);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border-top:1px solid rgba(255,255,255,.1);
  }
  .mobile-bar .btn{padding:12px 8px;font-size:13.5px;border-radius:9px;min-height:46px}

  .lightbox{padding:64px 12px 86px}
  .lightbox__img{max-height:68vh}
  .lightbox__close{top:12px;right:12px;width:46px;height:46px}
  .lightbox__nav{bottom:16px;transform:none;width:48px;height:48px}
  .lightbox__nav--prev{left:14px}
  .lightbox__nav--next{right:14px}
  .modal{padding:12px}
  .modal__window{padding:26px 18px;max-height:88vh;border-radius:12px}
}

/* ---------- Узкий телефон ---------- */
@media (max-width:480px){
  .hero h1{font-size:clamp(1.55rem,7.2vw,2rem)}
  .chips li{font-size:12px;padding:6px 10px}
  .advantages__call a{font-size:21px}
  .price__phone{font-size:1.65rem}
  .form-card{padding:20px 16px}
  .footer__phone{font-size:20px!important}
  .modal__window h2{font-size:20px}
}

/* На самых узких экранах телефон-иконка уступает место кнопке «Позвонить» */
@media (max-width:400px){
  .header__phone{display:none}
  .header__call{max-width:150px}
}

@media (max-width:380px){
  .logo__text{font-size:15.5px}
  .header__call{padding:0 10px}
  .mobile-bar .btn{font-size:12.5px}
}

/* ============================================================
   Тач-устройства: без залипающих hover-эффектов
   ============================================================ */
@media (hover:none),(pointer:coarse){
  .btn:hover{transform:none!important}
  .btn--primary:hover{background:var(--accent);box-shadow:0 8px 20px rgba(0,0,0,.16)}
  .btn--ghost:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.38)}
  .btn--dark:hover{background:var(--ink);box-shadow:none}
  .btn--outline-dark:hover{border-color:var(--line-2)}
  .nav__list a:hover{color:rgba(255,255,255,.78)}
  .nav__list a:hover::after{width:0}
  .header__phone:hover{color:#fff}
  .service:hover{transform:none;box-shadow:none;border-color:var(--line)}
  .shot:hover img{transform:none}
  .shot:hover figcaption{opacity:1;transform:none}
  .messenger:hover{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.22)}
  .footer__col a:hover{color:rgba(255,255,255,.66)}
  .footer__policy:hover{color:rgba(255,255,255,.55)}
  a.contact-row__value:hover{color:var(--ink)}
  .advantages__call a:hover{color:var(--ink)}
  .price__phone:hover{color:#fff}
  .map-card__bar a:hover svg{transform:none}
  /* зоны нажатия не меньше 44 px */
  .nav__list a,.footer__col a,.footer__bottom button,.messenger,.consent{min-height:44px}
  .footer__col ul li{margin-bottom:0}
  .footer__col a{display:flex;align-items:center}
  .consent{padding:6px 0}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .js .reveal{opacity:1;transform:none}
}

/* ============================================================
   Результат отправки заявки: блок-«окно» без JS и модальное окно
   ============================================================ */

/* --- Блок-«окно» на странице (сценарий без JavaScript) --- */
.notice{
  display:flex;gap:14px;align-items:flex-start;
  background:#fff;border:1px solid var(--line);border-left:4px solid var(--accent);
  border-radius:12px;padding:16px;margin:-4px 0 22px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.notice--err{border-left-color:var(--accent-dark)}
.notice__icon{
  width:40px;height:40px;flex:none;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;
}
.notice--err .notice__icon{background:var(--accent-dark)}
.notice__icon svg{width:20px;height:20px;stroke-width:2.4}
.notice__body{min-width:0}
.notice__title{margin:0 0 6px;font-size:16px;line-height:1.35;font-weight:800;color:var(--ink)}
.notice__text{margin:0;font-size:14.5px;line-height:1.55;color:#3A3A3E}
.notice__text b{color:var(--ink);font-weight:800;white-space:nowrap}
.notice__text a{color:var(--accent);font-weight:700;text-decoration:underline;white-space:nowrap}
.notice__link{
  display:inline-block;margin-top:10px;font-size:14px;font-weight:700;
  color:var(--accent);text-decoration:underline;text-underline-offset:2px;
}
.notice__link:hover{color:var(--accent-dark)}

/* --- Модальное окно --- */
.req-modal{
  position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;
  padding:20px;
}
.req-modal[hidden]{display:none}
.req-modal__backdrop{
  position:absolute;inset:0;background:rgba(10,10,11,.68);
  animation:rm-fade .22s ease-out;
}
.req-modal__window{
  position:relative;outline:none;width:100%;max-width:470px;
  background:#fff;border-radius:16px;padding:36px 32px 28px;text-align:center;
  box-shadow:0 30px 70px rgba(0,0,0,.35);
  animation:rm-pop .26s cubic-bezier(.2,.7,.3,1);
}
.req-modal__close{
  position:absolute;top:10px;right:10px;width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  border:0;border-radius:50%;background:transparent;color:#6B6B70;cursor:pointer;
  transition:background-color .18s,color .18s;
}
.req-modal__close svg{width:18px;height:18px}
.req-modal__close:hover{background:var(--accent-soft);color:var(--accent)}
.req-modal__icon{
  width:64px;height:64px;margin:0 auto 18px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;
}
.req-modal__icon[hidden]{display:none}
.req-modal__icon svg{width:32px;height:32px;stroke-width:2.6}
.req-modal__icon--err{background:var(--accent-dark)}
.req-modal__title{
  margin:0 0 10px;font-size:24px;line-height:1.25;font-weight:800;
  letter-spacing:-.02em;color:var(--ink);
}
.req-modal__text{margin:0 0 24px;font-size:16px;line-height:1.6;color:#3A3A3E}
.req-modal__text b{color:var(--ink);font-weight:800;white-space:nowrap}
.req-modal__text a{color:var(--accent);font-weight:700;text-decoration:underline;white-space:nowrap}
/* Ошибка отправки: крупный телефон, чтобы позвонили, а не ушли */
.req-modal__fail{display:block;margin:0 0 6px;font-size:18px;font-weight:800;color:var(--ink)}
.req-modal__text a.req-modal__phone{display:block;margin:14px 0 6px;font-size:30px;line-height:1.15;
  font-weight:800;color:var(--accent);text-decoration:none;letter-spacing:.01em;white-space:nowrap}
.req-modal__text a.req-modal__phone:hover{text-decoration:underline}
.req-modal__hint{display:block;margin-top:10px;font-size:14px;line-height:1.55;color:#6C6C72}
/* Кнопка «Написать в Telegram» в окне неудачной отправки: второй путь
   для посетителя, если форма не ушла ни на index.php, ни на send.php. */
.req-modal__text a.req-modal__tg{display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;margin:6px 0 2px;padding:0 22px;border-radius:10px;
  background:var(--accent);color:#fff;font-size:15px;font-weight:700;text-decoration:none}
.req-modal__text a.req-modal__tg:hover{background:#B71C22}
@media (max-width:420px){
  .req-modal__text a.req-modal__phone{font-size:25px}
}
.req-modal__actions{display:flex;gap:10px}
.req-modal__actions .btn{flex:1 1 0;justify-content:center;min-height:48px;margin:0}

@keyframes rm-fade{from{opacity:0}to{opacity:1}}
@keyframes rm-pop{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}

/* Пока окно открыто, страница не прокручивается — см. .no-scroll выше */

@media (max-width:560px){
  .req-modal{padding:16px}
  .req-modal__window{
    padding:28px 18px 22px;border-radius:14px;
    max-height:calc(100vh - 32px);overflow-y:auto;
  }
  .req-modal__title{font-size:21px}
  .req-modal__text{font-size:16px}
  .req-modal__actions{flex-direction:column-reverse}
  .req-modal__actions .btn{width:100%;flex:none}
  .notice{padding:14px;gap:12px}
  .notice__icon{width:36px;height:36px}
  .notice__text{font-size:14px}
}

@media (prefers-reduced-motion:reduce){
  .req-modal__backdrop,.req-modal__window{animation:none}
}
