/* ==========================================================================
   JF Remapping
   Palette sampled from the logo: cyan #02C7FB → royal blue #025CFB on near-black.
   ========================================================================== */

:root {
  --bg: #05070b;
  --bg-2: #080c13;
  --surface: #0c111a;
  --surface-2: #111827;
  --surface-3: #162033;
  --line: rgba(150, 180, 225, 0.11);
  --line-strong: rgba(150, 180, 225, 0.22);
  --text: #eef3f9;
  --text-2: #aab6c6;
  --muted: #7c899b;

  --cyan: #02c7fb;
  --blue: #025cfb;
  --blue-mid: #0a84ff;
  --grad: linear-gradient(180deg, #02c7fb 0%, #025cfb 100%);
  --grad-h: linear-gradient(95deg, #02c7fb 0%, #2a8bff 55%, #025cfb 100%);
  --grad-btn: linear-gradient(180deg, #0d84ff 0%, #0254e0 100%);
  --glow: 0 10px 30px -10px rgba(2, 92, 251, 0.65);

  --plate: #f8c900;
  --plate-band: #0b3a9e;
  --danger: #ff7a7a;
  --success: #3ee0a4;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(2, 199, 251, 0.35); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ── Type ─────────────────────────────────────────────────────────────── */

h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 0.92; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 0.96; }
h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.01em; }
h4 { font-weight: 600; font-size: 1rem; }

.grad {
  background: var(--grad-h);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em; /* italic overhang */
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1rem;
  font: 600 0.78rem/1.3 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(2, 199, 251, 0.18); }
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 1.5rem; }
.center { text-align: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--cyan); font-weight: 600; font-size: 0.95rem;
}
.link-arrow .icon { transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: 600 0.98rem/1 var(--font);
  cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(2, 120, 251, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: #fff; background: rgba(2, 199, 251, 0.06); }
.btn-lg { min-height: 58px; padding: 0 1.75rem; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: 0.75; }
.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 7, 11, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand img { height: 40px; width: auto; }
.brand-word {
  font: italic 800 1.42rem/1 var(--font-display);
  text-transform: uppercase; letter-spacing: 0.02em; color: #fff;
}
.brand-word span { background: var(--grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }

.primary-nav { margin-left: auto; display: none; }
.primary-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.primary-nav a {
  position: relative; display: block; padding: 0.55rem 0.8rem;
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  border-radius: 8px; transition: color 0.2s;
}
.primary-nav a:hover { color: #fff; }
.primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.2rem; height: 2px;
  background: var(--grad-h); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.header-phone .icon { color: var(--cyan); }
.header-phone:hover { color: var(--cyan); }
.header-quote { display: none; }

.nav-toggle {
  display: grid; place-items: center; width: 46px; height: 46px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.98);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav ul { list-style: none; padding: 0.75rem 0; }
.mobile-nav li a { display: block; padding: 0.85rem 0; font: italic 700 1.6rem/1.1 var(--font-display); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobile-nav li a[aria-current="page"] { color: var(--cyan); }
.mobile-nav-actions { display: grid; gap: 0.75rem; padding: 0.75rem 0 1.75rem; }
.mobile-nav-email { text-align: center; color: var(--text-2); font-size: 0.95rem; padding-top: 0.25rem; }

@media (min-width: 640px) { .header-quote { display: inline-flex; } }
@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .header-actions { margin-left: 0.5rem; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* ── Hero (home) ──────────────────────────────────────────────────────── */

.hero {
  position: relative; isolation: isolate;
  min-height: min(880px, calc(100svh - var(--header-h)));
  display: flex; align-items: center;
  padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .page-hero-media picture { height: 100%; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-img { object-position: 70% 50%; }
.hero-media::after, .page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.96) 0%, rgba(5, 7, 11, 0.78) 42%, rgba(5, 7, 11, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 7, 11, 0) 35%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 20%, rgba(2, 92, 251, 0.22), transparent 70%);
}
.hero-inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy h1 { margin-bottom: 1.25rem; max-width: 12ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 36rem; margin-bottom: 2rem; }
.hero-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.25rem; }
.hero-call { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.hero-call .icon { color: var(--cyan); }
.hero-call:hover { color: var(--cyan); }

@media (min-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr); }
}

/* Journey card */
.journey {
  display: none;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.78), rgba(10, 14, 22, 0.78));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: 20px; padding: 28px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(2, 199, 251, 0.04) inset;
}
@media (min-width: 1000px) { .journey { display: block; } }
.journey-steps { list-style: none; display: grid; gap: 4px; margin-bottom: 22px; }
.journey-steps li {
  position: relative; display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 0.75rem; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 0.96rem;
}
.journey-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(0.75rem + 14px); top: calc(50% + 16px); width: 1px; height: calc(100% - 28px); background: var(--line-strong);
}
.journey-n {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-strong); font: italic 800 0.95rem/1 var(--font-display); color: var(--text-2);
}
.journey-steps .is-active { background: rgba(2, 199, 251, 0.08); color: #fff; }
.journey-steps .is-active .journey-n { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 18px rgba(2, 199, 251, 0.45); }
.journey-preview { display: grid; gap: 16px; padding: 20px; background: rgba(0, 0, 0, 0.28); border: 1px dashed var(--line-strong); border-radius: 14px; }
.skeleton-row { display: flex; align-items: center; gap: 12px; }
.sk { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.14), rgba(255,255,255,0.06)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.sk-plate { width: 74px; height: 22px; background-color: rgba(248, 201, 0, 0.5); border-radius: 4px; }
.sk-title { flex: 1; height: 14px; }
.preview-gain { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.preview-bars { display: grid; gap: 6px; }
.preview-bars i { display: block; height: 8px; border-radius: 4px; }
.pb-std { width: 68%; background: rgba(255, 255, 255, 0.16); }
.pb-tuned { width: 88%; background: var(--grad-h); opacity: 0.85; animation: grow 3.2s var(--ease) infinite alternate; transform-origin: left; }
.pb-tuned-2 { width: 92%; animation-delay: 0.4s; }
.journey-note { margin: 16px 0 0; font-size: 0.85rem; color: var(--muted); }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes grow { from { transform: scaleX(0.78); } to { transform: scaleX(1); } }

/* ── Vehicle lookup ───────────────────────────────────────────────────── */

.lookup { width: 100%; max-width: 640px; }
.lookup-label { display: block; margin-bottom: 0.7rem; font-weight: 600; font-size: 0.92rem; color: var(--text-2); }
.lookup-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .lookup-row { flex-direction: row; } }

.plate {
  flex: 1; display: flex; align-items: stretch; min-height: 58px;
  background: var(--plate); border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.75), 0 8px 24px -12px rgba(248, 201, 0, 0.5);
}
.plate-band {
  display: grid; place-items: center; width: 44px; flex: none;
  background: var(--plate-band); color: #fff; margin: 2px 0 2px 2px; border-radius: 8px 0 0 8px;
  font: 700 0.8rem/1 var(--font); letter-spacing: 0.04em;
}
.plate-input {
  width: 100%; min-width: 0; border: 0; background: transparent; outline: none;
  padding: 0 0.9rem; color: #111;
  font: 700 clamp(1.7rem, 4vw, 2.05rem)/1 var(--font-display);
  letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
.plate-input::placeholder { color: rgba(0, 0, 0, 0.32); }
.plate:focus-within { box-shadow: inset 0 0 0 2px #000, 0 0 0 3px var(--cyan), 0 8px 24px -12px rgba(248, 201, 0, 0.5); }
.lookup--hero .plate { min-height: 68px; }
.lookup--hero .lookup-btn { min-height: 68px; padding: 0 2rem; font-size: 1.08rem; }
.lookup-cta .lookup-btn { width: 100%; max-width: 420px; }
.lookup-cta .lookup-btn .icon { width: 20px; height: 20px; }
.lookup-cta-note { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted); }
.lookup-msg { min-height: 0; margin: 0.6rem 0 0; font-size: 0.9rem; color: var(--danger); }
.lookup-msg:empty { display: none; }
.lookup-result { margin-top: 1rem; }

/* Result card (shared by JS and PHP renderers) */
.result-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px);
  animation: rise 0.35s var(--ease);
}
.tool-panel .result-card { margin-top: 1rem; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.result-message { display: flex; gap: 0.85rem; align-items: flex-start; }
.result-message > .icon { width: 24px; height: 24px; color: var(--cyan); margin-top: 2px; }
.result--not_found .result-message > .icon, .result--error .result-message > .icon, .result--invalid .result-message > .icon, .result--rate_limited .result-message > .icon { color: var(--danger); }
.result-message p { margin: 0; color: var(--text-2); }
.result-plate {
  display: inline-block; margin-bottom: 0.6rem; padding: 0.25rem 0.6rem;
  background: var(--plate); color: #111; border-radius: 5px;
  font: 700 1.05rem/1.1 var(--font-display); letter-spacing: 0.08em;
}
.result-vehicle h3 { font-size: 1.8rem; font-style: italic; font-weight: 800; text-transform: uppercase; margin-bottom: 0.75rem; }
.result-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0 0 1.25rem; }
.result-specs div { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.75rem; }
.result-specs dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.result-specs dd { margin: 0; font-weight: 600; }
.result-stage { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.result-stage h4 { margin-bottom: 0.85rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.gain + .gain { margin-top: 1rem; }
.gain-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; font-size: 0.92rem; color: var(--text-2); }
.gain-head strong { font: italic 800 1.5rem/1 var(--font-display); color: #fff; }
.gain-head small { font-size: 0.9rem; color: var(--cyan); }
.gain-bars { display: grid; gap: 6px; }
.gain-bar { position: relative; height: 26px; width: var(--w); border-radius: 6px; animation: bar 0.9s var(--ease) both; transform-origin: left; }
.gain-bar span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.gain-bar.is-original { background: rgba(255, 255, 255, 0.12); }
.gain-bar.is-tuned { background: var(--grad-h); }
@keyframes bar { from { transform: scaleX(0.05); } }
.result-note { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.25rem; }
.result-actions .btn { flex: 1 1 220px; }

/* RemappingWebsite.com widget (check-your-vehicle, widget mode) */
.page-hero--compact { min-height: 0; padding-bottom: clamp(28px, 4vw, 44px); }
.page-hero--compact .breadcrumbs { margin-bottom: clamp(24px, 4vw, 44px); }
.widget-section { position: relative; margin-top: -8px; padding-bottom: clamp(40px, 6vw, 72px); }
.widget-panel {
  padding: clamp(14px, 3vw, 32px); border-radius: 20px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
#vehicle-lookup-container { min-height: 220px; }
/* The widget's title relies on Bootstrap's .mb-0, which this site doesn't load,
   so the browser's default <h5> margins made the bar far too tall. */
#vehicle-lookup-container .card-header { padding: 0.75rem 1.25rem !important; }
#vehicle-lookup-container .card-header h5,
#vehicle-lookup-container .card-header h6 { margin: 0 !important; font: 600 1rem/1.3 var(--font) !important; }
.lookup-skeleton { display: grid; gap: 16px; justify-items: center; padding: 28px 0; }
.sk-line { width: min(320px, 70%); height: 16px; }
.sk-plate-lg { width: min(420px, 90%); height: 64px; border-radius: 10px; background-color: rgba(248, 201, 0, 0.35); }
.sk-btn { width: min(220px, 60%); height: 48px; border-radius: 10px; }
.area-note {
  display: flex; gap: 0.85rem; align-items: flex-start; max-width: 860px; margin: 20px auto 0;
  padding: 1rem 1.15rem; border-radius: 12px; background: rgba(2, 199, 251, 0.06); border: 1px solid rgba(2, 199, 251, 0.25);
}
.area-note > .icon { width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.area-note p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.area-note strong { color: var(--text); }
.area-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.tool-panel + .area-note { margin: 20px 0 0; max-width: 680px; }
.widget-fallback { text-align: center; padding: 24px 0; }
.widget-fallback p { color: var(--text-2); }
.widget-fallback a:not(.btn) { color: var(--cyan); text-decoration: underline; }
.widget-fallback .btn { margin: 6px; }

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 + p { margin-top: 1rem; color: var(--text-2); }
.section-head p a { color: var(--cyan); }
.section-head-sub { margin-top: clamp(56px, 7vw, 88px); }
.section-head-split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }

/* Benefits */
.benefits { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.benefit-list { list-style: none; display: grid; gap: 28px 0; grid-template-columns: 1fr; }
.benefit-list li { padding: 0 0 0 1.25rem; border-left: 1px solid var(--line-strong); }
.benefit-list h3 { margin: 1rem 0 0.4rem; font-size: 1.35rem; }
.benefit-list p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.benefit-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(2, 199, 251, 0.16), rgba(2, 92, 251, 0.1));
  border: 1px solid rgba(2, 199, 251, 0.3); color: var(--cyan);
}
.benefit-icon .icon { width: 22px; height: 22px; }
@media (min-width: 520px) { .benefit-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .benefit-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .benefit-list { grid-template-columns: repeat(5, 1fr); } }

/* Service cards */
.service-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .service-grid { grid-template-columns: repeat(6, 1fr); }
  .service-grid > * { grid-column: span 2; }
  .service-grid:has(> :nth-child(5):last-child) > :nth-child(-n+2) { grid-column: span 3; }
  .service-grid:has(> :nth-child(5):last-child) > :nth-child(-n+2) .service-card-media { aspect-ratio: 16 / 8; }
  .service-grid:has(> :nth-child(4):last-child) > * { grid-column: span 3; }
}
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(2, 199, 251, 0.45); box-shadow: 0 24px 60px -28px rgba(2, 92, 251, 0.55); }
.service-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card-media picture { display: block; height: 100%; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 0%, rgba(12, 17, 26, 0) 60%); }
.service-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 24px 24px; margin-top: -30px; }
.service-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--grad); color: #fff; box-shadow: var(--glow);
}
.service-icon .icon { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.6rem; font-style: italic; font-weight: 800; text-transform: uppercase; margin-bottom: 0.5rem; }
.service-card h3 .in-town { display: block; font-size: 0.95rem; font-style: normal; font-weight: 600; text-transform: none; color: var(--muted); margin-top: 0.2rem; font-family: var(--font); }
.service-card p { color: var(--text-2); font-size: 0.95rem; flex: 1; }

