/* ==========================================================================
   TBR POWER ELECTRIC — Design System
   Blueprint-engineering visual language: deep navy + electric blue on a
   drafting-table grid, condensed industrial display type over a clean
   geometric sans body face. Corner brackets and tick-rules stand in for
   the generic "card + shadow" kit.
   ========================================================================== */

:root {
  /* ---- Color: named, brand-derived (source theme-color #1B3557) ---- */
  --navy-950: #0e2138;
  --navy-900: #163457;
  --navy-800: #1e4573;
  --navy-700: #2c5990; /* brand navy */
  --navy-600: #3a70ac;
  --steel-400: #7d9ab3;
  --steel-300: #a9bccc;
  --ice-100: #eef2f6;
  --ice-050: #f7f9fb;
  --white: #ffffff;
  --electric-500: #2f7de8;
  --electric-400: #4c95ff;
  --electric-300: #8ebcff;
  --amber-500: #e8a23d;

  --ink: #0c1520;
  --ink-soft: #45566a;

  /* ---- Type ---- */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* ---- Rhythm ---- */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8.5rem);
  --radius-sm: 2px;
  --radius-md: 4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 1s;

  --max: 1360px;
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--electric-400);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------- */
/* Typography                                                              */
/* ---------------------------------------------------------------------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
  color: var(--navy-900);
}
h1.h-display, .h1 { font-size: clamp(2.75rem, 6.4vw, 5.75rem); }
h2.h-display, .h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3.h-display, .h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

.on-dark { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric-500);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
}
.eyebrow::after {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  animation: eyebrowPulse 2.4s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) { .eyebrow::after { animation: none; } }
.on-dark .eyebrow { color: var(--electric-300); }

.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
}
.on-dark .lede { color: var(--steel-300); }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--electric-500), var(--electric-400));
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(47,125,232,0.55);
}
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--electric-400), var(--electric-300));
  box-shadow: 0 12px 32px -8px rgba(47,125,232,0.7);
}
.btn-primary:hover::before { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) { .btn-primary::before { display: none; } }

.btn-ghost-dark {
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-ghost-light {
  border-color: rgba(12,21,32,0.2);
  color: var(--navy-900);
}
.btn-ghost-light:hover { border-color: var(--navy-900); background: rgba(12,21,32,0.04); }

.btn-block { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------------- */
/* Navigation                                                               */
/* ---------------------------------------------------------------------- */
.site-nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 60;
  padding-block: 1.4rem;
  transition: padding var(--dur-fast) var(--ease-out), background-color var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  padding-block: 0.85rem;
  background: rgba(14, 33, 56, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(255,255,255,0.08);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--white); }
.brand-mark {
  width: 38px; height: 38px;
  border: 1.5px solid var(--electric-400);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--electric-400);
  font-size: 1.05rem;
  flex: none;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.02rem;
  line-height: 1.05;
}
.brand-word small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--steel-400);
  text-transform: uppercase;
}

/* ---- Animated brand lockup: crossfades logo <-> "10 years" badge ---- */
.brand-animator {
  position: relative;
  height: 46px; width: 195px;
  flex: none;
}
@media (min-width: 640px) { .brand-animator { height: 56px; width: 235px; } }
.brand-logo-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: left center;
  animation: brandLogoFade 10s ease-in-out infinite;
}
.brand-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 0.55rem;
  opacity: 0;
  animation: brandBadgeFade 10s ease-in-out infinite;
}
.brand-badge-ring {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: var(--amber-500);
}
.brand-badge-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-badge-text .badge-eyebrow {
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--steel-300);
}
.brand-badge-text .badge-main {
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  background: linear-gradient(90deg, #e8a23d, #ffd27a 45%, #e8a23d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-badge-text .badge-sub { font-size: 0.66rem; color: var(--steel-300); }

@keyframes brandLogoFade {
  0%, 18% { opacity: 1; }
  30%, 72% { opacity: 0; }
  84%, 100% { opacity: 1; }
}
@keyframes brandBadgeFade {
  0%, 18% { opacity: 0; }
  30%, 72% { opacity: 1; }
  84%, 100% { opacity: 0; }
}
.brand-animator--lg { height: 64px; width: 270px; }
@media (min-width: 640px) { .brand-animator--lg { height: 76px; width: 320px; } }
.brand-animator--lg .brand-badge-ring { width: 42px; height: 42px; font-size: 1.1rem; }
.brand-animator--lg .badge-main { font-size: clamp(0.95rem, 2.4vw, 1.1rem); }
.brand-animator--lg .badge-sub { font-size: 0.76rem; }
/* Footer logo stays fixed — no crossfade to the "10 years" badge, just the logo itself. */
.brand-animator--lg .brand-logo-img { animation: none; opacity: 1; }
.brand-animator--lg .brand-badge { display: none; }

@media (prefers-reduced-motion: reduce) {
  .brand-logo-img { animation: none; opacity: 1; }
  .brand-badge { display: none; }
}

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--steel-300);
  padding-block: 0.3rem;
  transition: color var(--dur-fast);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--electric-400);
  transition: right var(--dur-med) var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }
