/* =====================================================================
   ICYPEED — Component & section styles (hero, tracking, calculator, etc.)
   ===================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 76px)); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(1100px 620px at 78% -8%, var(--ice-050) 0%, rgba(232,247,254,0) 60%),
  radial-gradient(760px 520px at 6% 108%, #FFF2F2 0%, rgba(255,242,242,0) 55%),
  var(--surface); }
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 72%); }

.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
@media (max-width: 940px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-copy .display { margin: 20px 0 22px; }
.hero-copy .lead { max-width: 46ch; }

.hero-trackbar {
  margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 7px 7px 22px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-md); max-width: 480px;
}
.hero-trackbar svg.pin { width: 20px; height: 20px; color: var(--ice-deep); flex: none; }
.hero-trackbar input { flex: 1; border: none; background: none; font: inherit; font-size: 1rem; color: var(--ink); padding: 10px 0; min-width: 0; }
.hero-trackbar input::placeholder { color: var(--muted); }
.hero-trackbar .btn { padding: 12px 22px; }
@media (max-width: 420px) { .hero-trackbar .btn span { display: none; } .hero-trackbar .btn { padding: 12px 14px; } }

.hero-cta-row { display: flex; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta .stat .num { font-size: clamp(1.7rem, 2.5vw, 2.2rem); }
.hero-meta .divider { width: 1px; height: 40px; background: var(--line-2); }

/* Hero route visual */
.hero-visual { position: relative; }
.route-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--sh-lg); overflow: hidden;
}
.route-card::after { content: ""; position: absolute; inset: 0; background: var(--grad-ice-soft); opacity: .5; z-index: 0; }
.route-card > * { position: relative; z-index: 1; }
.route-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.route-head .badge { background: #fff; }
.route-svg { width: 100%; height: auto; }
.route-legend { display: flex; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.route-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-soft); font-weight: 500; }
.route-legend .dot { width: 10px; height: 10px; border-radius: 50%; }

/* Floating parcel chips over the route */
.chip-float {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 15px; display: flex; align-items: center; gap: 9px; box-shadow: var(--sh-md); font-size: .84rem; font-weight: 600; color: var(--ink);
}
.chip-float svg { width: 17px; height: 17px; }
.chip-float.c1 { top: 6%; left: -4%; }
.chip-float.c2 { bottom: 12%; right: -6%; }
.chip-float .ok { color: var(--go); }
@media (max-width: 520px) { .chip-float { display: none; } }

