/* ========================================================================
   ZAM ZAM TURNERY & WELDING WORKSHOP — DESIGN SYSTEM
   Industrial navy + orange theme, matched to brand gear/Z logo
   ======================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --navy-950: #131b24;
  --navy-900: #1a2530;
  --navy-800: #212e3c;
  --navy-700: #2b3b4c;
  --navy-600: #3a4d61;
  --navy-500: #566b80;
  --steel-300: #a7b4c0;
  --steel-200: #ced6de;
  --steel-100: #e7ebee;

  --orange-700: #c85f0f;
  --orange-600: #e06f10;
  --orange-500: #f5821f;
  --orange-400: #ff9d3f;
  --orange-100: #fef1e4;

  --white: #ffffff;
  --off-white: #f6f7f8;
  --ink: #17212b;
  --ink-soft: #4a5763;

  /* Semantic tokens */
  --bg-page: var(--white);
  --bg-alt: var(--off-white);
  --bg-dark: var(--navy-900);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --text-on-dark: #eef1f4;
  --text-on-dark-soft: #9fb0bd;
  --accent: var(--orange-500);
  --accent-hover: var(--orange-600);
  --border-subtle: #e3e7ea;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 3.75rem;

  /* Spacing (4/8 rhythm) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;
  --sp-16: 7rem;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(19, 27, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(19, 27, 36, 0.10);
  --shadow-lg: 0 20px 48px rgba(19, 27, 36, 0.16);
  --shadow-orange: 0 12px 28px rgba(245, 130, 31, 0.28);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;
  --dur-slow: 450ms;

  --nav-h: 92px;
  --container-w: 1280px;
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --fs-4xl: 2.5rem;
    --fs-3xl: 2.125rem;
    --fs-2xl: 1.625rem;
    --fs-xl: 1.375rem;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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 {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); font-weight: 700; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-md); }
p { color: var(--text-secondary); }
p + p { margin-top: var(--sp-4); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (max-width: 768px) {
  .container { padding-inline: var(--sp-4); }
}

section { padding-block: var(--sp-16); }
@media (max-width: 768px) { section { padding-block: var(--sp-10); } }

.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--text-on-dark-soft); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: var(--sp-10); }
.section-head.center { max-width: 700px; margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--sp-4); font-size: var(--fs-md); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95rem 1.75rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 16px 34px rgba(245, 130, 31, 0.36); }
.btn-outline { border: 1.5px solid var(--border-dark); color: var(--text-on-dark); }
.section-dark .btn-outline, .btn-outline.on-dark { border-color: rgba(255,255,255,0.28); color: var(--white); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline.on-light { border-color: var(--steel-200); color: var(--text-primary); }
.btn-outline.on-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--accent); font-weight: 600; gap: var(--sp-2); }
.btn-ghost svg { transition: transform var(--dur-fast) var(--ease-out); }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(19, 27, 36, 0);
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), height var(--dur-base) var(--ease-out);
}
.site-nav.is-scrolled {
  background: rgba(19, 27, 36, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: var(--sp-3); color: var(--white); flex-shrink: 0; }
.nav-logo img { height: 56px; width: auto; }
@media (max-width: 768px) { .nav-logo img { height: 40px; } }
.nav-logo-text { font-family: var(--font-head); line-height: 1.15; }
.nav-logo-text strong { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; color: var(--white); }
.nav-logo-text span { display: block; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--orange-400); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: var(--sp-8); }
.nav-links a {
  position: relative;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  padding-block: var(--sp-2);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--orange-400); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-5); }
.nav-cta .btn { display: none; }
@media (min-width: 1024px) { .nav-cta .btn { display: inline-flex; } }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  z-index: 1100;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-6);
    background: var(--navy-950);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    padding: var(--sp-10);
    overflow-y: auto;
  }
  .nav-links[data-open="true"] { transform: translateX(0); }
  .nav-links a { font-size: var(--fs-xl); }
  .nav-cta { gap: var(--sp-4); }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy-950);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,27,36,0.55) 0%, rgba(19,27,36,0.75) 55%, var(--navy-950) 100%);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(19,27,36,0.92) 15%, rgba(19,27,36,0.35) 55%, rgba(19,27,36,0.15) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  margin-bottom: var(--sp-5);
}
.hero-badge span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .accent { color: var(--orange-400); }
.hero-lede { font-size: var(--fs-md); color: var(--text-on-dark-soft); max-width: 560px; margin-bottom: var(--sp-8); }
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-10); }
.hero-stats { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: var(--fs-2xl); color: var(--white); }
.hero-stat span { font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-dark-soft); }
.hero-scroll {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-on-dark-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 32px; background: linear-gradient(var(--accent), transparent); animation: scrollLine 1.8s var(--ease-out) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page (non-home) hero */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-950);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.page-hero .hero-media img { opacity: 0.42; }
.page-hero .container { position: relative; z-index: 2; padding-bottom: var(--sp-10); }
.breadcrumb { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-dark-soft); margin-bottom: var(--sp-4); }
.breadcrumb a:hover { color: var(--orange-400); }
.page-hero h1 { max-width: 780px; }
.page-hero .lede { max-width: 640px; margin-top: var(--sp-4); color: var(--text-on-dark-soft); font-size: var(--fs-md); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: var(--sp-6); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1023px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.pillar-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-8);
  isolation: isolate;
}
.pillar-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-slow) var(--ease-out); }
.pillar-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,27,36,0.94) 10%, rgba(19,27,36,0.35) 60%, rgba(19,27,36,0.15) 100%); z-index: -1; }
.pillar-card:hover img { transform: scale(1.08); }
.pillar-num { font-family: var(--font-head); font-size: var(--fs-sm); color: var(--orange-400); letter-spacing: 0.1em; margin-bottom: var(--sp-3); }
.pillar-card h3 { margin-bottom: var(--sp-3); }
.pillar-card p { color: var(--text-on-dark-soft); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.pillar-link { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); }
.pillar-link svg { transition: transform var(--dur-fast) var(--ease-out); }
.pillar-card:hover .pillar-link svg { transform: translateX(5px); }