@media (max-width: 640px) {
  .nav-actions .nav-whatsapp,
  .nav-actions .btn-primary { display: none; }
}
.nav-whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px;
  color: var(--white);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.nav-whatsapp:hover { border-color: var(--electric-400); background: rgba(76,149,255,0.1); }
.nav-whatsapp svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px;
  background: transparent;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--white); transition: transform var(--dur-fast), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 0; z-index: 55;
  background: var(--navy-950);
  display: flex; flex-direction: column;
  padding: 6.5rem var(--gutter) 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease-in-out);
  overflow-y: auto;
}
.mobile-panel.is-open { transform: translateY(0); }

.mobile-panel-links {
  display: flex; flex-direction: column;
  position: relative; z-index: 1;
}
.mobile-link {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.4rem);
  text-transform: uppercase;
  color: var(--white);
  padding-block: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.mobile-panel.is-open .mobile-link { opacity: 1; transform: none; }
.mobile-link:hover, .mobile-link:active { color: var(--electric-300); }
.mobile-link-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--electric-400);
  letter-spacing: 0.05em;
}

.mobile-panel-foot {
  position: relative; z-index: 1;
  margin-top: auto;
  padding-top: 2.2rem;
  display: flex; flex-direction: column; gap: 1.3rem;
  opacity: 0; transition: opacity 0.6s ease 0.4s;
}
.mobile-panel.is-open .mobile-panel-foot { opacity: 1; }
.mobile-panel-foot .btn { align-self: flex-start; }
.mobile-panel-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-panel-contact a { font-size: 0.92rem; color: var(--steel-300); border: none; padding: 0; text-transform: none; font-family: var(--font-body); }
.mobile-panel-tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-link { opacity: 1; transform: none; transition: none; }
  .mobile-panel-foot { opacity: 1; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------------------------------------------------------------------- */
/* Blueprint decorative system                                             */
/* ---------------------------------------------------------------------- */
.blueprint-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
  pointer-events: none;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}
@media (prefers-reduced-motion: reduce) { .blueprint-grid { animation: none; } }
.corner-bracket { position: relative; }
.corner-bracket::before, .corner-bracket::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1.5px solid var(--electric-400);
  opacity: 0.7;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.corner-bracket::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-bracket::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.corner-bracket:hover::before, .corner-bracket:hover::after { width: 28px; height: 28px; opacity: 1; }

.tick-rule {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tick-rule::before { content: ""; width: 30px; height: 1px; background: currentColor; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--navy-950);
  overflow: hidden;
  padding-top: 8rem;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  opacity: 0.5;
  filter: saturate(0.85) contrast(1.05);
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 33, 56,0.55) 0%, rgba(14, 33, 56,0.35) 40%, var(--navy-950) 96%),
    linear-gradient(90deg, rgba(14, 33, 56,0.75) 0%, transparent 55%);
}

/* ---- Fixed-background parallax: image pinned to viewport, never moves on scroll ---- */
.parallax-fixed {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.parallax-fixed-layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.parallax-fixed-layer.is-active { opacity: 1; }
.parallax-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(14, 33, 56, 0.45);
}
/* iOS Safari and most touch browsers ignore/glitch background-attachment:fixed —
   fall back to a normal (non-fixed) background there so it still renders a real photo. */
@media (hover: none), (pointer: coarse) {
  .parallax-fixed-layer { background-attachment: scroll; }
}

.hero-slider-bg { position: absolute; inset: 0; z-index: 0; }
.has-photo-bg { text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.7); }
.hero-text-swap { transition: opacity 0.35s ease; }
.hero-text-swap.is-swapping { opacity: 0; }

