/* ==========================================================================
   CEMMSA — Design tokens
   Grafito estructural + naranja de señalización + azul "blueprint"
   Firma: líneas de corte con marcas de registro (plano técnico)
   ========================================================================== */

:root {
  /* ===== CEMMSA brand palette v2 =====
     Base: #FF5A00 naranja · #F24405 naranja oscuro · #F27D52 naranja claro · #F2F2F2 gris claro
         · #737373 gris medio · #0D0D0D casi negro
     Matches the real logo (#E5945D), which needs a dark bg to read (8:1 vs 2:1 on light).
     Derived tones added purely for WCAG contrast — same hue family.
  */

  /* "graphite" tokens = near-black family (dark backgrounds — hero, header, footer) */
  --graphite-900: #0D0D0D;   /* brand casi-negro — primary dark bg, matches logo bg */
  --graphite-800: #202020;   /* elevated surface for cards on dark bg */
  --graphite-700: #2b2b2b;   /* borders / dividers on dark */

  /* "steel" tokens = neutral grays */
  --steel-600: #1A1A1A;      /* body text on light bg */
  --steel-400: #5C5C5C;      /* secondary text / captions — LIGHT backgrounds only (6:1 on #F2F2F2) */
  --steel-400-on-dark: #9D9D9D; /* secondary text / captions on near-black — passes AA (7.2:1) */
  --steel-200: #E0E0E0;      /* card borders on light bg */
  --steel-100: #ECECEC;      /* subtle dividers */
  --steel-050: #F2F2F2;      /* alt section bg — brand gris claro */
  --white: #ffffff;

  /* Accent (kept the token names to avoid touching 500 lines of CSS) */
  --safety-orange: #FF5A00;       /* brand orange (matches real logo) — large elements or on near-black bg */
  --safety-orange-dark: #F27D52;  /* hover state — lighter warm accent from brand palette, still high contrast with dark text */
  --blueprint: #B23F00;           /* darkened brand orange — used as TEXT/border/icon on light bg (5.8:1) */
  --blueprint-light: #C23604;     /* lighter variant of the above, for hover states on light bg */
  --cta-fill: #FF5A00;            /* solid brand-orange fill for the CTA band background */

  --ok-green: #2f8f5b;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--steel-600); max-width: 62ch; }
.section-intro p { font-size: 1.05rem; }

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding: clamp(56px, 9vw, 108px) 0; }

.bg-graphite { background: var(--graphite-900); color: var(--steel-100); }
.bg-graphite h1, .bg-graphite h2, .bg-graphite h3 { color: var(--white); }
.bg-graphite p { color: var(--steel-200); }
.bg-steel { background: var(--steel-050); }
/* CTA band: solid terracota fill needs DARK text (white on terracota only hits 2.7:1) */
.bg-blueprint { background: var(--cta-fill); color: var(--graphite-900); }
.bg-blueprint h2 { color: var(--white); }
.bg-blueprint p { color: var(--steel-600); }

/* ---- Eyebrow / labels (technical callout style) ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blueprint);
}
/* On the near-black hero/footer, the eyebrow shifts to brand terracota for max pop */
.bg-graphite .eyebrow { color: var(--safety-orange); }
.bg-graphite .eyebrow::before { background: var(--safety-orange); }
/* On the terracota CTA band, orange-on-orange would vanish — use dark instead */
.bg-blueprint .eyebrow { color: var(--graphite-900); }
.bg-blueprint .eyebrow::before { background: var(--graphite-900); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--steel-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--steel-600);
}
.brand-logo { height: 51px; width: auto; flex: none; display: block; }
.brand-logo-footer { height: 90px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
nav.main-nav a {
  color: var(--steel-600);
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--blueprint);
  border-color: var(--blueprint);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--safety-orange);
  color: var(--graphite-900) !important;
  font-weight: 700;
  padding: 10px 18px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--safety-orange-dark) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--steel-200);
  color: var(--steel-600);
  width: 42px; height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px var(--gutter);
    gap: 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
    border-top: 1px solid var(--steel-200);
  }
  nav.main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  nav.main-nav a { font-size: 1.4rem; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--safety-orange); color: var(--graphite-900); }
