/* =============================================================
   ITSA — Industria Transformadora Ambiental
   Single CSS file. Sections marked clearly.
   ============================================================= */

/* =============================================================
   1. Fonts — self-hosted Lato (woff2, ~30% smaller than TTF)
   Mono accent uses the system monospace stack (no Google Fonts fetch).
   ============================================================= */
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Light.woff2")    format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Regular.woff2")  format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Italic.woff2")   format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Medium.woff2")   format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Bold.woff2")     format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Black.woff2")    format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* =============================================================
   2. Tokens
   ============================================================= */
:root {
  /* Palette — anchored on ITSA logo navy + green */
  --bg:        #f4f7f7;
  --bg-2:      #e9eef0;
  --paper:     #ffffff;
  --glass:     rgba(255, 255, 255, 0.62);
  --glass-2:   rgba(255, 255, 255, 0.38);
  --glass-bd:  rgba(255, 255, 255, 0.65);

  --ink:       #0a2845;   /* deep navy from logo */
  --ink-soft:  #143d63;
  --ink-mute:  #5a6e75;
  --ink-faint: #8a9aa1;

  --accent:    #1a4c6e;   /* mid navy, primary action */
  --accent-2:  #2fa15a;   /* eco green from logo leaves */
  --accent-3:  #5fcc8e;   /* lighter green for accents */
  --warn:      #c97f2a;   /* amber — hazardous-waste callouts only */

  --line:      rgba(10, 40, 69, 0.10);
  --line-2:    rgba(10, 40, 69, 0.18);

  /* Typography */
  --sans:      "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:      ui-monospace, "SF Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  /* Sizing */
  --container-max: 1280px;
  --gutter:    clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7rem);

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
}

/* Mesh gradient property registrations (animatable) */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@property --tilt-rx    { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --tilt-ry    { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* =============================================================
   3. Reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  min-height: 100vh;
  position: relative;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; }
::selection { background: var(--accent); color: #fff; }

/* Justified descriptive paragraphs across all pages
   — Spanish hyphenation enabled to prevent ugly word spacing
   — Compact single-line UI text (badges, captions, meta, kickers) is excluded below */
main p,
.footer-brand p,
.cta-banner p,
.contact-success p,
.contact-error p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
/* Exceptions — short captions, meta lines, badges stay left-aligned */
.industry-card-meta p,
.process-step p,
.stat-block .label,
.hero-credit,
.split-figure-tag,
.hero-card .badge,
.cert-chip,
.footer-bottom span {
  text-align: left;
  hyphens: manual;
}

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--paper); color: var(--ink);
  z-index: 9999; border-radius: var(--r-sm); font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.skip-link:focus { top: 1rem; }

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

/* =============================================================
   4. Background mesh — subtle ambient (full page)
   ============================================================= */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at var(--mesh-x, 30%) var(--mesh-y, 30%),
      rgba(47, 161, 90, 0.10), transparent 60%),
    radial-gradient(55% 40% at calc(100% - var(--mesh-x, 30%)) calc(100% - var(--mesh-y, 30%)),
      rgba(26, 76, 110, 0.12), transparent 65%),
    radial-gradient(40% 35% at 80% 20%,
      rgba(95, 204, 142, 0.08), transparent 70%);
  filter: blur(70px) saturate(115%);
  animation: meshDrift 28s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { --mesh-x: 30%; --mesh-y: 30%; }
  33%      { --mesh-x: 70%; --mesh-y: 55%; }
  66%      { --mesh-x: 45%; --mesh-y: 70%; }
}

/* =============================================================
   5. Utilities & container
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow {
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* =============================================================
   6. Typography utilities
   ============================================================= */