.hero-dots {
  position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 2;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none; padding: 0; cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.hero-dot:hover { background: rgba(255,255,255,0.55); }
.hero-dot.is-active { background: var(--electric-400); transform: scale(1.35); }
@media (max-width: 900px) { .hero-dots { display: none; } }
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--electric-400);
  opacity: 0.55;
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.7);
}
.hero-eyebrow-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-eyebrow-row .tick-rule { flex: none; }
@media (max-width: 640px) { .hero-eyebrow-row .tick-rule { display: none; } }
.hero-headline {
  color: var(--white);
  font-size: clamp(2.9rem, 8vw, 6.6rem);
}
.hero-headline .reveal-line { overflow: hidden; display: block; }
.hero-headline .reveal-line span { display: block; transform: translateY(110%); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-top: 2.2rem;
}
.hero-foot {
  display: flex; flex-direction: column; gap: 1.6rem;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 1.75rem; z-index: 2;
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--steel-300);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scroll-cue-line { width: 1px; height: 34px; background: rgba(255,255,255,0.25); position: relative; overflow: hidden; }
.scroll-cue-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--electric-400);
  animation: cue-drop 2.2s var(--ease-in-out) infinite;
}
@keyframes cue-drop { to { top: 100%; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero { padding-top: 6.5rem; align-items: flex-end; }
  .scroll-cue { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Sections — generic rhythm                                               */
/* ---------------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }
.section-dark { background: var(--navy-950); }
.section-navy { background: var(--navy-900); }
.section-light { background: var(--white); }
.section-ice { background: var(--ice-050); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .lede { margin-top: 1.1rem; }

/* ---------------------------------------------------------------------- */
/* Intro / About split                                                     */
/* ---------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split-media { position: relative; }
.split-media .frame {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  aspect-ratio: 4/5;
}
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.split-media:hover .frame img { transform: scale(1.06); }
.split-media .frame-tag {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: rgba(14, 33, 56,0.62);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.split-media .frame-float {
  position: absolute; width: 46%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(14, 33, 56,0.4);
  border: 4px solid var(--white);
}
.split-media .frame-float.pos-bl { left: -8%; bottom: -8%; aspect-ratio: 4/3; }

.split-body .stat-strip { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(12,21,32,0.1); }
.split-body .stat-strip strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--navy-900); }
.split-body .stat-strip span { font-size: 0.78rem; color: var(--ink-soft); }

.badge-row { display: flex; gap: 0.8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.badge-item {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.86rem; color: var(--ink-soft);
}
.badge-item svg { width: 16px; height: 16px; color: var(--electric-500); flex: none; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media .frame-float { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Stats strip                                                             */
/* ---------------------------------------------------------------------- */
.stats-band {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: clamp(2rem, 4vw, 3.2rem) var(--gutter);
  border-left: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  transition: transform 0.35s var(--ease-out);
}
.stat-cell:hover { transform: translateY(-3px); }
.stat-cell:first-child { border-left: none; }
.stat-cell .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--white);
  line-height: 1;
  position: relative;
}
.stat-cell .num span.accent {
  background: linear-gradient(135deg, var(--electric-300), var(--electric-500) 60%, var(--amber-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-cell .lbl {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-400);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
}

/* ---------------------------------------------------------------------- */
/* Product cards (Industrial + Marine)                                     */
/* ---------------------------------------------------------------------- */
.product-rail {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 44px -24px rgba(14, 33, 56,0.45);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -20px rgba(14, 33, 56,0.35), 0 0 0 1px rgba(47,125,232,0.15);
}
.product-badge {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 3;
  background: rgba(232,162,61,0.95); color: var(--navy-950);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.55rem; border-radius: var(--radius-sm);
}
.product-card-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  isolation: isolate;
  display: block; width: 100%;
  border: none; padding: 0; margin: 0; background: none; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.product-card-media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 33, 56,0) 35%, rgba(14, 33, 56,0.8) 100%);
  z-index: 1;
  transition: background var(--dur-med);
}
.product-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.25rem;
  color: var(--white);
}
.product-card-desc {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height var(--dur-med) var(--ease-out), opacity var(--dur-med);
  font-size: 0.86rem; color: var(--steel-300); margin-top: 0.4rem;
  white-space: pre-line;
}
.product-card-title {
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem;
}
.product-card:hover .product-card-media img { transform: scale(1.08); }
.product-card:hover .product-card-desc { max-height: 4rem; opacity: 1; }
.product-card:hover .product-card-media::before { background: linear-gradient(180deg, rgba(14, 33, 56,0.1) 0%, rgba(14, 33, 56,0.85) 100%); }