/* Brand carousel */
.brands { padding: clamp(48px, 6vw, 80px) 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.brands-head { margin-bottom: 32px; }
.brands-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.brand-viewport {
  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);
}
.brand-track { display: flex; width: max-content; animation: brand-scroll 70s linear infinite; }
.brand-viewport:hover .brand-track, .brand-viewport:focus-within .brand-track { animation-play-state: paused; }
.brand-strip { display: flex; align-items: center; gap: clamp(36px, 5vw, 64px); padding: 8px clamp(36px, 5vw, 64px) 8px 0; margin: 0; list-style: none; }
.brand-strip li { flex: none; display: flex; align-items: center; height: 48px; }
.brand-strip img { max-height: 44px; width: auto; filter: grayscale(1) brightness(1.25) contrast(0.85); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; }
.brand-strip li:hover img { filter: none; opacity: 1; }
.brands-note { margin-top: 24px; font-size: 0.82rem; color: var(--muted); }
.brands-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brand-viewport { -webkit-mask-image: none; mask-image: none; }
  .brand-track { animation: none; width: auto; }
  .brand-strip { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .brand-strip[aria-hidden="true"] { display: none; }
}

/* Steps */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps-compact { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  position: relative; padding: 26px 24px 22px;
  background: linear-gradient(180deg, var(--surface), rgba(12, 17, 26, 0.4));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--grad-h); opacity: 0.6; border-radius: 0 0 2px 2px; }