/* ---------- Cinematic full-bleed hero (home) ---------- */
.hero--cinematic {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + clamp(30px, 5vw, 60px));
  padding-bottom: clamp(90px, 12vw, 150px); color: #fff;
}
.hero-cine-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background-size: cover; background-position: 60% center; }
.hero-cine-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(5,13,28,.95) 0%, rgba(6,16,34,.9) 33%, rgba(7,20,42,.72) 52%, rgba(8,28,58,.28) 72%, rgba(9,38,74,.05) 100%),
    linear-gradient(0deg, rgba(5,12,26,.6) 0%, rgba(5,12,26,0) 34%);
}
/* subtle red glow accent bottom-left for red/blue coordination */
.hero-cine-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(460px 340px at 2% 108%, rgba(255,29,37,.22), transparent 70%);
}
.hero-cine-inner { position: relative; z-index: 2; max-width: 660px; }
.hero--cinematic .display { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.15rem); line-height: 1.02; margin: 20px 0 20px; text-shadow: 0 2px 12px rgba(3,10,22,.4); }
.hero--cinematic .lead { color: #E3ECF5; max-width: 50ch; text-shadow: 0 1px 10px rgba(3,10,22,.45); }
.hero--cinematic .text-grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: #37C6F4; -webkit-text-fill-color: #37C6F4; text-shadow: none; }

.badge-hero { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(8px); }
.badge-hero .tick { background: var(--red); box-shadow: 0 0 0 4px rgba(255,29,37,.25); }

.btn-glass { background: rgba(255,255,255,.13); color: #fff; border: 1.5px solid rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }
.btn-glass svg { transition: transform .35s var(--ease); }
.btn-glass:hover svg { transform: translateX(3px); }

.hero-cine-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 12px 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; color: #C9D6E6; font-weight: 500; font-size: .95rem; }
.hero-trust svg { width: 19px; height: 19px; color: var(--ice-bright); flex: none; }

/* track card at the top of the hero content */
.hero-trackcard {
  width: 100%; max-width: 640px; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 15px 15px 15px 22px; display: flex; align-items: center; gap: 15px;
}
.hero-trackcard .tc-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-ice); color: #fff; display: grid; place-items: center; flex: none; }
.hero-trackcard .tc-icon svg { width: 23px; height: 23px; }
.hero-trackcard .tc-copy { flex: none; }
.hero-trackcard .tc-copy b { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.1; color: var(--ink); }
.hero-trackcard .tc-copy span { font-size: .82rem; color: var(--muted); }
.hero-trackcard input { flex: 1; min-width: 0; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 13px 18px; font: inherit; font-size: .97rem; color: var(--ink); background: var(--frost); transition: border-color .25s, box-shadow .25s; }
.hero-trackcard input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 4px var(--ice-050); background: #fff; }
.hero-trackcard .btn { flex: none; }
@media (max-width: 720px) {
  .hero-trackcard { flex-wrap: wrap; padding: 15px; gap: 12px; }
  .hero-trackcard .tc-copy { flex: 1; }
  .hero-trackcard input { flex: 1 1 100%; order: 3; }
  .hero-trackcard .btn { order: 4; }
}

/* ---------- Logo marquee ---------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { display: flex; gap: 60px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee a, .marquee span { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--muted); opacity: .72; letter-spacing: -.02em; white-space: nowrap; transition: color .3s, opacity .3s; text-decoration: none; }
.marquee a:hover, .marquee span:hover { color: var(--ice-deep); opacity: 1; }
.marquee a { display: inline-flex; align-items: center; gap: 11px; opacity: .95; }
.marquee a img { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; background: #fff; box-shadow: 0 1px 5px rgba(16,51,84,.14); padding: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---------- How it works / steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 20px; }
.step .step-num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 20px; }
.step:nth-child(1) .step-num { background: var(--grad-ice); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }
.step .connector { position: absolute; top: 43px; left: 58px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 14px); }
.step:last-child .connector { display: none; }
@media (max-width: 900px) { .step .connector { display: none; } }

/* ---------- Tracking timeline ---------- */
.track-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.track-topbar { background: var(--grad-ink); color: #fff; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.track-topbar .tnum { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.track-topbar .tstatus { display: inline-flex; align-items: center; gap: 9px; background: rgba(23,178,106,.16); color: #6EE7A8; border: 1px solid rgba(23,178,106,.35); padding: 7px 15px; border-radius: var(--r-pill); font-weight: 600; font-size: .86rem; }
.track-topbar .tstatus .pulse { width: 9px; height: 9px; border-radius: 50%; background: #17B26A; box-shadow: 0 0 0 0 rgba(23,178,106,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(23,178,106,0); } 100% { box-shadow: 0 0 0 0 rgba(23,178,106,0); } }
.track-body { padding: clamp(22px, 3vw, 38px); }
.timeline { position: relative; padding-left: 8px; }
.tl-item { position: relative; padding: 0 0 30px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: -4px; width: 2px; background: var(--line-2); }
.tl-item:last-child::before { display: none; }
.tl-dot { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; }
.tl-item.done .tl-dot { background: var(--go); border-color: var(--go); }
.tl-item.done .tl-dot svg { width: 11px; height: 11px; color: #fff; }
.tl-item.done::before { background: var(--go); }
.tl-item.current .tl-dot { background: var(--ice); border-color: var(--ice); box-shadow: 0 0 0 5px var(--ice-100); }
.tl-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin-bottom: 3px; }
.tl-item .tl-meta { font-size: .85rem; color: var(--muted); }
.tl-item.current h4 { color: var(--ice-deep); }

/* ---------- Rates calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: #fff; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc-form { padding: clamp(24px, 3vw, 38px); }
.calc-result { background: var(--grad-ink); color: #fff; padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-result::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,192,250,.28), transparent 70%); top: -80px; right: -60px; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 9px; color: var(--ink); }
.seg { display: grid; grid-auto-flow: column; gap: 6px; background: var(--frost); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; }
.seg button { padding: 10px 8px; border-radius: var(--r-pill); font-weight: 600; font-size: .92rem; color: var(--muted); transition: .25s; }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
select.input, input.input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .25s, box-shadow .25s; }
select.input:focus, input.input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 4px var(--ice-050); }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type=range] { flex: 1; accent-color: var(--ice); height: 6px; }
.range-val { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; min-width: 76px; text-align: right; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { display: none; }
.switch .track { width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .25s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform .25s var(--ease); }
.switch input:checked + .track { background: var(--ice); }
.switch input:checked + .track::after { transform: translateX(20px); }
.calc-result .r-label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #8FD4F5; font-weight: 600; }
.calc-result .r-price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; margin: 10px 0 6px; }
.calc-result .r-price .cur { font-size: 1.6rem; vertical-align: super; color: var(--cyan); }
.calc-result .r-sub { color: #A9BDD4; font-size: .92rem; }
.calc-result .r-line { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.calc-result .r-line span:first-child { color: #A9BDD4; }
.calc-result .r-lines { margin: 22px 0; }
.calc-result .btn { margin-top: 6px; }
.r-disclaimer { font-size: .78rem; color: #7C93AE; margin-top: 14px; }

/* ---------- Coverage / routes ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; } }
.lane { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lane:last-child { border-bottom: none; }
.lane .flag { font-size: 1.9rem; line-height: 1; flex: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.1)); }
.lane h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.lane .arrow-to { color: var(--ice); }
.lane p { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.lane .lane-meta { display: flex; gap: 20px; margin-top: 10px; flex-wrap: wrap; }
.lane .lane-meta b { font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; }
.lane .lane-meta small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Feature split ---------- */
.feature-list { display: grid; gap: 22px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi-icon { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--ice-050); color: var(--ice-deep); border: 1px solid var(--ice-100); }
.feature-item .fi-icon svg { width: 22px; height: 22px; }
.feature-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.feature-item p { color: var(--muted); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--sh-sm); height: 100%; display: flex; flex-direction: column; }
.tcard .stars { display: flex; gap: 3px; color: #FFB020; margin-bottom: 16px; }
.tcard .stars svg { width: 18px; height: 18px; }
.tcard blockquote { font-size: 1.06rem; line-height: 1.6; color: var(--ink); flex: 1; font-weight: 450; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--grad-ice); }
.tcard .who b { display: block; font-size: .96rem; }
.tcard .who span { color: var(--muted); font-size: .84rem; }

/* ---------- App band ---------- */
.app-band { background: var(--grad-ink); color: #fff; border-radius: var(--r-xl); padding: clamp(34px, 5vw, 64px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
@media (max-width: 820px) { .app-band { grid-template-columns: 1fr; } }
.app-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,192,250,.3), transparent 68%); top: -140px; right: -80px; }
.app-band > * { position: relative; }
.app-band h2 { color: #fff; }
.app-band p { color: #A9BDD4; margin: 14px 0 26px; max-width: 44ch; }
.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; background: #fff; color: var(--ink); padding: 12px 20px; border-radius: 14px; font-weight: 600; transition: transform .3s var(--ease); }
.store-btn:hover { transform: translateY(-3px); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn small { display: block; font-size: .68rem; color: var(--muted); font-weight: 500; }
.store-btn b { display: block; font-size: 1rem; font-family: var(--font-display); }
.phone-mock { justify-self: center; }
.phone-mock img { display: block; width: clamp(220px, 24vw, 300px); max-width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.35)); }
@media (max-width: 820px) { .phone-mock img { width: min(260px, 72vw); margin-inline: auto; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--grad-red); border-radius: var(--r-xl); padding: clamp(38px, 5vw, 72px); text-align: center; overflow: hidden; color: #fff; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-band::before { width: 320px; height: 320px; top: -160px; left: -80px; }
.cta-band::after { width: 260px; height: 260px; bottom: -150px; right: -60px; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 16px auto 30px; max-width: 52ch; }
.cta-band .btn-white { background: #fff; color: var(--red-deep); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.cta-band .btn-white:hover svg { transform: translateX(4px); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink); }
.acc-head .ico { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line-2); transition: .3s var(--ease); }
.acc-head .ico svg { width: 16px; height: 16px; color: var(--ice-deep); transition: transform .35s var(--ease); }
.acc-item.open .acc-head .ico { background: var(--grad-ice); border-color: transparent; }
.acc-item.open .acc-head .ico svg { color: #fff; transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body-inner { padding: 0 0 24px; color: var(--muted); max-width: 68ch; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(46px, 7vw, 86px)); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero .hero-bg { background: radial-gradient(900px 480px at 80% -20%, var(--ice-050), transparent 60%), var(--frost); }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ice-deep); }
.breadcrumb svg { width: 14px; height: 14px; }
.page-hero .display, .page-hero .h1 { max-width: 18ch; }
.page-hero .lead { max-width: 54ch; margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-method { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-method:last-child { border-bottom: none; }
.contact-method .cm-icon { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--ice-050); color: var(--ice-deep); border: 1px solid var(--ice-100); }
.contact-method .cm-icon svg { width: 23px; height: 23px; }
.contact-method h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin-bottom: 3px; }
.contact-method p, .contact-method a { color: var(--muted); font-size: .95rem; }
.contact-method a:hover { color: var(--ice-deep); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 42px); box-shadow: var(--sh-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-card .field label { color: var(--ink); }
textarea.input { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); font: inherit; font-size: .98rem; resize: vertical; min-height: 130px; background: #fff; transition: border-color .25s, box-shadow .25s; }
textarea.input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 4px var(--ice-050); }

/* ---------- Values / about ---------- */
.value-card { text-align: left; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.value-card .vc-num { font-family: var(--font-display); font-weight: 700; color: var(--ice); font-size: 1rem; }
.value-card h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.value-card p { color: var(--muted); font-size: .95rem; }

.about-timeline { position: relative; margin-top: 20px; }
.at-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .at-item { grid-template-columns: 1fr; gap: 6px; } }
.at-item .at-year { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ice-deep); }
.at-item h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 5px; }
.at-item p { color: var(--muted); font-size: .95rem; }

/* Utility spacing */
.mt-40 { margin-top: 40px; } .mt-24 { margin-top: 24px; } .mb-0 { margin-bottom: 0; }

/* ---------- Promotions ---------- */
.promo-empty { grid-column: 1 / -1; text-align: center; padding: clamp(36px, 6vw, 70px) 20px; background: var(--frost); border: 1px dashed var(--line-2); border-radius: var(--r-xl); }
.promo-empty h3 { font-size: 1.4rem; margin-bottom: 10px; }
.promo-empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 22px; }
.media-card .media .tag { text-transform: uppercase; letter-spacing: .04em; }

