:root {
  --primary: #1e4a3a;
  --primary-ink: #f4f7f5;
  --secondary: #1c1915;
  --accent: #7c2d12;
  --accent-ink: #fffaf6;
  --ink: #1c1915;
  --muted: #6f675e;
  --line: #e4ddd2;
  --paper: #f3efe6;
  --surface: #fffcf8;
  --soft: #f6f2eb;
  --ok: #166534;
  --ok-bg: #e7f5ec;
  --warn: #92400e;
  --warn-bg: #fbf3e4;
  --bad: #9f1239;
  --bad-bg: #fde8ee;
  --info: #1e3a8a;
  --info-bg: #e8eefb;
  --shadow: 0 1px 2px rgba(28, 25, 21, 0.04), 0 18px 40px rgba(28, 25, 21, 0.06);
  --font: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --radius: 8px;
  --side: 232px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: white; padding: 8px 12px; z-index: 50;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.boot {
  min-height: 100vh; display: grid; place-content: center; gap: 6px; text-align: center;
}
.boot strong { font-family: var(--display); font-size: 32px; font-weight: 520; }
.boot span, .boot p { color: var(--muted); }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.wrap.narrow { width: min(760px, calc(100% - 40px)); }
.topstrip { background: var(--secondary); color: #f3efe6; font-size: 13px; }
.strip-row, .header-row, .row, .split, .page-head, .stat-row { display: flex; align-items: center; }
.strip-row { justify-content: space-between; gap: 16px; min-height: 34px; }
.strip-row a, .strip-phone { color: #f0d2bc; }
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 252, 248, 0.94);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.header-row { min-height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.03em; font-size: 18px; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 650; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: white; border-radius: 6px; height: 40px; width: 40px; }

.is-site h1, .display {
  font-family: var(--display); font-weight: 560; letter-spacing: -0.035em; line-height: 1.02;
}
.kicker {
  font-size: 12px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 13px; line-height: 1.45; }
.prose { display: grid; gap: 12px; font-size: 16.5px; }
.prose h2 { font-family: var(--display); font-size: 28px; font-weight: 560; letter-spacing: -0.03em; margin-top: 8px; }
.prose ul { padding-left: 18px; display: grid; gap: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: end; padding: 54px 0 28px; }
.hero h1 { font-size: clamp(46px, 6vw, 72px); max-width: 9ch; }
.hero .lede { font-size: 19px; max-width: 36ch; margin: 16px 0 22px; color: #3f3a34; }
.proof { display: flex; gap: 22px; padding-top: 8px; }
.proof div { min-width: 90px; }
.proof strong { display: block; font-size: 20px; letter-spacing: -0.03em; }
.proof span { color: var(--muted); font-size: 13px; }

.booker {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 16px;
}
.booker.compact { box-shadow: none; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; background: #efeae2; padding: 4px; border-radius: 8px; margin-bottom: 14px; }
.seg button {
  flex: 1 1 70px; border: 0; background: transparent; min-height: 36px; border-radius: 6px; font-weight: 600; color: #5c564e;
}
.seg button.on { background: white; color: var(--ink); box-shadow: 0 1px 2px rgba(28,25,21,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field.span { grid-column: 1 / -1; }
.field label, .lbl { font-size: 13px; font-weight: 600; color: #4e4841; }
input, select, textarea {
  width: 100%; min-height: 44px; border: 1px solid #d9d2c7; border-radius: 6px; background: white; padding: 0 12px;
}
textarea { min-height: 110px; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.invalid input, .invalid select, .invalid textarea { border-color: var(--bad); }
.err { color: var(--bad); font-size: 13px; margin: 0; }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 15; background: white;
  border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 4px; max-height: 260px; overflow: auto;
}
.combo-item {
  width: 100%; text-align: left; border: 0; background: transparent; border-radius: 6px; min-height: 42px;
  display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 6px 8px;
}
.combo-item small { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.combo-item.on, .combo-item:hover { background: var(--soft); }
.map-btn { border: 0; background: transparent; color: var(--primary); font-weight: 650; font-size: 13px; padding: 0; align-self: start; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 6px; border: 1px solid transparent; font-weight: 650; background: white; color: var(--ink);
}
.btn.primary { background: var(--primary); color: var(--primary-ink); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; border-color: #d9d2c7; }
.btn.danger { background: var(--bad); color: white; }
.btn.small { min-height: 34px; padding: 0 10px; font-size: 13px; }
.btn.lg { min-height: 52px; font-size: 16px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.accent:hover { filter: brightness(1.08); }

.trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-top: 28px;
}
.trust strong { display: block; font-size: 15px; }
.band { margin: 28px 0; }
.band img { width: 100%; height: min(460px, 52vw); object-fit: cover; }
.band figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }
.section { padding: 42px 0; }
.section h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; margin-bottom: 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }

.cards, .grid-3, .grid-2, .grid-4 { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.2fr 0.8fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.fleet-card, .route-card, .panel, .vcard, .quote-card, .account-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.fleet-card img { height: 160px; width: 100%; object-fit: cover; }
.fleet-card div, .route-card { padding: 14px; }
.fleet-card h3, .route-card h3 { font-size: 18px; letter-spacing: -0.02em; }
.price-line { margin-top: 8px; font-weight: 700; }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps-4 article { border-top: 2px solid var(--primary); padding-top: 12px; }
.steps-4 span { display: block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.review { padding: 16px; display: grid; gap: 8px; }
.stars { color: var(--accent); letter-spacing: 1px; }
.stars .off { color: #ddd4c8; }

.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; }
.page { padding: 28px 0 64px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }

.result-list { display: grid; gap: 12px; }
.vcard { display: grid; grid-template-columns: 220px 1fr 200px; }
.vcard img { height: 100%; min-height: 170px; object-fit: cover; }
.vcard .body, .vcard .vprice { padding: 16px; }
.vcard h2 { font-family: var(--font); font-size: 22px; letter-spacing: -0.03em; font-weight: 680; }
.meta { color: #4e4841; margin: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12px; border: 1px solid var(--line); border-radius: 99px; padding: 3px 8px; color: #4e4841; }
.vprice { border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 8px; align-items: stretch; }
.vprice strong { font-size: 26px; letter-spacing: -0.03em; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 3px 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.01em;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: var(--ok-bg); }
.pill.warn { color: var(--warn); background: var(--warn-bg); }
.pill.bad { color: var(--bad); background: var(--bad-bg); }
.pill.info { color: var(--info); background: var(--info-bg); }
.pill.neutral { color: #44403c; background: #f1eee9; }

.quote { display: grid; gap: 0; margin: 0; }
.quote div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.quote dt { font-weight: 500; }
.quote dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; }
.quote em { font-style: normal; color: var(--warn); font-size: 12px; font-weight: 700; }
.quote .total { border-bottom: 0; padding-top: 12px; font-size: 18px; }
.quote-card { padding: 16px; }
.note {
  background: #f8efe8; border: 1px solid #ead8cc; color: #6b3a22; border-radius: 8px; padding: 10px 12px; font-size: 14px;
}
.banner {
  background: #14241e; color: #f3efe6; padding: 10px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.split { align-items: start; gap: 22px; }
.split > * { flex: 1; }
.sticky { position: sticky; top: 84px; }
.checkline { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.checkline input { width: auto; min-height: 0; margin-top: 4px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 0; margin: 16px 0; }
.steps li { font-size: 12px; color: var(--muted); border-top: 2px solid var(--line); padding-top: 8px; }
.steps li.done { color: var(--ink); border-top-color: var(--primary); font-weight: 650; }
.steps small, .timeline small { display: block; color: var(--muted); font-weight: 500; }
.timeline { list-style: none; display: grid; gap: 10px; padding: 0; }
.timeline li { border-left: 2px solid var(--primary); padding-left: 12px; }

.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.map-card, .map-pick { background: #d7e4ea; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.kerala { width: 100%; height: auto; display: block; }
.map-sea { fill: #d7e4ea; }
.map-land { fill: #d5e3d4; stroke: #7d9d86; stroke-width: 1.4; }
.map-city { font-size: 9px; fill: #4d6456; font-family: var(--font); }
.map-city-dot { fill: #4d6456; }
.map-route { stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 5 4; }
.map-live { fill: var(--accent); }
.map-live-ring { fill: rgba(124, 45, 18, 0.18); }
.map-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; align-items: start; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; margin-top: 20px; background: #efeae2; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.site-footer h2 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.site-footer a { display: block; padding: 3px 0; color: #3f3a34; }
.site-footer .brand { margin-bottom: 8px; }
.legal { margin-top: 22px; font-size: 12px; color: var(--muted); }

.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 25; width: min(520px, calc(100% - 32px));
  background: var(--ink); color: white; border-radius: 10px; padding: 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between;
}
.cookie .btn { background: white; }

.empty { padding: 28px 8px; display: grid; gap: 6px; }
.empty h2 { font-size: 22px; letter-spacing: -0.03em; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.tabs a, .tabs button { border: 1px solid var(--line); background: white; border-radius: 99px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.tabs a.on, .tabs button.on { background: var(--primary); color: white; border-color: var(--primary); }

.login-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; min-height: calc(100vh - 40px); }
.login-side { background: #14241e; color: #f3efe6; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; }
.login-side h1 { font-size: 48px; max-width: 10ch; }
.login-main { padding: 36px; display: grid; align-content: center; }
.demo-list { display: grid; gap: 8px; margin-top: 14px; }
.demo-list button { text-align: left; }

.invoice { background: white; border: 1px solid var(--line); padding: 28px; border-radius: 10px; }
.invoice header { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 16px; }
.invoice h1 { font-size: 36px; }

/* Admin */
.shell { display: grid; grid-template-columns: var(--side) 1fr; min-height: 100vh; background: #f7f5f1; }
.side { background: #14241e; color: #d5ddd8; padding: 16px 12px; display: flex; flex-direction: column; gap: 16px; }
.side nav { display: grid; gap: 2px; }
.side a, .side button.linkish {
  display: flex; align-items: center; gap: 8px; color: #d5ddd8; border-radius: 6px; padding: 8px 10px; font-size: 14px; background: transparent; border: 0; text-align: left;
}
.side a.on, .side a:hover { background: #1d332b; color: white; }
.side a.on { box-shadow: inset 2px 0 0 var(--accent); }
.side .brand { color: white; padding: 4px 8px 8px; }
.main { min-width: 0; }
.topbar {
  height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #fffcf8; position: sticky; top: 0; z-index: 12;
}
.searchbox { position: relative; flex: 1; max-width: 460px; }
.searchbox input { background: var(--soft); border-color: transparent; }
.search-results { position: absolute; top: 46px; left: 0; right: 0; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); z-index: 20; }
.search-results a { display: grid; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.search-results a:hover { background: var(--soft); }
.search-results small { color: var(--muted); }
.content { padding: 20px; }
.is-admin h1 { font-family: var(--font); font-size: 22px; letter-spacing: -0.03em; font-weight: 680; }
.page-head { justify-content: space-between; gap: 12px; margin-bottom: 14px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.stat span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.stat strong { display: block; font-size: 28px; letter-spacing: -0.04em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.panel { padding: 14px; background: white; }
.panel h2 { font-size: 15px; margin-bottom: 8px; }
.alert-list { display: grid; gap: 6px; }
.alert-list a { display: block; padding: 8px 10px; border-radius: 6px; background: var(--soft); font-size: 14px; }
.alert-list a.bad { background: var(--bad-bg); }
.alert-list a.warn { background: var(--warn-bg); }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
table.data th { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: #faf8f5; }
table.data tr:hover td { background: #fcfbf8; }
table.data a.rowlink { font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters input, .filters select { width: auto; min-width: 140px; background: white; }

.board { display: grid; grid-auto-flow: column; grid-auto-columns: 270px; gap: 10px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.col { background: #efeae2; border-radius: 10px; padding: 8px; min-height: 240px; }
.col h3 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 4px 6px 8px; display: flex; justify-content: space-between; }
.tcard { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 8px; cursor: grab; }
.tcard strong { display: block; }
.tcard select { min-height: 36px; margin-top: 6px; }
.col.drop-over { outline: 2px dashed var(--primary); }
.tcard.dragging { opacity: 0.45; }

.gantt-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
.gantt-head, .gantt-row { display: grid; grid-template-columns: 180px 1fr; }
.gantt-head { background: #faf8f5; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); }
.days span, .gantt-head .veh, .gantt-row .veh { padding: 8px; }
.gantt-row { border-bottom: 1px solid var(--line); min-height: 52px; }
.gantt-row .track { position: relative; background: repeating-linear-gradient(90deg, transparent, transparent calc(14.285% - 1px), #eeeae4 calc(14.285% - 1px), #eeeae4 14.285%); min-height: 52px; }
.bar {
  position: absolute; top: 8px; height: 28px; border-radius: 5px; background: #e7f0ec; border: 1px solid #1e4a3a; color: #143028;
  font-size: 11px; line-height: 26px; padding: 0 6px; overflow: hidden; white-space: nowrap;
}
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.month-grid div { background: white; border: 1px solid var(--line); min-height: 78px; border-radius: 6px; padding: 6px; font-size: 12px; }
.month-grid strong { display: block; }

.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 80px; gap: 8px; align-items: center; font-size: 13px; }
.bar-track { background: #efeae2; border-radius: 99px; height: 8px; overflow: hidden; }
.bar-track span { display: block; height: 100%; background: var(--primary); }

/* Driver */
.is-driver { background: #e7e1d6; }
.drv { width: min(440px, 100%); margin: 0 auto; min-height: 100vh; background: var(--paper); display: flex; flex-direction: column; position: relative; }
.drv-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 8px; }
.drv-main { padding: 8px 16px 108px; display: grid; gap: 12px; }
.drv h1 { font-family: var(--font); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.trip-hero { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 8px; }
.trip-hero .when { font-size: 14px; font-weight: 700; color: var(--accent); }
.trip-hero h2 { font-size: 28px; letter-spacing: -0.03em; line-height: 1.15; }
.drv-action {
  position: sticky; bottom: 64px; padding: 0 16px 8px; background: linear-gradient(transparent, var(--paper) 30%);
}
.drv-tab {
  position: sticky; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-top: 1px solid var(--line);
}
.drv-tab a { text-align: center; padding: 10px 4px 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.drv-tab a.on { color: var(--primary); }
.share-note { background: #f8efe8; border-radius: 8px; padding: 10px 12px; font-size: 14px; }

.modal-back { position: fixed; inset: 0; background: rgba(28,25,21,.46); display: grid; place-items: center; z-index: 40; padding: 18px; }
.modal { width: min(480px, 100%); background: white; border-radius: 12px; padding: 18px; display: grid; gap: 10px; max-height: min(86vh, 760px); overflow: auto; }
.modal.wide { width: min(720px, 100%); }
.modal h2 { font-size: 22px; letter-spacing: -0.03em; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }

#toasts { position: fixed; right: 14px; bottom: 14px; display: grid; gap: 8px; z-index: 45; }
.toast { background: var(--ink); color: white; padding: 10px 12px; border-radius: 8px; max-width: 320px; box-shadow: var(--shadow); }
.toast.bad { background: var(--bad); }
.toast.ok { background: var(--primary); }

.skel { display: grid; gap: 10px; }
.sk { height: 92px; border-radius: 8px; background: linear-gradient(90deg, #eeeae4 25%, #f7f4ef 37%, #eeeae4 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sk { animation: none; }
}

.menu-btn { display: none; }
.overlay { display: none; }

@media (max-width: 980px) {
  .hero, .grid-2, .login-grid, .vcard, .map-layout, .foot-grid, .steps-4, .trust, .stats { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .vprice { border-left: 0; border-top: 1px solid var(--line); }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: min(280px, 86vw); transform: translateX(-105%); z-index: 30; transition: transform .18s ease; }
  .shell.nav-open .side { transform: none; }
  .shell.nav-open .overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 25; }
  .menu-btn { display: inline-flex; }
  .sticky { position: static; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 12px 16px 16px; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .grid-3, .grid-4, .form-grid, .proof { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .header-row { position: relative; }
  .kv { grid-template-columns: 1fr; }
  .strip-row span { display: none; }
}
@media print {
  .site-header, .topstrip, .site-footer, .no-print, .side, .topbar, .drv-tab, .drv-action, #toasts, .cookie { display: none !important; }
  body, .invoice { background: white; }
  .content, .page { padding: 0; }
}