.step-n {
  display: block; margin-bottom: 0.75rem;
  font: italic 800 3.2rem/1 var(--font-display);
  color: transparent; -webkit-text-stroke: 1.2px rgba(2, 199, 251, 0.75);
}
.steps h3 { margin-bottom: 0.5rem; }
.steps p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* Areas split (home) */
.areas-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .areas-split { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; } }
.areas-copy > p { color: var(--text-2); margin: 1rem 0 1.75rem; }
.county-list { display: grid; gap: 0; }
.county-item { padding: 1rem 0; border-top: 1px solid var(--line); }
.county-item:last-child { border-bottom: 1px solid var(--line); }
.county-item h3 a { display: inline-flex; align-items: center; gap: 0.5rem; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.55rem; }
.county-item h3 a .icon { color: var(--cyan); transition: transform 0.25s var(--ease); }
.county-item h3 a:hover .icon { transform: translateX(4px); }
.county-item p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }
.county-item p a { color: var(--text-2); }
.county-item p a:hover { color: var(--cyan); }

/* Why */
.why { display: grid; gap: 40px; }
@media (min-width: 1000px) { .why { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; } }
.why-intro p { color: var(--text-2); margin: 1rem 0 1.75rem; }
.why-list { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
.why-list li { display: flex; gap: 1rem; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.why-list li > .icon { width: 26px; height: 26px; color: var(--cyan); margin-top: 2px; }
.why-list h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.why-list p { margin: 0; color: var(--text-2); font-size: 0.93rem; }

/* FAQ */
.faq-teaser .faq-list { margin-bottom: 1.75rem; }
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s; }
.faq-list details[open] { border-color: rgba(2, 199, 251, 0.35); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--cyan); transition: transform 0.25s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { padding: 0 1.25rem 1.2rem; margin: 0; color: var(--text-2); }
.faq-list details p a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.faq-list-lg summary { font-size: 1.08rem; padding: 1.3rem 1.4rem; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.cta-band-bg { position: absolute; inset: 0; z-index: -1; }
.cta-band-bg picture, .cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(2, 92, 251, 0.45), transparent 60%), linear-gradient(90deg, rgba(5, 7, 11, 0.95), rgba(5, 7, 11, 0.7));
}
.cta-band-inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .cta-band-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.cta-band-inner:not(:has(.cta-band-lookup)) { grid-template-columns: minmax(0, 1fr); }
.cta-band-copy p { color: var(--text-2); font-size: 1.08rem; margin: 1rem 0 1.75rem; max-width: 34rem; }
.cta-band-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-phone { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; color: var(--text-2); }
.cta-phone strong { color: #fff; font-size: 1.05rem; }
.cta-phone .icon { color: var(--cyan); }
.cta-phone:hover strong { color: var(--cyan); }
.cta-band-lookup {
  padding: clamp(20px, 3vw, 32px); border-radius: 20px;
  background: rgba(10, 14, 22, 0.72); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ── Page hero (inner pages) ──────────────────────────────────────────── */

.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 7vw, 96px); min-height: 440px; display: flex; align-items: flex-end; }
.page-hero-img { object-position: 60% 50%; }
.page-hero-inner { position: relative; }
.page-hero h1 { max-width: 16ch; margin-bottom: 1rem; }
.page-hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text-2); max-width: 40rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero--tool { align-items: center; min-height: 560px; }
.tool-panel { max-width: 680px; }