.display-xl {
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.display-lg {
  font-weight: 900;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.display-md {
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 64ch;
  font-weight: 400;
}
.emph-green { color: var(--accent-2); }
.emph-italic { font-style: italic; font-weight: 400; color: var(--accent); }

/* =============================================================
   7. Buttons
   ============================================================= */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(10, 40, 69, 0.12), 0 1px 3px rgba(10, 40, 69, 0.08);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 50px rgba(10, 40, 69, 0.22),
    0 8px 18px rgba(47, 161, 90, 0.18);
}
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-primary { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn-green   { --btn-bg: var(--accent-2); --btn-fg: #fff; }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(10, 40, 69, 0.10);
  transform: translateY(-3px);
}

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform .35s var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================================
   8. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  padding-block: 0.9rem;
  transition: background .35s var(--ease-out), backdrop-filter .35s var(--ease-out), box-shadow .35s var(--ease-out), padding .35s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(244, 247, 247, 0.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.65rem;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 900;
}
.nav-brand img {
  height: 38px;
  width: auto;
  transition: transform .4s var(--ease-out);
}
.nav-brand:hover img { transform: scale(1.04); }
.nav-links {
  display: none;
  gap: 1.65rem;
  list-style: none;
  align-items: center;
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
}
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.3rem 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1.5px; background: var(--accent-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover::after,
.nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-current { color: var(--accent); }

/* White nav links over the cinematic hero (only on pages with full-bleed dark hero) */
.has-hero-cinematic .nav:not(.is-scrolled) .nav-link { color: #ffffff; }
.has-hero-cinematic .nav:not(.is-scrolled) .nav-link.is-current { color: var(--accent-3); }
.has-hero-cinematic .nav:not(.is-scrolled) .nav-link::after { background: var(--accent-3); }
.has-hero-cinematic .nav:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.20);
}
.has-hero-cinematic .nav:not(.is-scrolled) .nav-toggle span,
.has-hero-cinematic .nav:not(.is-scrolled) .nav-toggle span::before,
.has-hero-cinematic .nav:not(.is-scrolled) .nav-toggle span::after { background: #ffffff; }

.nav-cta {
  display: none;
}
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 101;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle span {
  position: relative;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s var(--ease-soft), background .3s, opacity .3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: inherit;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
  pointer-events: none;
}
.nav-mobile[aria-hidden="false"] {
  clip-path: inset(0);
  pointer-events: auto;
}
.nav-mobile ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 1.4rem;
  text-align: center;
  padding: 0;
}
.nav-mobile a {
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-block;
  padding: 0.2rem 0;
  position: relative;
}
.nav-mobile a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px;
  height: 2px; background: var(--accent-2);
  transition: left .35s var(--ease-out), right .35s var(--ease-out);
}
.nav-mobile a:hover::after,
.nav-mobile a.is-current::after { left: 0; right: 0; }

/* =============================================================
   9. Hero (home)
   ============================================================= */
.hero {
  position: relative;
  padding-top: clamp(7rem, 13vw, 9rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}
.hero-kicker {
  margin-bottom: 1.3rem;
}
.hero h1 {
  margin-bottom: 1.4rem;
}
.hero-sub {
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 2.2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 3.5rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.hero-foot-item {
  display: flex; flex-direction: column;
  gap: 0.2rem;
}
.hero-foot-item .num {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hero-foot-item .label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ============================================================
   9b. Hero — cinematic (full-bleed image + animated scrim)
   ============================================================ */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(7.5rem, 12vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
}
.hero-cinematic .container { position: relative; z-index: 2; width: 100%; }

/* Background image — slow ambient zoom (Ken Burns) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.08);
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.08) translate3d(0%, 0%, 0); }
  100% { transform: scale(1.16) translate3d(-2%, -1%, 0); }
}

/* Primary scrim — heavy left, fades right (desktop reads left, photo reads right) */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(98deg,
      rgba(10, 28, 50, 0.94) 0%,
      rgba(10, 30, 55, 0.86) 22%,
      rgba(10, 35, 60, 0.62) 50%,
      rgba(10, 40, 69, 0.28) 78%,
      rgba(10, 40, 69, 0.10) 100%),
    linear-gradient(180deg,
      rgba(10, 40, 69, 0.12) 0%,
      transparent 35%,
      rgba(5, 18, 35, 0.55) 100%);
  pointer-events: none;
}

/* Animated mesh — slow colored bloom that breathes over the scrim */
.hero-mesh {
  position: absolute;
  inset: -15%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(45% 38% at var(--hero-mx, 28%) var(--hero-my, 42%),
      rgba(47, 161, 90, 0.32), transparent 65%),
    radial-gradient(40% 32% at calc(var(--hero-mx, 28%) + 50%) calc(var(--hero-my, 42%) + 30%),
      rgba(26, 76, 110, 0.38), transparent 70%),
    radial-gradient(30% 25% at 80% 10%,
      rgba(95, 204, 142, 0.22), transparent 70%);
  filter: blur(60px) saturate(125%);
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: heroMeshFlow 18s ease-in-out infinite alternate;
  --hero-mx: 28%;
  --hero-my: 42%;
}
@property --hero-mx { syntax: "<percentage>"; inherits: false; initial-value: 28%; }
@property --hero-my { syntax: "<percentage>"; inherits: false; initial-value: 42%; }
@keyframes heroMeshFlow {
  0%   { --hero-mx: 22%; --hero-my: 38%; opacity: 0.78; }
  50%  { --hero-mx: 42%; --hero-my: 55%; opacity: 0.95; }
  100% { --hero-mx: 30%; --hero-my: 32%; opacity: 0.82; }
}

/* Subtle film grain to unify the composite */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* Hero content — overrides for white text over photo */
.hero-cinematic .hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}
.hero-cinematic .hero-kicker,
.hero-cinematic .kicker { color: var(--accent-3); }
.hero-cinematic h1 {
  color: #ffffff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.55);
}
.hero-cinematic .emph-italic { color: var(--accent-3); }
.hero-cinematic .hero-sub {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero-cinematic .hero-foot {
  border-top-color: rgba(255, 255, 255, 0.18);
}
.hero-cinematic .hero-foot-item .num { color: #ffffff; }
.hero-cinematic .hero-foot-item .label {
  color: rgba(255, 255, 255, 0.72);
}

/* Ghost-light button variant — for use over dark/photo backgrounds */
.btn-ghost-light {
  --btn-bg: transparent;
  --btn-fg: #ffffff;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px);
}

/* Tiny credit label bottom-right */
.hero-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 1.3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 2;
  pointer-events: none;
}

/* Mobile: collapse scrim to a vertical gradient so text stays legible */
@media (max-width: 719px) {
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(10, 28, 50, 0.78) 0%,
        rgba(10, 30, 55, 0.55) 35%,
        rgba(5, 18, 35, 0.82) 100%);
  }
  .hero-bg img { object-position: center 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .hero-mesh { animation: none; opacity: 0.7; }
}

/* Hero visual — floating images (used in subsidiary pages only) */
.hero-visual {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 960px) {
  .hero-visual {
    grid-template-columns: 1.4fr 1fr;
    gap: 1.2rem;
  }
}
.hero-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 30px 60px -20px rgba(10, 40, 69, 0.22), 0 12px 24px -8px rgba(10, 40, 69, 0.10);
  aspect-ratio: 16 / 11;
  will-change: transform;
}
.hero-card-tall { aspect-ratio: 4 / 5; }
.hero-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.hero-card:hover img { transform: scale(1.06); }
.hero-card .badge {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(10,40,69,0.18);
}
.hero-card .badge::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(47, 161, 90, 0.2);
}

