﻿:root{
  --bg:#070a17;
  --bg2:#0a0f22;
  --bg3:#0f1633;
  --panel:#111936;
  --panel2:#0f1530;
  --line:#2a3772;
  --line-soft:#263063;
  --text:#f7f8ff;
  --muted:#aeb7db;
  --muted2:#8b95bf;
  --accent:#b026ff;
  --accent2:#6d3bff;
  --accent3:#2f7df6;
  --accent4:#06c1b8;
  --ok:#17c38a;
  --warn:#ff6d8d;
  --radius:16px;
  --shadow:0 14px 36px rgba(0,0,0,.35);
  --max:1240px;
  --header-h:76px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{
  scroll-behavior:smooth;
  scroll-padding-top:124px;
}
body{
  font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;
  color:var(--text);
  line-height:1.5;
  background:
    radial-gradient(1300px 760px at 10% -10%, rgba(176,38,255,.22), transparent 60%),
    radial-gradient(1300px 780px at 95% -15%, rgba(47,125,246,.16), transparent 58%),
    radial-gradient(900px 500px at 50% 20%, rgba(6,193,184,.07), transparent 65%),
    linear-gradient(180deg,var(--bg),var(--bg2) 45%,var(--bg3));
  overflow-x:hidden;
  position:relative;
}

.noise{
  position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.07;
  background-image:radial-gradient(rgba(255,255,255,.35) .6px, transparent .6px);
  background-size:3px 3px;
  mix-blend-mode:soft-light;
}
.aurora{
  position:fixed; inset:-20% -10%; z-index:0; pointer-events:none;
  filter: blur(46px) saturate(120%);
  opacity:.65;
  transform:translateZ(0);
}
.aurora span{
  position:absolute; border-radius:50%;
  animation: drift 24s ease-in-out infinite;
  mix-blend-mode:screen;
}
.aurora .a1{
  width:520px;height:520px;left:-90px;top:-80px;
  background:radial-gradient(circle at 35% 35%, rgba(176,38,255,.58), transparent 62%);
}
.aurora .a2{
  width:620px;height:620px;right:-180px;top:-140px;animation-duration:28s;
  background:radial-gradient(circle at 35% 35%, rgba(47,125,246,.48), transparent 62%);
}
.aurora .a3{
  width:460px;height:460px;left:36%;top:62%;animation-duration:32s;
  background:radial-gradient(circle at 35% 35%, rgba(6,193,184,.34), transparent 62%);
  opacity:.6;
}
@keyframes drift{
  0%,100%{transform:translate(0,0) scale(1)}
  50%{transform:translate(70px,-45px) scale(1.08)}
}

.container{max-width:var(--max);margin:0 auto;padding:0 20px;position:relative;z-index:2}
.section{padding:72px 0}
.section-title{
  margin:0 0 10px;
  font-size:34px; line-height:1.1; font-weight:900;
  letter-spacing:-.02em;
  text-shadow:0 0 26px rgba(109,59,255,.24);
}
.section-sub{margin:0;color:var(--muted);font-size:15px}

.reveal{
  opacity:0;transform:translateY(20px) scale(.99);
  transition:opacity .65s ease, transform .65s ease;
}
.reveal.show{opacity:1;transform:translateY(0) scale(1)}

.card{
  background:linear-gradient(180deg,rgba(18,24,52,.88),rgba(12,17,38,.9));
  border:1px solid rgba(84,104,208,.42);
  border-radius:16px;
  box-shadow:var(--shadow);
  transition:.26s ease;
  position:relative; overflow:hidden;
}
.card::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.055),transparent);
  transform:translateX(-120%);
  transition:transform .55s ease;
  pointer-events:none;
}
.card:hover{
  transform:translateY(-3px);
  border-color:#6c7edb;
  box-shadow:0 18px 40px rgba(0,0,0,.42),0 0 0 1px rgba(108,126,219,.2);
}
.card:hover::after{transform:translateX(120%)}

