/* SAE site — Horizon Cargo style animations on the SAE design system */
@import url('./assets/colors_and_type.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--sae-text-body); font-family: var(--font-en); overflow-x: clip; overflow-wrap: break-word; word-break: break-word; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ───── Layout ───── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }
section { padding: 96px 0; position: relative; }
.section-alt { background: var(--sae-bg-alt); }
.section-dark { background: var(--sae-deep-navy); color: #fff; }

.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sae-blue); margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--sae-sky); }
.eyebrow .red-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--sae-red); margin-right:8px; vertical-align: middle; transform: translateY(-1px); }
.sec-title { font-family: var(--font-en); font-weight:700; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; color: var(--sae-blue); margin: 0 0 14px; letter-spacing: -0.01em; max-width: 760px; }
.section-dark .sec-title { color: #fff; }
.sec-sub { font-size: 16px; line-height: 1.7; color: var(--sae-text-body); max-width: 620px; margin: 0 0 48px; }
.section-dark .sec-sub { color: rgba(255,255,255,0.7); }

/* ───── Reveal on scroll ───── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 560ms; }

/* ───── Top Bar + Nav ───── */
.top-bar { background: var(--sae-deep-navy); color: rgba(255,255,255,0.78); font-size: 12px; padding: 8px 0; }
.top-bar .container { display:flex; align-items:center; gap: 22px; }
.top-bar .item { display:inline-flex; align-items:center; gap: 6px; }
.top-bar .item svg { width: 13px; height: 13px; opacity: 0.8; }
.top-bar .spacer { flex: 1; }
.top-bar .lang { display:inline-flex; gap: 4px; align-items:center; font-weight: 600; }
.top-bar .lang span { padding: 2px 8px; border-radius: 50px; cursor: pointer; opacity: 0.55; transition: all 0.2s; }
.top-bar .lang span.on { background: rgba(255,255,255,0.10); color: var(--sae-sky); opacity: 1; }

.nav { background:#fff; height: 64px; border-bottom: 3px solid var(--sae-blue); position: sticky; top: 0; z-index: 50; transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 4px 16px rgba(45,78,161,0.08); }
.nav .container { display: flex; align-items: center; height: 100%; }
.nav-logo img { height: 38px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-link { font-size: 13px; font-weight: 600; color: #2a2a3a; padding: 8px 14px; border-radius: 6px; background: transparent; border: none; cursor: pointer; transition: all 0.15s; letter-spacing: 0.01em; }
.nav-link:hover { background: rgba(45,78,161,0.06); color: var(--sae-blue); }
.nav-link.active { color: var(--sae-blue); }
.nav-cta { margin-left: 8px; }

/* ───── Buttons ───── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; border-radius: 6px; cursor: pointer; transition: all 0.2s var(--ease); border: none; text-decoration: none; font-family: inherit; }
.btn-primary { background: var(--sae-blue); color: #fff; }
.btn-primary:hover { background: var(--sae-deep-navy); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(45,78,161,0.28); }
.btn-red { background: var(--sae-red); color: #fff; }
.btn-red:hover { background: var(--sae-red-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(214,40,43,0.28); }
.btn-outline { background: transparent; color: var(--sae-blue); border: 2px solid var(--sae-blue); padding: 10px 22px; }
.btn-outline:hover { background: var(--sae-blue); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.55); padding: 10px 22px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--sae-blue); padding: 8px 14px; }
.btn-ghost:hover { background: rgba(45,78,161,0.06); }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); font-size: 1.1em; line-height: 1; }
.btn:hover .arrow { transform: translateX(4px); }

/* ───── HERO ───── */
.hero { background: var(--sae-grad-hero); color: #fff; position: relative; overflow: hidden; padding: 88px 0 120px; min-height: 720px; }
.hero::before { content:""; position:absolute; inset:0; background: var(--sae-polygon-overlay); pointer-events:none; }

/* Drifting polygon shapes */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape { position: absolute; opacity: 0.10; border: 1px solid rgba(255,255,255,0.6); transform-origin: center; animation: drift 24s linear infinite; }
.hero-shape.s1 { width: 280px; height: 280px; left: -80px; top: 80px; transform: rotate(35deg); border-radius: 24px; }
.hero-shape.s2 { width: 460px; height: 460px; right: -160px; top: -120px; transform: rotate(20deg); border-radius: 40px; animation-duration: 32s; animation-direction: reverse; }
.hero-shape.s3 { width: 200px; height: 200px; right: 18%; bottom: -60px; transform: rotate(45deg); border-radius: 18px; animation-duration: 28s; }
.hero-shape.s4 { width: 120px; height: 120px; left: 38%; top: 22%; transform: rotate(15deg); border-radius: 12px; opacity: 0.16; animation-duration: 18s; }
@keyframes drift {
  0% { transform: rotate(var(--r, 20deg)) translateY(0); }
  50% { transform: rotate(calc(var(--r, 20deg) + 6deg)) translateY(-30px); }
  100% { transform: rotate(var(--r, 20deg)) translateY(0); }
}

.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; min-height: 560px; }
@media (max-width: 920px) { .hero .container { grid-template-columns: 1fr; } }

.hero-loc { display:inline-flex; align-items:center; gap: 8px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); padding: 7px 16px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; backdrop-filter: blur(4px); }
.hero-loc .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sae-red); box-shadow: 0 0 0 4px rgba(214,40,43,0.25); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(214,40,43,0.25); } 50% { box-shadow: 0 0 0 8px rgba(214,40,43,0); } }

