/* ==========================================================
   VINALOG — Trang chủ (bản mẫu Tuần 1)
   Màu & font theo nhận diện web cũ xnkvinalog.com
   ========================================================== */
:root {
  --blue: #204BB7;
  --blue-600: #1a3f9e;
  --navy: #0F2A70;
  --ink: #03123E;
  --red: #EC1C24;
  --red-600: #b91218;
  /* Đỏ đậm hơn một chút cho nút & chữ nhỏ để đủ độ tương phản (chuẩn WCAG). */
  --red-ui: #D3151C;
  --text: #3d4560;
  --muted: #6b6b7e;
  --line: #e4e8f2;
  --soft: #f4f6fb;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 112, .10);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red-ui); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--red); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 24px; height: 2px; background: var(--red); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; }
.hl { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit;
}
.btn--red { background: var(--red-ui); color: #fff; }
.btn--red:hover { background: var(--red-600); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-600); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Topbar + Header ---------- */
.topbar { background: var(--ink); color: #c7cfe6; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar b { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.header__logo { min-width: 0; flex-shrink: 1; }
.header__logo img { width: 251px; height: auto; max-width: 100%; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; padding: 10px 12px; font-weight: 500; color: var(--ink); border-radius: 8px; font-size: 15.5px; }
.nav a:hover, .nav a.active { color: var(--blue); background: var(--soft); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { white-space: nowrap; display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.header__phone small { display: block; color: var(--muted); font-size: 12px; }
.header__phone b { color: var(--red-ui); font-size: 18px; }
.header__phone .ico { width: 40px; height: 40px; border-radius: 50%; background: #fdecec; color: var(--red); display: grid; place-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; }
@media (max-width: 820px) { .hero__bg { background-image: var(--hero-sm); } }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(3,18,62,.94) 0%, rgba(15,42,112,.86) 45%, rgba(15,42,112,.35) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 110px; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 7px 14px; border-radius: 999px; font-size: 14px; margin-bottom: 22px; }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); }
.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 900; letter-spacing: -.01em; }
.hero h1 span { color: #ff5a5f; }
.hero__lead { font-size: 18.5px; color: #dbe3f7; max-width: 560px; margin: 18px 0 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__checks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 15px; color: #dbe3f7; }
.hero__checks span { display: flex; align-items: center; gap: 8px; }
.hero__checks svg { color: #3ddc84; width: 18px; height: 18px; }

/* Quick quote card in hero */
.qcard { background: #fff; color: var(--text); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.qcard h3 { font-size: 22px; margin-bottom: 4px; }
.qcard > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
.seg label { text-align: center; padding: 10px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.seg input { display: none; }
.seg input:checked + span { color: var(--blue); }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 2px 8px rgba(15,42,112,.12); color: var(--blue); }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32,75,183,.12); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qcard .btn { width: 100%; margin-top: 6px; }
.qcard__note { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats__box { background: #fff; border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 40px; font-weight: 900; color: var(--blue); line-height: 1.1; }
.stat b sup { color: var(--red); font-size: 24px; }
.stat > span { color: var(--muted); font-size: 15px; }

/* ---------- Services ---------- */
.svc-main { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.svc-big { position: relative; border-radius: 20px; overflow: hidden; min-height: 400px; color: #fff; display: flex; align-items: flex-end; }
.svc-big img, .svc-big .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-big:hover img { transform: scale(1.04); }
.svc-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,18,62,.1) 0%, rgba(3,18,62,.6) 42%, rgba(3,18,62,.95) 100%); }
.svc-big__body { position: relative; z-index: 1; padding: 32px; }
.badge { display: inline-block; background: var(--red-ui); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.svc-big h3 { color: #fff; font-size: 28px; font-weight: 800; }
.svc-big p { color: #dbe3f7; max-width: 460px; }
.svc-big ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: #fff; }
.svc-big li::before { content: "✓ "; color: #3ddc84; font-weight: 700; }
.svc-big a.more { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.svc-big a.more:hover { color: #ff8a8e; }
.ph-sea { background: linear-gradient(160deg, #1f5fd0 0%, #0F2A70 60%, #03123E 100%); }
.ph-sea svg { position: absolute; right: -40px; top: 30px; width: 70%; opacity: .22; }
.ph-note { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(255,255,255,.9); color: var(--ink); font-size: 11.5px; padding: 4px 10px; border-radius: 6px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.svc img { height: 190px; width: 100%; object-fit: cover; }
.svc__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--muted); font-size: 15px; flex: 1; }
.svc a { color: var(--blue); font-weight: 700; font-size: 15px; }

/* ---------- Route ---------- */
.route { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.route::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(32,75,183,.55), transparent 55%); }
.route .wrap { position: relative; }
.route .section-head h2 { color: #fff; }
.route .section-head p { color: #aab6d6; }
.route-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 20px; }
.route-line::before { content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 3px; background: repeating-linear-gradient(90deg, #EC1C24 0 14px, transparent 14px 24px); }
.stop { text-align: center; position: relative; padding: 0 10px; }
.stop__dot { width: 70px; height: 70px; border-radius: 50%; background: var(--blue); border: 5px solid var(--ink); box-shadow: 0 0 0 2px var(--blue); display: grid; place-items: center; margin: 0 auto 18px; position: relative; z-index: 1; }
.stop__dot svg { width: 30px; height: 30px; }
.stop--end .stop__dot { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.stop h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.stop small { color: #aab6d6; font-size: 14px; display: block; }
.leg { position: absolute; top: -8px; left: 100%; transform: translateX(-50%); background: #fff; color: var(--ink); font-weight: 800; font-size: 13.5px; padding: 5px 12px; border-radius: 999px; white-space: nowrap; z-index: 2; }
.leg em { color: var(--red); font-style: normal; }
.route-note { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.route-note div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 20px 22px; font-size: 15px; color: #cfd8f0; }
.route-note b { color: #fff; display: block; font-size: 17px; margin-bottom: 4px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 22px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 44px; font-weight: 900; color: #e8edf8; position: absolute; top: 12px; right: 18px; line-height: 1; }
.step .ico { width: 52px; height: 52px; border-radius: 12px; background: #eaf0fd; color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.step .ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 17.5px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why__img { position: relative; }
.why__img img { border-radius: 20px; height: 520px; width: 100%; object-fit: cover; }
.why__img .float { position: absolute; bottom: -24px; right: -24px; background: var(--red-ui); color: #fff; padding: 22px 26px; border-radius: 16px; box-shadow: var(--shadow); }
.why__img .float b { font-size: 38px; font-weight: 900; display: block; line-height: 1; }
.values { display: grid; gap: 18px; margin-top: 10px; }
.value { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.value .ico { flex: none; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--blue); }
.value:nth-child(2) .ico { background: var(--red); }
.value:nth-child(3) .ico { background: var(--navy); }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { font-size: 18px; margin-bottom: 4px; }
.value p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.gallery img:first-child { grid-row: span 2; }

/* ---------- Testimonials ---------- */
.fb { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.fb__shots { max-width: 400px; margin: 0 auto; transform: rotate(-2deg); }
.fb__wide { margin: 0 0 22px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.fb__wide img { border-radius: 8px; }
.fb__shots figure { margin: 0; background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
.fb__shots img { border-radius: 10px; }
.fb__quote { font-size: 22px; color: var(--ink); font-weight: 500; line-height: 1.5; border-left: 4px solid var(--red); padding-left: 22px; margin: 24px 0; }
.stars { color: #f5b301; letter-spacing: 3px; font-size: 20px; }

/* ---------- Quote (full) ---------- */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.quote__info ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.quote__info li { display: flex; gap: 12px; align-items: flex-start; }
.quote__info li svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.wizard { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 34px; border: 1px solid var(--line); }
.progress { display: flex; gap: 8px; margin-bottom: 26px; }
.progress div { flex: 1; }
.progress i { display: block; height: 5px; border-radius: 5px; background: var(--line); margin-bottom: 8px; transition: .3s; }
.progress span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.progress .on i { background: var(--blue); }
.progress .on span { color: var(--blue); }
.wstep { display: none; }
.wstep.show { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }
.wstep h3 { font-size: 21px; margin-bottom: 18px; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.choice { border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; transition: .15s; }
.choice input { margin-top: 4px; accent-color: var(--blue); }
.choice b { display: block; color: var(--ink); font-size: 15.5px; }
.choice small { color: var(--muted); font-size: 13.5px; }
.choice:has(input:checked) { border-color: var(--blue); background: #f3f6fe; }
.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.consent { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); margin: 6px 0 4px; align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }
.done { text-align: center; padding: 30px 10px; }
.done .ok { width: 76px; height: 76px; border-radius: 50%; background: #e7f8ef; color: #17a55a; display: grid; place-items: center; margin: 0 auto 18px; }
.done .ok svg { width: 38px; height: 38px; }
.err { color: var(--red); font-size: 13.5px; margin-top: 6px; display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 1; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: .25s; }
.post:hover { box-shadow: var(--shadow); }
.post img { height: 200px; width: 100%; object-fit: cover; }
.post__body { padding: 22px; }
.post time { font-size: 13px; color: var(--muted); }
.post h3 { font-size: 18.5px; margin: 6px 0 8px; }
.post p { font-size: 14.5px; color: var(--muted); margin: 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.band { background: linear-gradient(110deg, var(--blue) 0%, var(--navy) 100%); border-radius: 22px; padding: 48px 56px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255,255,255,.06); }
.band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.band p { color: #dbe3f7; margin: 0; }
.band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aab6d6; padding: 72px 0 0; margin-top: 88px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.footer__logo img { height: 46px; width: auto; }
.footer h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .ct li { display: flex; gap: 10px; }
.footer .ct svg { flex: none; width: 18px; height: 18px; color: #ff5a5f; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--blue); }
.social svg { width: 18px; height: 18px; }
.map { border-radius: 14px; overflow: hidden; height: 190px; margin-top: 4px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.footer__bottom a { margin-left: 18px; }

/* ---------- Floating contact ---------- */
.floating { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.floating a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.2); position: relative; transition: .2s; }
.floating a:hover { transform: scale(1.08); }
.floating a span { position: absolute; right: 64px; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.floating a:hover span { opacity: 1; }
.f-zalo { background: #0068FF; font-weight: 900; font-size: 13px; }
.f-mess { background: linear-gradient(45deg, #0099FF, #A033FF, #FF5280); }
.f-call { background: var(--red); animation: ring 2s infinite; }
.floating svg { width: 26px; height: 26px; }
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(236,28,36,.5); } 50% { box-shadow: 0 0 0 12px rgba(236,28,36,0); } }

.mockup-flag { position: fixed; left: 16px; bottom: 16px; z-index: 70; background: #fff8d6; color: #6b5200; border: 1px solid #f0d97a; font-size: 12.5px; padding: 8px 12px; border-radius: 8px; max-width: 280px; box-shadow: 0 6px 16px rgba(0,0,0,.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1300px) { .header__phone small { display: none; } .header__phone .ico { display: none; } .nav a { padding: 10px 10px; font-size: 15px; } }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header__phone small { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-bottom: 100px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .topbar__left span.hide-sm { display: none; }
  .stats__box { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-main, .svc-grid, .why, .fb, .quote, .news, .route-note { grid-template-columns: 1fr; }
  .svc-big { min-height: 340px; }
  .route-line { grid-template-columns: 1fr; gap: 34px; }
  .route-line::before { top: 0; bottom: 0; left: 34px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, #EC1C24 0 14px, transparent 14px 24px); }
  .stop { display: grid; grid-template-columns: 70px 1fr; gap: 0 18px; text-align: left; align-items: center; padding: 0; }
  .stop__dot { margin: 0; grid-row: span 2; }
  .leg { position: static; transform: none; display: inline-block; margin-top: 8px; grid-column: 2; justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why__img img { height: 360px; }
  .why__img .float { right: 12px; bottom: -20px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .band { padding: 36px 26px; }
  .choices { grid-template-columns: 1fr; }
  .wizard { padding: 24px 20px; }
  .header__phone { display: none; }
}
@media (max-width: 520px) {
  .topbar { display: none; }
  .header .wrap { height: 66px; }
  .header__logo img { width: 190px; }
  .header__cta .btn { padding: 10px 14px; font-size: 14px; }
  .nav.open { top: 66px; }
  .row2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat { padding: 22px 12px; }
  .stat b { font-size: 30px; }
  .footer__grid { grid-template-columns: 1fr; }
  .mockup-flag { display: none; }
  .floating { right: 12px; bottom: 14px; gap: 10px; }
  .floating a { width: 46px; height: 46px; }
  .floating svg { width: 22px; height: 22px; }
  .hero h1 br { display: none; }
  .hero .wrap { padding-top: 48px; }
}
