/* ===================================================================
   Northcat Logistics — styles
   Palette: steel blue + bright blue accent (Theme 05 "Steel Blue")
   =================================================================== */

:root {
  --blue-900: #1e293b;
  --blue-800: #273549;
  --blue-700: #334155;
  --blue-600: #475569;
  --blue-500: #64748b;
  --blue-100: #e9edf2;
  --blue-050: #f4f6f9;

  --accent-600: #2563eb;
  --accent-500: #3b82f6;
  --accent-400: #60a5fa;

  --ink-900: #131a24;
  --ink-700: #2b3745;
  --ink-500: #566374;
  --ink-300: #8a97a6;

  --paper: #ffffff;
  --paper-2: #f5f7fa;
  --line: #e3e9f0;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(30, 41, 59, .08), 0 1px 2px rgba(30, 41, 59, .04);
  --shadow-md: 0 10px 30px rgba(30, 41, 59, .10);
  --shadow-lg: 0 24px 60px rgba(30, 41, 59, .16);

  --container: 1160px;
  --header-h: 74px;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Manrope", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); line-height: 1.15; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: linear-gradient(160deg, var(--blue-900), var(--blue-800)); color: #d9ebe1; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-lead { color: var(--ink-500); font-size: 1.08rem; }
.section-head-light h2 { color: #fff; }
.section-head-light .section-lead { color: #b9d4c6; }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--accent-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 1.03rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-800); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(150deg, var(--blue-600), var(--blue-800));
  color: #fff; box-shadow: var(--shadow-sm); flex: none; overflow: hidden;
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-text strong { font-size: 1.18rem; color: var(--ink-900); letter-spacing: -.01em; }
.brand-text em {
  font-style: normal; font-size: .72rem; text-transform: uppercase; color: var(--blue-600); font-weight: 600;
  display: flex; justify-content: space-between; /* spread letters to match "Northcat" width */
}
.brand-text em > span { display: block; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--ink-700);
  padding: 9px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--blue-700); background: var(--blue-050); }
.nav-login { margin-left: 8px; padding: 9px 20px; font-size: .96rem; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; padding: 10px;
}
.nav-toggle span { height: 2.5px; width: 100%; background: var(--ink-900); border-radius: 3px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(59,130,246,.30), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(96,165,250,.18), transparent 55%),
    linear-gradient(155deg, #0f172a 0%, #1e293b 45%, #273549 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero-inner { max-width: 780px; color: #eaf5ee; }

.hero .eyebrow { color: var(--accent-400); }
.hero-stats strong { white-space: nowrap; }

/* ---------- Welding spark burst on the hero eyebrow ---------- */
.eyebrow-weld { position: relative; display: inline-block; }
.weld {
  position: absolute; top: -2px; right: -6px; width: 0; height: 0;
  pointer-events: none;
}
/* the bright arc glow at the emitter corner */
.weld-arc {
  position: absolute; top: 0; right: 0; width: 26px; height: 26px;
  background: #ffffff;
  /* sharp, stylized 4-point sparkle (no blur) */
  clip-path: polygon(50% 0%, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0% 50%, 43% 43%);
  /* one flash on load, then gone */
  animation: weld-arc 1s ease-out .05s 1 both;
  will-change: opacity, transform;
}
@keyframes weld-arc {
  0%   { opacity: 0;  transform: translate(6px,-4px) scale(.2)  rotate(0deg); }
  12%  { opacity: 1;  transform: translate(6px,-4px) scale(2)   rotate(35deg); }
  40%  { opacity: .8; transform: translate(6px,-4px) scale(1.1) rotate(80deg); }
  100% { opacity: 0;  transform: translate(6px,-4px) scale(.5)  rotate(150deg); }
}
/* individual sparks: fly out of the corner, arc up, then fall + fade */
.weld .spark {
  position: absolute; top: 0; right: 0; width: 11px; height: 11px;
  background: #eaf3ff; opacity: 0;
  /* sharp sparkle / crystal shape (no blur) */
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
  /* single explosion on load, then gone */
  animation: weld-burst var(--dur, 1.2s) var(--delay, 0s) cubic-bezier(.15,.6,.35,1) 1 both;
  will-change: transform, opacity;
}
/* warm (hot-metal) sparks mixed in with the blue-white ones */
.weld .spark:nth-of-type(even) { background: #ffd9a1; }
.weld .spark:nth-of-type(1)  { --dx:  84px; --dy: -34px; --dur: 1.15s; --delay: .02s; }
.weld .spark:nth-of-type(2)  { --dx: 122px; --dy:  12px; --dur: 1.30s; --delay: 0s;   }
.weld .spark:nth-of-type(3)  { --dx: 104px; --dy:  64px; --dur: 1.25s; --delay: .05s; }
.weld .spark:nth-of-type(4)  { --dx:  62px; --dy: 116px; --dur: 1.40s; --delay: .04s; }
.weld .spark:nth-of-type(5)  { --dx:  12px; --dy: 134px; --dur: 1.35s; --delay: .08s; }
.weld .spark:nth-of-type(6)  { --dx: -52px; --dy: 112px; --dur: 1.35s; --delay: .03s; }
.weld .spark:nth-of-type(7)  { --dx: -94px; --dy:  62px; --dur: 1.30s; --delay: .06s; }
.weld .spark:nth-of-type(8)  { --dx:-116px; --dy:   4px; --dur: 1.25s; --delay: 0s;   }
.weld .spark:nth-of-type(9)  { --dx: -82px; --dy: -40px; --dur: 1.15s; --delay: .07s; }
.weld .spark:nth-of-type(10) { --dx: -32px; --dy: -74px; --dur: 1.10s; --delay: .05s; }
.weld .spark:nth-of-type(11) { --dx:  42px; --dy: -82px; --dur: 1.10s; --delay: .02s; }
.weld .spark:nth-of-type(12) { --dx: 148px; --dy:  46px; --dur: 1.45s; --delay: .09s; }
.weld .spark:nth-of-type(13) { --dx:-136px; --dy:  88px; --dur: 1.45s; --delay: .08s; }
.weld .spark:nth-of-type(14) { --dx:  22px; --dy: 158px; --dur: 1.55s; --delay: .10s; }
@keyframes weld-burst {
  0%   { transform: translate(0,0) rotate(0deg) scale(.2); opacity: 0; }
  10%  { opacity: 1; transform: translate(calc(var(--dx) * .18), calc(var(--dy) * .18)) rotate(90deg) scale(1.2); }
  70%  { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(300deg) scale(.35); opacity: 0; }
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; letter-spacing: -.02em;
  margin-bottom: 22px; font-weight: 800;
}
.hero-title span { color: var(--accent-400); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #c8ded2; max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1; }
.hero-stats span { font-size: .9rem; color: #a9c6b8; margin-top: 6px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px;
  background: #fff; transform: translateX(-50%); animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; transform: translate(-50%, 12px); } }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
/* accent stroke that animates across the base (left to right) once as the
   card reveals, then stays. Uses a keyframe (reliable here) rather than a
   transition; the resting state on .in keeps it visible under reduced motion. */
.card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--accent-500), transparent);
  transform: scaleX(0); transform-origin: left; opacity: 0;
}
.card.in::after {
  transform: scaleX(1); opacity: .9;
  animation: card-line .9s ease .1s;
}
@keyframes card-line {
  0%   { transform: scaleX(0); opacity: 0; }
  12%  { opacity: .9; }
  100% { transform: scaleX(1); opacity: .9; }
}
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue-700); margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; }
.cards.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card h3:last-child { margin-bottom: 0; }
.card p { color: var(--ink-500); font-size: .98rem; }
.section-head.tight { margin-bottom: 0; }
.section-follow { margin-top: 72px; }
.tick-list.split { grid-template-columns: 1fr 1fr; column-gap: 36px; max-width: 860px; margin-left: auto; margin-right: auto; }
.removals-cta { text-align: center; margin-top: 36px; }