/* home promo banner strip */
.promo-banner { padding: 14px 0; background: var(--grad-ink); color: #fff; }
.promo-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.promo-strip-text { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo-strip-text b { font-weight: 700; }
.promo-strip-text span { color: #A9BDD4; font-size: .94rem; }
.promo-pill { background: var(--red); color: #fff; font-weight: 700; font-size: .74rem; letter-spacing: .04em; padding: 5px 11px; border-radius: var(--r-pill); }
.promo-banner .btn { padding: 10px 20px; }

/* ---------- Shipping Addresses page ---------- */
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
@media (max-width: 820px) { .addr-grid { grid-template-columns: 1fr; } }
.addr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--sh-md); position: relative; overflow: hidden; scroll-margin-top: 100px;
  transition: box-shadow .4s var(--ease), border-color .4s;
}
.addr-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-ice); }
.addr-card.uk::before { background: linear-gradient(90deg, #00A8E6, #015EEA); }
.addr-card.sa::before { background: linear-gradient(90deg, #17B26A, #0E8F52); }
.addr-card.is-target { border-color: var(--ice); box-shadow: var(--sh-lg); }
.addr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.addr-flag { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.addr-flag .fl { font-size: 1.5rem; }
.addr-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.1; }
.addr-days { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 22px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--frost); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.addr-days svg { width: 15px; height: 15px; color: var(--ice-deep); }
.addr-card.sa .addr-days svg { color: var(--go); }
.addr-lines { display: flex; flex-direction: column; }
.addr-lines li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
.addr-lines li:last-child { border-bottom: none; }
.addr-lines .ac { width: 22px; height: 22px; border-radius: 7px; background: var(--go); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.addr-lines .ac svg { width: 13px; height: 13px; }
.addr-yourname { background: var(--ice-050); border: 1px dashed #9AD8F5; border-radius: 12px; padding: 12px 14px !important; margin-bottom: 8px; border-bottom: 1px dashed #9AD8F5 !important; }
.addr-yourname .ac { background: var(--ice); }
.addr-yourname b { display: block; color: var(--ink); }
.addr-yourname small { color: var(--ice-deep); font-weight: 600; }
.addr-actions { display: flex; gap: 10px; margin-top: 22px; }
.addr-actions .btn { flex: 1; }
.copy-btn.copied { background: var(--go) !important; }
.copy-btn.copied .copy-default { display: none; }
.copy-btn .copy-done { display: none; }
.copy-btn.copied .copy-done { display: inline; }

/* ---------- Auth pages (Sign in / Create account) ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } }
.auth-aside { position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside .auth-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.auth-aside .auth-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(6,17,36,.93), rgba(8,38,76,.78)); }
@media (max-width: 860px) { .auth-aside { min-height: 220px; padding: 90px 28px 34px; } .auth-aside .auth-perks { display: none; } }
.auth-aside .brand-logo--white { display: block; height: 40px; }
.auth-aside .brand-logo--color { display: none; }
.auth-aside h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 26px 0 14px; }
.auth-aside p { color: #C6D4E4; max-width: 40ch; }
.auth-perks { margin-top: 30px; display: grid; gap: 14px; }
.auth-perks .pill-check { color: #DCE7F2; }
.auth-perks .pill-check svg { color: #37C6F4; }
.auth-quote { margin-top: 30px; font-size: .92rem; color: #A9BDD4; border-left: 2px solid var(--ice); padding-left: 14px; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: calc(var(--nav-h) + 30px) var(--gutter) 50px; background: var(--frost); }
.auth-card { width: 100%; max-width: 430px; }
.auth-card h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.auth-card > p.sub { color: var(--muted); margin: 10px 0 30px; }
.auth-card .field label { color: var(--ink); }
.auth-row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; font-size: .9rem; }
.auth-row-between a { color: var(--ice-deep); font-weight: 600; }
.auth-alt { text-align: center; margin-top: 24px; color: var(--muted); font-size: .95rem; }
.auth-alt a { color: var(--ice-deep); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted); font-size: .84rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-note { margin-top: 20px; font-size: .8rem; color: var(--muted); text-align: center; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; font-size: .88rem; color: var(--ink-soft); }
.checkbox-row input { margin-top: 3px; accent-color: var(--ice); width: 16px; height: 16px; flex: none; }

/* =====================================================================
   "ICY" CHATBOT
   ===================================================================== */
.icy-chat { position: fixed; right: 22px; bottom: 22px; z-index: 200; font-family: var(--font-body); }

/* CRITICAL: when closed, the panel/teaser must be fully gone — otherwise the
   invisible panel (100vw x 100dvh on mobile) sits over the page and eats all taps. */
.icy-chat .cb-panel[hidden], .icy-chat .cb-teaser[hidden] { display: none !important; pointer-events: none !important; }

/* Launcher */
.cb-launcher {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  background: var(--grad-ice); color: #fff; box-shadow: var(--sh-ice);
  display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s;
}
.cb-launcher:hover { transform: translateY(-3px) scale(1.04); }
.cb-launcher .cb-launcher-ic { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s, transform .35s var(--ease); }
.cb-launcher .cb-launcher-ic svg { width: 27px; height: 27px; }
.cb-ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.cb-launcher.is-open .cb-ic-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.cb-launcher.is-open .cb-ic-close { opacity: 1; transform: none; }
.cb-launcher.is-open { background: var(--ink); }
.cb-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff; box-shadow: var(--sh-sm);
}
.cb-launcher::after { /* subtle pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(0,168,230,.5);
  animation: cbPulse 2.6s infinite;
}
.cb-launcher.is-open::after { animation: none; }
@keyframes cbPulse { 0% { box-shadow: 0 0 0 0 rgba(0,168,230,.45); } 70% { box-shadow: 0 0 0 16px rgba(0,168,230,0); } 100% { box-shadow: 0 0 0 0 rgba(0,168,230,0); } }
@media (prefers-reduced-motion: reduce) { .cb-launcher::after { animation: none; } }

/* Proactive teaser */
.cb-teaser {
  position: absolute; bottom: 78px; right: 0; width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 6px var(--r-lg);
  box-shadow: var(--sh-lg); padding: 16px 16px 16px 16px; display: flex; gap: 12px; align-items: flex-start;
  cursor: pointer; transform: translateY(14px) scale(.96); opacity: 0; transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cb-teaser.is-in { opacity: 1; transform: none; }
.cb-teaser:hover { border-color: var(--ice-100); box-shadow: 0 24px 54px rgba(16,51,84,.2); }
.cb-teaser-av { width: 40px; height: 40px; flex: none; }
.cb-teaser-av svg { width: 40px; height: 40px; }
.cb-teaser p { font-size: .9rem; line-height: 1.45; color: var(--ink-soft); }
.cb-teaser p b { color: var(--ink); }
.cb-teaser-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--frost); }
.cb-teaser-x svg { width: 13px; height: 13px; }
.cb-teaser-x:hover { background: var(--line-2); color: var(--ink); }

/* Panel */
.cb-panel {
  position: fixed; right: 22px; bottom: 96px; width: 386px; max-width: calc(100vw - 44px);
  height: min(608px, calc(100vh - 130px)); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; display: flex; flex-direction: column;
  transform: translateY(24px) scale(.97); opacity: 0; transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cb-panel.is-in { opacity: 1; transform: none; }

.cb-header { background: var(--grad-ink); color: #fff; padding: 16px 16px 16px 18px; display: flex; align-items: center; gap: 12px; }
.cb-h-av { position: relative; width: 42px; height: 42px; flex: none; }
.cb-h-av svg { width: 42px; height: 42px; }
.cb-h-av .cb-dot { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #17B26A; border: 2px solid #0d2137; }
.cb-h-meta { flex: 1; min-width: 0; }
.cb-h-meta b { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.1; }
.cb-status { font-size: .78rem; color: #8FD4F5; display: flex; align-items: center; gap: 6px; }
.cb-min { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #cfe0f2; }
.cb-min:hover { background: rgba(255,255,255,.12); color: #fff; }
.cb-min svg { width: 18px; height: 18px; }

.cb-body { flex: 1; overflow-y: auto; padding: 20px 16px 8px; background: var(--frost); display: flex; flex-direction: column; gap: 12px; }
.cb-body::-webkit-scrollbar { width: 7px; } .cb-body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }

.cb-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 90%; animation: cbIn .35s var(--ease); }
@keyframes cbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cb-msg-av { width: 28px; height: 28px; flex: none; align-self: flex-start; }
.cb-msg-av svg { width: 28px; height: 28px; }
.cb-bubble { padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; }
.cb-bot { align-self: flex-start; }
.cb-bot .cb-bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.cb-bot .cb-bubble b { color: var(--ice-deep); }
.cb-user { align-self: flex-end; }
.cb-user .cb-bubble { background: var(--grad-ice); color: #fff; border-bottom-right-radius: 5px; }

.cb-actions { display: flex; flex-direction: column; gap: 7px; margin-top: 11px; }
.cb-action {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill); background: var(--ice-050); color: var(--ice-deep);
  font-weight: 600; font-size: .86rem; border: 1px solid var(--ice-100); transition: background .2s, transform .2s;
}
.cb-action:hover { background: var(--ice-100); transform: translateX(2px); }
.cb-action svg { width: 15px; height: 15px; }

.cb-typing .cb-bubble { padding: 14px 16px; }
.cb-dots { display: inline-flex; gap: 4px; }
.cb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: cbBlink 1.3s infinite; }
.cb-dots i:nth-child(2) { animation-delay: .2s; } .cb-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes cbBlink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.cb-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 6px 14px 12px; background: var(--frost); }
.cb-chip { padding: 8px 13px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); color: var(--ink-soft); font-size: .84rem; font-weight: 500; transition: .2s; }
.cb-chip:hover { border-color: var(--ice); color: var(--ice-deep); background: var(--ice-050); }

.cb-inputbar { display: flex; align-items: center; gap: 8px; padding: 12px 12px; border-top: 1px solid var(--line); background: #fff; }
.cb-inputbar input { flex: 1; min-width: 0; border: 1.5px solid var(--line-2); border-radius: var(--r-pill); padding: 11px 16px; font: inherit; font-size: .92rem; color: var(--ink); }
.cb-inputbar input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px var(--ice-050); }
.cb-send { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--grad-ice); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-sm); transition: transform .2s; }
.cb-send:hover { transform: scale(1.06); }
.cb-send svg { width: 19px; height: 19px; }
.cb-foot { text-align: center; font-size: .72rem; color: var(--muted); padding: 8px; background: #fff; border-top: 1px solid var(--line); }
.cb-foot a { color: var(--ice-deep); font-weight: 600; }

@media (max-width: 480px) {
  .icy-chat { right: 16px; bottom: 16px; }
  .cb-panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; border-radius: 0; border: none; }
  .cb-teaser { width: min(300px, calc(100vw - 32px)); }
}

/* =====================================================================
   IMAGE-FORWARD COMPONENTS
   ===================================================================== */

/* ---------- Photographic hero ---------- */
.hero-media { position: relative; }
.photo-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); aspect-ratio: 4 / 4.6; background: var(--frost-2);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,47,0) 55%, rgba(10,26,47,.34) 100%); }
.photo-frame.tilt { transform: perspective(1200px) rotateY(-4deg) rotateX(1.5deg); }