.hero-title { font-size: clamp(44px, 6.6vw, 78px); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; margin: 22px 0 18px; color: #fff; }
.hero-title .accent { color: var(--sae-sky); position: relative; }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(40px); animation: word-rise 0.9s var(--ease) forwards; }
.hero-title .word:nth-child(2) { animation-delay: 0.08s; }
.hero-title .word:nth-child(3) { animation-delay: 0.16s; }
.hero-title .word:nth-child(4) { animation-delay: 0.24s; }
.hero-title .word:nth-child(5) { animation-delay: 0.32s; }
@keyframes word-rise { to { opacity: 1; transform: translateY(0); } }

.hero-sub { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 0 32px; opacity: 0; transform: translateY(20px); animation: word-rise 0.9s 0.5s var(--ease) forwards; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; opacity: 0; animation: word-rise 0.9s 0.65s var(--ease) forwards; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; opacity: 0; animation: word-rise 0.9s 0.8s var(--ease) forwards; }
.badge-hero { display:inline-flex; align-items:baseline; gap: 8px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22); padding: 8px 14px; border-radius: 10px; backdrop-filter: blur(4px); transition: all 0.2s; }
.badge-hero:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.badge-hero .jp { font-family: var(--font-jp); font-weight: 700; font-size: 14px; color: #fff; }
.badge-hero .en { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.78); }