/* Editable placeholder (Environment Agency reg. no., etc.) */
.ea-reg {
  font-style: normal; font-weight: 600; color: var(--blue-700);
  background: var(--blue-050); padding: 1px 7px; border-radius: 6px;
  border: 1px dashed var(--blue-100); white-space: nowrap;
}
.footer-bottom .ea-reg { color: var(--accent-400); background: rgba(96,165,250,.10); border-color: rgba(96,165,250,.30); }

/* ---------- Live prices ---------- */
.prices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.price-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.price-metal { display: flex; align-items: center; gap: 10px; }
.price-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(0,0,0,.03); }
.price-metal h3 { font-size: 1.12rem; }
.price-metal .price-sym { font-size: .76rem; color: var(--ink-300); font-family: var(--font-head); letter-spacing: .08em; }
.price-change {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.price-change.up { color: var(--blue-700); background: var(--blue-050); }
.price-change.down { color: #9b2226; background: #fdecec; }
.price-change.flat { color: var(--ink-500); background: var(--paper-2); }
.price-value { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--ink-900); line-height: 1.1; }
.price-unit { font-size: .82rem; color: var(--ink-300); font-weight: 500; margin-left: 4px; }
.price-spark { margin-top: 16px; width: 100%; height: 56px; display: block; overflow: visible; }
.price-card.is-loading { position: relative; min-height: 168px; }
.price-card.is-loading::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(100deg, transparent 20%, rgba(59,130,246,.06) 40%, transparent 60%);
  background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.prices-meta {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 20px;
  font-size: .86rem; color: var(--ink-500);
}
.prices-meta #pricesStatus { font-weight: 600; }
.prices-disclaimer { color: var(--ink-300); }
.prices-note { text-align: center; color: var(--ink-500); }
.prices-badge { font-family: var(--font-head); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-600); background: rgba(37,99,235,.12); padding: 2px 8px; border-radius: 6px; margin-left: 6px; }