.hero-inset {
  position: absolute; bottom: -26px; left: -34px; width: 44%; max-width: 210px;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg);
  border: 5px solid #fff; aspect-ratio: 4/3; z-index: 3;
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 520px) { .hero-inset { display: none; } }

/* stat card overlay on hero photo */
.hero-statcard {
  position: absolute; top: 22px; right: -18px; z-index: 3;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px;
}
.hero-statcard .ring { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-ice); color: #fff; flex: none; }
.hero-statcard .ring svg { width: 20px; height: 20px; }
.hero-statcard b { font-family: var(--font-display); font-size: 1.15rem; display: block; line-height: 1; }
.hero-statcard span { font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) { .hero-statcard { right: 8px; top: 8px; padding: 10px 12px; } .hero-statcard span { display: none; } }

/* ---------- Media (image-top) cards ---------- */
.media-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.media-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.media-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.media-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media-card:hover .media img { transform: scale(1.06); }
.media-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,26,47,0) 60%, rgba(10,26,47,.28)); }
.media-card .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--ink); font-size: .78rem; font-weight: 600;
}
.media-card .tag svg { width: 15px; height: 15px; color: var(--ice-deep); }
.media-card .body { padding: clamp(22px, 2.6vw, 28px); display: flex; flex-direction: column; flex: 1; }
.media-card .body h3 { font-size: 1.24rem; margin-bottom: 9px; }
.media-card .body p { color: var(--muted); font-size: .96rem; flex: 1; }
.media-card .body .link-arrow { margin-top: 16px; }