/* =============================================================
   10. Sections — common
   ============================================================= */
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .kicker { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1.1rem; }
.section-head p { color: var(--ink-soft); }

/* =============================================================
   11. Glass service cards
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  --pad: clamp(1.4rem, 2.4vw, 1.9rem);
  position: relative;
  padding: var(--pad);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
  gap: 1rem;
  min-height: 320px;
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft), border-color .4s;
  box-shadow: 0 6px 20px rgba(10, 40, 69, 0.06);
}
/* Solid fallback first */
.service-card { background: rgba(255,255,255,0.86); }
@supports (backdrop-filter: blur(20px)) {
  .service-card {
    background: var(--glass);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
  }
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 50px rgba(10, 40, 69, 0.18),
    0 10px 22px rgba(10, 40, 69, 0.10);
  border-color: rgba(47,161,90,0.45);
}
.service-card .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  font-weight: 600;
}
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.92rem;
}
.service-card-link::after {
  content: "→";
  transition: transform .35s var(--ease-out);
}
.service-card:hover .service-card-link::after { transform: translateX(5px); }

.service-card-img {
  position: absolute;
  inset: auto -10% -10% auto;
  width: 60%;
  height: 50%;
  opacity: 0.22;
  z-index: -1;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.service-card-hot {
  --pad: clamp(1.6rem, 2.6vw, 2.1rem);
  background: linear-gradient(160deg, rgba(26, 76, 110, 0.97), rgba(10, 40, 69, 0.96));
  color: #ffffff;
  border-color: rgba(255,255,255,0.12);
}
.service-card-hot p { color: rgba(255,255,255,0.78); }
.service-card-hot .num { color: var(--accent-3); }
.service-card-hot .service-card-link { color: #ffffff; }
.service-card-hot:hover { border-color: rgba(95,204,142,0.6); }

/* =============================================================
   12. Process diagram (6 steps)
   ============================================================= */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .process { grid-template-columns: repeat(6, 1fr); } }

.process-step {
  position: relative;
  padding: 1.4rem 1.2rem;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 0.8rem;
  transition: transform .4s var(--ease-soft), border-color .3s, box-shadow .4s;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: 0 18px 32px rgba(10, 40, 69, 0.10);
}
.process-step-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  font-weight: 600;
}
.process-step-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-2);
}
.process-step-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.process-step:hover .process-step-img img { transform: scale(1.06); }
.process-step h3 {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* =============================================================
   13. Editorial split (image + text)
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-flip > .split-text { order: 2; }
  .split-flip > .split-figure { order: 1; }
}
.split-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  box-shadow: 0 30px 60px -20px rgba(10, 40, 69, 0.18);
}
@media (min-width: 960px) {
  .split-figure { aspect-ratio: 4 / 5; }
}
.split-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease-out);
}
.split-figure:hover img { transform: scale(1.05); }

