:root {
  --blue: #1B5FC4;
  --blue-hover: #164FA6;
  --blue-soft: #E6EFFB;
  --navy: #0E1B2C;
  --ink: #12202F;
  --ink-2: #34465A;
  --muted: #5A6B7E;
  --line: #DCE3EC;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --on-navy: #C6D2E2;
  --error: #B42318;
  --ok: #0E7A45;
  --radius: 12px;
  --wrap: 1200px;
  --head: "Anuphan", "Sarabun", system-ui, sans-serif;
  --body: "Sarabun", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}
::selection { background: #CFE0F7; color: var(--navy); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #B7C4D4 var(--paper); }

h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.14; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.en { color: var(--muted); font-size: 0.9em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── header ─────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border-radius: 8px; }
.brand img { height: 26px; width: auto; }
.brand-name { display: flex; flex-direction: column; gap: 3px; font: 700 20px/1.25 var(--head); color: var(--navy); }
.brand-name small { font: 500 11px/1.2 var(--body); letter-spacing: 0.06em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--head); font-weight: 500; font-size: 16px; color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: var(--paper); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a.btn-primary, .nav a.btn-primary:hover, .nav a.btn-primary[aria-current="page"] { color: var(--white); background: var(--blue); }
.nav a.btn-primary:hover { background: var(--blue-hover); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy); font: 600 15px var(--head); padding: 0 14px; gap: 8px; align-items: center; cursor: pointer; }

/* ── buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 17px var(--head); text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); color: var(--white); }
.btn-line { background: var(--white); color: var(--blue); border-color: #B9CCEA; }
.btn-line:hover { border-color: var(--blue); color: var(--blue-hover); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); color: var(--navy); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── hero ─────────────────────────────── */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.hero-lead .en, .page-head p .en { display: block; margin-top: 6px; font-size: 16px; }

.quick {
  margin-top: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end;
  box-shadow: 0 12px 28px -18px rgba(14, 27, 44, 0.35);
}
.quick .field label { font-size: 14px; }
.quick .field:first-child { grid-column: 1 / -1; }
.quick-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.quick-note a { font-weight: 600; }

