/* ==========================================================================
   МФЦ-Ритуал — модульный первый экран.
   Части переключаются атрибутами на <html>: data-header, data-menu, data-block.
   Фон — переменной --hero-photo. Цвета/ассеты из Figma.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&display=swap');

:root{
  --red:#A82319; --red-h:#8E1D14; --navy:#24365C; --navy-d:#1b2a47;
  --white:#fff; --text:#2a3346; --muted:#5b6a88; --line:#eef2f7;
  --hero-photo:url('assets/bg-skyline.jpg');
  --r:16px; --r-sm:10px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --sh:0 2px 6px rgba(20,30,50,.05),0 12px 30px rgba(20,30,50,.09);
  --sh-h:0 18px 44px rgba(20,30,50,.16);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Golos Text',system-ui,sans-serif;color:var(--text);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:0;background:none}
ul{list-style:none}
:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:4px}
.wrap{width:100%;max-width:1280px;margin:0 auto;padding:0 28px}
.btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;border-radius:999px;transition:transform .14s var(--ease),box-shadow .2s,filter .2s}
.btn--red{background:var(--red);color:#fff;padding:13px 24px}
.btn--red:hover{background:var(--red-h);transform:translateY(-2px);box-shadow:var(--sh-h)}
.ico{width:20px;height:20px;flex:none}

/* ---------- shared topbar (для B и C) ---------- */
.topbar{background:var(--navy);color:#cdd6ea;font-size:13px}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:42px}
.topbar a{color:#fff}.topbar a:hover{opacity:.85}
.topbar__l{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.topbar__soc{display:flex;gap:8px}
.topbar__soc a{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center}
.topbar__soc svg{width:14px;height:14px;color:#fff}

/* ---------- HEADER TOP ZONES ---------- */
.htop{display:none}                                   /* по умолчанию скрыты */
html[data-header="a"] .htop--a{display:block}
html[data-header="b"] .htop--b{display:block}
html[data-header="c"] .htop--c{display:block}

/* лого (общий) */
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:50px;height:50px;object-fit:contain;flex:none}
.brand b{display:block;font-weight:800;font-size:19px;color:var(--red);letter-spacing:.3px;line-height:1.05}
.brand span{font-size:12px;color:var(--muted)}
.phone{white-space:nowrap}
.phone a{font-weight:800;font-size:20px;color:var(--red)}
.phone small{display:block;font-size:12px;color:var(--muted)}

/* A — широкая 3-зонная */
.htop--a .wrap{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;padding:16px 0}
.htop--a .center{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:13px}
.htop--a .center .sep{width:1px;height:38px;background:var(--line)}
.htop--a .center b{color:var(--navy);font-weight:700;font-size:14px}
.htop--a .center .map{color:var(--red);font-weight:600}
.htop--a .right{display:flex;align-items:center;gap:18px}
.htop--a .ask{font-size:12px;color:var(--muted);max-width:170px;text-align:right}

/* B — компактная (topbar + одна строка) */
.htop--b .main{background:#fff;border-bottom:1px solid var(--line)}
.htop--b .main .wrap{display:flex;align-items:center;gap:24px;padding:16px 0}
.htop--b .htop-cta{margin-left:auto;display:flex;align-items:center;gap:18px}

/* C — минимал (topbar + лого + поиск + телефон + cta) */
.htop--c .main{background:#fff;border-bottom:1px solid var(--line)}
.htop--c .main .wrap{display:flex;align-items:center;gap:24px;padding:18px 0}
.htop--c .bigsearch{flex:1;max-width:560px;display:flex;align-items:center;gap:10px;background:var(--line);border-radius:999px;padding:13px 20px}
.htop--c .bigsearch input{border:0;background:none;outline:none;font:inherit;width:100%;color:var(--text)}
.htop--c .bigsearch svg{width:20px;height:20px;color:var(--muted);flex:none}
.htop--c .htop-cta{display:flex;align-items:center;gap:18px}

/* ---------- MENU (separate strip) ---------- */
.menu{border-bottom:1px solid var(--line)}
.menu .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:54px}
.menu ul{display:flex;gap:26px;flex-wrap:wrap}
.menu a{font-weight:700;font-size:14.5px;padding:16px 0;position:relative;display:inline-block}
.menu a::after{content:"";position:absolute;left:0;right:100%;bottom:10px;height:2px;background:var(--red);transition:right .25s var(--ease);border-radius:2px}
.menu a:hover::after{right:0}
.menu__search{display:flex;align-items:center;gap:8px;border-radius:999px;padding:8px 14px;flex:none}
.menu__search input{border:0;background:none;outline:none;font:inherit;width:150px}
.menu__search svg{width:17px;height:17px;flex:none}
/* light menu (default) */
html[data-menu="light"] .menu{background:#fff}
html[data-menu="light"] .menu a{color:var(--navy)}
html[data-menu="light"] .menu__search{background:var(--line)}
html[data-menu="light"] .menu__search svg,html[data-menu="light"] .menu__search input{color:var(--muted)}
/* dark menu */
html[data-menu="dark"] .menu{background:var(--navy);border-bottom-color:var(--navy)}
html[data-menu="dark"] .menu a{color:#fff}
html[data-menu="dark"] .menu a::after{background:#fff}
html[data-menu="dark"] .menu__search{background:rgba(255,255,255,.14)}
html[data-menu="dark"] .menu__search svg,html[data-menu="dark"] .menu__search input{color:#fff}
html[data-menu="dark"] .menu__search input::placeholder{color:#b9c6de}
/* centered menu */
html[data-menu="center"] .menu{background:#fff}
html[data-menu="center"] .menu .wrap{justify-content:center}
html[data-menu="center"] .menu__search{display:none}
html[data-menu="center"] .menu a{color:var(--navy)}

/* ---------- HERO ---------- */
.hero{position:relative;
  background-image:linear-gradient(180deg,rgba(255,255,255,.93),rgba(255,255,255,.82)),var(--hero-photo);
  background-size:cover;background-position:center;background-repeat:no-repeat}
.hero .wrap{display:grid;grid-template-columns:57% 39%;gap:4%;align-items:center;padding:60px 0 76px}
.hero__left h1{font-size:clamp(30px,3.6vw,46px);font-weight:800;line-height:1.12;color:var(--navy);letter-spacing:-.02em}
.hero__sub{margin-top:18px;font-size:18px;color:var(--muted);max-width:560px}
.hero__sub b{color:var(--text)}
.callout{margin-top:26px;display:inline-flex;align-items:center;gap:14px;background:var(--navy);color:#fff;border-radius:16px;padding:18px 24px;font-size:16px;font-weight:700;line-height:1.35;max-width:560px;box-shadow:0 14px 30px rgba(36,54,92,.26)}
.callout svg{width:26px;height:26px;flex:none;color:#bcd}
.callout a{color:#7fe0ff;white-space:nowrap}
.note{margin-top:14px;font-size:13px;color:var(--muted);max-width:540px}
.note b{color:var(--text)}

/* ---------- ACTION BLOCKS ---------- */
.block{display:none}
html[data-block="buttons"] .block--buttons{display:flex}
html[data-block="cards"]   .block--cards{display:flex}
html[data-block="panel"]   .block--panel{display:block}
html[data-block="contact"] .block--contact{display:block}
.block__badge{margin-bottom:16px}
.block__badge img{height:50px;width:auto;border-radius:8px;box-shadow:var(--sh)}

/* buttons (compact) */
.block--buttons{flex-direction:column;gap:14px}
.abtn{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:14px;font-weight:700;font-size:16px;box-shadow:var(--sh);transition:transform .2s var(--ease),box-shadow .2s}
.abtn:hover{transform:translateY(-3px);box-shadow:var(--sh-h)}
.abtn .ico{width:24px;height:24px}
.abtn .arr{margin-left:auto;width:22px;height:22px;flex:none}
.abtn--red{background:var(--red);color:#fff}
.abtn--navy{background:var(--navy);color:#fff}
.abtn--white{background:#fff;color:var(--navy);border:1px solid var(--line)}
.abtn--white .ico{color:var(--red)}

/* cards (big with subtitle) */
.block--cards{flex-direction:column;gap:16px}
.acard{display:flex;align-items:center;gap:16px;padding:22px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh);transition:transform .2s var(--ease),box-shadow .2s}
.acard:hover{transform:translateY(-4px);box-shadow:var(--sh-h)}
.acard__i{width:54px;height:54px;border-radius:14px;flex:none;display:grid;place-items:center;background:rgba(168,35,25,.08);color:var(--red)}
.acard__i svg{width:28px;height:28px}
.acard h3{font-size:17px;font-weight:800;color:var(--navy)}
.acard p{font-size:13px;color:var(--muted);margin-top:3px}
.acard .arr{margin-left:auto;color:var(--navy);width:24px;height:24px;flex:none;transition:transform .2s}
.acard:hover .arr{transform:translateX(5px)}
.acard--accent{background:var(--navy);border-color:var(--navy)}
.acard--accent .acard__i{background:rgba(255,255,255,.14);color:#fff}
.acard--accent h3{color:#fff}.acard--accent p{color:#c2cce0}.acard--accent .arr{color:#fff}

/* panel (tile grid) */
.panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--sh);padding:22px}
.panel__h{font-size:18px;font-weight:800;color:var(--navy);margin-bottom:16px}
.panel__big{display:flex;align-items:center;gap:14px;width:100%;background:var(--red);color:#fff;border-radius:14px;padding:18px 20px;font-weight:800;font-size:17px;margin-bottom:14px}
.panel__big:hover{background:var(--red-h)}
.panel__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tile{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:14px;background:#f6f8fc;border:1px solid var(--line);font-weight:700;color:var(--navy);font-size:14.5px;transition:transform .18s var(--ease),box-shadow .18s}
.tile:hover{transform:translateY(-3px);box-shadow:var(--sh)}
.tile .ico{color:var(--red);width:26px;height:26px}

/* contact card */
.ccard{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--sh);padding:24px;overflow:hidden}
.ccard__h{font-size:18px;font-weight:800;color:var(--navy);margin-bottom:16px}
.ccard__rows{margin:16px 0;border-top:1px solid var(--line)}
.ccard__row{display:flex;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid var(--line);font-weight:700;color:var(--navy);font-size:14.5px}
.ccard__row .ico{color:var(--red);width:22px;height:22px}
.ccard__row .arr{margin-left:auto;color:var(--muted);width:20px;height:20px}
.ccard__row:hover{color:var(--red)}
.ccard__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ccard__foot .ph{font-weight:800;font-size:20px;color:var(--navy)}
.ccard__foot small{color:var(--muted);font-size:12px;display:block}
.ccard__foot img{height:42px;border-radius:6px}

/* ---------- responsive ---------- */
@media (max-width:1040px){
  .hero .wrap{grid-template-columns:1fr;gap:34px;padding:44px 0 60px}
  .htop--a .center,.htop--a .ask{display:none}
}
@media (max-width:760px){
  .menu ul{gap:16px;font-size:13.5px}
  .menu__search{display:none}
  .panel__grid{grid-template-columns:1fr}
  .htop--c .bigsearch{display:none}
  .topbar .wrap{height:auto;flex-direction:column;align-items:flex-start;gap:6px;padding:8px 0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}

/* pricing variants toggle */
.pvar{display:none}
html[data-prices="p1"] .pvar--p1{display:block}
html[data-prices="p2"] .pvar--p2{display:block}
html[data-prices="p3"] .pvar--p3{display:block}
html[data-prices="p4"] .pvar--p4{display:block}
html[data-prices="p5"] .pvar--p5{display:block}
html[data-prices="p6"] .pvar--p6{display:block}

html[data-prices="p7"] .pvar--p7{display:block}

/* under-header strip toggle */
.ub{display:none}
html[data-ustrip="usp"] .ub--usp{display:block}
html[data-ustrip="services"] .ub--services{display:block}

html[data-prices="p8"] .pvar--p8{display:block}

html[data-prices="p9"] .pvar--p9{display:block}

/* matrix variants */
html[data-prices="m1"] .pvar--m1{display:block}
html[data-prices="m2"] .pvar--m2{display:block}
html[data-prices="m3"] .pvar--m3{display:block}
html[data-prices="m4"] .pvar--m4{display:block}
html[data-prices="m5"] .pvar--m5{display:block}
html[data-prices="m6"] .pvar--m6{display:block}

/* ===================== Мессенджеры в контакт-карте ===================== */
.ccard__msgr{display:flex;gap:10px;align-items:center}
.appic{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;flex:none;
  box-shadow:0 4px 12px rgba(20,30,50,.18);transition:transform .15s var(--ease),box-shadow .2s}
.appic:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(20,30,50,.26)}
.appic svg{width:24px;height:24px}
.appic--tg{background:linear-gradient(160deg,#2aabee,#229ed9)}
.appic--max{background:linear-gradient(160deg,#3d6bf2,#2747cf)}

/* ===================== Плавающий/липкий телефон ===================== */
#qphone{position:fixed;z-index:300;display:inline-flex;align-items:center;gap:10px;
  background:var(--red);color:#fff;font-weight:800;text-decoration:none;letter-spacing:-.01em;
  box-shadow:0 10px 26px rgba(168,35,25,.40);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .25s var(--ease),transform .25s var(--ease),visibility .25s;
  right:22px;bottom:22px;padding:13px 20px;border-radius:999px;font-size:16px}
#qphone.show{opacity:1;visibility:visible;transform:none}
#qphone:hover{background:var(--red-h)}
#qphone svg{width:20px;height:20px;flex:none}
@media(max-width:760px){
  #qphone{right:0;left:0;top:0;bottom:auto;border-radius:0;justify-content:center;
    padding:11px;font-size:16px;box-shadow:0 4px 14px rgba(0,0,0,.18);transform:translateY(-100%)}
  #qphone.show{transform:none}
}

/* ===================== Бургер + мобильное меню ===================== */
.menu__burger{display:none;flex-direction:column;gap:4px;width:42px;height:38px;
  align-items:center;justify-content:center;border-radius:9px;cursor:pointer}
.menu__burger span{width:22px;height:2px;background:currentColor;border-radius:2px;display:block}
html[data-menu="dark"] .menu__burger{color:#fff}
html[data-menu="light"] .menu__burger,html[data-menu="center"] .menu__burger{color:var(--navy)}
@media(max-width:760px){
  .menu__burger{display:flex;order:1}
  .menu .wrap{flex-wrap:wrap;min-height:52px}
  .menu ul{display:none;flex-direction:column;gap:0;width:100%;order:3}
  .menu.open ul{display:flex}
  .menu ul li{width:100%}
  .menu a{display:block;padding:13px 2px}
  .menu__search{display:none}
}

/* ===================== Мобильная лаконичная шапка ===================== */
@media(max-width:760px){
  .htop--a .wrap{grid-template-columns:auto auto;justify-content:space-between;gap:12px}
  .htop--a .phone a{font-size:17px}
  .hero .wrap{padding:34px 0 48px;gap:26px}
  .hero__left h1{font-size:clamp(26px,7vw,34px)}
}

/* ===================== Мобильная шапка (классический бургер в шапке) ===================== */
.htop__call,.htop__burger{display:none}
@media(max-width:760px){
  /* слим-шапка: лого слева, звонок + бургер справа */
  .htop--a .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0}
  .htop--a .center,.htop--a .ask,.htop--a .phone{display:none}
  .brand img{width:42px;height:42px}
  .brand b{font-size:17px}
  .htop__call{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;
    background:rgba(168,35,25,.10);color:var(--red);margin-left:auto;flex:none}
  .htop__call svg{width:21px;height:21px}
  .htop__burger{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;
    width:44px;height:42px;border-radius:11px;background:var(--navy);flex:none}
  .htop__burger span{width:22px;height:2px;background:#fff;border-radius:2px;display:block}

  /* синяя полоса-меню: скрыта, открывается выпадашкой по бургеру */
  .menu{display:none;border-bottom:1px solid rgba(255,255,255,.12)}
  .menu.open{display:block}
  .menu .wrap{display:block;padding-block:6px}
  .menu__burger{display:none}
  .menu ul{display:flex;flex-direction:column;gap:0;width:100%}
  .menu ul li{width:100%;border-top:1px solid rgba(255,255,255,.12)}
  .menu ul li:first-child{border-top:0}
  .menu a{display:block;padding:14px 2px;font-size:16px}
  .menu__search{display:none}

  /* больше воздуха в первом экране */
  .hero .wrap{padding:30px 0 44px;gap:24px}
  .hero__left h1{font-size:clamp(25px,6.6vw,32px);line-height:1.18}
  .hero__sub{font-size:16px;margin-top:14px}
  .callout{padding:18px;font-size:15px;gap:12px}
  .ccard{padding:20px}
  .block__badge{margin-bottom:12px}
}

/* --- HERO: тексты первого экрана (перенос с мобильной), дизайн-каркас прежний --- */
.hero__eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(36,54,92,.07);color:var(--navy);font-weight:700;font-size:13px;padding:7px 14px;border-radius:999px;margin-bottom:18px}
.hero__eyebrow svg{width:16px;height:16px;color:var(--red)}
.hero__call{margin-top:20px;font-size:18px;font-weight:800;color:var(--navy)}
.hero__call b{color:var(--red)}
.hero__stack{margin-top:14px;display:flex;flex-direction:column;gap:11px}
.hero__stack li{display:flex;align-items:flex-start;gap:11px;font-size:17px;font-weight:600;color:var(--text);line-height:1.4}
.hero__stack li svg{width:22px;height:22px;color:#0e9b56;flex:none;margin-top:1px}

/* ===== Полезная информация (аккордеон полных SEO-текстов) ===== */
.info-sec{padding-block:64px;background:#f8fafc;font-family:'Golos Text',system-ui,sans-serif}
.info-sec .acc{display:flex;flex-direction:column;gap:12px;max-width:860px;margin:28px auto 0}
.info-sec details{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--sh);overflow:hidden}
.info-sec summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:18px 20px;font-weight:700;font-size:17px;color:var(--navy)}
.info-sec summary::-webkit-details-marker{display:none}
.info-sec summary .qi{width:38px;height:38px;border-radius:11px;background:rgba(36,54,92,.08);color:var(--navy);display:grid;place-items:center;flex:none}
.info-sec summary .qi svg{width:21px;height:21px}
.info-sec summary .qx{margin-left:auto;color:#9fb0cc;font-size:22px;line-height:1;transition:transform .2s}
.info-sec details[open] summary .qx{transform:rotate(45deg)}
.info-sec .acc__body{padding:0 20px 20px;font-size:15px;line-height:1.65;color:var(--muted)}
.info-sec .acc__body p{margin-bottom:12px}
.info-sec .acc__body b{color:var(--text)}
.info-sec .acc__body ul{margin:0 0 12px;padding-left:2px;display:flex;flex-direction:column;gap:7px;list-style:none}
.info-sec .acc__body li{position:relative;padding-left:20px}
.info-sec .acc__body li::before{content:"";position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:50%;background:var(--red)}
@media(max-width:760px){.info-sec .acc{grid-template-columns:1fr}}

/* ===== Калькулятор: тизер + кнопка + модальный мастер (десктоп) ===== */
.calcd{padding-block:56px;background:#fff;font-family:'Golos Text',system-ui,sans-serif}
.calcd__teaser{display:flex;gap:18px;align-items:center;max-width:760px;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--sh)}
.calcd__i{width:60px;height:60px;border-radius:15px;background:linear-gradient(150deg,#34497c,#24365C);color:#fff;display:grid;place-items:center;flex:none}
.calcd__i svg{width:30px;height:30px}
.calcd__teaser b{font-size:18px;color:var(--navy);font-weight:800;display:block;margin-bottom:4px}
.calcd__teaser p{font-size:14px;color:var(--muted)}
.calcd__btn{margin-top:20px;display:inline-flex;align-items:center;gap:10px;background:var(--red);color:#fff;font-weight:800;font-size:16px;padding:15px 28px;border-radius:14px;cursor:pointer;border:0;box-shadow:var(--sh)}
.calcd__btn svg{width:20px;height:20px}
.cmodal{position:fixed;inset:0;z-index:600;display:none;font-family:'Golos Text',system-ui,sans-serif}
.cmodal.open{display:block}
.cmodal__sc{position:absolute;inset:0;background:rgba(14,22,40,.6)}
.cmodal__box{position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;background:#f5f7fb;display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.cmodal__head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fff;border-bottom:1px solid var(--line)}
.cmodal__head b{font-size:17px;color:var(--navy);font-weight:800}
.cmodal__head small{display:block;font-size:11px;color:var(--muted);font-weight:600}
.cmodal__x{margin-left:auto;width:40px;height:40px;border-radius:11px;background:#eef2f8;display:grid;place-items:center;flex:none;cursor:pointer;border:0}
.cmodal__x svg{width:20px;height:20px;color:var(--navy)}
.cprog{height:4px;background:var(--line);flex:none}
.cprog__bar{height:100%;background:var(--red);width:16%;transition:width .3s;border-radius:0 3px 3px 0}
.cwrap{flex:1;overflow-y:auto;padding:18px}
.cstep{display:none}
.cstep.on{display:block}
.cstep h4{font-size:19px;color:var(--navy);font-weight:800;margin-bottom:3px}
.cstep .hint{font-size:13px;color:var(--muted);margin-bottom:16px}
.copt{display:flex;align-items:center;gap:12px;padding:14px;border:1.5px solid #dbe3f0;border-radius:12px;margin-bottom:9px;cursor:pointer;background:#fff}
.copt input{width:20px;height:20px;accent-color:var(--red);flex:none}
.copt .nm{font-weight:600;font-size:15px;color:var(--text)}
.copt .pr{margin-left:auto;font-weight:800;color:var(--navy);white-space:nowrap}
.copt:has(input:checked){border-color:var(--red);background:rgba(168,35,25,.05)}
.cfoot{flex:none;background:#fff;border-top:1px solid var(--line);padding:12px 16px;display:flex;align-items:center;gap:10px}
.cfoot .sum{flex:1;min-width:0}
.cfoot .sum small{font-size:11px;color:var(--muted);display:block}
.cfoot .sum b{font-size:22px;color:var(--red);font-weight:800}
.cbtn{padding:13px 18px;border-radius:12px;font-weight:800;font-size:15px;flex:none;cursor:pointer;border:0}
.cbtn--red{background:var(--red);color:#fff}
.cbtn--ghost{background:#eef2f8;color:var(--navy)}
.cbtn:disabled{opacity:.4}
.csum-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:15px;color:var(--muted)}
.csum-row b{color:var(--navy);font-weight:700;white-space:nowrap}
.csum-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:14px;padding-top:14px;border-top:2px solid var(--navy)}
.csum-total span{font-weight:700;color:var(--navy)}
.csum-total b{font-size:28px;color:var(--red);font-weight:800}
.csum-disc{font-size:13px;color:#0e9b56;font-weight:700;text-align:right;margin-top:4px}
.cactions{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.cactions .cbtn{width:100%;text-align:center;padding:15px}
.cdone{text-align:center;padding:36px 14px}
.cdone .ok{width:64px;height:64px;border-radius:50%;background:rgba(16,160,90,.12);color:#0e9b56;display:grid;place-items:center;margin:0 auto 14px}
.cdone .ok svg{width:34px;height:34px}
.cdone h4{font-size:20px;color:var(--navy);margin-bottom:8px}
.cdone p{font-size:14px;color:var(--muted);line-height:1.5}
.cfield{width:100%;padding:14px;border:1.5px solid #d7e0ee;border-radius:12px;font:inherit;font-size:16px;margin:12px 0;outline:none}
.cfield:focus{border-color:var(--red)}

/* ===== Десктоп: факты-доверие + видео ===== */
.dtrust{padding-block:48px;background:#fff;font-family:'Golos Text',system-ui,sans-serif}
.dtrust .wrap{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.dtrust__facts{display:flex;flex-direction:column;gap:15px}
.dtrust__facts div{display:flex;gap:12px;align-items:flex-start;font-size:16px;font-weight:600;color:var(--text);line-height:1.45}
.dtrust__facts svg{width:23px;height:23px;color:#0e9b56;flex:none;margin-top:1px}
.dvideo{position:relative;border-radius:18px;overflow:hidden;min-height:250px;display:grid;place-items:center;background:var(--navy);box-shadow:var(--sh)}
.dvideo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.dvideo__play{position:relative;width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;z-index:2}
.dvideo__play svg{width:30px;height:30px;color:var(--red);margin-left:4px}
.dvideo__cap{position:absolute;left:22px;right:22px;bottom:18px;color:#fff;font-weight:700;font-size:16px;z-index:2;text-shadow:0 1px 6px rgba(0,0,0,.5)}
@media(max-width:760px){.dtrust .wrap{grid-template-columns:1fr}}

/* ===== Отзывы: карусель + добавить отзыв ===== */
.s3-rev-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-8px 0 22px;flex-wrap:wrap}
.s3-addrev{display:inline-flex;align-items:center;gap:8px;background:var(--navy);color:#fff;font-weight:700;font-size:15px;padding:12px 22px;border-radius:12px;border:0;cursor:pointer;transition:filter .18s}
.s3-addrev:hover{filter:brightness(1.08)}
.s3-addrev svg{width:18px;height:18px}
.s3-arrows{display:flex;gap:10px}
.s3-arrow-btn{width:46px;height:46px;border-radius:50%;border:1.5px solid #dbe3f0;background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--navy);transition:.18s}
.s3-arrow-btn:hover{border-color:var(--red);color:var(--red)}
.s3-arrow-btn svg{width:22px;height:22px}
.s3-reviews{display:flex !important;grid-template-columns:none !important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:20px;padding-bottom:6px;scrollbar-width:none;}
.s3-reviews::-webkit-scrollbar{display:none}
.s3-review{flex:0 0 calc((100% - 60px)/4);scroll-snap-align:start}
@media(max-width:980px){.s3-review{flex:0 0 calc((100% - 20px)/2)}}
@media(max-width:560px){.s3-review{flex:0 0 86%}}
/* модалка добавления отзыва */
.rmodal{position:fixed;inset:0;z-index:600;display:none}
.rmodal.open{display:grid;place-items:center}
.rmodal__sc{position:absolute;inset:0;background:rgba(14,22,40,.6)}
.rmodal__box{position:relative;z-index:2;background:#fff;width:100%;max-width:480px;margin:16px;border-radius:18px;padding:26px;box-shadow:0 30px 80px rgba(0,0,0,.4);font-family:'Golos Text',system-ui,sans-serif}
.rmodal__box h3{font-size:20px;font-weight:800;color:var(--navy);margin:0 0 4px}
.rmodal__box p{font-size:14px;color:#5b6a88;margin:0 0 16px}
.rmodal__box input,.rmodal__box textarea{width:100%;padding:13px 14px;border:1.5px solid #d7e0ee;border-radius:12px;font:inherit;font-size:15px;margin-bottom:12px;outline:none}
.rmodal__box textarea{min-height:110px;resize:vertical}
.rmodal__box input:focus,.rmodal__box textarea:focus{border-color:var(--red)}
.rmodal__stars{display:flex;gap:6px;margin-bottom:14px;color:#f5a623;font-size:26px;cursor:pointer}
.rmodal__row{display:flex;gap:10px}
.rmodal__row button{flex:1;padding:14px;border-radius:12px;font-weight:800;font-size:15px;border:0;cursor:pointer}
.rmodal__send{background:var(--red);color:#fff}
.rmodal__cancel{background:#eef2f8;color:var(--navy)}
.rmodal__ok{text-align:center;padding:14px 0}
.rmodal__ok svg{width:56px;height:56px;color:#0e9b56;margin-bottom:10px}

/* ===== Выпадающие подменю в шапке (премиальные) ===== */
.menu .has-sub{position:relative}
.menu .has-sub>a{padding-right:18px}
.menu .has-sub>a::before{content:"";position:absolute;right:0;top:50%;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);opacity:.6;transition:transform .25s var(--ease),opacity .2s}
.menu .has-sub:hover>a::before{transform:translateY(-25%) rotate(225deg);opacity:1}
.menu .has-sub::before{content:"";position:absolute;left:-16px;right:-16px;top:100%;height:16px;z-index:59}
.menu .submenu{position:absolute;top:calc(100% + 13px);left:-16px;width:max-content;max-width:820px;background:#fff;border:1px solid #edf1f7;border-radius:16px;box-shadow:0 28px 64px -20px rgba(20,30,50,.42),0 8px 22px -14px rgba(20,30,50,.18);padding:12px;opacity:0;visibility:hidden;transform:translateY(10px) scale(.97);transform-origin:26px top;transition:opacity .24s var(--ease),transform .24s var(--ease),visibility .24s;z-index:60;display:grid;grid-template-columns:1fr 1fr;gap:2px 8px}
.menu .submenu::before{content:"";position:absolute;top:-7px;left:30px;width:14px;height:14px;background:#fff;border-left:1px solid #edf1f7;border-top:1px solid #edf1f7;transform:rotate(45deg)}
.menu .has-sub:hover .submenu{opacity:1;visibility:visible;transform:none}
.menu .submenu li{display:block}
.menu .submenu li:last-child{grid-column:1 / -1}
.menu .submenu a{display:flex;align-items:center;gap:13px;padding:9px 14px;border-radius:10px;font-size:14.5px;font-weight:600;color:var(--navy)!important;white-space:nowrap;position:relative}
.menu .submenu a::after{display:none!important}
.menu .submenu .mi{width:38px;height:38px;border-radius:10px;background:#f3f6fb;display:grid;place-items:center;flex:none;color:var(--navy);transition:background .18s,color .18s}
.menu .submenu .mi svg{width:20px;height:20px}
.menu .submenu .submenu-all .mi{display:none}
.menu .submenu a:hover{background:#f5f8fd;color:var(--red)!important}
.menu .submenu a:hover .mi{background:var(--red);color:#fff}
.menu .submenu .submenu-all{margin-top:6px;padding-top:14px;border-top:1px solid #edf1f7;color:var(--red)!important;font-weight:800}
.menu .submenu .submenu-all::before{display:none}


/* ===== ПОДВАЛ В СТИЛЕ МАКЕТА ===== */
.mfoot{background:#24365C;color:#cfd8ea;border-radius:40px 40px 0 0;padding:54px 0 92px;margin-top:40px}
.mfoot__in{max-width:1180px;margin:0 auto;padding:0 24px}
.mfoot__grid{display:grid;grid-template-columns:1.35fr 1fr 1.5fr 1fr;gap:30px}
.mfoot__col h4{font-size:15px;font-weight:700;color:#8ea0c4;margin:0 0 18px}
.mfoot__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.mfoot__col a{color:#dbe3f1;font-size:14.5px;text-decoration:none;transition:color .15s}
.mfoot__col a:hover{color:#fff}
.mfoot__mid{display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:26px}
.mfoot__midL,.mfoot__midR{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.mfoot__brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.mfoot__emblem svg{width:42px;height:42px;color:#fff;display:block}
.mfoot__bt b{display:block;font-size:18px;font-weight:800;letter-spacing:.05em;color:#fff;line-height:1.1}
.mfoot__bt small{color:#8ea0c4;font-size:12px}
.mfoot__sep{width:1px;height:48px;background:rgba(255,255,255,.14)}
.mfoot__addr{display:flex;gap:10px;font-size:13.5px;color:#aebbd4;line-height:1.5}
.mfoot__pin svg{width:18px;height:18px;color:#A82319;display:block}
.mfoot__addr a{color:#dbe3f1;text-decoration:underline}
.mfoot__addr a:hover{color:#fff}
.mfoot__ask{display:flex;align-items:center;gap:14px;font-size:13px;color:#aebbd4;line-height:1.45}
.mfoot__msg{width:40px;height:40px;display:inline-grid;place-items:center;flex:none}
.mfoot__msg svg{width:40px;height:40px;display:block}
.mfoot__hot{text-align:right}
.mfoot__hot small{display:block;color:#8ea0c4;font-size:12.5px;margin-bottom:3px}
.mfoot__hot a{color:#fff;font-size:21px;font-weight:800;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:2px}
.mfoot__bar{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;border-top:1px solid rgba(255,255,255,.12);margin-top:24px;padding-top:22px}
.mfoot__copy{font-size:13px;color:#aebbd4;line-height:1.7;white-space:nowrap}
.mfoot__copy a{color:#aebbd4;text-decoration:underline}.mfoot__copy a:hover{color:#fff}
.mfoot__disc{max-width:720px;font-size:12px;color:#76849f;line-height:1.6;margin:0;text-align:right}
@media(max-width:900px){
  .mfoot{border-radius:28px 28px 0 0;padding:40px 0 22px}
  .mfoot__grid{grid-template-columns:1fr 1fr;gap:26px}
  .mfoot__mid{flex-direction:column;align-items:flex-start;gap:20px}
  .mfoot__midR{width:100%;justify-content:space-between;gap:16px}
  .mfoot__hot{text-align:left}
  .mfoot__sep{display:none}
  .mfoot__bar{flex-direction:column;gap:14px}
  .mfoot__copy{white-space:normal}
  .mfoot__disc{text-align:left;max-width:none}
}
@media(max-width:520px){.mfoot__grid{grid-template-columns:1fr 1fr}.mfoot__ask{flex-wrap:wrap}}

.mfoot__emblem .mfoot__logo{width:46px;height:auto;display:block;filter:brightness(0) invert(1)}

/* ===== БЛОКИ В СТИЛЕ МАКЕТА ===== */
.mc{font-family:'Golos Text',system-ui,sans-serif}
.mc-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
/* услуги — воздушнее */
.s1-grid-6 .s1-card{border-color:#eef2f8;box-shadow:none;padding:30px 28px}
.s1-grid-6 .s1-card:hover{box-shadow:0 18px 40px -24px rgba(36,54,92,.35);transform:translateY(-4px);border-color:#e3e9f3}
/* Рассрочка 0-0-12 */
.mc-rass{margin:6px 0 44px}
.mc-rass__in{background:#2f4474;border-radius:24px;padding:30px 40px;display:flex;align-items:center;gap:30px;flex-wrap:wrap;color:#fff}
.mc-rass__big{font-size:clamp(26px,3vw,36px);font-weight:800;letter-spacing:-.01em;white-space:nowrap}
.mc-rass__txt{font-size:16px;line-height:1.5;flex:1;min-width:240px;color:#dbe3f4}
.mc-rass__txt b{color:#fff;font-weight:700}
.mc-rass__btn{border:1.5px solid rgba(255,255,255,.6);color:#fff;border-radius:999px;padding:14px 28px;font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap;transition:.18s}
.mc-rass__btn:hover{background:#fff;color:#2f4474}
@media(max-width:760px){.mc-rass__in{padding:24px;flex-direction:column;align-items:flex-start}.mc-rass__btn{width:100%;text-align:center}}
/* FAQ воздушный */
.mc-faq .acc{display:flex;flex-direction:column;gap:0;max-width:none}
.mc-faq .acc details{background:none;border:0;border-bottom:1px solid #e7ecf3;border-radius:0;box-shadow:none;margin:0;padding:0}
.mc-faq .acc summary{padding:24px 4px;font-size:clamp(17px,1.8vw,21px);font-weight:600;color:#24365C;gap:0;align-items:center;list-style:none}
.mc-faq .acc summary::-webkit-details-marker{display:none}
.mc-faq .acc .qi{display:none}
.mc-faq .acc .qx{margin-left:auto;width:40px;height:40px;border-radius:50%;background:#24365C;color:#fff;display:grid;place-items:center;font-size:26px;font-weight:300;line-height:1;flex:none;transition:transform .2s}
.mc-faq .acc details[open] .qx{transform:rotate(45deg)}
.mc-faq .acc__body{padding:0 4px 26px;color:#5b6a88;font-size:15.5px;line-height:1.7;max-width:920px}
.s1-lead-sub{color:#5b6a88;margin:10px 0 0;font-size:16px}
/* СОГАЗ */
.mc-sogaz{padding:8px 0 56px}
.mc-sogaz__in{background:#f4f6fa;border-radius:24px;padding:clamp(28px,4vw,48px);display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.mc-sogaz__h{font-size:clamp(22px,2.6vw,30px);font-weight:500;color:#42506c;line-height:1.3;margin:0 0 16px}
.mc-sogaz__h b{font-weight:800;color:#24365C}
.mc-sogaz__p{color:#5b6a88;font-size:16px;line-height:1.6;margin:0 0 24px}
.mc-sogaz__btn{display:inline-flex;background:#A82319;color:#fff;font-weight:700;padding:15px 28px;border-radius:12px;text-decoration:none;font-size:15px;transition:.18s}
.mc-sogaz__btn:hover{background:#8E1D14}
.mc-sogaz__card{background:#fff;border-radius:18px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;box-shadow:0 20px 50px -30px rgba(36,54,92,.4)}
.mc-sogaz__logo{font-size:clamp(40px,6vw,64px);font-weight:800;color:#14188a;letter-spacing:.03em}
.mc-sogaz__dots{display:flex;gap:8px}
.mc-sogaz__dots i{width:8px;height:8px;border-radius:50%;background:#cdd6e6}
.mc-sogaz__dots i.on{width:26px;border-radius:4px;background:#24365C}
@media(max-width:760px){.mc-sogaz__in{grid-template-columns:1fr;gap:24px}}
/* Контакты-макет */
.mc-cont__sub{color:#5b6a88;font-size:17px;margin:8px 0 0}
.mc-cgrid{display:grid;grid-template-columns:1fr 1.1fr;gap:36px;align-items:start;margin-top:32px}
.mc-cinfo{display:flex;flex-direction:column}
.mc-cbig{font-size:clamp(22px,2.4vw,28px);font-weight:700;color:#24365C;margin:0 0 8px}
.mc-cbig a{color:#24365C;text-decoration:none}
.mc-cmail{font-size:18px;color:#A82319;text-decoration:none;font-weight:600}
.mc-cdiv{height:1px;background:#e7ecf3;margin:24px 0}
.mc-cask{color:#5b6a88;font-size:15px;line-height:1.45;margin:0 0 14px}
.mc-cmsg{display:flex;gap:12px;margin-bottom:24px}
.mc-cmsg a svg{width:44px;height:44px;display:block}
.mc-cbtns{display:flex;flex-direction:column;gap:12px;max-width:440px}
.mc-cbtn{background:#f4f6fa;border:1px solid #e7ecf3;border-radius:12px;padding:15px 22px;text-align:center;color:#24365C;font-weight:600;text-decoration:none;transition:.15s}
.mc-cbtn:hover{background:#eaeef5}
.mc-cmap{border-radius:18px;overflow:hidden;min-height:430px;border:1px solid #e7ecf3}
.mc-cmap iframe{width:100%;height:100%;min-height:430px;border:0;display:block}
@media(max-width:860px){.mc-cgrid{grid-template-columns:1fr}.mc-cmap{min-height:300px}}

/* реальные иконки/лого из макета */
.mfoot__msg img.ic-msg{width:40px;height:40px;display:block}
.mc-cmsg a img.ic-msg{width:44px;height:44px;display:block}
img.mc-sogaz__logo{width:clamp(180px,55%,260px);height:auto;display:block}

/* секция услуг как в макете: интро + фото транспорта + детальные иконки */
.s1-intro-row{display:grid;grid-template-columns:1.55fr 1fr;gap:30px;align-items:stretch;margin-bottom:30px}
.s1-intro-row .s1-lead{margin:0;align-self:start}
.s1-transport{position:relative;border-radius:18px;overflow:hidden;min-height:250px;display:block;text-decoration:none;color:#fff}
.s1-transport img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.s1-transport::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,30,55,.1),rgba(20,30,55,.78))}
.s1-transport__c{position:relative;z-index:2;padding:26px;display:flex;flex-direction:column;justify-content:center;height:100%;min-height:250px}
.s1-transport__t{font-size:23px;font-weight:800;margin:0 0 8px}
.s1-transport__s{font-size:15px;line-height:1.45;color:#e7ecf5;margin:0;max-width:310px}
.s1-transport__a{position:absolute;right:22px;bottom:20px;z-index:3}
.s1-transport__a svg{width:24px;height:24px;color:#fff}
.s1-grid-6 .s1-ico{width:auto;height:auto;background:none}
.s1-grid-6 .s1-ico img{height:52px;width:auto;max-width:66px;display:block}
@media(max-width:860px){.s1-intro-row{grid-template-columns:1fr}.s1-transport{min-height:200px}}

/* карточка услуг: иконка+заголовок в строку, обводка как в макете */
.s1-grid-6 .s1-card{border:1px solid #e7ecf3;border-radius:18px;box-shadow:none;padding:28px 26px;gap:14px}
.s1-grid-6 .s1-card:hover{box-shadow:0 18px 40px -24px rgba(36,54,92,.35);transform:translateY(-4px);border-color:#dde4f0}
.s1-chead{display:flex;align-items:center;gap:14px;margin:0}
.s1-chead .s1-ico{flex:none;width:auto;height:auto;background:none}
.s1-grid-6 .s1-ico img{height:46px;width:auto;max-width:56px;display:block}
.s1-chead .s1-card-title{margin:0}
