/* CargoLinker website — shared styles
   Layout: single centred column (max 1200px), full-width colour bands, cards in auto-fit grids */
:root {
  --navy: #0B2545;
  --navy-deep: #071A33;
  --green: #0B7A45;
  --green-dark: #075C33;
  --green-text: #0B5C35;
  --green-bright: #2BB673;
  --green-soft: #E8F5EE;
  --orange: #F5821F;
  --text: #1B2A3D;
  --muted: #4A5568;
  --line: #E3E8EF;
  --field: #C9D3DF;
  --soft: #F4F7FA;
  --blue-soft: #EAF0F7;
  --white: #FFFFFF;
  --amber-bg: #FFF1DB;
  --amber-fg: #6B4A00;
  --error: #B42318;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}
img, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid rgba(11, 122, 69, 0.45); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 820px; }
.section { padding-block: 88px; }
.section.tight { padding-block: 64px; }
.band-soft { background: var(--soft); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h1, .band-navy h2 { color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.band-navy .eyebrow { color: #7FE0AE; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; }
.band-navy .lead { color: #C6D3E3; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--navy); }
.brand-name span { color: var(--green); }
.lk-a { fill: none; stroke: var(--navy); stroke-width: 5.5; }
.lk-b { fill: none; stroke: #1FA463; stroke-width: 5.5; }
.footer .lk-a { stroke: var(--white); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-weight: 500; font-size: 15px; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); color: var(--navy); }
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; color: var(--navy); background: var(--white); border: 1px solid var(--field); border-radius: 10px; padding: 10px 14px; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; border-radius: 10px; padding: 14px 24px; cursor: pointer; min-height: 48px; }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: #E87411; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #12345E; color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--navy); border: 1px solid var(--field); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { font-size: 15px; padding: 10px 18px; min-height: 44px; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 72px 84px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-card { flex: 1 1 360px; min-width: 0; max-width: 460px; margin: 0 auto; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: rgba(43,182,115,0.14); color: #7FE0AE; border: 1px solid rgba(43,182,115,0.35); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.band-navy .ticks li { color: #DCE5F0; }
.ticks svg { color: var(--green-bright); flex: none; }

/* Quote panel */
.quote-panel { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,0.28); display: flex; flex-direction: column; gap: 14px; }
.quote-panel .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.quote-panel .wide { grid-column: 1 / -1; }
.quote-panel .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

/* Forms */
label.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: #2C3E52; min-width: 0; }
.hint { font-size: 13px; font-weight: 400; color: #5A6878; }
.input { font: inherit; font-size: 15px; color: var(--text); padding: 12px 14px; border: 1px solid var(--field); border-radius: 10px; background: var(--white); width: 100%; min-width: 0; }
.input:focus { outline: 3px solid rgba(11,122,69,0.25); border-color: var(--green); }
textarea.input { resize: vertical; min-height: 96px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 14px; font-weight: 500; color: #2C3E52; margin-bottom: 10px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--field); border-radius: 10px; cursor: pointer; font-size: 15px; background: var(--white); }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); color: var(--green-text); font-weight: 600; }
.choice input, .check input { accent-color: var(--green); margin: 0; width: 18px; height: 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { margin-top: 3px; flex: none; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.form-card h2 { font-size: 22px; }
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 500; }
.form-status.ok { background: var(--green-soft); color: var(--green-text); }
.form-status.err { background: #FDECEA; color: var(--error); }
.form-status.info { background: var(--amber-bg); color: var(--amber-fg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--white); color: var(--navy); font-weight: 700; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* Cards and grids */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 28px; }
.card { background: var(--soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
a.card:hover { background: var(--blue-soft); color: var(--text); }
.card h3 { font-size: 18px; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-soft { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); color: var(--green-text); display: flex; align-items: center; justify-content: center; flex: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.num.green { background: var(--green); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 360px; min-width: 0; }
.panel { border-radius: 24px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.panel-navy { background: var(--navy); color: #DCE5F0; }
.panel-navy h2 { color: var(--white); }
.panel-green { background: var(--green-soft); }
.list-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.list-check li { display: flex; gap: 10px; }
.list-check svg { flex: none; color: var(--green); margin-top: 1px; }
.panel-navy .list-check svg { color: var(--green-bright); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber-fg); background: var(--amber-bg); border-radius: 6px; padding: 4px 8px; }
.price-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; font-variant-numeric: tabular-nums; }
.price-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.price-row.total { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; color: var(--navy); font-size: 18px; }

/* Example quotes card */
.qcard { background: var(--white); color: var(--text); border-radius: 20px; padding: 24px; box-shadow: 0 30px 70px rgba(0,0,0,0.35); display: flex; flex-direction: column; gap: 14px; }
.qrow { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.qrow.best { border: 2px solid var(--green); }
.avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; flex: none; }
.qrow.best .avatar { background: var(--green-soft); color: var(--green-text); }
.qprice { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--green); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 60em; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 36px; margin-bottom: 10px; }
.prose p, .prose li { color: #2C3E52; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.notice { background: var(--amber-bg); color: var(--amber-fg); border-radius: 12px; padding: 14px 16px; font-size: 15px; }

/* CTA band */
.cta-band { background: var(--green); color: var(--white); border-radius: 24px; padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #DDF3E7; font-size: 18px; margin-top: 8px; }

/* Page header (inner pages) */
.page-head .wrap { padding-block: 56px 60px; display: flex; flex-direction: column; gap: 16px; }

/* Footer */
.footer { background: var(--navy-deep); color: #B9C6D6; }
.footer .wrap { padding-block: 64px 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { margin: 0 0 4px; font-family: var(--body); font-size: 16px; color: var(--white); }
.footer a { color: #B9C6D6; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .brand-name { color: var(--white); font-size: 22px; }
.footer .brand-name span { color: var(--green-bright); }
.footer address { font-style: normal; line-height: 1.6; }
.footer-base { border-top: 1px solid #1E3352; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 20px; }