.btn-primary:hover { background: var(--safety-orange-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; color: var(--graphite-900); border-color: var(--steel-400); }
.btn-outline-dark:hover { border-color: var(--graphite-900); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ---- Cut-line signature element ---- */
.cutline {
  position: relative;
  border-top: 1px dashed var(--steel-400);
  margin: 0;
  height: 1px;
}
.cutline::before, .cutline::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--steel-400);
}
.cutline::before { left: var(--gutter); }
.cutline::after { right: var(--gutter); }
.cutline-label {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translate(-50%, -100%);
  background: var(--white);
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--steel-400);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.bg-graphite .cutline-label { background: var(--graphite-900); }
.bg-steel .cutline-label { background: var(--steel-050); }

/* ---- Registration-mark card frame (spec / stat blocks) ---- */
.spec-card {
  position: relative;
  border: 1px solid var(--steel-200);
  padding: 26px 24px;
  background: var(--white);
}
.bg-graphite .spec-card { border-color: var(--graphite-700); background: var(--graphite-800); }
.spec-card::before, .spec-card::after,
.spec-card .reg-br, .spec-card .reg-bl { display: none; }
.spec-card .tick {
  position: absolute;
  width: 9px; height: 9px;
  border: 1px solid var(--blueprint);
}
.bg-graphite .spec-card .tick { border-color: var(--safety-orange); }
.spec-card .tick.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.spec-card .tick.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.spec-card .tick.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.spec-card .tick.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.spec-card .value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--blueprint);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.bg-graphite .spec-card .value { color: var(--safety-orange); }
.spec-card .label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: var(--graphite-900);
}
.bg-graphite .spec-card .label { color: var(--white); }
.spec-card .sub { font-size: 0.85rem; color: var(--steel-600); margin: 4px 0 0; }
.bg-graphite .spec-card .sub { color: var(--steel-400-on-dark); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--steel-200);
  border: 1px solid var(--steel-200);
}
.bg-graphite .spec-grid { background: var(--graphite-700); border-color: var(--graphite-700); }
.spec-grid .spec-card { border: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(70px, 12vw, 130px);
  padding-bottom: clamp(60px, 10vw, 100px);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--graphite-700) 1px, transparent 1px),
    linear-gradient(90deg, var(--graphite-700) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 70% 30%, black 10%, transparent 68%);
}
.hero .wrap { position: relative; }
.hero-kicker {
  font-family: var(--font-mono);
  color: var(--safety-orange);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.hero h1 { max-width: 15ch; }
.hero .lede { color: var(--steel-200); font-size: 1.15rem; max-width: 56ch; margin-top: 18px; }

.hero-strip {
  margin-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid var(--graphite-700);
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.hero-strip div .value { font-family: var(--font-mono); color: var(--safety-orange); font-size: 1.5rem; display:block; }
.hero-strip div .label { font-size: 0.78rem; color: var(--steel-400-on-dark); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Page header (sub-pages) ---- */
.page-head { padding-top: clamp(56px, 10vw, 90px); padding-bottom: 40px; }
.page-head h1 { max-width: 22ch; }
.page-head.has-photo { position: relative; overflow: hidden; min-height: clamp(480px, 82vh, 950px); display: flex; align-items: center; }
.page-head .page-head-photo { position: absolute; inset: 0; z-index: 0; }
.page-head .page-head-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-head .page-head-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.35) 0%, rgba(13,13,13,0.75) 70%, var(--graphite-900) 100%);
}
.page-head.has-photo .wrap { position: relative; z-index: 1; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-400-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--steel-400-on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--safety-orange); } /* on navy page-head, yellow reads well */

/* ---- Grid / cards ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.process-card {
  border: 1px solid var(--steel-200);
  padding: 26px;
  height: 100%;
}
.process-card .icon { width: 40px; height: 40px; color: var(--blueprint); margin-bottom: 18px; }
.bg-graphite .process-card .icon { color: var(--safety-orange); }
.process-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-card p { font-size: 0.92rem; margin: 0; }

.product-card {
  border: 1px solid var(--graphite-700);
  background: var(--graphite-800);
  padding: 30px 26px;
  position: relative;
}
.product-card .num {
  font-family: var(--font-mono);
  color: var(--safety-orange);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 16px;
}
.product-card h3 { color: var(--white); font-size: 1.25rem; }
.product-card p { color: var(--steel-300, var(--steel-200)); font-size: 0.94rem; margin: 0; }

/* ---- Facility list ---- */
.facility-list { list-style: none; margin: 0; padding: 0; }
.facility-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--steel-200);
  font-size: 1.02rem;
}
.facility-list li:first-child { border-top: 1px solid var(--steel-200); }
.facility-list .n { font-family: var(--font-mono); color: var(--blueprint); flex: none; width: 2ch; }
.bg-graphite .facility-list .n { color: var(--safety-orange); }