/* ── map ─────────────────────────────── */
.map-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 14px; box-shadow: 0 20px 40px -28px rgba(14, 27, 44, 0.45); }
.map-card figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding: 10px 4px 0; }
.map-svg .sea { fill: #DCE8F7; }
.map-svg .land { fill: #FFFFFF; stroke: #C9D7EA; stroke-width: 1.5; }
.map-svg .road { fill: none; stroke: #E2E8F0; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .route { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.map-svg .pin { fill: var(--white); stroke: var(--blue); stroke-width: 4; }
.map-svg .base { fill: var(--blue); }
.map-svg .base-ring { fill: var(--blue); opacity: 0.16; }
.map-svg .label { font-family: var(--head); font-size: 15px; font-weight: 600; fill: var(--navy); }
.map-svg .sub { font-family: var(--body); font-size: 12.5px; fill: var(--muted); }
.map-svg .km { font-family: var(--head); font-size: 13px; font-weight: 600; fill: var(--blue); }
.map-svg .sea-label { font-family: var(--body); font-size: 13px; fill: #6F8BB0; font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  .map-svg .route { animation: draw 1400ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .map-svg .route:nth-of-type(2) { animation-delay: 160ms; }
  .map-svg .route:nth-of-type(3) { animation-delay: 320ms; }
  .map-svg .route:nth-of-type(4) { animation-delay: 480ms; }
}
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }

/* ── proof band ─────────────────────────────── */
.proof { padding: 40px 0 8px; }
.proof dl { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof dl > div { padding: 22px 20px; border-left: 1px solid var(--line); }
.proof dl > div:first-child { border-left: 0; padding-left: 0; }
.proof dt { font-size: 15px; color: var(--ink-2); order: 2; }
.proof dd { margin: 0 0 2px; font: 700 clamp(30px, 3vw, 40px)/1.1 var(--head); color: var(--navy); }
.proof dl > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.proof .src { font-size: 13px; color: var(--muted); padding-top: 12px; }

/* ── sections ─────────────────────────────── */
.section { padding: 96px 0; }
.section-tight { padding-top: 24px; }
.section-form { padding-top: 56px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 46em; margin-bottom: 48px; }
.section-head p { color: var(--ink-2); font-size: 18px; }

.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.svc:last-child { padding-bottom: 0; }
.svc-copy { display: flex; flex-direction: column; gap: 14px; }
.svc-copy p { color: var(--ink-2); max-width: 36em; }
.svc-copy ul { margin: 4px 0 0; padding-left: 20px; color: var(--ink-2); }
.svc-copy li { margin: 4px 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white);
  font: 700 17px/40px var(--head); text-align: center; position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 19px; left: 40px; right: 0; height: 2px; background: #C9D7EA; }
.steps li:last-child::after { display: none; }
.steps li > div { display: flex; flex-direction: column; gap: 2px; }
.steps strong { font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--navy); }
.steps span { font-size: 15px; color: var(--muted); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }

.trucks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.truck { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.truck svg { height: 44px; width: auto; align-self: flex-start; color: var(--navy); }
.truck b { font-family: var(--head); font-weight: 600; color: var(--navy); }
.truck span { font-size: 14px; color: var(--muted); }

.track { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.track li { display: grid; grid-template-columns: 64px 20px minmax(0, 1fr); gap: 12px; align-items: start; padding-bottom: 18px; position: relative; }
.track li::after { content: ""; position: absolute; left: 85px; top: 22px; bottom: 0; width: 2px; background: #C9D7EA; }
.track li:last-child::after { display: none; }
.track time { font: 600 15px var(--head); color: var(--navy); padding-top: 1px; }
.track i { width: 20px; height: 20px; border-radius: 50%; border: 4px solid var(--blue); background: var(--white); margin-top: 3px; position: relative; z-index: 1; }
.track li.now i { background: var(--blue); }
.track b { display: block; font-family: var(--head); font-weight: 600; color: var(--navy); }
.track span { font-size: 14px; color: var(--muted); }
.panel-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── about ─────────────────────────────── */
.about { background: var(--navy); color: var(--on-navy); }
.about h2, .about h3 { color: var(--white); }
.about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.about p { font-size: 18px; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.facts li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid rgba(198, 210, 226, 0.22); }
.facts li:last-child { border-bottom: 1px solid rgba(198, 210, 226, 0.22); }
.facts b { font-family: var(--head); font-weight: 600; color: var(--white); }

/* ── careers band ─────────────────────────────── */
.band { background: var(--blue-soft); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.band p { color: var(--ink-2); margin-top: 10px; max-width: 40em; }

/* ── contact block ─────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.contact-grid h3 { font-size: 17px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.contact-grid .big { font: 700 28px/1.2 var(--head); color: var(--navy); text-decoration: none; }
.big { font: 700 28px/1.2 var(--head); color: var(--navy); text-decoration: none; }
.big:hover { color: var(--blue); }
.big-mail { font-size: 22px; overflow-wrap: anywhere; }
.map-link { margin-top: 6px; }
.contact-cta { margin-top: 36px; }
.strong-link { font-weight: 600; }

/* ── forms ─────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font: 500 15px var(--head); color: var(--navy); }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid #C3CFDD; border-radius: 10px; background: var(--white);
  font: 400 16px var(--body); color: var(--ink); padding: 10px 12px; caret-color: var(--blue);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5E6E81; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #93A6BE; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid #9DBDEB; outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { font-size: 14px; color: var(--error); min-height: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-status { border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #E7F5EE; color: #0B5A33; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-help { font-size: 14px; color: var(--muted); }
.side { display: flex; flex-direction: column; gap: 18px; }
.side-title { font-size: 24px; }
.side-label { color: var(--muted); font-size: 15px; }
.side-note { font-size: 15px; color: var(--muted); }
.side-sticky { position: sticky; top: 100px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.job-blocks { display: flex; flex-direction: column; gap: 48px; }
.job-block { display: flex; flex-direction: column; gap: 16px; }
.job-block h2 { font-size: 28px; }
.apply-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* ── page heads (inner pages) ─────────────────────────────── */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-head .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-head p { font-size: 19px; color: var(--ink-2); max-width: 40em; }
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.list-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.list-check li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.list-check svg { width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.todo { background: #FFF4D6; color: #6A4A00; border-radius: 4px; padding: 0 4px; }

/* ── footer ─────────────────────────────── */
.site-foot { background: var(--navy); color: var(--on-navy); padding: 56px 0 32px; font-size: 15px; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(198, 210, 226, 0.22); }
.site-foot b { display: block; font-family: var(--head); color: var(--white); font-weight: 600; margin-bottom: 8px; }
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: 14px; }

/* ── privacy doc ─────────────────────────────── */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h1, .doc h2.doc-title { font-size: clamp(28px, 3.6vw, 40px); margin: 0; }
.doc .meta { color: var(--muted); margin: 8px 0 24px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper); font-family: var(--head); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.lang-switch { display: flex; gap: 8px; margin: 0 0 28px; }
.lang-switch a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: 14px; color: var(--ink); }
.lang-switch a:hover { border-color: var(--blue); color: var(--blue); }
.note { background: var(--paper); border-radius: 12px; padding: 14px 16px; }
hr.split { border: 0; border-top: 1px solid var(--line); margin: 64px 0; }

/* ── responsive ─────────────────────────────── */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .proof dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof dl > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .proof dl > div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: 0 16px 24px -20px rgba(14, 27, 44, 0.4); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .svc, .about .wrap, .two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .side-sticky { position: static; }
  .brand-name { font-size: 18px; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-foot .cols { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 22px; }
  .brand { gap: 10px; }
  .quick { grid-template-columns: minmax(0, 1fr); }
  .quick .btn { width: 100%; }
  .proof dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof dl > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof dl > div:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .steps li { flex-direction: row; align-items: flex-start; gap: 14px; }
  .steps li::after { display: none; }
  .trucks { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .truck { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center; padding: 14px; }
  .truck svg { grid-row: 1 / span 2; height: 36px; justify-self: start; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .panel { padding: 20px; }
}

/* ── hero trust row ─────────────────────────────── */
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }

/* ── standards ─────────────────────────────── */
.std { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.std-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: start; }
.tablist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 6px; margin-bottom: 28px; }
.tablist button {
  min-height: 52px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2);
  font: 600 16px var(--head); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color 200ms ease-out, color 200ms ease-out;
}
.tablist button:hover { background: var(--paper); color: var(--navy); }
.tablist button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.tab-no { width: 24px; height: 24px; border-radius: 50%; background: rgba(27, 95, 196, 0.12); color: var(--blue); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.tablist button[aria-selected="true"] .tab-no { background: rgba(255, 255, 255, 0.22); color: var(--white); }
.panel-std h3 { font-size: 26px; margin-bottom: 18px; }
.panel-std:not([hidden]) { animation: rise 420ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.checks li::before { content: ""; grid-row: 1 / span 2; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--ok) url("img/tick.svg") center / 15px no-repeat; }
.checks b { font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--navy); }
.checks span { color: var(--ink-2); }
.demo-note { font-size: 13px; color: var(--muted); margin-top: 24px; }

.phone { justify-self: center; width: 300px; max-width: 100%; border-radius: 44px; padding: 12px; background: #0B1522; box-shadow: 0 30px 60px -30px rgba(14, 27, 44, 0.6), inset 0 0 0 2px #2A3748; position: sticky; top: 100px; }
.phone-screen { border-radius: 34px; overflow: hidden; background: #F4F7FB; min-height: 468px; display: flex; flex-direction: column; }
.app-bar { background: var(--navy); color: var(--white); font: 600 14px var(--head); padding: 22px 18px 14px; display: flex; justify-content: space-between; align-items: center; }
.dot-live { font: 500 12px var(--body); color: #9FE3BF; display: inline-flex; align-items: center; gap: 6px; }
.dot-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34C27A; }
.screen { padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.screen:not([hidden]) { animation: fade 360ms ease-out both; }
.screen-title { font: 700 18px var(--head); color: var(--navy); margin-bottom: 2px; }
.row-check { background: var(--white); border-radius: 14px; padding: 10px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; box-shadow: 0 1px 2px rgba(14, 27, 44, 0.08); }
.row-check.plain { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; }
.row-check img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.row-check b { display: block; font: 600 14px var(--head); color: var(--navy); }
.row-check span { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; }
.chip { font-style: normal; font: 600 12px var(--head); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: #E3F4EA; color: #0B6B3D; }
.chip.info { background: #E1EBFA; color: #164FA6; }
.chip.wait { background: #FFF1CC; color: #7A5200; }
.ready { margin-top: 6px; background: var(--ok); color: var(--white); border-radius: 14px; padding: 14px; text-align: center; font: 700 17px var(--head); }
.ready small { display: block; font: 400 12px var(--body); opacity: 0.85; }
.ready.alt { background: var(--blue); }
.mini-map { border-radius: 14px; overflow: hidden; }
.mini-map svg { display: block; }
.cont-no { background: var(--white); border-radius: 14px; padding: 12px; font: 700 18px var(--head); color: var(--navy); letter-spacing: 0.02em; }
.cont-no small { display: block; font: 400 12.5px var(--body); color: var(--muted); letter-spacing: 0; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shot { background: var(--white); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-bottom: 6px; }
.shot img { width: 100%; height: 68px; object-fit: cover; }
.shot.ph::before { content: ""; width: 100%; height: 68px; background: repeating-linear-gradient(90deg, #D6E2F2 0 8px, #C7D6EA 8px 10px); }
.shot small { font-size: 11.5px; color: var(--muted); padding-top: 4px; }

/* ── system ─────────────────────────────── */
.browser { border-radius: 16px; overflow: hidden; border: 1px solid #C9D5E4; box-shadow: 0 30px 60px -36px rgba(14, 27, 44, 0.5); background: var(--white); }
.browser-bar { background: #EDF1F6; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: #CAD3DF; }
.browser-bar span { margin-left: 12px; font: 500 13px var(--body); color: var(--muted); background: var(--white); border-radius: 8px; padding: 4px 14px; }
.board { padding: 22px; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.board-head b { display: block; font: 700 20px var(--head); color: var(--navy); }
.board-head > div > span { font-size: 14px; color: var(--muted); }
.board-stats { display: flex; gap: 10px; }
.board-stats span { background: var(--paper); border-radius: 12px; padding: 8px 14px; font-size: 13px; color: var(--muted); display: flex; align-items: baseline; gap: 6px; }
.board-stats b { font: 700 20px var(--head); color: var(--navy); }
.board-table { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.tr { display: grid; grid-template-columns: 1fr 1.3fr 1.5fr 0.8fr 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; align-items: center; min-width: 640px; }
.tr:first-child { border-top: 0; }
.tr.th { background: var(--paper); font: 600 13px var(--head); color: var(--muted); }
.tr span:nth-child(2) { font-family: var(--head); font-weight: 600; color: var(--navy); }
.sys-points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sys-points li { border-top: 2px solid var(--blue); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.sys-points b { font: 600 18px var(--head); color: var(--navy); }
.sys-points span { color: var(--ink-2); font-size: 16px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .panel-std:not([hidden]), .screen:not([hidden]) { animation: none; }
}
@media (max-width: 1080px) {
  .std-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .phone { position: static; }
  .sys-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sys-points { grid-template-columns: minmax(0, 1fr); }
  .board { padding: 14px; }
  .board-stats { flex-wrap: wrap; }
  .tr { min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; font-size: 14px; padding: 12px; }
  .tr > span:nth-child(1), .tr > span:nth-child(4) { display: none; }
  .tr > span:nth-child(2) { white-space: nowrap; }
  .tr > span:nth-child(3) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .panel-std h3 { font-size: 22px; }
}
.map-svg .truck-dot circle:first-child { fill: var(--navy); }
[hidden] { display: none !important; }

/* ── certifications ─────────────────────────────── */
.certs { background: var(--navy); color: var(--on-navy); padding: 72px 0; margin-top: 56px; }
.certs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 48px; margin-bottom: 40px; }
.certs-head h2 { color: var(--white); }
.certs-head p { max-width: 34em; font-size: 17px; }
.cert-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.cert-list li { display: flex; flex-direction: column; gap: 18px; padding: 0 28px; border-left: 1px solid rgba(198, 210, 226, 0.22); }
.cert-list li:first-child { border-left: 0; padding-left: 0; }
.cert-list h3 { color: var(--white); font-size: 20px; }
.cert-list p { font-size: 15px; margin-top: 4px; }
.seal {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 5px var(--navy), inset 0 0 0 6px rgba(255, 255, 255, 0.4);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); line-height: 1;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background-color 300ms ease-out;
}
.seal b { font: 700 21px var(--head); letter-spacing: 0; }
.seal small { font: 600 11px var(--head); letter-spacing: 0.18em; margin: 3px 0; color: #9DBDEB; }
.cert-list li:hover .seal { transform: rotate(-8deg) scale(1.04); background-color: rgba(255, 255, 255, 0.06); }

/* ── system modules ─────────────────────────────── */
.mods-title { font-size: 24px; margin: 56px 0 8px; }
.mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.mods li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.mods svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); transition: background-color 200ms ease-out, color 200ms ease-out; }
.mods li:hover svg { background: var(--blue); color: var(--white); }
.mods b { display: block; font: 600 18px var(--head); color: var(--navy); margin-bottom: 2px; }
.mods span { font-size: 15.5px; color: var(--ink-2); }

@media (max-width: 1080px) {
  .cert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .cert-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .certs { padding: 56px 0; margin-top: 40px; }
  .cert-list { grid-template-columns: minmax(0, 1fr); }
  .cert-list li { flex-direction: row; align-items: center; border-left: 0; padding: 0; }
  .seal { width: 76px; height: 76px; }
  .seal b { font-size: 16px; }
  .mods { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .seal { transition: none; } .cert-list li:hover .seal { transform: none; } }

/* ── quote form states ─────────────────────────────── */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err-box { background: #FDECEA; color: #8A1C12; display: flex; flex-direction: column; gap: 4px; }
.err-box a { color: #8A1C12; font-weight: 600; }
.err-alt { font-size: 14px; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.btn[aria-busy="true"]::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn[aria-busy="true"]::before { animation-duration: 2s; } }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px 32px; border: 1px solid #BFE3CF; background: #F1FAF5; border-radius: 18px; }
.done[hidden] { display: none; }
.done svg { width: 44px; height: 44px; color: var(--ok); }
.done h2 { font-size: 28px; }
.done p { color: var(--ink-2); max-width: 34em; }
.done .btn { margin-top: 8px; }
.field [aria-invalid="true"]:focus-visible { border-color: var(--error); outline-color: #F3B4AE; }