/* STICKY HEAD: TOPBAR + HEADER */
.site-sticky-head{
  position:sticky;
  top:0;
  z-index:120;
  backdrop-filter:blur(12px);
}
.site-sticky-head .topbar{
  position:relative;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(10,14,32,.72);
  backdrop-filter:blur(10px);
}
.topbar-inner{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.topbar-phone{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:20px;
  letter-spacing:-.02em;
}
.topbar-social{display:flex;align-items:center;gap:8px}
.topbar-social a{
  width:32px;height:32px;display:grid;place-items:center;border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(180deg,#1b2552,#131b3d);
  color:#fff;text-decoration:none;
}
.topbar-social svg{width:18px;height:18px;display:block}

.site-sticky-head header{
  position:relative;
  height:var(--header-h);
  background:rgba(8,11,25,.7);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.nav{
  height:var(--header-h);
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}

.logo{
  display:flex;align-items:center;gap:10px;min-width:0;
  font-weight:900;letter-spacing:.2px;
}
.logo-img{
  width:38px;height:38px;border-radius:11px;object-fit:cover;
  border:1px solid #4251a8;background:#111;
  box-shadow:0 0 24px rgba(176,38,255,.34);
  flex:0 0 auto;
}
.logo-fallback{
  width:36px;height:36px;border-radius:10px;display:none;flex:0 0 auto;
  background:conic-gradient(from 90deg,var(--accent),var(--accent2),var(--accent3),var(--accent));
  box-shadow:0 0 22px rgba(109,59,255,.35);
}
.logo b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.logo small{display:block;color:var(--muted2);font-size:11px;margin-top:-1px}

.nav-links{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.nav a{
  color:var(--text);text-decoration:none;
  font-size:13px;font-weight:600;
  padding:8px 10px;border-radius:10px;
  transition:.2s;
  white-space:nowrap;
}
.nav a:hover{background:rgba(176,38,255,.14);color:#fff}

.burger{
  display:none;width:40px;height:40px;border:none;cursor:pointer;
  border-radius:11px;background:rgba(26,34,74,.72);
  border:1px solid rgba(255,255,255,.11);
  align-items:center;justify-content:center;flex-direction:column;gap:4px;
}
.burger span{display:block;width:18px;height:2px;background:#fff;border-radius:2px;transition:.2s}
.burger.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.btn{
  border:none;cursor:pointer;border-radius:12px;padding:12px 18px;
  font-weight:800;color:#fff;text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  position:relative;overflow:hidden;transition:.2s ease;
  box-shadow:0 10px 26px rgba(109,59,255,.3);
}
.btn:hover{transform:translateY(-2px)}
.btn.secondary{
  background:linear-gradient(180deg,#1a224a,#141b3a);
  border:1px solid #34407e;
  box-shadow:none;
}

.hero{padding:76px 0 48px;position:relative}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:stretch}
.hero-main{
  padding:26px 24px;border-radius:20px;
  background:
    radial-gradient(900px 260px at 10% -50%, rgba(176,38,255,.28), transparent 55%),
    radial-gradient(700px 240px at 90% -40%, rgba(47,125,246,.23), transparent 58%),
    linear-gradient(180deg,rgba(21,28,60,.9),rgba(13,18,42,.92));
  border:1px solid rgba(106,126,228,.4);
  box-shadow:0 20px 46px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
}
.kicker{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700;
  color:#f0e8ff;border:1px solid rgba(176,38,255,.35);
  background:rgba(176,38,255,.14);margin-bottom:12px;
}
.hero h1{
  margin:0 0 12px;
  font-size:46px;line-height:1.06;letter-spacing:-.03em;
  text-shadow:0 0 36px rgba(109,59,255,.26);
}
.hero p{margin:0;color:var(--muted);font-size:15px;max-width:96%}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}

.hero-stats{margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.hero-stats .s{
  min-width:0;padding:10px;border-radius:11px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg,rgba(22,29,62,.9),rgba(15,20,44,.92));
  font-size:12px;color:#d7ddfb;
}
.hero-stats b{
  display:block;color:#fff;font-size:18px;line-height:1.15;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.hero-side{padding:14px}
.hero-media{
  border-radius:16px;overflow:hidden;border:1px solid #3c4b9f;
  box-shadow:0 16px 34px rgba(0,0,0,.34),0 0 24px rgba(109,59,255,.22);
  position:relative;
}
.hero-media::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.18));
}
.hero-image{width:100%;display:block;aspect-ratio:4/3;object-fit:cover}
.hero-list{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.hero-list li{margin-bottom:7px}

.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.service{padding:16px}
.service .icon{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;
  font-weight:900;font-size:15px;color:#fff;margin-bottom:10px;
}
.service:nth-child(1) .icon{background:linear-gradient(135deg,#7c3aed,#d946ef)}
.service:nth-child(2) .icon{background:linear-gradient(135deg,#2563eb,#06b6d4)}
.service:nth-child(3) .icon{background:linear-gradient(135deg,#0ea5a4,#22c55e)}
.service h3{margin:0 0 6px;font-size:16px}
.service p{margin:0;color:var(--muted);font-size:13px}

.routes-toolbar{
  margin-top:14px;
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(15,21,47,.88),rgba(12,17,39,.9));
  color:var(--muted);font-size:12px;
}
.routes-grid,.extra-grid{
  display:grid;gap:12px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  margin-top:14px;
}
.route-card{
  border:1px solid rgba(114,137,255,.52);
  background:
    radial-gradient(280px 120px at 100% -20%, rgba(176,38,255,.16), transparent 60%),
    linear-gradient(180deg,rgba(31,41,90,.96),rgba(18,26,62,.96));
  border-radius:14px;padding:13px;cursor:pointer;transition:.2s;position:relative;overflow:hidden;min-width:0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.30);
  display:flex;flex-direction:column;min-height:230px;
}
.route-card::before,.extra-card::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.08),transparent);
  transform:translateX(-120%);transition:transform .5s ease;
}
.route-card:hover::before,.extra-card:hover::before{transform:translateX(120%)}
.route-card:hover{
  transform:translateY(-4px);
  border-color:#96a9ff;
  box-shadow:0 16px 30px rgba(0,0,0,.37),0 0 0 1px rgba(150,169,255,.2),0 0 24px rgba(109,59,255,.22);
}
.route-card h4{
  margin:0 0 10px;font-size:20px;line-height:1.2;font-weight:900;color:#f8faff;
  word-break:break-word;overflow-wrap:anywhere;max-width:95%;
}
.route-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}
.tag{
  font-size:10px;padding:4px 7px;border-radius:999px;border:1px solid;
  white-space:normal;overflow-wrap:anywhere;line-height:1.25
}
.tag.accept{background:rgba(176,38,255,.28);border-color:#c084fc;color:#f8edff}
.tag.unload{background:rgba(47,125,246,.28);border-color:#60a5fa;color:#edf5ff}
.route-from{
  margin-top:auto;padding-top:12px;border-top:1px solid rgba(255,255,255,.1);
  font-size:16px;font-weight:700;color:#e8eeff;
}
.route-from b{
  font-size:33px;line-height:1;font-weight:900;color:#fff;letter-spacing:-.02em;
  text-shadow:0 1px 0 rgba(0,0,0,.45),0 0 20px rgba(147,197,253,.32);
}

.extra-card{
  border:1px solid #35427a;
  background:linear-gradient(180deg,#18244d,#111a3c);
  border-radius:13px;padding:12px;transition:.2s;position:relative;overflow:hidden;min-width:0;
  display:flex;flex-direction:column;min-height:180px;
}
.extra-card:hover{transform:translateY(-3px);border-color:#5d70c7;box-shadow:0 12px 24px rgba(0,0,0,.25)}
.extra-card h4{margin:0 0 8px;font-size:14px}
.extra-card .small{margin:0;color:#d5ddff}
.extra-price{
  margin-top:auto;display:flex;align-items:baseline;justify-content:space-between;gap:8px;
  border-top:1px solid rgba(255,255,255,.12);padding-top:10px;font-size:12px;color:#dbe4ff;
}
.extra-price b{
  font-size:25px;line-height:1;font-weight:900;color:#fff;
  text-shadow:0 1px 0 rgba(0,0,0,.45),0 0 15px rgba(147,197,253,.24);
}

.calc{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form{padding:16px}
label{display:block;font-size:12px;margin:0 0 5px;color:#d8dcf4;font-weight:700}
input,textarea{
  width:100%;padding:11px 12px;border-radius:10px;border:1px solid #2f3a72;
  background:#0d1330;color:#fff;outline:none;transition:.2s;
}
input:hover,textarea:hover{border-color:#4757a6}
input:focus,textarea:focus{border-color:#6e81e2;box-shadow:0 0 0 3px rgba(110,129,226,.2)}
textarea{min-height:90px;resize:vertical}
.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.cselect{position:relative}
.cselect-btn{
  width:100%;padding:11px 42px 11px 12px;border-radius:10px;border:1px solid #3d4b95;
  background:linear-gradient(180deg,#101735,#0c122d);color:#fff;cursor:pointer;text-align:left;
  font:600 15px/1.25 Inter,sans-serif;position:relative;min-height:48px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 8px 20px rgba(0,0,0,.16);
  white-space:normal;
}
.cselect-btn::after{
  content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;
  border-right:2px solid #eef1ff;border-bottom:2px solid #eef1ff;
  transform:translateY(-60%) rotate(45deg);transition:.2s;
}
.cselect.open .cselect-btn::after{transform:translateY(-40%) rotate(-135deg)}
.cselect-menu{
  position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:90;display:none;
  border:1px solid #4b5ec0;border-radius:12px;padding:6px;
  background:linear-gradient(180deg,#15204b,#101838);
  box-shadow:0 16px 30px rgba(0,0,0,.35);max-height:320px;overflow:auto;
}
.cselect.open .cselect-menu{display:block}
.cselect-item{
  width:100%;border:none;background:transparent;color:#f1f4ff;text-align:left;
  padding:9px 10px;border-radius:8px;cursor:pointer;font:500 14px/1.25 Inter,sans-serif;
  white-space:normal;overflow-wrap:anywhere;
}
.cselect-item:hover{background:rgba(78,104,235,.22)}
.cselect-item.active{background:rgba(78,104,235,.35)}

.result{padding:16px}
.result-top{
  display:flex;justify-content:space-between;align-items:flex-end;gap:12px;
  border:1px solid rgba(255,255,255,.09);
  background:linear-gradient(135deg,rgba(176,38,255,.14),rgba(47,125,246,.09));
  border-radius:14px;padding:12px 14px;
}
.result-top .label b{display:block;font-size:12px;color:#eadcff;margin-bottom:2px}
.result-top .label span{display:block;font-size:12px;color:var(--muted);line-height:1.25}
.price{font-size:33px;font-weight:900;margin:0;color:#fff;white-space:nowrap;letter-spacing:-.02em}
.result-note{margin-top:10px;font-size:12px;color:var(--muted);line-height:1.45}

.extras-box{
  margin-top:12px;border:1px solid #33417b;
  background:linear-gradient(180deg,rgba(13,20,46,.9),rgba(10,16,38,.92));
  border-radius:12px;padding:10px;
}
.extras-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.extras-title b{font-size:12px}.extras-title .small{font-size:12px;opacity:.95}
.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.chk{
  display:grid;grid-template-columns:16px 1fr;gap:8px;align-items:start;
  padding:8px 10px;border:1px solid rgba(255,255,255,.08);
  border-radius:10px;background:linear-gradient(180deg,rgba(14,20,48,.95),rgba(10,14,34,.95));
}
.chk input{margin:2px 0 0 0;width:14px;height:14px}
.chk .tline{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}
.chk .tline span{font-size:12px;font-weight:700;color:#eef1ff;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chk .tline b{font-size:12px;font-weight:800;color:#fff;white-space:nowrap}
.chk small{display:block;margin-top:3px;font-size:11px;color:var(--muted);line-height:1.25}

.req-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.req-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
.req-grid-3 > div{min-width:0}
.req-note{
  margin-top:10px;padding:10px;border-radius:10px;border:1px solid #345b86;
  background:#11233d;color:#d5e9ff;font-size:12px;display:none;
}

.date-status-slot{margin-top:26px;min-height:86px;display:flex;align-items:flex-start}
.date-status{
  margin-top:0;padding:8px 10px;border-radius:10px;
  font-size:12px;line-height:1.3;border:1px solid rgba(255,255,255,.08);
  background:#141a35;color:#dbe3ff;display:none;max-width:100%;white-space:normal;
}
.date-status.ok{border-color:rgba(18,196,139,.5);background:rgba(18,196,139,.12);color:#d6ffef;display:block}
.date-status.warn{border-color:rgba(255,106,136,.5);background:rgba(255,106,136,.12);color:#ffd9e3;display:block}
.date-status.info{border-color:rgba(59,130,246,.45);background:rgba(59,130,246,.12);color:#dbe9ff;display:block}

.sum-banner{
  margin-top:12px;border:1px solid rgba(176,38,255,.37);
  background:linear-gradient(135deg,rgba(176,38,255,.15),rgba(47,125,246,.1));
  border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px;
}
.sum-banner .left b{display:block;font-size:12px;color:#e9defe;margin-bottom:2px}
.sum-banner .left span{font-size:12px;color:var(--muted);line-height:1.25}
.sum-banner .value{font-size:26px;font-weight:900;color:#fff;white-space:nowrap;letter-spacing:-.02em}

.route-schedule-chip{
  margin-top:8px;
  border:1px solid rgba(109,124,209,.45);
  background:linear-gradient(135deg,rgba(24,32,72,.95),rgba(18,24,55,.95));
  border-radius:10px;
  padding:8px 10px;
  font-size:12px;
  color:#dde5ff;
  line-height:1.4;
}
.route-schedule-chip b{color:#fff}

.route-schedule-lines{
  margin-top:6px;
  display:grid;
  gap:4px;
}

.route-schedule-line{
  padding:6px 8px;
  border-radius:8px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  color:#e8eeff;
}

.route-schedule-line span{
  color:#cfd8ff;
}

.contact-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  align-items:start;
}
.contact-wrap > .card.form{
  height:auto;
  align-self:start;
}
.success{
  display:none;margin-top:12px;padding:10px;border-radius:10px;
  border:1px solid #1f6b55;background:#0f2e26;color:#c3ffe8
}

.agree{display:flex;align-items:flex-start;gap:10px;margin-top:10px;font-size:12px;color:#c9d0ee;user-select:none}
.agree .cb{position:relative;width:18px;height:18px;flex:0 0 auto;margin-top:1px}
.agree input[type="checkbox"]{
  appearance:none;-webkit-appearance:none;width:18px;height:18px;margin:0;border-radius:6px;
  border:1px solid rgba(255,255,255,.22);background:rgba(15,15,25,.9);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.35);cursor:pointer;display:inline-grid;place-items:center;
  transition:.15s ease;position:relative;
}
.agree input[type="checkbox"]::after{
  content:"";position:absolute;width:5px;height:9px;border-right:2px solid transparent;border-bottom:2px solid transparent;
  transform:rotate(45deg) translate(-1px,-1px);transition:.15s ease;
}
.agree input[type="checkbox"]:checked{
  border-color:rgba(176,38,255,.72);background:linear-gradient(135deg,rgba(176,38,255,.92),rgba(109,59,255,.92));
  box-shadow:0 0 0 3px rgba(176,38,255,.16);
}
.agree input[type="checkbox"]:checked::after{border-right-color:#fff;border-bottom-color:#fff}

.doc-link{
  border:none;background:transparent;color:#9ac2ff;
  text-decoration:underline;cursor:pointer;padding:0;font:inherit;
}

.req-mode-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:8px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(180deg,rgba(14,20,48,.95),rgba(9,14,36,.95));
  margin-bottom:12px;
}
.req-tab{
  border:1px solid rgba(111,127,218,.5);
  background:linear-gradient(180deg,#1a244e,#131c3f);
  color:#dfe6ff;
  border-radius:12px;
  padding:11px 12px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}
.req-tab.active{
  color:#fff;
  border-color:#8a5bff;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 8px 20px rgba(109,59,255,.35);
}
.req-tab:hover{transform:translateY(-1px)}

.multi-items-wrap{display:grid;gap:10px}
.multi-item{
  border:1px solid rgba(97,117,220,.5);
  border-radius:14px;
  padding:12px;
  background:linear-gradient(180deg,rgba(14,21,50,.92),rgba(10,16,40,.92));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.multi-item-head{
  display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;
}
.multi-item-head h4{
  margin:0;font-size:24px;line-height:1.1;font-weight:800;color:#fff;
}
.multi-remove{
  border:1px solid #8f3b66;
  background:linear-gradient(180deg,#5b1f40,#4a1734);
  color:#ffd9e7;
  border-radius:10px;
  padding:7px 10px;
  cursor:pointer;
  font-weight:700;
  transition:.18s;
}
.multi-remove:hover{transform:translateY(-1px);border-color:#b45586}
.multi-item-sum{
  margin-top:8px;
  font-size:15px;
  color:#dce5ff;
  font-weight:700;
}
.multi-item-sum b{color:#fff}
.multi-date-status{
  margin-top:8px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.1);
  font-size:12px;
  line-height:1.3;
  display:none;
}
.multi-date-status.ok{
  display:block;
  border-color:rgba(18,196,139,.5);
  background:rgba(18,196,139,.12);
  color:#d6ffef;
}
.multi-date-status.warn{
  display:block;
  border-color:rgba(255,106,136,.5);
  background:rgba(255,106,136,.12);
  color:#ffd9e3;
}

.contacts-links{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}
.contact-link{
  display:flex;align-items:center;gap:10px;border:1px solid #2f3968;
  background:linear-gradient(180deg,#151d40,#121936);
  border-radius:10px;padding:10px 12px;color:#e6ecff;text-decoration:none;transition:.2s;
}
.contact-link:hover{border-color:#5f72ca;transform:translateY(-1px)}
.contact-link .ico{
  width:28px;height:28px;border-radius:8px;display:grid;place-items:center;
  background:linear-gradient(135deg,#7c3aed,#3b82f6);font-size:14px;flex:0 0 auto;
}
.svg-ico svg{width:16px;height:16px;display:block}
.max-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:18px;height:18px;padding:0 6px;border-radius:6px;
  font-size:10px;font-weight:900;letter-spacing:.3px;
  background:linear-gradient(135deg,#7b4dff,#48a2ff);color:#fff;
}
.max-badge.sm{height:16px;font-size:9px;padding:0 5px}

.modal{
  position:fixed;inset:0;display:none;align-items:center;justify-content:center;
  background:rgba(4,6,14,.76);z-index:130;padding:14px;
}
.modal.show{display:flex}
.modal-content{
  width:min(880px,96%);max-height:90vh;overflow:auto;
  border:1px solid #3b4689;border-radius:14px;
  background:linear-gradient(180deg,#1a224b,#111736);
  padding:14px;box-shadow:0 30px 60px rgba(0,0,0,.5),0 0 0 1px rgba(124,92,255,.28);
}
.modal-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:8px}
.modal-head h3{margin:0;font-size:22px}
.close{
  border:1px solid #3b4472;background:#1d2447;color:#fff;border-radius:8px;
  font-size:12px;padding:6px 9px;cursor:pointer
}

.price-table{margin-top:8px;border:1px solid #2f3968;border-radius:10px;overflow:hidden}
.price-row{
  display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid rgba(255,255,255,.06);
  padding:10px 12px 10px 24px;font-size:13px;background:#151c3e;position:relative;min-width:0;
}
.price-row span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.price-row b{white-space:nowrap}
.price-row:nth-child(odd){background:#141a38}
.price-row:last-child{border-bottom:none}
.price-row::before{
  content:"";width:6px;height:6px;border-radius:50%;position:absolute;left:10px;top:50%;transform:translateY(-50%);background:#8B5CF6;
}
.price-row:nth-child(3n+2)::before{background:#3B82F6}
.price-row:nth-child(3n+3)::before{background:#06B6D4}
.price-footer{margin-top:10px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}

footer{padding:28px 0;border-top:1px solid rgba(255,255,255,.06);color:var(--muted);font-size:13px;margin-top:18px}
.sticky-cta{
  position:fixed;left:10px;right:10px;bottom:10px;z-index:95;display:none;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#fff;text-align:center;border-radius:12px;padding:12px 12px;
  font-size:13px;font-weight:800;text-decoration:none;
  box-shadow:0 8px 28px rgba(124,92,255,.42);
}

/* compact calc result */
#calc .result{
  align-self:start;
  height:auto;
  min-height:unset;
  padding:16px;
}
#calc .result-top{margin-bottom:10px}
#calc .result-note{margin-top:0}

/* errors */
.field-error{
  border-color:rgba(255,106,136,.8)!important;
  box-shadow:0 0 0 3px rgba(255,106,136,.18)!important;
}

@media(max-width:1100px){
  .hero h1{font-size:38px}
  .hero-grid{grid-template-columns:1fr}
  .hero-stats{grid-template-columns:1fr 1fr}
}
@media(max-width:980px){
  .calc,.contact-wrap,.req-grid-2,.req-grid-3,.row,.services-grid{grid-template-columns:1fr}
  .check-grid{grid-template-columns:1fr}
  .section{padding:56px 0}
  .section-title{font-size:28px}
  .sticky-cta{display:block}
  .date-status-slot{margin-top:8px;min-height:auto}
}
@media (max-width:760px){
  .topbar-phone{font-size:16px}
  .burger{display:flex}
  .nav-links{
    position:fixed;left:12px;right:12px;top:calc(var(--header-h) + 48px);
    display:none;flex-direction:column;align-items:stretch;gap:6px;padding:10px;border-radius:14px;
    border:1px solid rgba(255,255,255,.10);background:rgba(12,13,24,.94);
    backdrop-filter:blur(10px);box-shadow:0 18px 40px rgba(0,0,0,.38);z-index:130;
  }
  .nav-links.open{display:flex}
  .nav-links a{
    margin:0;padding:10px;border-radius:10px;
    font-size:14px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);
  }
  .hero{padding:56px 0 34px}
  .hero h1{font-size:32px}
  .hero-main{padding:20px}
  .cselect-menu{max-height:220px}
  .route-card{min-height:205px}
  .route-card h4{font-size:18px}
  .route-from b{font-size:28px}
  .req-mode-tabs{grid-template-columns:1fr}
  .multi-item-head h4{font-size:20px}
}
/* ===== PERF HOTFIX ===== */

/* 1) Убираем тяжёлый blur у липкой шапки */
.site-sticky-head{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  background:rgba(8,11,25,.92);
}

/* 2) Упрощаем topbar/header (без блюра) */
.site-sticky-head .topbar{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  background:rgba(10,14,32,.95) !important;
}
.site-sticky-head header{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  background:rgba(8,11,25,.95) !important;
}

/* 3) Отключаем самый дорогой фон */
.aurora{ display:none !important; }

/* 4) Ослабляем шум */
.noise{ opacity:.03 !important; }

/* 5) Отключаем тяжёлые hover-анимации на мобильных/тач */
@media (hover:none), (max-width:980px){
  .card, .route-card, .extra-card, .btn{
    transition:none !important;
  }
  .card:hover, .route-card:hover, .extra-card:hover, .btn:hover{
    transform:none !important;
    box-shadow:var(--shadow) !important;
  }
  .card::after, .route-card::before, .extra-card::before{
    display:none !important;
  }
}
.site-sticky-head{
  position:sticky;
  top:0;
  z-index:120;
}

.header-one-line{
  background:rgba(8,11,25,.95);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav.one-line{
  min-height:84px;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:10px;
  padding-bottom:10px;
}

.left-pack{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}

.right-pack{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

.topbar-phone{
  font-size:18px;
  font-weight:800;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}

.nav-links{display:flex;align-items:center;gap:6px}
.topbar-social{display:flex;align-items:center;gap:8px}

@media (max-width:980px){
  .topbar-phone{display:none;} /* чтобы не ломало ширину */
}

@media (max-width:760px){
  .nav.one-line{min-height:72px}
  .left-pack .logo small{display:none;}
}
/* порядок и выравнивание слева */
.left-pack{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
.left-pack .logo{
  order:1;
}
.left-pack .topbar-phone{
  order:2;
  font-size:36px;
}

/* правые иконки не съезжают */
.right-pack{
  display:flex;
  align-items:center;
  margin-left:auto;
  gap:12px;
}

.topbar-social{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-shrink:0;
  min-width:max-content;
}

.topbar-social a{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  flex:0 0 42px;
}

.max-badge{
  min-width:16px;
  height:20px;
  padding:0 5px;
  border-radius:5px;
}

/* мобильная адаптация */
@media (max-width:980px){
  .left-pack .topbar-phone{font-size:30px;}
}
@media (max-width:760px){
  .left-pack .topbar-phone{display:none;} /* как было, чтобы не ломать ширину */
  .topbar-social a{
    width:38px;
    height:38px;
    flex:0 0 38px;
  }
}
/* =========================
   MOBILE FIX FOR ONE-LINE HEADER
   ========================= */

/* desktop/tablet base */
.site-sticky-head{
  position: sticky;
  top: 0;
  z-index: 140;
}
.header-one-line{
  background: rgba(8,11,25,.95);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav.one-line{
  min-height: 78px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.left-pack{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.right-pack{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}
.topbar-phone{
  white-space: nowrap;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.topbar-social{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.topbar-social a{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex: 0 0 40px;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 4px;
}

/* <= 1100 */
@media (max-width:1100px){
  .topbar-phone{ font-size: 28px; }
  .logo b{ font-size: 14px; }
  .logo small{ font-size: 10px; }
}

/* <= 980 */
@media (max-width:980px){
  .topbar-phone{ display: none; }     /* скрываем длинный телефон */
  .right-pack{ gap: 8px; }
}

/* mobile */
@media (max-width:760px){
  .nav.one-line{
    min-height: 64px;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 8px;
  }

  .left-pack{
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .left-pack .logo{
    min-width: 0;
    gap: 8px;
  }

  .left-pack .logo b{
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  .left-pack .logo small{
    display: none;
  }

  .logo-img{
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .burger{
    display: flex;
    order: 3;
    margin-left: 2px;
    flex: 0 0 auto;
  }

  .right-pack{
    order: 2;
    margin-left: 0;
    gap: 6px;
    flex: 0 0 auto;
  }

  .topbar-social{
    gap: 6px;
  }

  .topbar-social a{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex: 0 0 36px;
  }

  /* выпадающее меню */
  .nav-links{
    position: fixed;
    left: 12px;
    right: 12px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(12,13,24,.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.38);
    z-index: 160;
  }
  .nav-links.open{ display: flex; }

  .nav-links a{
    margin: 0;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
  }
}

/* very small phones */
@media (max-width:390px){
  .left-pack .logo b{ max-width: 140px; }
  .topbar-social a{
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}
.topbar-phone{ font-size:18px !important; }
@media (max-width:760px){
  .topbar-phone{
    font-size:16px !important;
  }
}
/* ссылка с MAX — это второй элемент в topbar-social */
.topbar-social a:last-child{
/* ===== FIXES ===== */

/* 1. Модалки выше шапки */
.modal{
  z-index: 9999 !important;
}

/* 2. MAX иконка по центру */
.topbar-social a[aria-label="MAX"]{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.topbar-social a[aria-label="MAX"] .max-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  transform: translateY(1px); /* можно 0px/1px по вкусу */
}

/* 3. Если tel-ссылка отключена в file:// режиме */
a.topbar-phone[role="text"]{
  text-decoration:none;
  pointer-events:none;
  cursor:default;
}
/* ===== HARD FIX ONLY FOR DOCS MODAL ===== */
#docsModal.modal{
  position: fixed !important;
  inset: 0 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(4,6,14,.82);
  z-index: 2147483647 !important;
  isolation: isolate;
}

#docsModal.modal.show{
  display: flex !important;
}

#docsModal .modal-content{
  width: min(980px, 96vw);
  max-height: 90vh;
  overflow: auto;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

body.docs-open .site-sticky-head{
  pointer-events: none;
}
#docsModal{
  z-index: 2147483647 !important;
}
#docsModal .modal-content{
  max-height: 90vh !important;
}
/* qty в доп.услугах */
.chk input[type="number"][data-f$="_qty"],
.extras-box input[type="number"][data-f$="_qty"]{
  margin-top: 8px;
  width: 92px;
  min-width: 92px;
  height: 34px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28);
  background: #ffffff;
  color: #0b1220;
  font-weight: 700;
  font-size: 14px;
  outline: none;
}

.chk input[type="number"][data-f$="_qty"]:disabled,
.extras-box input[type="number"][data-f$="_qty"]:disabled{
  opacity: .55;
  background: #e9edf5;
  color: #5b6475;
  cursor: not-allowed;
}
/* FIX qty inputs in extras */
input[data-f$="_qty"]{
  width: 90px !important;
  height: 34px !important;
  padding: 4px 8px !important;
  border: 1px solid #4f6bff !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}
input[data-f$="_qty"]:disabled{
  background: #dfe5f2 !important;
  color: #667 !important;
}