.service-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-tag {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  background: rgba(19,27,36,0.85); color: var(--white);
  font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}
.service-card-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.service-card-body h3 { font-size: var(--fs-lg); }
.service-card-body p { font-size: var(--fs-sm); flex: 1; }
.service-card-link { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-top: var(--sp-2); }
.service-card-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

.equip-card {
  background: var(--navy-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--white);
  border: 1px solid var(--border-dark);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.equip-card:hover { transform: translateY(-4px); border-color: var(--orange-500); }
.equip-card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.equip-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.equip-card:hover .equip-card-media img { transform: scale(1.07); }
.equip-card-body { padding: var(--sp-5); }
.equip-card-body h4 { color: var(--white); margin-bottom: var(--sp-2); }
.equip-card-body p { font-size: var(--fs-sm); color: var(--text-on-dark-soft); }
.equip-index { font-family: var(--font-head); font-size: var(--fs-xs); color: var(--orange-400); letter-spacing: 0.1em; margin-bottom: var(--sp-2); display: block; }

.value-card { padding: var(--sp-6); border-radius: var(--radius-md); background: var(--bg-alt); border-left: 3px solid var(--accent); }
.value-card .icon-wrap { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--orange-100); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4); }
.value-card h4 { margin-bottom: var(--sp-2); }
.value-card p { font-size: var(--fs-sm); }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--navy-950); color: var(--white); padding-block: var(--sp-10); }
.stats-strip .card-grid { text-align: center; }
.stat-block strong { display: block; font-family: var(--font-head); font-size: var(--fs-3xl); color: var(--orange-400); }
.stat-block span { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-dark-soft); }