.product-card-actions {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  border-top: 1px solid rgba(12,21,32,0.08);
}
.product-card-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem;
  font-size: 0.72rem; color: var(--ink-soft);
}
.product-card-trust a { color: var(--electric-500); text-decoration: underline; text-underline-offset: 2px; }
.product-card-trust a:hover { color: var(--navy-900); }
.product-card-price {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-900);
}
.product-card-price-quote {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--electric-500);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.product-card-controls { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.product-card-controls .add-to-basket-btn { flex: 1; justify-content: center; padding-block: 0.75rem; font-size: 0.86rem; min-width: 140px; }
.add-to-basket-btn.is-added { background: #1f9e5a; }
.add-to-basket-btn.is-added:hover { background: #1f9e5a; }

.qty-stepper {
  display: flex; align-items: center;
  border: 1px solid rgba(12,21,32,0.16);
  border-radius: var(--radius-sm);
  flex: none;
}
.qty-stepper .qty-btn {
  width: 32px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; color: var(--navy-900);
  font-size: 1.05rem; line-height: 1;
  transition: background var(--dur-fast);
}
.qty-stepper .qty-btn:hover { background: rgba(12,21,32,0.06); }
.qty-stepper .qty-input {
  width: 34px; height: 38px; border: none; border-left: 1px solid rgba(12,21,32,0.12); border-right: 1px solid rgba(12,21,32,0.12);
  text-align: center; font-size: 0.9rem; color: var(--navy-900);
  -moz-appearance: textfield;
}
.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Dark-section context (marine): keep the same white card, just add separation */
.marine-section .product-card { box-shadow: 0 22px 50px -20px rgba(0,0,0,0.55); }

/* ---------------------------------------------------------------------- */
/* Services                                                                 */
/* ---------------------------------------------------------------------- */
.service-row {
  display: grid; grid-template-columns: 0.9fr 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(12,21,32,0.1);
}
.service-row:last-child { border-bottom: 1px solid rgba(12,21,32,0.1); }
.service-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: rgba(12,21,32,0.14);
  line-height: 1;
  transition: color 0.4s var(--ease-out);
}
.service-row:hover .service-num { color: rgba(47,125,232,0.3); }
.service-title { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 0.6rem; }
.service-tag {
  display: inline-block; margin-top: 0.9rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--electric-500);
  border: 1px solid rgba(47,125,232,0.35); border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
}
.service-points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1.3rem; max-width: 36rem; }
@media (max-width: 480px) { .service-points-grid { grid-template-columns: 1fr; } }
.service-media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10; box-shadow: 0 20px 50px -24px rgba(14,33,56,0.5); transition: box-shadow 0.4s var(--ease-out); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.service-row:hover .service-media img { transform: scale(1.06); }
.service-row:hover .service-media { box-shadow: 0 28px 60px -20px rgba(14,33,56,0.35); }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row.reverse { direction: ltr; }
  .service-media { order: -1; }
}