/* ── Hero right side: animated route map ── */
.hero-map { position: relative; aspect-ratio: 1.05/1; }
.hero-map svg { width: 100%; height: 100%; }
.route-path { stroke: rgba(255,255,255,0.32); stroke-width: 1.5; fill: none; stroke-dasharray: 5 6; }
.route-path-glow { stroke: var(--sae-sky); stroke-width: 2.5; fill: none; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(143,215,248,0.6)); }
.route-dot { fill: var(--sae-sky); }
.route-dot.origin { fill: var(--sae-red); }
.dest-label { fill: rgba(255,255,255,0.85); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.dest-pulse { fill: var(--sae-sky); opacity: 0.4; }

.map-ship { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.map-ship svg { width: 38px; height: 38px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(2deg); } }

/* ───── Marquee (auctions / destinations) ───── */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%); }
.marquee-track { display: inline-flex; gap: 56px; animation: marquee 32s linear infinite; white-space: nowrap; padding: 8px 0; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.marquee-item .mq-name { font-weight: 800; font-size: 22px; color: var(--sae-blue); letter-spacing: -0.01em; }
.marquee-item .mq-loc { font-size: 12px; color: var(--sae-text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.marquee-item .mq-dot { width: 6px; height: 6px; background: var(--sae-red); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───── Stats Strip (counter) ───── */
.stats { background: var(--sae-deep-navy); color: #fff; position: relative; overflow: hidden; }
.stats::before { content:""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, rgba(143,215,248,0.06) 50%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 56px 0; position: relative; z-index: 1; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding: 44px 0; } }
.stat-block { border-left: 2px solid rgba(143,215,248,0.4); padding-left: 22px; }
.stat-n { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; color: var(--sae-sky); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 10px; }

/* ───── Cards / Methods ───── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .card-grid-3 { grid-template-columns: 1fr; } }
.method { background: var(--sae-card-bg); border: 1px solid var(--sae-border); border-radius: 16px; padding: 32px; transition: all 0.3s var(--ease); position: relative; overflow: hidden; }
.method::after { content:""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(45,78,161,0.07) 0%, transparent 70%); pointer-events: none; transition: transform 0.4s var(--ease); }
.method:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(45,78,161,0.18); }
.method:hover::after { transform: scale(1.4); }
.method-icon { width: 56px; height: 56px; background: rgba(45,78,161,0.10); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--sae-blue); margin-bottom: 18px; }
.method-icon svg { width: 28px; height: 28px; }
.method-title { font-weight: 700; font-size: 20px; color: var(--sae-blue); margin: 0 0 4px; }
.method-jp { font-family: var(--font-jp); font-weight: 700; font-size: 12px; color: var(--sae-text-muted); margin-bottom: 14px; letter-spacing: 0.02em; }
.method-desc { font-size: 14px; line-height: 1.7; color: var(--sae-text-body); margin: 0; }

/* ───── Two-column "What we ship" ───── */
.ship-list { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .ship-list { grid-template-columns: 1fr; } }
.ship-items { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--sae-border); padding-left: 28px; }
.ship-item { padding: 14px 0; font-size: 17px; color: #1a1a2e; font-weight: 600; position: relative; transition: all 0.3s var(--ease); cursor: pointer; border-bottom: 1px solid rgba(45,78,161,0.06); }
.ship-item:last-child { border-bottom: none; }
.ship-item::before { content:""; position: absolute; left: -29px; top: 50%; width: 0; height: 2px; background: var(--sae-blue); transition: width 0.3s var(--ease); transform: translateY(-50%); }
.ship-item:hover,
.ship-item.active { color: var(--sae-blue); padding-left: 10px; }
.ship-item:hover::before,
.ship-item.active::before { width: 18px; }

.ship-visual { aspect-ratio: 1.1/1; background: var(--sae-grad-hero); border-radius: 24px; position: relative; overflow: hidden; }
.ship-visual::after { content:""; position:absolute; inset:0; background: var(--sae-polygon-overlay); pointer-events: none; z-index: 1; }
.sv-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.92); opacity: 0; transform: scale(0.88); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.sv-slide.on { opacity: 1; transform: scale(1); }
.sv-slide svg { width: 50%; height: auto; max-width: 280px; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.28)); }
.ship-visual .label { position: absolute; left: 24px; bottom: 22px; color: #fff; z-index: 2; }
.ship-visual .label .l1 { font-family: var(--font-jp); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; transition: opacity 0.3s; }
.ship-visual .label .l2 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sae-sky); font-weight: 700; transition: opacity 0.3s; }

/* ───── Workflow ribbon (5-step) ───── */
.workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: wf; }
@media (max-width: 880px) { .workflow { grid-template-columns: 1fr; } }
.wf { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 24px 20px; position: relative; transition: all 0.3s var(--ease); }
.wf:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); border-color: rgba(143,215,248,0.35); }
.wf-num { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--sae-sky); margin-bottom: 12px; }
.wf-num::before { counter-increment: wf; content: "0" counter(wf) " · "; opacity: 0.7; }
.wf-t { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 6px; line-height: 1.3; }
.wf-d { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0; }

/* ───── Auction Process Timeline ───── */
.timeline { position: relative; padding-left: 60px; }
.timeline::before { content:""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--sae-border); }
.timeline-progress { position: absolute; left: 15px; top: 8px; width: 2px; background: linear-gradient(180deg, var(--sae-red), var(--sae-blue)); transition: height 0.1s linear; }
.tl-row { position: relative; padding-bottom: 56px; }
.tl-row:last-child { padding-bottom: 0; }
.tl-row::before { content:""; position: absolute; left: -52px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--sae-border); z-index: 2; transition: all 0.3s var(--ease); }
.tl-row.lit::before { border-color: var(--sae-red); box-shadow: 0 0 0 6px rgba(214,40,43,0.18); }
.tl-day { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; color: var(--sae-red); margin-bottom: 8px; }
.tl-t { font-size: 22px; font-weight: 700; color: var(--sae-blue); margin: 0 0 8px; }
.tl-d { font-size: 15px; line-height: 1.7; color: var(--sae-text-body); margin: 0; max-width: 620px; }