/* ---------- Gallery / Lightbox ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(19,27,36,0.7) 0%, transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item-cap {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4); right: var(--sp-4);
  color: var(--white); font-size: var(--fs-sm); font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.gallery-item:hover .gallery-item-cap { opacity: 1; transform: translateY(0); }
.gallery-zoom {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(19,27,36,0.7); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--dur-fast) var(--ease-out);
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(19, 27, 36, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base);
  padding: var(--sp-8);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-cap { color: var(--text-on-dark-soft); text-align: center; margin-top: var(--sp-4); font-size: var(--fs-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }
.lightbox-close { top: var(--sp-6); right: var(--sp-6); }
.lightbox-prev { left: var(--sp-6); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--sp-6); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: var(--sp-2); }
  .lightbox-next { right: var(--sp-2); }
  .lightbox-close { top: var(--sp-3); right: var(--sp-3); }
}

/* ---------- Filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.filter-chip {
  padding: var(--sp-2) var(--sp-5); min-height: 44px; display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid var(--border-subtle);
  font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.02em;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: var(--sp-8); }
.timeline::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border-subtle); }
.timeline-item { position: relative; padding-left: var(--sp-12); padding-bottom: var(--sp-8); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 12px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); }
.timeline-item h4 { font-family: var(--font-head); color: var(--accent); font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--sp-2); }
.timeline-item h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.timeline-item p { font-size: var(--fs-sm); }

/* ---------- Table (equipment / license) ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border-subtle); }
.info-table td { padding: var(--sp-4) 0; font-size: var(--fs-sm); }
.info-table td:first-child { color: var(--text-secondary); width: 40%; }
.info-table td:last-child { color: var(--text-primary); font-weight: 500; }
.section-dark .info-table tr { border-color: var(--border-dark); }
.section-dark .info-table td:first-child { color: var(--text-on-dark-soft); }
.section-dark .info-table td:last-child { color: var(--white); }

/* ---------- Client logos / sectors ---------- */
.sector-pill-grid { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.sector-pill {
  padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px solid var(--border-subtle);
  font-size: var(--fs-sm); font-weight: 500; display: inline-flex; align-items: center; gap: var(--sp-2);
}
.sector-pill svg { color: var(--accent); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--sp-12) var(--sp-10);
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(245,130,31,0.25), transparent 55%);
}
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-band p { max-width: 560px; margin-inline: auto; margin-bottom: var(--sp-8); }
.cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: var(--sp-8) var(--sp-5); } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-sm); font-weight: 500; color: var(--text-primary); }
.form-field .required { color: var(--accent); }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.85rem 1rem; min-height: 48px;
  border: 1.5px solid var(--border-subtle); border-radius: var(--radius-sm);
  background: var(--white); font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--orange-100);
}
.form-hint { font-size: var(--fs-xs); color: var(--text-secondary); }
.form-status { font-size: var(--fs-sm); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.success { background: #e9f7ef; color: #1e7e42; }
.form-status.error { background: #fdecea; color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--text-on-dark-soft); padding-top: var(--sp-12); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-8); padding-bottom: var(--sp-10); border-bottom: 1px solid var(--border-dark); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer-brand img { height: 52px; }
.footer-col h4 { color: var(--white); font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--sp-5); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a:hover { color: var(--orange-400); }
.footer-col p { font-size: var(--fs-sm); }
.footer-contact-item { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); }
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-dark); display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: var(--sp-5); font-size: var(--fs-xs); flex-wrap: wrap; gap: var(--sp-3); }
.footer-bottom a:hover { color: var(--orange-400); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: var(--sp-6); right: var(--sp-6); z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-spring);
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 640px) { .whatsapp-float { width: 52px; height: 52px; bottom: var(--sp-4); right: var(--sp-4); } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal-stagger].in-view > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.loader-mark img { height: 64px; animation: pulseLoader 1.4s ease-in-out infinite; }
@keyframes pulseLoader { 0%, 100% { opacity: 0.5; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1); } }
.loader-bar { width: 160px; height: 2px; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden; }
.loader-bar::after { content: ""; display: block; width: 40%; height: 100%; background: var(--accent); animation: loaderSlide 1.1s ease-in-out infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ---------- Breakout / two-col content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-10); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--sp-8); } }
.split-media { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media-badge {
  position: absolute; bottom: var(--sp-5); left: var(--sp-5);
  background: var(--white); border-radius: var(--radius-md); padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: var(--sp-4);
}
.split-media-badge strong { display: block; font-family: var(--font-head); font-size: var(--fs-xl); color: var(--accent); }
.split-media-badge span { font-size: var(--fs-xs); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }

.check-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }
.check-list li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--text-primary); }
.check-list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.section-dark .check-list li { color: var(--text-on-dark); }

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: fixed; top: -60px; left: var(--sp-4); z-index: 4000;
  background: var(--accent); color: var(--white); padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm); font-weight: 600; transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--accent); outline-offset: 2px;
}
