/* ============================================================
   Roko Agencija — European freight brokerage
   Design system
   ============================================================ */

@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-500.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-800.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sora';  src: url('/assets/fonts/sora-600.ttf')  format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sora';  src: url('/assets/fonts/sora-700.ttf')  format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Sora';  src: url('/assets/fonts/sora-800.ttf')  format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0b1a2b;
  --navy: #0d2036;
  --navy-2: #123049;
  --navy-3: #1a3d5c;
  --paper: #f5f7fa;
  --card: #ffffff;
  --line: #e2e8f1;
  --muted: #5c6b80;
  --accent: #ff7a1a;
  --accent-d: #e56a0d;
  --gold: #ffb020;
  --ok: #16a34a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 32, 54, .08);
  --shadow-lg: 0 24px 60px rgba(13, 32, 54, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.125rem; color: var(--muted); }
.small { font-size: .85rem; }
.muted { color: var(--muted); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.center { text-align: center; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #1a1206; padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-d); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem 'Inter', sans-serif; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #221204; box-shadow: 0 8px 24px rgba(255, 122, 26, .35);
}
.btn-accent:hover { box-shadow: 0 12px 30px rgba(255, 122, 26, .45); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 26, 43, .55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(11, 26, 43, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 800 1.15rem 'Sora', sans-serif; color: #fff; letter-spacing: .04em; }
.brand-text strong span { color: var(--accent); }
.brand-text small { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .65); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav > a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; text-decoration: none !important; padding: .35rem 0; position: relative; }
.nav > a:hover { color: #fff; }
.nav > a.active { color: var(--gold); }
.nav > a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav .nav-cta { margin-left: .4rem; }
.burger {
  display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px; padding: .55rem .65rem; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 26, .18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(26, 61, 92, .8), transparent 60%),
    linear-gradient(160deg, #0b1a2b 0%, #0d2036 55%, #123049 100%);
  padding: 5.5rem 0 5rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 500px at 70% 20%, rgba(0, 0, 0, .9), transparent 75%);
  -webkit-mask-image: radial-gradient(800px 500px at 70% 20%, rgba(0, 0, 0, .9), transparent 75%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { color: rgba(255, 255, 255, .78); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.cta-note { display: block; margin-top: .55rem; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .65); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .85);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: .38rem .8rem;
  background: rgba(255, 255, 255, .05);
}
.badge svg { width: 14px; height: 14px; color: var(--gold); }

.hero-visual {
  position: relative; border-radius: 22px; padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-lg);
}
.hero-visual .visual-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); margin-bottom: .6rem; font-weight: 700;
}
.live-dot { display: inline-flex; align-items: center; gap: .4rem; color: #7ef0c0; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.route-map { width: 100%; height: auto; }
.route-map .hub { fill: var(--gold); }
.route-map .spoke { fill: rgba(255, 255, 255, .75); }
.route-map .lane { fill: none; stroke: rgba(255, 176, 32, .55); stroke-width: 1.6; stroke-dasharray: 5 9; animation: dashmove 26s linear infinite; }
.route-map .lane.slow { animation-duration: 40s; stroke: rgba(126, 240, 192, .4); }
@keyframes dashmove { to { stroke-dashoffset: -560; } }
.route-map text { font: 600 11px 'Inter', sans-serif; fill: rgba(255, 255, 255, .8); letter-spacing: .08em; }
.route-map .tag-zag { fill: var(--accent); font-weight: 800; }

/* ---------- Stats ---------- */
.stats-band { background: var(--ink); color: #fff; padding: 2.6rem 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat b { display: block; font: 800 clamp(1.7rem, 3vw, 2.4rem) 'Sora', sans-serif; color: var(--gold); line-height: 1.1; }
.stat span { font-size: .88rem; color: rgba(255, 255, 255, .65); }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #ffd9b8; }
.card .icon-tile {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 26, .14), rgba(255, 176, 32, .18));
  color: var(--accent-d); margin-bottom: 1rem;
}
.card .icon-tile svg { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.card .meta { font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .7rem; }
.card .meta b { color: var(--ink); }
.card-link { font-weight: 700; font-size: .92rem; color: var(--accent-d); display: inline-flex; align-items: center; gap: .35rem; text-decoration: none !important; }
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover::after { transform: translateX(3px); }
.card-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border: 0; }
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, .75); }
.card-dark .meta { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .18); }
.card-dark .meta b { color: #fff; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font: 800 1rem 'Sora', sans-serif; color: var(--accent);
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: rgba(255, 122, 26, .12); margin-bottom: .9rem;
}
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Check list ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: .2rem; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: .93rem; }