/* ---------------------------------------------------------------------- */
/* Marine section (distinct darker identity)                               */
/* ---------------------------------------------------------------------- */
.marine-section { background: var(--navy-950); color: var(--white); position: relative; overflow: hidden; }
.marine-waves { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 0; opacity: 0.5; }
.marine-content { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------- */
/* Capabilities process                                                    */
/* ---------------------------------------------------------------------- */
.capability-track { display: flex; flex-wrap: wrap; gap: 0; margin-top: 3rem; }
.capability-step {
  flex: 1 1 150px;
  position: relative;
  padding: 1.6rem 1.2rem 1.6rem 0;
  border-top: 2px solid rgba(255,255,255,0.14);
}
.capability-step .step-index { font-family: var(--font-mono); font-size: 0.72rem; color: var(--electric-400); letter-spacing: 0.1em; }
.capability-step .step-name { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; color: var(--white); margin-top: 0.5rem; }
.capability-step::before {
  content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0;
  background: var(--electric-400);
  transition: width 1s var(--ease-out);
}
.capability-step.is-filled::before { width: 100%; }

/* ---------------------------------------------------------------------- */
/* Why choose                                                              */
/* ---------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(12,21,32,0.1); margin-top: 3rem; }
.why-cell { background: var(--white); padding: clamp(1.75rem, 3vw, 2.4rem); position: relative; overflow: hidden; transition: background 0.35s var(--ease-out); }
.why-cell::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 3px; height: 0;
  background: linear-gradient(180deg, var(--electric-500), var(--electric-300));
  transition: height 0.4s var(--ease-out);
}
.why-cell:hover { background: var(--ice-050); }
.why-cell:hover::before { height: 100%; }
.why-cell .icon-wrap {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid rgba(47,125,232,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--electric-500); margin-bottom: 1.3rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.why-cell:hover .icon-wrap {
  transform: scale(1.08) rotate(-4deg);
  background: var(--electric-500); color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(47,125,232,0.6);
}
.why-cell .icon-wrap svg { width: 22px; height: 22px; }
.why-cell h3 { margin-bottom: 0.6rem; }
.why-cell p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* Testimonials                                                            */
/* ---------------------------------------------------------------------- */
.testimonial-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-top: 2.5rem; }
.testimonial-track::-webkit-scrollbar { height: 4px; }
.testimonial-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 86vw);
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: var(--white);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,125,232,0.4);
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.5);
}
.testimonial-stars { color: var(--amber-500); letter-spacing: 0.1em; font-size: 0.95rem; }
.testimonial-quote { margin-top: 1rem; font-size: 1.05rem; line-height: 1.6; color: var(--ice-100); }
.testimonial-foot { margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; }
.testimonial-source { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-400); }
.testimonial-badge { font-size: 0.8rem; color: var(--electric-300); }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                */
/* ---------------------------------------------------------------------- */
.cta-band {
  background: var(--navy-950); color: var(--white); position: relative; overflow: hidden;
}
.cta-band .parallax-fixed { z-index: 0; }
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.7); }
.cta-band h2 { color: var(--white); }
.cta-band .eyebrow { color: var(--electric-300); }
.cta-band .lede { color: var(--steel-300) !important; }
.cta-band .btn-ghost-dark { border-color: rgba(255,255,255,0.5); }
.cta-band .btn-ghost-dark:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Contact                                                                  */
/* ---------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-info-item { display: flex; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-info-item:first-child { border-top: none; }
.contact-info-item .icon-wrap {
  width: 42px; height: 42px; flex: none; border-radius: var(--radius-sm);
  border: 1px solid rgba(76,149,255,0.35);
  display: flex; align-items: center; justify-content: center; color: var(--electric-300);
}
.contact-info-item .icon-wrap svg { width: 20px; height: 20px; }
.contact-info-item h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 0.95rem; }
.contact-info-item p { color: var(--steel-300); font-size: 0.9rem; line-height: 1.55; white-space: pre-line; }

.map-frame { border-radius: var(--radius-md); overflow: hidden; margin-top: 1.5rem; filter: grayscale(0.3) contrast(1.05); }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Form */
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; margin-bottom: 0.45rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--steel-300);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--electric-400); background: rgba(76,149,255,0.06);
}

/* Light-mode variant for the Contact page's quote/details section — hero
   and footer stay dark navy either side of it, matching the cart page. */
.contact-light .contact-info-item { border-top-color: rgba(12,21,32,0.1); }
.contact-light .contact-info-item .icon-wrap { color: var(--electric-500); border-color: rgba(47,125,232,0.3); }
.contact-light .contact-info-item h4 { color: var(--navy-900); }
.contact-light .contact-info-item p { color: var(--ink-soft); }
.contact-light .field label { color: var(--ink-soft); }
.contact-light .field input,
.contact-light .field select,
.contact-light .field textarea {
  background: var(--ice-050); border-color: rgba(12,21,32,0.14); color: var(--navy-900);
}
.contact-light .field input::placeholder,
.contact-light .field textarea::placeholder { color: var(--steel-400); }
.contact-light .field input:focus,
.contact-light .field select:focus,
.contact-light .field textarea:focus { background: rgba(47,125,232,0.05); }
.contact-light .form-alert { color: var(--navy-900); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-error { color: #ff8a8a; font-size: 0.78rem; margin-top: 0.4rem; }

.form-alert {
  padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: rgba(76,149,255,0.1); border: 1px solid rgba(76,149,255,0.35);
  color: var(--white); font-size: 0.9rem; margin-bottom: 1.4rem;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-300);
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 6rem);
}
.footer-watermark {
  position: absolute; right: -4%; bottom: -14%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 20rem);
  color: rgba(255,255,255,0.025);
  line-height: 0.8; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 2rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; max-width: 34ch; }
.footer-social-label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-top: 1.6rem; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; transition: border-color var(--dur-fast), color var(--dur-fast);
  color: var(--steel-300);
}
.footer-social a:hover { border-color: var(--electric-400); color: var(--electric-400); }
.footer-heading { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 0.92rem; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-block: 1.8rem;
  font-size: 0.82rem;
}
.footer-tagline {
  position: relative; z-index: 1;
  padding-top: 3rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
  letter-spacing: 0.01em;
}
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* WhatsApp floating action                                                */
/* ---------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4);
  transition: transform var(--dur-fast) var(--ease-out);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 26px; height: 26px; color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Basket icon + badge (nav)                                               */