/* ---------- Full-bleed image band ---------- */
.img-band {
  position: relative; padding: clamp(72px, 11vw, 150px) 0; color: #fff; overflow: hidden;
  background-size: cover; background-position: center;
}
.img-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,36,.92) 0%, rgba(8,20,36,.72) 45%, rgba(8,20,36,.42) 100%); }
.img-band .container { position: relative; z-index: 1; }
.img-band h2, .img-band h3 { color: #fff; }
.img-band p { color: #C6D4E4; }
.img-band .eyebrow { color: var(--ice-bright); }
.img-band-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 760px) { .img-band-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }
.img-band-stats .stat .num { color: #fff; } .img-band-stats .stat .label { color: #9FB4CC; }
.img-band-stats .stat .num .unit { color: var(--ice-bright); }
@media (min-width: 900px) { .img-band.parallax { background-attachment: fixed; } }

/* ---------- Split media (image + content) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media-col { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media-col { order: 0; } }
.split-media-col { position: relative; }
.split-img { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 5 / 4; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--sh-md); display: flex; align-items: center; gap: 12px;
}
.split-badge .ico { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-ice); color: #fff; display: grid; place-items: center; flex: none; }
.split-badge .ico svg { width: 20px; height: 20px; }
.split-badge b { font-family: var(--font-display); display: block; font-size: 1.05rem; line-height: 1; }
.split-badge span { font-size: .8rem; color: var(--muted); }

/* small round image thumbs (lanes) */
.lane-thumb { width: 74px; height: 74px; border-radius: 16px; object-fit: cover; flex: none; box-shadow: var(--sh-sm); }

/* ---------- Interior page hero with photo ---------- */
.page-hero--photo { color: #fff; padding-bottom: clamp(52px, 7vw, 96px); }
.page-hero--photo .hero-bg { z-index: -2; background-size: cover; background-position: center; }
.page-hero--photo .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,20,36,.94) 0%, rgba(8,20,36,.74) 50%, rgba(8,20,36,.5) 100%); }
.page-hero--photo h1, .page-hero--photo .display { color: #fff; }
.page-hero--photo .lead { color: #C6D4E4; }
.page-hero--photo .breadcrumb { color: #9FB4CC; }
.page-hero--photo .breadcrumb a:hover { color: #fff; }
.page-hero--photo .eyebrow { color: var(--ice-bright); }
.page-hero--photo .text-grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: #37C6F4; -webkit-text-fill-color: #37C6F4; }
.page-hero--photo .link-arrow { color: var(--ice-bright); }
.page-hero--photo .badge { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.24); }
.page-hero--photo .display, .page-hero--photo h1 { text-shadow: 0 2px 12px rgba(3,10,22,.4); }

/* Brighter, home-style overlay for heroes whose subject sits on the right of a light image */
body[data-page="services"] .page-hero--photo .hero-bg::after,
body[data-page="rates"] .page-hero--photo .hero-bg::after,
body[data-page="contact"] .page-hero--photo .hero-bg::after,
body[data-page="about"] .page-hero--photo .hero-bg::after {
  background: linear-gradient(100deg, rgba(5,13,28,.95) 0%, rgba(6,16,34,.9) 38%, rgba(7,20,42,.66) 58%, rgba(8,28,58,.22) 77%, rgba(9,38,74,.03) 100%);
}

/* ---------- Mobile: people-photo heroes ----------
   On phones the wide hero images crop to an awkward middle slice that cuts
   the person. Re-frame the photo on the subject and use a vertical scrim
   (darker at the top for the headline, lighter below so the person shows). */
@media (max-width: 720px) {
  body[data-page="services"] .page-hero--photo .hero-bg,
  body[data-page="rates"] .page-hero--photo .hero-bg,
  body[data-page="contact"] .page-hero--photo .hero-bg {
    background-position: 74% center;
  }
  body[data-page="services"] .page-hero--photo .hero-bg::after,
  body[data-page="rates"] .page-hero--photo .hero-bg::after,
  body[data-page="contact"] .page-hero--photo .hero-bg::after {
    background: linear-gradient(180deg, rgba(6,15,32,.9) 0%, rgba(6,15,32,.74) 55%, rgba(6,15,32,.5) 100%);
  }
  /* home hero: keep the branded truck (right of image) in frame on phones */
  body[data-page="home"] .hero-cine-bg { background-position: 68% center; }
  body[data-page="home"] .hero-cine-bg::after {
    background: linear-gradient(180deg, rgba(5,13,28,.9) 0%, rgba(6,16,34,.72) 55%, rgba(7,20,42,.55) 100%);
  }
}

/* CTA band with photo */
.cta-band.photo { background: var(--ink); }
.cta-band.photo .cta-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.cta-band.photo::before { background: rgba(255,255,255,.08); }
.cta-band.photo > * { position: relative; }

img.rounded { border-radius: var(--r-lg); }
.aspect-wide { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* ---- Tracking: status pill states + not-found ---- */
.track-topbar .tstatus.is-alert { background: rgba(255,29,37,.16); color: #FF8A8F; border-color: rgba(255,29,37,.4); }
.track-topbar .tstatus.is-alert .pulse { background: #FF1D25; box-shadow: 0 0 0 0 rgba(255,29,37,.6); }
.track-notfound { background:#fff; border:1px solid rgba(10,26,47,.1); border-radius:20px; padding:50px 32px; text-align:center; box-shadow:0 20px 44px rgba(10,26,47,.08); }
.track-notfound .tnf-icon { width:66px; height:66px; margin:0 auto 20px; border-radius:50%; display:grid; place-items:center; background:#FFF1F1; color:var(--red); }
.track-notfound .tnf-icon svg { width:30px; height:30px; }
.track-notfound h3 { font-family:var(--font-display); font-size:1.5rem; margin-bottom:12px; color:var(--ink); }
.track-notfound p { color:var(--muted); max-width:470px; margin:0 auto; line-height:1.65; }

/* =====================================================================
   DASHBOARD (demo portal)
   ===================================================================== */
.dash-intro { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; padding: calc(var(--nav-h) + 46px) 0 54px; }
.dash-intro-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 85% -10%, rgba(0,192,250,.28), transparent 55%), radial-gradient(circle at 5% 120%, rgba(255,29,37,.14), transparent 50%); }
.dash-intro .container { position: relative; z-index: 1; }
.dash-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dash-intro h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.dash-sub { color: #AFC4DC; font-size: 1.05rem; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; max-width: 620px; }
.dstat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 18px 20px; backdrop-filter: blur(6px); }
.dstat-n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.dstat-l { color: #AFC4DC; font-size: .86rem; margin-top: 6px; }
@media (max-width: 560px) { .dash-stats { grid-template-columns: 1fr 1fr; } .dstat-n { font-size: 1.6rem; } }

.dash-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .dash-actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .dash-actions { grid-template-columns: 1fr; } }
.dash-action { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.dash-action:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10,26,47,.1); border-color: transparent; }
.da-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-050, #E8F7FE); color: var(--ice-deep); }
.da-ic svg { width: 22px; height: 22px; }
.dash-action b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.dash-action small { color: var(--muted); font-size: .82rem; }

.dash-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.dash-sec-head h2 { margin: 0; }

.parcel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .parcel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .parcel-grid { grid-template-columns: 1fr; } }
.parcel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.parcel-card:hover { box-shadow: 0 18px 38px rgba(10,26,47,.1); transform: translateY(-2px); }
.pc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pc-tn { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: .01em; }
.pc-items { color: var(--muted); font-size: .88rem; margin-top: 2px; }
.pc-pill { flex: none; font-size: .72rem; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill); white-space: nowrap; }
.pc-pill--ready { background: rgba(23,178,106,.14); color: #0F9D58; }
.pc-pill--mid { background: rgba(0,168,230,.14); color: var(--ice-deep); }
.pc-route { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--ink-soft, #33465e); }
.pc-route svg { width: 18px; height: 18px; color: var(--ice-deep); flex: none; }
.pc-bar { height: 7px; background: #EDF2F7; border-radius: 99px; overflow: hidden; }
.pc-bar span { display: block; height: 100%; border-radius: 99px; background: var(--grad-ice, linear-gradient(90deg,#00C0FA,#015EEA)); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.pc-est { font-size: .86rem; font-weight: 600; color: var(--muted); }
.btn-sm { padding: 8px 14px; font-size: .86rem; }

.order-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
.order-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.order-table th { text-align: left; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.order-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft, #33465e); }
.order-table tr:last-child td { border-bottom: none; }
.order-table tr:hover td { background: #F8FBFE; }
.ot-tn { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.ot-route { white-space: nowrap; }
.ot-badge { font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(23,178,106,.14); color: #0F9D58; white-space: nowrap; }
.ot-link { font-weight: 700; color: var(--ice-deep); }
.ot-link:hover { text-decoration: underline; }
.dash-empty { background: #fff; border: 1px dashed var(--line-2, #cdd9e5); border-radius: var(--r-lg); padding: 40px; text-align: center; color: var(--muted); }
.dash-empty a { color: var(--ice-deep); font-weight: 700; }