/* ---------- Chips / countries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .95rem; font-size: .88rem; font-weight: 600; color: var(--ink);
}
.chip i { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: var(--accent-d); background: rgba(255, 122, 26, .12); border-radius: 6px; padding: .1rem .35rem; }
.chip.hub { border-color: var(--accent); background: #fff7ef; }
.chip.hub i { background: var(--accent); color: #fff; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
th { text-align: left; font: 700 .78rem 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: #fafbfd; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td b { white-space: nowrap; }
.t-pill { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .18rem .6rem; }
.t-green { background: #e8f7ee; color: #15803d; }
.t-amber { background: #fff3e0; color: #b45309; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 500 .95rem 'Inter', sans-serif; color: var(--ink);
  padding: .75rem .9rem; border: 1px solid #cdd7e3; border-radius: 10px; background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 122, 26, .18); background: #fff;
}
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { margin-top: .25rem; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-2col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.aside-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 1.8rem; position: sticky; top: 96px; }
.aside-card h3 { color: #fff; }
.aside-card .row { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); font-size: .92rem; }
.aside-card .row:last-of-type { border-bottom: 0; }
.aside-card svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: .2rem; }
.aside-card a { color: var(--gold); }

.success-panel {
  display: none; border: 1px solid #bfe8cd; background: #f2fbf5; color: #14532d;
  border-radius: 14px; padding: 1.4rem 1.5rem; margin-top: 1.2rem;
}
.success-panel.show { display: block; animation: rise .4s ease; }
.success-panel .ref { font: 800 1.3rem 'Sora', sans-serif; letter-spacing: .04em; }
.success-panel .summary { margin: .8rem 0 1rem; padding: 0; list-style: none; font-size: .9rem; }
.success-panel .summary li { padding: .25rem 0; border-bottom: 1px dashed #cdebd8; display: flex; justify-content: space-between; gap: 1rem; }
.success-panel .summary li span:last-child { font-weight: 700; text-align: right; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.error-msg { display: none; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: .7rem 1rem; font-size: .88rem; margin-top: 1rem; }
.error-msg.show { display: block; }

/* ---------- Freight board ---------- */
.board-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter-pill {
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  font: 600 .88rem 'Inter', sans-serif; padding: .5rem 1.1rem; border-radius: 999px;
  transition: border-color .15s, background .15s, color .15s;
}
.filter-pill:hover { border-color: var(--accent); color: var(--accent-d); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.board-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 1.6rem; align-items: start; }
.ship-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.ship-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .7rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ship-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #ffd9b8; }
.ship-card.is-hold { opacity: .6; }
.ship-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.ship-ref { font: 700 .8rem 'Sora', sans-serif; letter-spacing: .05em; color: var(--muted); }
.ship-status { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .22rem .65rem; white-space: nowrap; }
.s-open { background: #e8f7ee; color: #15803d; }
.s-closing { background: #fff3e0; color: #b45309; }
.s-hold { background: #eef2f7; color: #5c6b80; }
.ship-lane { font: 700 1.08rem 'Sora', sans-serif; color: var(--ink); line-height: 1.35; }
.ship-lane .arrow { color: var(--accent); }
.ship-meta { font-size: .85rem; color: var(--muted); }
.sd-flag {
  display: inline-flex; align-items: center; gap: .35rem; width: fit-content;
  font-size: .75rem; font-weight: 700; color: #92400e;
  background: linear-gradient(135deg, rgba(255, 176, 32, .18), rgba(255, 122, 26, .14));
  border: 1px solid rgba(255, 122, 26, .35); border-radius: 999px; padding: .2rem .65rem;
}
.ship-foot { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.ship-rate span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ship-rate b { font: 800 1.25rem 'Sora', sans-serif; color: var(--ink); }
.board-note { text-align: center; margin-top: 1.8rem; font-size: .85rem; color: var(--muted); }
.board-filters-origin { margin-bottom: .7rem; align-items: center; }
.filter-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .25rem; }
.origin-tag { display: inline-block; font: 700 .7rem 'Inter', sans-serif; letter-spacing: .05em; color: var(--accent-d); background: rgba(255, 122, 26, .1); border-radius: 6px; padding: .14rem .42rem; margin-right: .4rem; vertical-align: 2px; }
.board-count { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }
.board-count b { color: var(--accent-d); font-family: 'Sora', sans-serif; }
.ship-empty { grid-column: 1 / -1; background: var(--card); border: 1px dashed #cdd7e3; border-radius: var(--radius); padding: 2.2rem 1.5rem; text-align: center; color: var(--muted); font-size: .95rem; }

/* Same-day payout offer */
.sameday-card {
  position: sticky; top: 96px; border-radius: 20px; padding: 1.8rem; color: #fff;
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border: 1px solid rgba(255, 176, 32, .4); box-shadow: var(--shadow-lg);
}
.sameday-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .3rem; }
.sameday-card p { color: rgba(255, 255, 255, .78); font-size: .93rem; margin-bottom: .8rem; }
.sd-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.sd-flash {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 8px 20px rgba(255, 122, 26, .4);
}
.sd-calc { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 1.1rem 1.2rem; margin: 1.2rem 0; }
.sd-calc label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: .45rem; }
.sd-calc input {
  width: 100%; font: 700 1.2rem 'Sora', sans-serif; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px; padding: .6rem .8rem;
}
.sd-calc input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 176, 32, .25); }
.sd-lines { margin-top: .9rem; display: grid; gap: .45rem; font-size: .92rem; }
.sd-lines > div { display: flex; justify-content: space-between; gap: 1rem; }
.sd-lines span { color: rgba(255, 255, 255, .65); }
.sd-lines b { font-family: 'Sora', sans-serif; }
.sd-lines .sd-net { border-top: 1px dashed rgba(255, 255, 255, .2); padding-top: .55rem; }
.sd-net b { color: var(--gold); font-size: 1.15rem; }
.sameday-card .fine { font-size: .78rem; color: rgba(255, 255, 255, .55); margin: .6rem 0 0; }
.form-card { transition: box-shadow .4s ease, border-color .4s ease; }
.form-card.flash { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 26, .22), var(--shadow-lg); }
@media (max-width: 980px) {
  .board-grid { grid-template-columns: 1fr; }
  .sameday-card { position: static; }
}
@media (max-width: 720px) {
  .ship-list { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 1.1rem 1.4rem; margin-bottom: .8rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 1.2rem 'Sora', sans-serif; color: var(--accent); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: .8rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Quotes / testimonials ---------- */
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); }
.quote-card .stars { color: var(--gold); letter-spacing: .15em; font-size: .95rem; margin-bottom: .7rem; }
.quote-card p { font-size: .98rem; color: var(--ink); }
.quote-card footer { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: #fff; display: grid; place-items: center; font: 700 .85rem 'Sora', sans-serif; }
.quote-card footer b { display: block; font-size: .92rem; }
.quote-card footer span { font-size: .8rem; color: var(--muted); }

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.dl-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #ffd9b8; }
.dl-card h3 { margin-bottom: .45rem; }
.dl-card p { color: var(--muted); font-size: .93rem; margin-bottom: .9rem; }
.dl-card .icon-tile {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 26, .14), rgba(255, 176, 32, .18));
  color: var(--accent-d); margin-bottom: 1rem;
}
.dl-card .icon-tile svg { width: 24px; height: 24px; }
.dl-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.2rem; align-items: center;
  border-color: rgba(255, 122, 26, .5);
  background: linear-gradient(135deg, #fff7ef 0%, #ffffff 60%);
  padding: 2.2rem;
}
.dl-featured .dl-foot { border-top: 0; padding-top: 0; margin-top: 1.3rem; justify-content: flex-start; }
.dl-badge {
  position: absolute; top: -13px; left: 2rem;
  background: linear-gradient(135deg, var(--accent), var(--gold)); color: #221204;
  font: 800 .72rem 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .85rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(255, 122, 26, .35);
}
.dl-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.dl-list li { position: relative; padding: .3rem 0 .3rem 1.55rem; font-size: .93rem; color: var(--muted); }
.dl-list li::before { content: "✓"; position: absolute; left: 0; top: .3rem; color: var(--ok); font-weight: 800; }
.dl-list li b { color: var(--ink); }
.dl-foot { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dl-meta { font-size: .78rem; font-weight: 600; color: var(--muted); }
.dl-note { margin-top: 1.8rem; font-size: .88rem; color: var(--muted); }
.dl-strip {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.2rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 2.1rem 2.3rem; box-shadow: var(--shadow-lg);
}
.dl-strip h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: .35rem; }
.dl-strip .lead { font-size: .98rem; margin-bottom: .9rem; }
.dl-strip-links { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.dl-chip {
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .75rem .95rem; text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.dl-chip svg { flex: none; width: 18px; height: 18px; color: var(--accent-d); }
.dl-chip span { display: flex; flex-direction: column; line-height: 1.3; font: 700 .9rem 'Inter', sans-serif; color: var(--ink); }
.dl-chip span b { font-weight: 500; font-size: .74rem; color: var(--muted); }
.dl-chip:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.dl-chip-hot { border-color: rgba(255, 122, 26, .55); background: #fff7ef; }
.dl-chip-hot svg { color: var(--accent); }
.dl-chip-hot span b { color: var(--accent-d); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, var(--navy-3));
  padding: 3.2rem 2.5rem; box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 32, .35), transparent 70%);
}
.cta-band h2 { color: #fff; max-width: 30rem; }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 34rem; }
.cta-band .hero-cta { margin-top: 1.4rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 4.2rem 0 3.6rem;
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(255, 122, 26, .16), transparent 60%),
    linear-gradient(160deg, #0b1a2b, #123049);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(700px 400px at 60% 10%, rgba(0, 0, 0, .9), transparent 80%);
  -webkit-mask-image: radial-gradient(700px 400px at 60% 10%, rgba(0, 0, 0, .9), transparent 80%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 2.9rem); }
.page-hero p { color: rgba(255, 255, 255, .75); max-width: 44rem; margin-bottom: 0; }
.crumbs { font-size: .82rem; color: rgba(255, 255, 255, .55); margin-bottom: 1rem; }
.crumbs a { color: rgba(255, 255, 255, .75); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); margin-top: 4.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding: 3.6rem 0 2.4rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none !important; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .3rem 0; font-size: .93rem; }
.footer-brand p { font-size: .92rem; max-width: 20rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { flex: none; width: 16px; height: 16px; color: var(--gold); margin-top: .25rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.3rem 0; font-size: .8rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; }
.footer-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.1rem; }
.footer-badges span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: .3rem .6rem; color: rgba(255, 255, 255, .7); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .route-map .lane { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-2col { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-featured { grid-template-columns: 1fr; gap: 1.4rem; }
  .dl-strip { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 720px) {
  .section { padding: 3rem 0; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 26, 43, .98); backdrop-filter: blur(10px);
    padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12);
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a { padding: .8rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .nav > a.active::after { display: none; }
  .nav .nav-cta { margin: 1rem 0 0; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-strip-links { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3.5rem; }
}