/* ---------------------------------------------------------------------- */
.nav-basket {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.nav-basket:hover { border-color: var(--electric-400); background: rgba(76,149,255,0.1); }
.nav-basket svg { width: 18px; height: 18px; }
.basket-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px;
  background: var(--electric-500); color: var(--white);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  display: none; align-items: center; justify-content: center;
  line-height: 1;
}
.basket-count.is-visible { display: flex; }

.mobile-panel-links .mobile-link .basket-count {
  position: static; margin-left: auto; display: none;
}
.mobile-panel-links .mobile-link .basket-count.is-visible { display: inline-flex; }

/* ---------------------------------------------------------------------- */
/* Trust strip (money-back / international delivery)                      */
/* ---------------------------------------------------------------------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding: 1.3rem var(--gutter);
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-strip-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--steel-300); font-size: 0.85rem;
}
.trust-strip-item .icon { font-size: 1.1rem; flex: none; }
.trust-strip-item strong { color: var(--white); font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Checkout / basket page                                                  */
/* ---------------------------------------------------------------------- */
.cart-row {
  display: grid; grid-template-columns: 72px 1fr auto;
  align-items: center; gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cart-row img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 560px) {
  .cart-row {
    grid-template-columns: 56px 1fr;
    row-gap: 0.75rem;
  }
  .cart-row img { width: 56px; height: 56px; }
  .cart-row > *:last-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
}
.cart-row-info h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 0.55rem; }
.cart-remove {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.16); background: transparent;
  color: var(--steel-300);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.cart-remove:hover { border-color: #ff8a8a; color: #ff8a8a; }
.cart-row-price { color: var(--white); font-family: var(--font-display); font-size: 1.2rem; }
.checkout-empty {
  text-align: center; padding: 3rem 1rem;
  color: var(--steel-300);
}
.checkout-empty svg { width: 48px; height: 48px; color: var(--steel-400); margin-bottom: 1rem; }
.checkout-summary-note {
  background: rgba(76,149,255,0.08); border: 1px solid rgba(76,149,255,0.25);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
  font-size: 0.86rem; color: var(--steel-300); line-height: 1.6;
}
.payment-icons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.payment-icons span {
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-sm);
  padding: 0.35rem 0.7rem; font-size: 0.78rem; color: var(--steel-300);
}

/* Light-mode variant for the cart page's middle section — hero and footer
   stay dark navy either side of it, so this section reads as a distinct,
   brighter "working area" in between rather than one uniform dark block. */
.cart-light .cart-row { border-bottom-color: rgba(12,21,32,0.1); }
.cart-light .cart-row-info h4 { color: var(--navy-900); }
.cart-light .cart-row-price { color: var(--navy-900) !important; }
.cart-light .cart-remove {
  border-color: rgba(12,21,32,0.14); color: var(--ink-soft);
}
.cart-light .cart-remove:hover { border-color: #d64545; color: #d64545; }
.cart-light .checkout-empty { color: var(--ink-soft); }
.cart-light .checkout-empty svg { color: var(--steel-400); }
.cart-light .checkout-summary-note {
  background: rgba(47,125,232,0.06); border-color: rgba(47,125,232,0.22);
  color: var(--ink-soft);
}
.cart-light .payment-icons span {
  border-color: rgba(12,21,32,0.14); color: var(--ink-soft);
}
.cart-light .form-alert {
  color: var(--navy-900);
}
.cart-light .form-alert[role="alert"] { color: #b23a3a; }

/* ---------------------------------------------------------------------- */
/* Scroll progress                                                         */
/* ---------------------------------------------------------------------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--electric-500), var(--electric-300), var(--amber-500)); z-index: 70; width: 0%; box-shadow: 0 0 12px rgba(47,125,232,0.6); }

/* ---------------------------------------------------------------------- */
/* Reveal animation utility (JS toggles .is-visible on intersect)          */
/* ---------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), clip-path var(--dur-slow) var(--ease-out); will-change: transform, opacity; }
[data-reveal="up"] { transform: translateY(48px); }
[data-reveal="left"] { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="clip"] { clip-path: inset(0 0 100% 0); transform: none; }
[data-reveal].is-visible {
  opacity: 1; transform: none; clip-path: inset(0 0 0% 0);
}
[data-reveal-stagger] > * { opacity: 0; transform: translateY(36px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out); }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .hero-headline .reveal-line span { transform: none !important; }
  .hero-particles { display: none; }
  .hero-media img { transform: none !important; }
}

/* ---------------------------------------------------------------------- */
/* Custom cursor (desktop only, applied via JS body class)                 */
/* ---------------------------------------------------------------------- */
.has-custom-cursor, .has-custom-cursor * { cursor: none !important; }
/* Inside the product-detail modal, restore the real pointer so text is
   selectable and the mouse behaves normally — the decorative cursor is
   switched off (see app.js) but this also covers it as a CSS-only fallback. */
.has-custom-cursor .product-modal-overlay,
.has-custom-cursor .product-modal-overlay * { cursor: auto !important; }
.has-custom-cursor .product-modal-overlay .btn,
.has-custom-cursor .product-modal-overlay button,
.has-custom-cursor .product-modal-overlay a,
.has-custom-cursor .product-modal-overlay [data-open-modal] { cursor: pointer !important; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 90;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--electric-400); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(76,149,255,0.6);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s, background 0.25s, opacity 0.2s;
}
.cursor-ring.is-active { width: 64px; height: 64px; background: rgba(76,149,255,0.12); }
.cursor-label {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); opacity: 0; transition: opacity 0.2s;
}
.cursor-label.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring, .cursor-label { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Utility spacing                                                         */
/* ---------------------------------------------------------------------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }

/* ---------------------------------------------------------------------- */
/* Legal/policy pages                                                      */
/* ---------------------------------------------------------------------- */
.legal-body { max-width: 760px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: flex-start; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-updated {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-soft);
  letter-spacing: 0.04em; margin-bottom: 1.5rem;
}
.legal-section { padding-block: 1.6rem; border-top: 1px solid rgba(12,21,32,0.1); }
.legal-section:first-of-type { border-top: none; padding-top: 0; }
.legal-section h2 { font-size: 1.15rem; margin-bottom: 0.7rem; color: var(--navy-900); }
.legal-section p { font-size: 0.95rem; line-height: 1.75; color: var(--ink-soft); }
.legal-section a { color: var(--electric-500); text-decoration: underline; }
.legal-nav {
  display: flex; flex-direction: column; gap: 0.5rem;
  position: sticky; top: 100px;
}
.legal-nav a {
  font-size: 0.86rem; color: var(--ink-soft); padding: 0.5rem 0.8rem;
  border-left: 2px solid rgba(12,21,32,0.1); transition: color var(--dur-fast), border-color var(--dur-fast);
}
.legal-nav a:hover { color: var(--electric-500); border-left-color: var(--electric-500); }
@media (max-width: 900px) { .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 2rem; } }