/* ---- Table (equipment specs) ---- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--steel-200);
}
.spec-table th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  color: var(--steel-600);
  border-bottom: 2px solid var(--graphite-900);
}
.spec-table td.num { font-family: var(--font-mono); color: var(--blueprint); }
.table-wrap { overflow-x: auto; border: 1px solid var(--steel-200); }
.table-wrap .spec-table { min-width: 560px; }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: 20px; }

.equip-block { margin-bottom: 56px; }
.equip-block:last-child { margin-bottom: 0; }
.equip-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.equip-block-head h3 { margin: 0; }
.equip-block-head .count { font-family: var(--font-mono); color: var(--steel-400); font-size: 0.85rem; }

/* ---- CTA band ---- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { border: 1px solid var(--steel-200); padding: 28px; margin-bottom: 18px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.contact-card a.contact-link {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--blueprint);
  text-decoration: none;
  word-break: break-word;
}
.contact-card a.contact-link:hover { color: var(--graphite-900); }

form.quote-form { display: grid; gap: 16px; }
form.quote-form label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--graphite-900);
  margin-bottom: 6px;
}
form.quote-form input,
form.quote-form select,
form.quote-form textarea {
  width: 100%;
  border: 1px solid var(--steel-200);
  background: var(--white);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
}
form.quote-form input:focus,
form.quote-form select:focus,
form.quote-form textarea:focus {
  outline: 2px solid var(--blueprint);
  outline-offset: 1px;
  border-color: var(--blueprint);
}
form.quote-form textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--steel-400); margin-top: 4px; }

/* ---- Map ---- */
.map-frame { border: 1px solid var(--steel-200); filter: grayscale(0.3) contrast(1.05); width: 100%; height: 320px; }

/* ---- Video embed (responsive 16:9, self-hosted) ---- */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--graphite-900);
  overflow: hidden;
}
.video-frame:fullscreen,
.video-frame:-webkit-full-screen {
  max-width: 100%;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}
.video-frame .tick { position: absolute; width: 14px; height: 14px; border: 2px solid var(--safety-orange); z-index: 2; }
.video-frame .tick.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.video-frame .tick.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.video-frame .tick.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.video-frame .tick.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--graphite-900); }

/* Big center play button — shown while paused, since there's no autoplay */
.video-big-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,13,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 1;
  transition: opacity 0.2s;
}
.video-big-play span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(13,13,13,0.55);
  border: 2px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.15s;
}
.video-big-play:hover span { transform: scale(1.08); background: var(--safety-orange); border-color: var(--safety-orange); }
.video-big-play svg { width: 28px; height: 28px; color: var(--white); margin-left: 4px; }
.video-frame.is-playing .video-big-play { opacity: 0; pointer-events: none; }

/* Controls bar, with auto-hide while playing */
.video-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(13,13,13,0) 0%, rgba(13,13,13,0.7) 45%, rgba(13,13,13,0.82) 100%);
  opacity: 1;
  transition: opacity 0.25s;
}
.video-frame.controls-hidden .video-controls { opacity: 0; pointer-events: none; }
.video-frame.controls-hidden { cursor: none; }