.breadcrumbs { margin-bottom: clamp(36px, 6vw, 72px); font-size: 0.85rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 0.25rem 0.5rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs [aria-current] { color: var(--text); }
.form-page .breadcrumbs, .legal .breadcrumbs { margin-bottom: 2rem; }

/* ── Article + aside ──────────────────────────────────────────────────── */

.article-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: start; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 2.4rem 0 1rem; }
.prose h2:first-child, .prose > .breadcrumbs + h1 + * { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); line-height: 1.78; font-size: 1.02rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose strong { color: var(--text); }
.prose .faq-list { margin-top: 1rem; }
.prose-wide { max-width: 860px; }
.prose-wide p { color: var(--text-2); font-size: 1.05rem; line-height: 1.75; margin-top: 1rem; }
.prose-wide a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.article-aside { display: grid; gap: 18px; }
.aside-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); border-color: var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.aside-title { font-size: 1.6rem; margin-bottom: 1.1rem; }
.aside-card > p { color: var(--text-2); }
.aside-card .lookup-row { flex-direction: column; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.1rem 0; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.aside-divider::before, .aside-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.aside-phone, .aside-email { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-weight: 600; }
.aside-email { margin-top: 0.5rem; font-weight: 500; color: var(--text-2); font-size: 0.92rem; }
.aside-phone .icon, .aside-email .icon { color: var(--cyan); }
.aside-card .aside-phone:first-of-type:not(:first-child) { margin-top: 0; }
.aside-card .aside-phone + .aside-email + .btn { margin-top: 1.25rem; }
.tick-list { list-style: none; display: grid; gap: 0.6rem; }
.tick-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--text-2); }
.tick-list .icon { color: var(--cyan); margin-top: 0.2rem; }