/* ---------- Transparency / unit tracking ---------- */
.reports-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.reports-copy .tick-list { margin: 0 0 28px; }
.trace-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 20px; box-shadow: var(--shadow-md); margin: 0;
}
.trace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.trace-id { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink-900); }
.trace-badge {
  font-family: var(--font-head); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-600); background: rgba(37,99,235,.10); padding: 3px 10px; border-radius: 999px;
}
.trace-metric { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.trace-value { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink-900); line-height: 1; }
.trace-delta { font-family: var(--font-head); font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.trace-delta.up { color: var(--accent-600); background: rgba(37,99,235,.10); }
.trace-delta.down { color: #9b2226; background: #fdecec; }
.trace-chart { width: 100%; height: auto; display: block; }
.trace-chart .tc-grid { stroke: var(--line); stroke-width: 1; }
.trace-chart .tc-area { fill: rgba(37,99,235,.10); }
.trace-chart .tc-line { fill: none; stroke: var(--accent-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.trace-chart .tc-dot { fill: #fff; stroke: var(--accent-600); stroke-width: 2; }
.trace-chart .tc-dot.is-last { fill: var(--accent-600); }
.trace-chart .tc-label { fill: var(--ink-300); font-family: var(--font-head); font-size: 12px; text-anchor: middle; }
.trace-foot { margin-top: 12px; font-size: .84rem; color: var(--ink-500); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about-media {
  position: relative; min-height: 420px; border-radius: var(--radius);
  background-color: var(--blue-800);
  background-image:
    radial-gradient(600px 300px at 30% 20%, rgba(96,165,250,.28), transparent 60%),
    linear-gradient(150deg, var(--blue-700), var(--blue-900));
  background-size: auto, auto;
  background-position: center, center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.about-badge {
  position: absolute; left: 26px; bottom: 26px; background: rgba(255,255,255,.95);
  padding: 18px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; line-height: 1.1;
}
.about-badge strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--blue-800); }
.about-badge span { color: var(--ink-500); font-size: .9rem; }

.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.about-copy p { color: var(--ink-500); margin-bottom: 16px; }
.tick-list { margin: 22px 0 28px; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; font-weight: 500; color: var(--ink-700); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(150deg, var(--accent-500), var(--accent-600)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: .96rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -14px; width: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}

/* ---------- Why us features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(4px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(96,165,250,.45); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(96,165,250,.18); color: var(--accent-400); margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: #b9d4c6; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }

.contact-list { margin: 30px 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue-700);
}
.contact-ic svg { width: 24px; height: 24px; }
.contact-list strong { font-family: var(--font-head); color: var(--ink-900); display: block; margin-bottom: 2px; }
.contact-list p { color: var(--ink-500); font-size: .98rem; }
.contact-list a { color: var(--blue-700); font-weight: 600; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); flex: 1 1 auto; min-height: 260px; margin-top: auto; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper-2); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(59,130,246,.16);
}
.form-note { margin-top: 14px; font-size: .84rem; color: var(--ink-300); text-align: center; }

.field .opt { font-weight: 400; color: var(--ink-300); font-size: .82em; }
.field-hint { margin-top: 6px; font-size: .82rem; color: var(--ink-300); }

/* Honeypot — visually hidden but present in the DOM for bots */
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.field-human { max-width: 220px; }
.field-human strong { color: var(--blue-700); }

.consent {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px;
  font-size: .9rem; color: var(--ink-500); cursor: pointer;
}
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-600); flex: none; }

.form-status {
  margin-top: 14px; font-size: .92rem; text-align: center; min-height: 1.2em;
  border-radius: var(--radius-sm); padding: 0; transition: padding .2s ease;
}
.form-status.is-success { color: var(--blue-800); background: var(--blue-050); border: 1px solid var(--blue-100); padding: 12px 14px; }
.form-status.is-error { color: #9b2226; background: #fdecec; border: 1px solid #f6c9c9; padding: 12px 14px; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #b8c7bf; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1.7fr 1fr 1.1fr; gap: 40px; padding: 66px 24px 46px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text em { color: var(--accent-400); }
.footer-brand p { margin-top: 16px; font-size: .95rem; max-width: 320px; color: #93a89f; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .95rem; color: #93a89f; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-400); }
.footer-col address { font-style: normal; font-size: .95rem; line-height: 1.8; color: #93a89f; }
.footer-col address a { color: var(--accent-400); }
.footer-legal { margin-top: 14px; font-size: .95rem; line-height: 1.8; color: #93a89f; }
.footer-buys {
  --fb-line: 30px;
  height: calc(var(--fb-line) * 4); /* show exactly 4 lines */
  overflow: hidden;
}
.fb-track { display: flex; flex-direction: column; animation: fb-vslide 9s ease-in-out infinite; }
.footer-buys:hover .fb-track { animation-play-state: paused; }
.fb-item {
  height: var(--fb-line); line-height: var(--fb-line);
  font-size: .95rem; color: #93a89f; white-space: nowrap;
}
/* 12 items = 3 pages of 4; hold, slide to next 4, hold, loop (page 3 == page 1) */
@keyframes fb-vslide {
  0%, 30%   { transform: translateY(0); }
  36%, 64%  { transform: translateY(-33.333%); }
  70%, 100% { transform: translateY(-66.666%); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-buys { height: auto; overflow: visible; }
  .fb-track { animation: none; }
  .fb-item[aria-hidden="true"] { display: none; }
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { font-size: .85rem; color: #7c928a; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Why-us: customer-portal preview ---------- */
.why-portal { max-width: 560px; margin: 4px auto 0; }
.portal-window {
  background: var(--paper); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.42);
}
.portal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--blue-050); border-bottom: 1px solid var(--line);
}
.pw-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.pw-dot:nth-child(1) { background: #f87171; }
.pw-dot:nth-child(2) { background: #fbbf24; }
.pw-dot:nth-child(3) { background: #34d399; }
.portal-title { margin-left: 8px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--ink-500); letter-spacing: .04em; }

.portal-body { padding: 20px 22px 22px; }
.portal-unit { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.pu-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-300); margin-bottom: 2px; }
.pu-code { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink-900); letter-spacing: .02em; }
.pu-price { text-align: right; }
.pu-price strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink-900); }
.pu-delta { display: block; font-size: .8rem; font-weight: 600; color: var(--accent-600); }

.portal-chart { position: relative; }
.portal-chart svg { width: 100%; height: auto; display: block; }
.pc-grid line { stroke: var(--line); stroke-width: 1; }
.pc-metal { fill: none; stroke: var(--ink-300); stroke-width: 2; stroke-dasharray: 4 5; stroke-linecap: round; opacity: .5; }
.pc-area { opacity: 1; }
.pc-line { fill: none; stroke: var(--accent-500); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.pc-dots circle { fill: #fff; stroke: var(--accent-500); stroke-width: 2.5; opacity: 1; transform-box: fill-box; transform-origin: center; }

.pc-axis { display: flex; justify-content: space-between; padding: 6px 2px 0; }
.pc-axis span { font-size: .68rem; color: var(--ink-300); }

.portal-legend { display: flex; gap: 22px; margin-top: 14px; }
.pl-item { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-500); }
.pl-swatch { width: 16px; height: 4px; border-radius: 2px; flex: none; }
.pl-unit { background: var(--accent-500); }
.pl-metal { background: var(--ink-300); }
.portal-note { text-align: center; color: #b9d4c6; font-size: .86rem; margin-top: 18px; }

/* Draw the chart in once it scrolls into view (base state above stays visible if animations are off) */
.why-portal.in .pc-line { animation: pc-draw 1.6s ease; }
.why-portal.in .pc-area { animation: pc-fade .8s ease .7s backwards; }
.why-portal.in .pc-metal { animation: pc-fade-metal .8s ease .3s backwards; }
.why-portal.in .pc-dots circle { animation: pc-pop .5s ease backwards; }
.why-portal.in .pc-dots circle:nth-child(1) { animation-delay: .20s; }
.why-portal.in .pc-dots circle:nth-child(2) { animation-delay: .45s; }
.why-portal.in .pc-dots circle:nth-child(3) { animation-delay: .70s; }
.why-portal.in .pc-dots circle:nth-child(4) { animation-delay: .95s; }
.why-portal.in .pc-dots circle:nth-child(5) { animation-delay: 1.20s; }
.why-portal.in .pc-dots circle:nth-child(6) { animation-delay: 1.45s; }

@keyframes pc-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes pc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pc-fade-metal { from { opacity: 0; } to { opacity: .5; } }
@keyframes pc-pop { 0% { opacity: 0; transform: scale(0); } 60% { transform: scale(1.25); } 100% { opacity: 1; transform: none; } }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .reports-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .cards.cards-3, .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { min-height: 300px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
    padding: 16px 20px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    visibility: hidden;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .nav-link { padding: 13px 14px; border-radius: var(--radius-sm); }
  .nav-login { margin: 8px 0 0; width: 100%; justify-content: center; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .container { padding: 0 18px; }
  .cards, .cards.cards-3, .steps, .features, .prices-grid { grid-template-columns: 1fr; }
  .tick-list.split { grid-template-columns: 1fr; }
  .hero-stats strong { white-space: normal; }
  .step:not(:last-child)::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 1.6rem; }
  .hero-actions { gap: 10px; }
  .btn-lg { padding: 14px 24px; }
  .contact-form { padding: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; }
  .footer-bottom .container { flex-direction: column; }
}

@media (max-width: 380px) {
  .hero-actions .btn { width: 100%; }
}