.split-figure-tag {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.split-text h2 { margin-bottom: 1.2rem; }
.split-text .kicker { margin-bottom: 1rem; }
.split-text p { color: var(--ink-soft); margin-bottom: 0.95rem; }
.split-text p:last-of-type { margin-bottom: 1.6rem; }
.split-text-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}
.split-text-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.96rem;
  color: var(--ink);
  font-weight: 500;
}
.split-text-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(47, 161, 90, 0.16);
}

/* =============================================================
   14. Industries grid (with overlay captions)
   ============================================================= */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  isolation: isolate;
}
.industry-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .6s;
  filter: saturate(0.9) contrast(1.02);
}
.industry-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 40, 69, 0.78) 100%);
  pointer-events: none;
  transition: opacity .4s;
}
.industry-card:hover img { transform: scale(1.08); filter: saturate(1.1) contrast(1.05); }
.industry-card-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.3rem 1.4rem;
  color: #ffffff;
  z-index: 1;
}
.industry-card-meta h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.industry-card-meta p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

/* =============================================================
   15. Marquee — clients / industries strip
   ============================================================= */
.marquee {
  overflow: hidden;
  position: relative;
  padding-block: 1.4rem;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: marqueeFlow 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
}
.marquee-track span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}
@keyframes marqueeFlow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   16. Stats band
   ============================================================= */
.stats-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
}
@media (min-width: 540px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stat-block {
  display: flex; flex-direction: column;
  gap: 0.55rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-2);
}
.stat-block .num {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.stat-block .num .suf {
  font-size: 0.55em;
  color: var(--accent-2);
  font-weight: 700;
  margin-left: 0.2em;
  letter-spacing: -0.02em;
}
.stat-block .label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 24ch;
}

/* =============================================================
   17. Certifications band
   ============================================================= */