/* ── Areas ────────────────────────────────────────────────────────────── */

.map-split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .map-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
.map-split .prose h2:first-child { margin-top: 0; }

.town-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 620px) { .town-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .town-grid { grid-template-columns: repeat(3, 1fr); } }
.town-card {
  display: flex; flex-direction: column; height: 100%; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.town-card:hover { border-color: rgba(2, 199, 251, 0.45); transform: translateY(-3px); }
.town-card h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.45rem; font-style: italic; font-weight: 800; text-transform: uppercase; margin-bottom: 0.6rem; }
.town-card h3 .icon { color: var(--cyan); width: 18px; height: 18px; }
.town-card p { flex: 1; color: var(--text-2); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.town-card .link-arrow { font-size: 0.88rem; }

.village-list { list-style: none !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin: 0.5rem 0 1rem; }
.village-list li { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 !important; padding: 0.4rem 0.85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; color: var(--text-2); }
.village-list .icon { width: 14px; height: 14px; color: var(--cyan); }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.95rem;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-2); transition: all 0.2s;
}
.chip .icon { width: 15px; height: 15px; color: var(--cyan); }
.chip:hover { color: #fff; border-color: var(--cyan); background: rgba(2, 199, 251, 0.08); }

.county-blocks { display: grid; gap: 18px; }
@media (min-width: 900px) { .county-blocks { grid-template-columns: repeat(2, 1fr); } }
.county-block { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.county-block-head h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.county-block-head h2 a:hover { color: var(--cyan); }
.county-block-head p { color: var(--text-2); margin: 0.75rem 0 1rem; }
.county-block-head .btn { margin-bottom: 1.25rem; }

.nearby-list { list-style: none; display: grid; gap: 0; margin: 1.25rem 0 0; }
.nearby-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.nearby-list li:first-child a { border-top: 1px solid var(--line); }
.nearby-list small { color: var(--muted); font-weight: 500; font-size: 0.85rem; text-align: right; }
.nearby-list a:hover span { color: var(--cyan); }
.map-split .link-arrow { margin-top: 0.5rem; }

.other-counties { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 2rem; color: var(--muted); font-size: 0.92rem; }
.other-counties a { color: var(--cyan); font-weight: 600; }

/* ── Map ──────────────────────────────────────────────────────────────── */

.map-figure { margin: 0; }
.map {
  position: relative; height: 420px; border-radius: var(--radius); overflow: hidden;
  background: #0a0f17; border: 1px solid var(--line-strong);
}
.map-figure.is-tall .map { height: clamp(380px, 55vw, 580px); }
.map-figure figcaption { margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); }
.map-figure figcaption a { color: var(--text-2); text-decoration: underline; }
.map-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.map-loading .icon { width: 28px; height: 28px; color: var(--cyan); opacity: 0.7; }
.map.is-ready .map-loading { display: none; }

/* Leaflet theming */
.map .leaflet-container { background: #0a0f17; font-family: var(--font); }
.map .leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) brightness(0.82) contrast(0.92) saturate(0.55); }
.map .leaflet-control-attribution { background: rgba(5, 7, 11, 0.75); color: var(--muted); font-size: 10px; }
.map .leaflet-control-attribution a { color: var(--text-2); }
.map .leaflet-bar a { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.map .leaflet-bar a:hover { background: var(--surface-3); }
.map .leaflet-popup-content-wrapper, .map .leaflet-popup-tip { background: var(--surface-2); color: var(--text); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); border: 1px solid var(--line-strong); }
.map .leaflet-popup-content { margin: 12px 16px; font-size: 0.9rem; }
.map .leaflet-popup-content a { color: var(--cyan); font-weight: 600; }
.map .leaflet-popup-close-button { color: var(--muted) !important; }
.map .leaflet-tooltip { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; font-weight: 600; }
.map .leaflet-tooltip::before { display: none; }
.map-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); border: 2px solid #06101e; box-shadow: 0 0 0 3px rgba(2, 199, 251, 0.25), 0 0 14px rgba(2, 199, 251, 0.7); }
.map-dot.is-small { width: 7px; height: 7px; border-width: 1px; box-shadow: 0 0 6px rgba(2, 199, 251, 0.6); opacity: 0.85; }
.map .map-label-wrap { display: flex; justify-content: center; align-items: center; }
.map-dot.is-ghost { background: #48617f; box-shadow: none; width: 9px; height: 9px; }
.map-dot.is-focus { width: 18px; height: 18px; background: #fff; border: 4px solid var(--cyan); animation: pulse 2s infinite; }
.map-label { font: italic 800 15px/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; color: #fff; text-shadow: 0 1px 8px #000; white-space: nowrap; }
a.map-label { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; }
.map-label-pin { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(2, 199, 251, 0.45), 0 0 10px #02c7fb; }
/* County shapes: bright borders between counties, a shared glow around the whole area */
.map .county-shape { filter: drop-shadow(0 0 5px rgba(2, 199, 251, 0.55)); transition: fill-opacity 0.2s; cursor: pointer; }
.map .county-glow { filter: blur(6px); }
a.map-label:hover, a.map-label:focus-visible { color: var(--cyan); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(2, 199, 251, 0.6); } 100% { box-shadow: 0 0 0 18px rgba(2, 199, 251, 0); } }

/* ── Forms ────────────────────────────────────────────────────────────── */

.form-page { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 110px); }
.form-page::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; background: radial-gradient(60% 80% at 80% 0%, rgba(2, 92, 251, 0.22), transparent 70%); }
.form-page-inner { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .form-page-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } .form-page-copy { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-page-copy h1 { margin-bottom: 1rem; }
.form-page-copy .tick-list { margin: 0 0 2rem; }
.contact-cards { display: grid; gap: 12px; }
@media (min-width: 520px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card {
  display: flex; align-items: center; gap: 0.9rem; padding: 16px 18px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; transition: border-color 0.2s;
  font-weight: 600; overflow-wrap: anywhere;
}
.contact-card > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--grad); color: #fff; }
.contact-card small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card:hover { border-color: var(--cyan); }
.contact-cards-lg .contact-card { padding: 20px; font-size: 1.05rem; }
.covered { margin-top: 2.25rem; }
.covered h2 { font-size: 1.5rem; margin-bottom: 1rem; }

.form-card { padding: clamp(20px, 3.5vw, 36px); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.form-card-title { font-size: 1.9rem; margin-bottom: 1.25rem; }
.enquiry-form fieldset { border: 0; padding: 0; margin: 0 0 6px; min-width: 0; }
.field-grid { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 560px) { .field-grid { grid-template-columns: repeat(2, 1fr); } .field-full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 0.45rem; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.opt { font-weight: 500; color: var(--muted); font-size: 0.82rem; margin-left: 0.25rem; }
.input {
  width: 100%; min-height: 52px; padding: 0.8rem 0.95rem;
  background: #080c13; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #566275; }
.input:hover { border-color: rgba(150, 180, 225, 0.34); }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(2, 199, 251, 0.2); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input-plate { background: var(--plate); color: #111; border-color: rgba(0, 0, 0, 0.6); font: 700 1.4rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.input-plate::placeholder { color: rgba(0, 0, 0, 0.3); }
.input-plate:hover { border-color: #000; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field-error { margin: 0.4rem 0 0; color: var(--danger); font-size: 0.85rem; }
.check { display: flex !important; gap: 0.75rem; align-items: flex-start; font-weight: 400 !important; color: var(--text-2) !important; cursor: pointer; line-height: 1.5; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue-mid); cursor: pointer; }
.check a { color: var(--cyan); text-decoration: underline; }
.form-status { padding: 1rem 1.1rem; border-radius: 12px; margin-bottom: 1.25rem; font-weight: 500; }
.form-status.is-success { background: rgba(62, 224, 164, 0.1); border: 1px solid rgba(62, 224, 164, 0.45); color: #c6f7e4; }
.form-status.is-error { background: rgba(255, 122, 122, 0.1); border: 1px solid rgba(255, 122, 122, 0.45); color: #ffd3d3; }
.form-foot { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: 0.92rem; }
.form-foot a { color: var(--text); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Legal / 404 ──────────────────────────────────────────────────────── */

.legal { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 110px); }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 0.5rem; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.notice { display: flex; gap: 0.85rem; padding: 1rem 1.15rem; margin-bottom: 2rem; background: rgba(2, 199, 251, 0.07); border: 1px solid rgba(2, 199, 251, 0.3); border-radius: 12px; }
.notice .icon { color: var(--cyan); width: 22px; height: 22px; margin-top: 2px; }
.notice p { margin: 0; }
mark { background: rgba(248, 201, 0, 0.16); color: #ffe27a; padding: 0 0.25em; border-radius: 4px; }
.table-wrap { overflow-x: auto; margin-bottom: 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
th { color: var(--text); background: var(--surface); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
code { font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 5px; color: var(--text); }
.notfound { padding: clamp(80px, 14vw, 180px) 0; text-align: center; }
.notfound h1 { margin: 0 auto 1.25rem; max-width: 14ch; }
.notfound .page-hero-lead { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer { background: #030508; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 0; }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 720px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand img { width: 190px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--text-2); max-width: 30rem; font-size: 0.95rem; }
.footer-contact { display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--cyan); }
.footer-contact a:hover { color: var(--cyan); }
.footer-heading { margin-bottom: 1.1rem; font: 600 0.78rem/1.3 var(--font); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a { color: var(--text-2); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.footer-bottom p { margin: 0; max-width: 46rem; }
.footer-credit { white-space: nowrap; margin-left: 0.35rem; }
.footer-credit a { color: var(--text-2); }
.footer-credit a:hover { color: var(--cyan); }

/* ── Mobile quick-action bar ──────────────────────────────────────────── */

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(6, 9, 14, 0.94); border-top: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 52px; border-radius: 10px; font-size: 0.78rem; font-weight: 600; color: var(--text-2);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.mobile-cta a .icon { width: 20px; height: 20px; color: var(--cyan); }
.mobile-cta a.is-primary { background: var(--grad-btn); color: #fff; border-color: transparent; }
.mobile-cta a.is-primary .icon { color: #fff; }
.mobile-cta.is-hidden { transform: translateY(110%); }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ── Reveal on scroll (added by JS, so content is visible without it) ── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Small screens ────────────────────────────────────────────────────── */

@media (max-width: 559px) {
  :root { --header-h: 66px; }
  .brand img { height: 34px; }
  .brand-word { font-size: 1.22rem; }
  .hero { min-height: auto; padding-top: 36px; }
  .hero-img { object-position: 78% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(5, 7, 11, 0.55) 0%, rgba(5, 7, 11, 0.88) 45%, var(--bg) 100%); }
  .page-hero { min-height: 380px; }
  .page-hero-media::after { background: linear-gradient(180deg, rgba(5, 7, 11, 0.5) 0%, rgba(5, 7, 11, 0.9) 60%, var(--bg) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .lookup-btn { width: 100%; }
}