/* ───── Auction houses grid ───── */
.auction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .auction-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .auction-grid { grid-template-columns: 1fr; } }
.auction-card { background: #fff; border: 1px solid var(--sae-border); border-radius: 12px; padding: 22px; transition: all 0.25s var(--ease); position: relative; overflow: hidden; }
.auction-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(45,78,161,0.25); }
.auction-card::before { content:""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--sae-blue); transform: scaleY(0); transform-origin: top; transition: transform 0.3s var(--ease); }
.auction-card:hover::before { transform: scaleY(1); }
.auction-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.auction-abbr { font-size: 22px; font-weight: 800; color: var(--sae-blue); letter-spacing: -0.01em; }
.auction-full { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sae-text-muted); }
.auction-loc { font-size: 12px; color: var(--sae-text-muted); margin: 6px 0 10px; display: flex; align-items: center; gap: 6px; }
.auction-spec { font-size: 13px; line-height: 1.6; color: var(--sae-text-body); margin: 0; }

/* ───── Top Sellers ───── */
.tab-bar { display: flex; gap: 6px; margin-bottom: 32px; flex-wrap: wrap; }
.tab { background: rgba(45,78,161,0.06); color: var(--sae-blue); padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.tab:hover { background: rgba(45,78,161,0.12); }
.tab.active { background: var(--sae-blue); color: #fff; }
.seller-table { background: #fff; border: 1px solid var(--sae-border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.seller-row { display: grid; gap: 16px; padding: 18px 24px; align-items: center; border-bottom: 1px solid var(--sae-border); transition: background 0.2s; }
.seller-row:last-child { border-bottom: none; }
.seller-row:hover { background: rgba(45,78,161,0.04); }
.seller-row.head { background: var(--sae-bg-alt); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sae-text-muted); padding: 14px 24px; }
.seller-row.head:hover { background: var(--sae-bg-alt); }
.seller-model { font-weight: 700; color: var(--sae-blue); font-size: 15px; }
.seller-cell { font-size: 14px; color: var(--sae-text-body); }
.seller-note { font-size: 13px; color: var(--sae-text-muted); font-style: italic; }

/* ───── Coverage / countries ───── */
.coverage { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.cov { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 14px; padding: 22px; }
.cov-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.cov-name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.cov-count { font-size: 24px; font-weight: 800; color: var(--sae-sky); letter-spacing: -0.01em; }
.cov-list { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,0.65); margin: 0; }
.cov-list .x { color: rgba(255,255,255,0.35); margin: 0 6px; }

/* ───── Coverage map ───── */
.cm-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 460;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(143,215,248,0.08), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(230,57,70,0.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  margin-bottom: 48px;
  overflow: visible;
}
.cm-svg { width: 100%; height: 100%; display: block; }
.cm-grid line { stroke: rgba(255,255,255,0.06); stroke-width: 0.5; stroke-dasharray: 2 4; }
/* Country fills */
.cm-c {
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 0.22s ease, stroke 0.22s ease, filter 0.22s ease;
}
.cm-c.base {
  fill: rgba(143,215,248,0.055);
  stroke: rgba(143,215,248,0.18);
  stroke-width: 0.4;
  pointer-events: none;
}
.cm-c.rhd {
  fill: rgba(143,215,248,0.55);
  stroke: rgba(143,215,248,0.85);
  stroke-width: 0.5;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.7s ease, fill 0.22s ease, stroke 0.22s ease;
}
.cm-c.rhd.on { opacity: 1; }
.cm-c.rhd:hover,
.cm-c.rhd.is-hover {
  fill: #fff;
  stroke: #fff;
  stroke-width: 0.8;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.55));
}
.cm-c.rhd.is-origin {
  fill: #E63946;
  stroke: rgba(255,255,255,0.7);
  stroke-width: 0.6;
}
.cm-c.rhd.is-origin:hover,
.cm-c.rhd.is-origin.is-hover {
  fill: #ff5566;
  stroke: #fff;
  filter: drop-shadow(0 0 8px rgba(230,57,70,0.7));
}