.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: transform .4s var(--ease-soft), border-color .3s, box-shadow .4s;
}
.cert-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  box-shadow: 0 8px 20px rgba(10, 40, 69, 0.10);
}
.cert-chip::before {
  content: "✓";
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center; justify-content: center;
  background: var(--accent-2);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

/* =============================================================
   18. CTA section
   ============================================================= */
.cta-banner {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 100%);
  border-radius: var(--r-xl);
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: -30%;
  background:
    radial-gradient(40% 30% at 80% 20%, rgba(47, 161, 90, 0.4), transparent 60%),
    radial-gradient(35% 25% at 10% 80%, rgba(95, 204, 142, 0.3), transparent 60%);
  filter: blur(50px);
  z-index: -1;
  animation: meshDrift 22s ease-in-out infinite;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.1rem;
  max-width: 22ch;
}
.cta-banner p {
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}
.cta-banner .btn { box-shadow: none; }
.cta-banner .btn-primary { background: #fff; color: var(--ink); }
.cta-banner .btn-primary:hover { background: var(--accent-3); color: var(--ink); }
.cta-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* =============================================================
   19. Contact form
   ============================================================= */
.contact-shell {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 30px 60px -20px rgba(10, 40, 69, 0.14);
  border: 1px solid var(--line);
}
.contact-form {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 720px) {
  .contact-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
.field {
  position: relative;
  display: flex; flex-direction: column;
  gap: 0.35rem;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(47, 161, 90, 0.14);
}
.field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.field-checkbox input { width: auto; }

.contact-submit {
  position: relative;
  justify-self: start;
}
.contact-form.is-sending button[type="submit"] { opacity: 0.7; pointer-events: none; }
.contact-success {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(135deg, rgba(47, 161, 90, 0.1), rgba(95, 204, 142, 0.05));
  border: 1px solid rgba(47, 161, 90, 0.3);
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .5s, transform .5s var(--ease-soft);
  pointer-events: none;
}
.contact-success.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.contact-success h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--accent);
}
.contact-success p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-error {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(135deg, rgba(201, 127, 42, 0.10), rgba(201, 127, 42, 0.04));
  border: 1px solid rgba(201, 127, 42, 0.35);
  border-radius: var(--r-md);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .45s, transform .45s var(--ease-soft);
  pointer-events: none;
}
.contact-error.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.contact-error h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--warn);
}
.contact-error p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Submit spinner state */
.contact-form.is-sending .contact-submit { opacity: 0.65; }
.contact-form.is-sending .contact-submit::after {
  display: inline-block;
  margin-left: 0.5rem;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinSpin .8s linear infinite;
  vertical-align: middle;
}
@keyframes spinSpin { to { transform: rotate(360deg); } }

/* =============================================================
   20. WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 95;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4), 0 6px 14px rgba(37, 211, 102, 0.3);
  transition: transform .4s var(--ease-bounce), box-shadow .4s;
  color: #fff;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.5), 0 8px 18px rgba(37, 211, 102, 0.4);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: waPulse 2.4s var(--ease-out) infinite;
}
@keyframes waPulse {
  0%   { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}
.wa-float svg { width: 30px; height: 30px; }

/* =============================================================
   21. Footer
   ============================================================= */
.footer {
  padding-block: clamp(3.5rem, 6vw, 5rem) 2.2rem;
  background: linear-gradient(180deg, transparent, var(--bg-2) 30%);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand img { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 38ch;
  margin-bottom: 1.5rem;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: 0.92rem;
  color: var(--ink);
  transition: color .25s;
  font-weight: 500;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.footer-bottom a:hover { color: var(--accent); }

/* =============================================================
   22. Reveal on scroll (universal)
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: .40s; }

/* =============================================================
   23. Splash loader (double safety)
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s, clip-path 1.1s var(--ease-soft);
  /* CSS safety: hide after 4.5s even if JS fails */
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
.splash-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
}
.splash-logo {
  height: 60px;
  width: auto;
  opacity: 0;
  animation: splashLogo 1.2s var(--ease-soft) forwards;
}
@keyframes splashLogo {
  0%   { opacity: 0; transform: translateY(10px) scale(0.96); }
  100% { opacity: 1; transform: none; }
}
.splash-bar {
  position: relative;
  width: 160px;
  height: 1.5px;
  background: var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.splash-bar::after {
  content: "";
  position: absolute;
  inset: 0; left: -40%;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  animation: splashBar 1.3s ease-in-out infinite;
}
@keyframes splashBar {
  to { left: 100%; }
}

/* =============================================================
   24. View transitions (multi-page)
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: viewOut; }
::view-transition-new(root) { animation-name: viewIn; }
@keyframes viewOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes viewIn  { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   25. Defensive — reveal+data-split safety net (gotcha A.4.5)
   ============================================================= */
.reveal[data-split],
[data-reveal][data-split] {
  opacity: 1;
  transform: none;
}

/* =============================================================
   26. Reduced motion — ONLY intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .wa-float::before { animation: none; }
  .marquee-track { animation: none; }
  .splash { animation-duration: .01s; animation-delay: 1.5s; }
  /* Do NOT disable: card hovers, reveals, button transforms, tilt — these are functional UI. */
}

/* =============================================================
   27. Mobile-first responsive adjustments
   ============================================================= */
@media (max-width: 539px) {
  .hero-foot { gap: 1.6rem 2rem; }
  .display-xl { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .cta-banner { padding: 2rem 1.5rem; border-radius: var(--r-lg); }
  .nav-cta { display: none; }
}