.video-play-toggle,
.video-sound-toggle,
.video-fullscreen-toggle {
  flex: none;
  position: static;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.video-play-toggle:hover,
.video-sound-toggle:hover,
.video-fullscreen-toggle:hover { background: rgba(255,255,255,0.3); transform: scale(1.06); }
.video-play-toggle svg,
.video-sound-toggle svg,
.video-fullscreen-toggle svg { width: 16px; height: 16px; }

.video-play-toggle .icon-pause { display: none; }
.video-play-toggle.is-playing .icon-play { display: none; }
.video-play-toggle.is-playing .icon-pause { display: block; }

.video-sound-toggle .icon-muted { display: block; }
.video-sound-toggle .icon-unmuted { display: none; }
.video-sound-toggle.is-unmuted .icon-muted { display: none; }
.video-sound-toggle.is-unmuted .icon-unmuted { display: block; }
.video-sound-toggle.is-unmuted { background: var(--safety-orange); color: var(--graphite-900); }
.video-sound-toggle.is-unmuted:hover { background: var(--safety-orange-dark); }

.video-fullscreen-toggle .icon-expand { display: block; }
.video-fullscreen-toggle .icon-collapse { display: none; }
.video-fullscreen-toggle.is-fullscreen .icon-expand { display: none; }
.video-fullscreen-toggle.is-fullscreen .icon-collapse { display: block; }

.video-seek {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  cursor: pointer;
  outline: none;
  background: linear-gradient(to right, var(--safety-orange) 0%, var(--safety-orange) var(--seek-pct, 0%), rgba(255,255,255,0.3) var(--seek-pct, 0%), rgba(255,255,255,0.3) 100%);
}
.video-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--safety-orange);
  cursor: pointer;
  margin-top: -4px;
}
.video-seek::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--safety-orange);
  cursor: pointer;
}
.video-seek::-moz-range-track { background: transparent; height: 4px; }
.video-seek::-webkit-slider-runnable-track { background: transparent; height: 4px; }

/* ---- FAQ (native details/summary accordion) ---- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--steel-200);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--steel-600);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--blueprint);
  flex: none;
  transition: transform 0.15s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 4px 18px;
  margin: 0;
  max-width: 68ch;
}
.bg-graphite .faq-item { border-color: var(--graphite-700); }
.bg-graphite .faq-item summary { color: var(--white); }
.bg-graphite .faq-item summary::after { color: var(--safety-orange); }
.bg-graphite .faq-item p { color: var(--steel-200); }

/* ---- Footer ---- */
footer.site-footer { background: var(--white); color: var(--steel-600); padding: 60px 0 26px; border-top: 1px solid var(--steel-200); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--steel-400);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--steel-600); text-decoration: none; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--blueprint); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--steel-200);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--steel-400);
  font-family: var(--font-mono);
}

/* ---- WhatsApp float button ---- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #0b1a10;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 18px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.15s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; flex: none; }

/* ---- Language switch ---- */
.lang-switch {
  padding: 6px 14px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
  text-transform: uppercase;
  color: var(--steel-600) !important;
}
/* Uses box-shadow instead of border: (1) avoids the specificity fight with
   "nav.main-nav a { border-bottom: ... }", and (2) sidesteps a known
   Safari/Chrome rendering bug where border-radius + border inside a
   backdrop-filter:blur() parent renders with a clipped edge until repaint. */
nav.main-nav a.lang-switch {
  border: none !important;
  border-radius: 40px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.22);
  transform: translateZ(0); /* forces its own compositing layer */
}
nav.main-nav a.lang-switch:hover {
  box-shadow: inset 0 0 0 1px var(--blueprint);
  color: var(--blueprint) !important;
}

/* ---- Photo frame (stock placeholder images) ---- */
.photo-frame { position: relative; line-height: 0; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .tick { position: absolute; width: 14px; height: 14px; border: 2px solid var(--safety-orange); z-index: 2; }
.photo-frame .tick.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.photo-frame .tick.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.photo-frame .tick.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.photo-frame .tick.br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0.62; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.55) 65%, var(--graphite-900) 100%);
}
.hero.bg-graphite { position: relative; }
.hero .hero-grid { z-index: 1; }
.hero .wrap { z-index: 2; }

/* ---- Form success state ---- */
.form-success {
  border: 1px solid var(--ok-green);
  background: #f1f8f4;
  padding: 22px 24px;
  color: var(--graphite-900);
}
.form-success h3 { color: var(--ok-green); margin-bottom: 8px; }

/* ---- Skip link (a11y) ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--safety-orange);
  color: var(--graphite-900);
  padding: 12px 18px;
  z-index: 999;
  font-family: var(--font-display);
  text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--blueprint); outline-offset: 2px; }
.bg-graphite :focus-visible { outline-color: var(--safety-orange); }
.bg-blueprint :focus-visible { outline-color: var(--graphite-900); }