/* Pulse on Japan */
.cm-origin { transform-box: fill-box; pointer-events: none; }
.cm-pulse { fill: url(#cm-pulse-grad); transform-origin: center; transform-box: fill-box; animation: cmPulse 2.4s ease-out infinite; }
.cm-pulse.cm-pulse-2 { animation-delay: 1.2s; }
.cm-origin-dot { fill: #E63946; stroke: #fff; stroke-width: 0.9; }
@keyframes cmPulse {
  0%   { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Flag pins (tiny territories) */
.cm-flag-pin {
  cursor: pointer;
  transform-box: fill-box;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.cm-flag-pin.on { opacity: 1; }
.cm-pin-stem { stroke: rgba(255,255,255,0.7); stroke-width: 0.8; }
.cm-pin-disc-bg { fill: rgba(11,18,40,0.9); }
.cm-pin-disc-ring { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 0.7; transition: stroke 0.18s ease, stroke-width 0.18s ease; }
.cm-pin-base { fill: #8FD7F8; }
.cm-flag-pin:hover .cm-pin-disc-ring,
.cm-flag-pin.is-hover .cm-pin-disc-ring { stroke: #fff; stroke-width: 1.2; }
.cm-flag-pin:hover .cm-pin-base,
.cm-flag-pin.is-hover .cm-pin-base { fill: #fff; }

/* Loading state */
.cm-loading {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(143,215,248,0.55);
}

/* Connection arc */
.cm-arc-g path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: cmArc 0.9s ease-out forwards; opacity: 0.85; }
@keyframes cmArc {
  0%   { stroke-dashoffset: 600; opacity: 0; }
  20%  { opacity: 0.85; }
  100% { stroke-dashoffset: 0; opacity: 0.85; }
}

/* Tooltip */
.cm-tip {
  position: absolute;
  transform: translate(-50%, calc(-100% - 18px));
  background: rgba(11,18,40,0.96);
  border: 1px solid rgba(143,215,248,0.30);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 180px;
  max-width: 240px;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 5;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(6px);
}
.cm-tip.on { opacity: 1; }
.cm-tip.flip { transform: translate(-50%, 18px); }
.cm-tip::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  width: 12px; height: 12px;
  background: rgba(11,18,40,0.96);
  border-right: 1px solid rgba(143,215,248,0.30);
  border-bottom: 1px solid rgba(143,215,248,0.30);
  transform: translateX(-50%) rotate(45deg);
}
.cm-tip.flip::after {
  bottom: auto; top: -7px;
  border-right: none; border-bottom: none;
  border-left: 1px solid rgba(143,215,248,0.30);
  border-top: 1px solid rgba(143,215,248,0.30);
}
.cm-tip-row { display: flex; gap: 12px; align-items: flex-start; }
.cm-tip-flag { width: 28px; height: 20px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 2px 6px rgba(0,0,0,0.35); flex-shrink: 0; margin-top: 2px; }
.cm-tip-name { font-size: 14px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.2; display: flex; align-items: center; gap: 8px; }
.cm-tip-tag { font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(230,57,70,0.18); color: #ff7785; padding: 2px 6px; border-radius: 4px; }
.cm-tip-jp { font-family: var(--font-jp); font-size: 11px; color: rgba(143,215,248,0.85); margin-top: 2px; letter-spacing: 0.02em; }
.cm-tip-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.10); }
.cm-tip-meta > div { display: flex; flex-direction: column; gap: 2px; }
.cm-tip-label { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.cm-tip-val { font-size: 13px; font-weight: 600; color: #fff; }

/* Legend */
.cm-legend {
  position: absolute;
  left: 18px; bottom: 16px;
  background: rgba(11,18,40,0.62);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.cm-legend-row { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; font-weight: 600; }
.cm-legend-row:last-of-type { margin-bottom: 0; }
.cm-legend-swatch { width: 14px; height: 10px; border-radius: 2px; background: rgba(143,215,248,0.55); border: 1px solid rgba(143,215,248,0.85); flex-shrink: 0; }
.cm-legend-swatch.origin { background: #E63946; border-color: rgba(255,255,255,0.6); }
.cm-legend-hint { font-size: 10px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(255,255,255,0.40); margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 720px) {
  .cm-legend { font-size: 11px; padding: 10px 12px; left: 10px; bottom: 10px; }
  .cm-tip { min-width: 150px; padding: 10px 12px; }
  .cm-tip-name { font-size: 13px; }
}

/* ───── Contact ───── */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
.contact-info h3 { font-size: 24px; color: var(--sae-blue); margin: 0 0 6px; }
.contact-info .jp-name { font-family: var(--font-jp); color: var(--sae-text-muted); margin-bottom: 22px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--sae-border); }
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ic { width: 40px; height: 40px; flex-shrink: 0; background: rgba(45,78,161,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--sae-blue); }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row .l { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sae-text-muted); margin-bottom: 3px; }
.contact-row .v { font-size: 14px; color: #1a1a2e; font-weight: 500; line-height: 1.5; }
.contact-row .v a { color: var(--sae-blue); }

/* ── Google Maps button ── */
.gmaps-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  background: #fff; border: 1.5px solid var(--sae-input-border);
  border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: #1a1a2e;
  text-decoration: none; letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gmaps-btn:hover {
  border-color: #1A73E8;
  color: #1A73E8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,115,232,0.18);
}
.gmaps-btn svg:last-child { transition: transform 0.2s var(--ease); opacity: 0.6; }
.gmaps-btn:hover svg:last-child { transform: translateX(2px); opacity: 1; }

/* ── WhatsApp button ── */
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  background: #fff; border: 1.5px solid var(--sae-input-border);
  border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: #1a1a2e;
  text-decoration: none; letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.wa-btn:hover {
  border-color: #25D366;
  color: #128C45;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.20);
}
.wa-btn svg:last-child { transition: transform 0.2s var(--ease); opacity: 0.6; }
.wa-btn:hover svg:last-child { transform: translateX(2px); opacity: 1; }

.form { background: var(--sae-card-bg); border: 1px solid var(--sae-border); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: #444; margin-bottom: 8px; text-transform: uppercase; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--sae-input-border); border-radius: 6px; font-family: inherit; font-size: 14px; color: #1a1a2e; background: #fff; transition: all 0.2s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--sae-blue); box-shadow: 0 0 0 3px rgba(45,78,161,0.10); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-success { background: rgba(45,161,78,0.08); border: 1px solid rgba(45,161,78,0.3); color: #1f6b3c; padding: 14px 16px; border-radius: 10px; font-size: 14px; }

/* ───── Footer ───── */
.footer { background: var(--sae-deep-navy); color: rgba(255,255,255,0.75); padding: 64px 0 24px; position: relative; overflow: hidden; }
.footer::before { content:""; position: absolute; right: -10%; top: -50%; width: 60%; height: 200%; background: linear-gradient(135deg, transparent 50%, rgba(143,215,248,0.05) 50%); pointer-events: none; }
.footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.10); margin-bottom: 22px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand img { height: 38px; background: #fff; border-radius: 50px; padding: 6px 12px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.18); }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 320px; margin: 0; }
.footer h4 { font-size: 11px; color: #fff; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.65); cursor: pointer; transition: color 0.15s; }
.footer li:hover { color: var(--sae-sky); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 8px; padding-top: 6px; }

/* ════════════════════════════════════════════════════
   VISA PAGE
   ════════════════════════════════════════════════════ */

/* ── Smaller hero ── */
.subhero { background: var(--sae-grad-hero); color:#fff; position: relative; overflow: hidden; padding: 88px 0 96px; }
.subhero::before { content:""; position:absolute; inset:0; background: var(--sae-polygon-overlay); pointer-events:none; }
.subhero .container { position: relative; z-index: 2; }
.subhero .breadcrumb { display:inline-flex; align-items:center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.subhero .breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.15s; }
.subhero .breadcrumb a:hover { color: var(--sae-sky); }
.subhero .breadcrumb .sep { opacity: 0.5; }
.subhero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; color: #fff; max-width: 820px; }
.subhero h1 .jp { display:block; font-family: var(--font-jp); font-weight: 900; font-size: 0.42em; color: var(--sae-sky); letter-spacing: 0.04em; margin-top: 12px; opacity: 0.95; }
.subhero p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0; }

/* ── 6-step visa flow ── */
.visa-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; counter-reset: vf; }
@media (max-width: 1080px) { .visa-flow { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
@media (max-width: 640px)  { .visa-flow { grid-template-columns: 1fr 1fr; } }
.vf { padding: 32px 20px 28px; text-align: center; position: relative; border-right: 1px dashed var(--sae-border); transition: background 0.3s; }
.vf:last-child { border-right: none; }
@media (max-width: 1080px) { .vf { border-right: none; } }
.vf:hover { background: rgba(45,78,161,0.03); }
.vf-circle { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: rgba(45,78,161,0.10); border: 2px solid var(--sae-blue); display: flex; align-items: center; justify-content: center; color: var(--sae-blue); position: relative; transition: all 0.3s var(--ease); }
.vf-circle svg { width: 28px; height: 28px; }
.vf-circle::after { counter-increment: vf; content: counter(vf); position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--sae-red); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(214,40,43,0.35); }
.vf:hover .vf-circle { background: var(--sae-blue); color: #fff; transform: scale(1.06); }
.vf-t { font-size: 15px; font-weight: 700; color: var(--sae-blue); margin: 0 0 6px; line-height: 1.3; }
.vf-d { font-size: 12.5px; line-height: 1.6; color: var(--sae-text-body); margin: 0; }

/* connector arrows between steps (desktop only) */
.vf::before { content:""; position: absolute; top: 56px; right: -8px; width: 16px; height: 16px; border-top: 2px solid var(--sae-light-blue); border-right: 2px solid var(--sae-light-blue); transform: rotate(45deg); opacity: 0.5; }
.vf:last-child::before { display: none; }
@media (max-width: 1080px) { .vf::before { display: none; } }

/* ── Documents — two panels ── */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 920px) { .docs-grid { grid-template-columns: 1fr; } }
.docs-panel { background: #fff; border: 1px solid var(--sae-border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.docs-head { padding: 18px 24px; color:#fff; font-size: 15px; font-weight: 700; letter-spacing: 0.03em; display:flex; align-items:center; gap:10px; }
.docs-head.jp { background: linear-gradient(120deg, var(--sae-deep-navy) 0%, var(--sae-blue) 100%); }
.docs-head.dealer { background: linear-gradient(120deg, var(--sae-blue) 0%, var(--sae-light-blue) 100%); }
.docs-head .badge { font-size: 11px; padding: 3px 10px; border-radius: 50px; background: rgba(255,255,255,0.18); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.docs-body { padding: 8px 0; }
.doc { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--sae-border); transition: background 0.15s; }
.doc:last-child { border-bottom: none; }
.doc:hover { background: var(--sae-bg-alt); }
.doc-ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(45,78,161,0.08); color: var(--sae-blue); display:flex; align-items:center; justify-content:center; }
.doc-ic svg { width: 22px; height: 22px; }
.doc-t { font-size: 15px; font-weight: 700; color: #1a1a2e; margin: 0 0 3px; }
.doc-d { font-size: 12.5px; color: var(--sae-text-muted); line-height: 1.5; margin: 0; }
.doc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sae-blue); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 12px; border: 1.5px solid rgba(45,78,161,0.25); border-radius: 6px; transition: all 0.2s; }
.doc-link:hover { background: var(--sae-blue); color: #fff; border-color: var(--sae-blue); }
.doc-link svg { width: 12px; height: 12px; }
@media (max-width: 540px) {
  .doc { grid-template-columns: 1fr; gap: 10px; }
  .doc-link { justify-self: start; }
}

/* ── Key facts grid (4 callouts) ── */
.fact-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .fact-grid { grid-template-columns: 1fr; } }
.fact { background: var(--sae-card-bg); border: 1px solid var(--sae-border); border-radius: 14px; padding: 22px; position: relative; overflow: hidden; transition: all 0.25s var(--ease); }
.fact:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.fact .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(45,78,161,0.10); color: var(--sae-blue); display:flex; align-items:center; justify-content:center; margin-bottom: 12px; }
.fact .ic svg { width: 22px; height: 22px; }
.fact .t { font-size: 13px; font-weight: 700; color: var(--sae-blue); letter-spacing: 0.04em; margin: 0 0 6px; text-transform: uppercase; }
.fact .d { font-size: 13px; line-height: 1.6; color: var(--sae-text-body); margin: 0; }
.fact.warn .ic { background: rgba(214,40,43,0.10); color: var(--sae-red); }
.fact.warn .t { color: var(--sae-red); }

/* ── Infographic frame ── */
.infographic-frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--sae-border); background: #fff; }
.infographic-frame img { display:block; width: 100%; height: auto; }
.infographic-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 22px; background: var(--sae-bg-alt); border-top: 1px solid var(--sae-border); font-size: 12.5px; color: var(--sae-text-muted); }

/* ── CTA strip ── */
.visa-cta { background: linear-gradient(120deg, var(--sae-deep-navy) 0%, var(--sae-blue) 100%); border-radius: 18px; padding: 40px 44px; color: #fff; display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
@media (max-width: 760px) { .visa-cta { grid-template-columns: 1fr; padding: 28px; } }
.visa-cta::after { content:""; position:absolute; inset:0; background: var(--sae-polygon-overlay); pointer-events:none; }
.visa-cta > * { position: relative; z-index: 1; }
.visa-cta h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin: 0 0 10px; color: #fff; line-height: 1.25; }
.visa-cta p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.82); margin: 0; }
.visa-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .visa-cta .actions { justify-content: flex-start; } }

/* ───── Tagline strip ───── */
.tagline-strip { background: var(--sae-blue); color: #fff; padding: 24px 0; }
.tagline-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tagline-strip .t { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tagline-strip .t .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--sae-sky); }
.tagline-strip .t .jp { font-family: var(--font-jp); letter-spacing: 0.04em; }

/* ══════════════════════════════════════════
   MOBILE / RESPONSIVE
   ══════════════════════════════════════════ */

/* ── Top bar: collapse on small screens ── */
@media (max-width: 640px) {
  .top-bar .item:first-child { display: none; }
  .top-bar .lang { display: none; }
  .top-bar .container { gap: 10px; flex-wrap: wrap; }
  .top-bar .item { font-size: 11px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ── Nav: hamburger button ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sae-blue);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger span.rot1 { transform: translateY(7px) rotate(45deg); }
.nav-burger span.hide { opacity: 0; transform: scaleX(0); }
.nav-burger span.rot2 { transform: translateY(-7px) rotate(-45deg); }

/* Explicit desktop hide — belt-and-suspenders */
@media (min-width: 1281px) {
  .nav-burger { display: none !important; }
  .nav-links  { display: flex !important; }
}

@media (max-width: 1280px) {
  .nav { height: auto; min-height: 64px; }
  .nav .container { height: 64px; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-links { display: none; }
}

/* ── Mobile nav drawer ── */
.nav-mobile {
  background: #fff;
  border-top: 1px solid var(--sae-border);
  padding: 8px 0 16px;
  display: flex;
  flex-direction: column;
}
.nav-mobile-link {
  font-size: 15px;
  font-weight: 600;
  color: #2a2a3a;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(45,78,161,0.06);
  display: block;
  transition: color 0.15s, background 0.15s;
}
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--sae-blue); background: rgba(45,78,161,0.04); }
.nav-mobile-cta { padding: 12px 20px 0; }
.nav-mobile-cta .btn { width: 100%; justify-content: center; }

/* ── Section padding ── */
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .sec-sub { margin-bottom: 32px; font-size: 15px; max-width: 100%; }
  .tl-d { max-width: 100%; }
}

/* ── Hero ── */
@media (max-width: 620px) {
  .hero { padding: 52px 0 64px; min-height: unset; }
  .hero-map { max-height: 280px; overflow: hidden; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
}

/* ── Ship list visual cap on tablet ── */
@media (max-width: 880px) {
  .ship-visual { max-height: 320px; }
}

/* ── Workflow: 2 cols on mid screens ── */
@media (max-width: 880px) and (min-width: 541px) {
  .workflow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .workflow { grid-template-columns: 1fr; }
}

/* ── Seller table: stack rows on mobile ── */
@media (max-width: 640px) {
  .seller-row.head { display: none; }
  .seller-row,
  .seller-row[style] { grid-template-columns: 1fr !important; gap: 4px; padding: 14px 16px; }
  .seller-model { padding-bottom: 6px; border-bottom: 1px solid var(--sae-border); margin-bottom: 2px; }
}

/* ── Form: single column ── */
@media (max-width: 600px) {
  .form { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ── Footer: single column on phones ── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 44px 0 20px; }
}

/* ── Timeline on small screens ── */
@media (max-width: 580px) {
  .timeline { padding-left: 40px; }
  .tl-row::before { left: -36px; }
  .tl-t { font-size: 18px; }
  .tl-d { font-size: 14px; }
}

/* ── Coverage: handled by auto-fill above ── */

/* ── Contact action buttons full width on phones ── */
@media (max-width: 480px) {
  .gmaps-btn, .wa-btn { width: 100%; justify-content: center; }
}

/* ── Tagline strip: stack on phones ── */
@media (max-width: 580px) {
  .tagline-strip .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tagline-strip .t { font-size: 13px; }
}