/* ---------------------------------------------------------------------- */
/* Product detail page                                                     */
/* ---------------------------------------------------------------------- */
.product-detail-gallery { position: relative; }
.product-detail-gallery .frame { cursor: zoom-in; }
.product-detail-gallery .frame::after {
  content: "🔍 View Larger";
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  background: rgba(14,33,56,0.75); color: var(--white);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-sm);
  opacity: 0; transition: opacity var(--dur-fast);
}
.product-detail-gallery:hover .frame::after { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .product-detail-gallery .frame::after { opacity: 1; }
}

.product-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.82rem; color: var(--ink-soft); list-style: none; padding: 0; margin: 0 0 2rem; }
.product-breadcrumb a { color: var(--ink-soft); }
.product-breadcrumb a:hover { color: var(--electric-500); }
.product-breadcrumb .current { color: var(--navy-900); }

.product-stock {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600;
}
.product-stock svg { width: 14px; height: 14px; }
.product-stock.in-stock { color: #1f9e5a; }
.product-stock.made-to-order { color: var(--electric-500); }

.product-price-large { font-family: var(--font-display); font-size: 2.1rem; color: var(--navy-900); }
.product-price-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.3rem; }
.product-quote-note { font-family: var(--font-mono); font-size: 0.85rem; color: var(--electric-500); text-transform: uppercase; letter-spacing: 0.04em; }

.product-policy-hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.9rem; }
.product-policy-hint a { color: var(--electric-500); text-decoration: underline; text-underline-offset: 2px; }
.product-policy-hint a:hover { color: var(--navy-900); }

.product-trust-list { display: flex; flex-direction: column; gap: 0.7rem; }
.product-trust-list .badge-item { font-size: 0.9rem; }

.product-spec-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; }
.product-spec-table tr { border-top: 1px solid rgba(12,21,32,0.1); }
.product-spec-table td { padding: 0.7rem 0; font-size: 0.9rem; }
.product-spec-table td:first-child { color: var(--ink-soft); width: 40%; }
.product-spec-table td:last-child { color: var(--navy-900); font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* Image lightbox — click a product image to view it larger               */
/* ---------------------------------------------------------------------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(6,13,22,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: min(90vw, 1100px); max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 0.3s var(--ease-out);
}
.lightbox-overlay.is-open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .lightbox-overlay { padding: 1rem; }
  .lightbox-overlay img { max-width: 92vw; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay, .lightbox-overlay img { transition: none; }
}

/* ---------------------------------------------------------------------- */
/* Product detail modal — opens on top of Industrial/Marine Products pages */
/* ---------------------------------------------------------------------- */
.product-modal-overlay {
  position: fixed; inset: 0; z-index: 92;
  background: rgba(6,13,22,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1.2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}
.product-modal-overlay.is-open { opacity: 1; visibility: visible; }
.product-modal {
  position: relative;
  width: 100%; max-width: 980px; max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg, 18px);
  box-shadow: 0 50px 120px -25px rgba(0,0,0,0.55);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}
.product-modal-overlay.is-open .product-modal { transform: translateY(0) scale(1); }
.product-modal-close {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(12,21,32,0.06); border: 1px solid rgba(12,21,32,0.1);
  color: var(--navy-900); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.product-modal-close:hover { background: rgba(12,21,32,0.12); transform: rotate(90deg); }
.product-modal-close svg { width: 18px; height: 18px; }

.product-modal-body {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0;
}
.product-modal-media {
  position: relative;
  background: var(--navy-950);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-lg, 18px) 0 0 0;
  overflow: hidden;
}
.product-modal-media a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.product-modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }
.product-modal-media .product-badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
.product-modal-thumbs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; gap: 0.55rem; padding: 0.9rem 1rem;
  background: linear-gradient(0deg, rgba(9,16,26,0.72) 0%, rgba(9,16,26,0) 100%);
}
.product-modal-thumb {
  width: 52px; height: 52px; flex: 0 0 auto; padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.35); background: var(--navy-950); cursor: pointer;
  opacity: 0.7; transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}
.product-modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.product-modal-thumb:hover { opacity: 1; transform: translateY(-2px); }
.product-modal-thumb.is-active { opacity: 1; border-color: var(--amber-500); }
.product-modal-info { padding: 2.2rem 2.2rem 2.4rem; }
.product-modal-info .eyebrow { display: block; margin-bottom: 0.5rem; }
.product-modal-info h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--navy-900); }
.product-modal-info .lede { margin-top: 0.6rem; font-size: 0.95rem; }
.product-modal-purchase { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid rgba(12,21,32,0.1); }
.product-modal-trust { margin-top: 1.3rem; padding-top: 1.3rem; border-top: 1px solid rgba(12,21,32,0.1); }
.product-modal-section { padding: 1.6rem 2.2rem; border-top: 1px solid rgba(12,21,32,0.08); }
.product-modal-section .eyebrow { display: block; margin-bottom: 0.5rem; }
.product-modal-section p { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); white-space: pre-line; }
.product-description-text, #pmShortDesc { white-space: pre-line; }
.product-modal-related { padding: 1.6rem 2.2rem 2.2rem; border-top: 1px solid rgba(12,21,32,0.08); }
.product-modal-related-rail {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem;
  margin-top: 1rem;
}
.product-modal-mini-card {
  display: block; text-align: left; border: 1px solid rgba(12,21,32,0.1); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--white); cursor: pointer;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.product-modal-mini-card:hover { border-color: var(--electric-400); transform: translateY(-3px); }
.product-modal-mini-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.product-modal-mini-card .mini-card-body { padding: 0.7rem 0.85rem; }
.product-modal-mini-card .mini-card-title { font-size: 0.84rem; font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.product-modal-mini-card .mini-card-price { font-size: 0.78rem; color: var(--electric-500); margin-top: 0.3rem; font-weight: 600; }

@media (max-width: 800px) {
  .product-modal-body { grid-template-columns: 1fr; }
  .product-modal-media { border-radius: var(--radius-lg, 18px) var(--radius-lg, 18px) 0 0; min-height: 240px; }
  .product-modal-media img { min-height: 240px; }
  .product-modal-info, .product-modal-section, .product-modal-related { padding-inline: 1.3rem; }
  .product-modal-thumb { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .product-modal-overlay { padding: 0; align-items: flex-end; }
  .product-modal { max-height: 92vh; border-radius: 18px 18px 0 0; }
  .product-modal-media { border-radius: 18px 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .product-modal-overlay, .product-modal { transition: none; }
}

/* ---------------------------------------------------------------------- */
/* Homepage product showcase banner — sits between hero and about intro    */
/* ---------------------------------------------------------------------- */
.product-banner-section { padding-block: clamp(2rem, 4.5vw, 3.5rem); background: var(--white); }
.product-banner-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(14,33,56,0.4);
}
.product-banner-frame img { width: 100%; height: auto; display: block; }
