/* Jamaica BeBot Beach Cleaning Programme — tokens from design/DESIGN.md */
:root {
  --primary: #08344A;       /* Deep Reef Navy */
  --secondary: #14808C;     /* Sea Glass Teal */
  --accent: #FFB703;        /* Sunrise Gold — CTAs only */
  --bg: #FBF7EF;            /* Sand White */
  --bg-dark: #062537;       /* Midnight Sea */
  --text: #08344A;
  --text-muted: #4A6273;    /* Driftwood Slate */
  --card: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(8, 52, 74, 0.10);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--secondary); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--primary); }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--secondary);
  margin-bottom: 14px;
}

section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--text-muted); margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 183, 3, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: rgba(8, 52, 74, 0.25);
}
.btn-ghost:hover { border-color: var(--primary); }
.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost-dark:hover { border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8, 52, 74, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--secondary); }
.nav-links .btn { padding: 10px 22px; font-size: 0.92rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.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); }

/* ---------- Hero shared bits (layout itself lives in the cinematic block) ---------- */
.hero h1 { margin: 0 0 22px; }
.hero .lede { font-size: 1.2rem; color: var(--text-muted); max-width: 34rem; }
.hero-ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-proof div strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  display: block;
}
.hero-proof div span { font-size: 0.85rem; color: var(--text-muted); }
/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  background: rgba(20, 128, 140, 0.10);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }

/* ---------- Robot section ---------- */
.robot { background: #fff; }
.robot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.robot-grid .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.spec {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 18px;
}
.spec strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}
.spec span { font-size: 0.82rem; color: var(--text-muted); }
.robot-notes { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.robot-notes li {
  list-style: none;
  padding-left: 30px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.robot-notes li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(20,128,140,0.15);
  border: 4px solid rgba(20,128,140,0.35);
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.gallery figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: var(--card);
}
.gallery img { width: 100%; height: 230px; object-fit: cover; transition: transform 0.35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  display: inline-block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Lease section ---------- */
.lease { background: #fff; }
.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(8,52,74,0.10);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: var(--card);
}
.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
  position: relative;
}
.plan.featured .flag {
  position: absolute;
  top: -14px; left: 30px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 9999px;
}
.plan h3 { font-size: 1.25rem; }
.plan .who { color: var(--text-muted); font-size: 0.9rem; margin: 6px 0 20px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.plan li { padding-left: 26px; position: relative; font-size: 0.95rem; color: var(--text); }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}
.plan .btn { margin-top: auto; text-align: center; }

/* ---------- Form ---------- */
.form-wrap {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px;
  margin-top: 56px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(8,52,74,0.15);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 0.85rem; color: var(--text-muted); }
.form-status { grid-column: 1 / -1; font-size: 0.95rem; color: var(--secondary); font-weight: 600; display: none; }

/* ---------- Rotation table ---------- */
.rotation table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rotation th, .rotation td { text-align: left; padding: 18px 24px; }
.rotation th {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}
.rotation td { border-top: 1px solid rgba(8,52,74,0.08); font-size: 0.98rem; }
.rotation td:first-child { font-weight: 600; color: var(--primary); white-space: nowrap; }
.rotation td:last-child { color: var(--text-muted); }
.table-scroll { overflow-x: auto; }

/* ---------- Rotation layout ---------- */
.rotation-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: start;
}
.rotation-aside { display: flex; flex-direction: column; gap: 18px; }
.rotation-aside figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}
.rotation-aside img { width: 100%; height: 200px; object-fit: cover; }
.rotation-aside figcaption { padding: 12px 16px; font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Trust line ---------- */
.trust-line {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 128, 140, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 0.95rem;
  color: var(--primary);
}
.trust-line svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--secondary); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: var(--bg-dark);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.visible { transform: none; }
.sticky-cta span { font-size: 0.92rem; font-weight: 500; }
.sticky-cta .btn { padding: 12px 22px; font-size: 0.92rem; white-space: nowrap; }

/* ---------- Impact band ---------- */
.impact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(6, 37, 55, 0.88), rgba(6, 37, 55, 0.92)),
    var(--bg-dark);
  color: #fff;
}
.impact .container { position: relative; z-index: 1; }
.spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 30%), rgba(20, 128, 140, 0.35), transparent 65%);
}
.spotlight.is-on { opacity: 1; }
.impact h2, .impact h3 { color: #fff; }
.impact .section-head p { color: rgba(255,255,255,0.65); }
.impact-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; }
.impact-stat { text-align: left; }
.impact-stat strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  display: block;
  line-height: 1.1;
}
.impact-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.impact .card {
  background: rgba(255,255,255,0.06);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.10);
}
.impact .card h3 { font-size: 1.05rem; }
.impact .card p { color: rgba(255,255,255,0.65); }

/* ============================================================
   CINEMATIC v2 — scroll-scrubbed film hero, letterband, film nav,
   grain, progress (overrides the earlier light hero; cascade wins)
   ============================================================ */

/* ---------- hero (scroll-scrubbed film) ---------- */
/* padding: 0 beats the generic section padding — otherwise the sticky
   stage is inset 96px and navy seams show at both ends of the film */
.hero { position: relative; height: 460vh; padding: 0; background: var(--bg-dark); }
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.hero__media,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(6,37,55,0.82) 0%, rgba(6,37,55,0.48) 42%, rgba(6,37,55,0.10) 70%, rgba(6,37,55,0) 100%),
    linear-gradient(0deg, rgba(6,37,55,0.85) 0%, rgba(6,37,55,0) 30%),
    linear-gradient(180deg, rgba(6,37,55,0.45) 0%, rgba(6,37,55,0) 24%);
}
.hero__content {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(3rem, 9vh, 6.5rem);
  z-index: 2;
  color: #fff;
  will-change: transform, opacity, filter;
}
.hero__content h1 { color: #fff; margin: 0 0 22px; letter-spacing: -0.025em; }
.hero__content .lede { color: rgba(255,255,255,0.85); font-size: 1.22rem; max-width: 34rem; }
.eyebrow--light { color: #8fd4de; }
.hero__content .hero-proof strong { color: #fff; }
.hero__content .hero-proof span { color: rgba(255,255,255,0.65); }
.hero__content .hero-proof {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 26px;
  margin-top: 36px;
}
.hero__cue {
  position: absolute;
  right: max(4vw, 2rem);
  bottom: clamp(3rem, 9vh, 6.5rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__cue::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: cue-drop 2s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- letter-spread band ---------- */
.letterband {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  padding: 0;
  height: 130vh;
}
.letterband__bg {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.letterband__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: scale(1.12);
}
.letterband__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(6,37,55,0.6) 100%);
}
.letterband__rows {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2vh;
  pointer-events: none;
}
.letterband__row {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 6.2rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  text-align: center;
  will-change: transform;
  text-shadow: 0 4px 60px rgba(6,37,55,0.6);
}
.letterband__row--ghost { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.4); }
.letterband__label {
  position: absolute;
  left: 0; right: 0;
  bottom: 7vh;
  text-align: center;
  padding: 0 24px;
}
.letterband__label .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 0; }

/* ---------- film nav (transparent over hero, solid on scroll) ---------- */
.nav { transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease; }
.nav.is-hidden { transform: translateY(-100%); }
@media (min-width: 769px) {
  .nav:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
  }
  .nav:not(.is-scrolled) .nav-logo,
  .nav:not(.is-scrolled) .nav-links a:not(.btn) { color: #fff; }
  .nav.is-scrolled { box-shadow: 0 6px 24px rgba(8,52,74,0.10); }
}

/* ---------- film grain + scroll progress ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 300;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

/* ---------- Ken Burns frame ---------- */
.robot-grid .frame { overflow: hidden; }
.robot-grid .frame img[data-kenburns] { will-change: transform; }

@media (max-width: 768px) {
  /* static poster hero on phones — no scrub, no 460vh runway */
  .hero { height: 100svh; }
  .hero__content .lede { font-size: 1.05rem; }
  .hero__content h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero-proof { gap: 20px; }
  .hero__cue { display: none; }
  .letterband { height: 100vh; }
  .letterband__row { letter-spacing: 0.18em; }
}

/* ---------- Watch (video) ---------- */
.watch { background: #fff; }
.watch-grid { display: grid; grid-template-columns: 1.7fr 0.72fr; gap: 28px; align-items: start; }
.video-feature, .video-short { margin: 0; }
.video-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-dark);
  aspect-ratio: 16 / 9;
}
.video-embed--portrait { aspect-ratio: 9 / 16; }
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--bg-dark);
}
.video-feature figcaption, .video-short figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.video-feature figcaption strong, .video-short figcaption strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.section-head--center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.video-feature--center { max-width: 980px; margin: 0 auto; }
.video-feature--center figcaption { text-align: center; }

/* short vertical clip beside copy */
.short-video { background: var(--bg); }
.short-grid { display: grid; grid-template-columns: 320px 1fr; gap: 52px; align-items: center; }
.short-grid .video-short { margin: 0; }
.short-grid .video-embed--portrait { max-width: 320px; }
.short-copy h2 { margin: 10px 0 16px; }
.short-copy p { color: var(--text-muted); margin-bottom: 24px; }

@media (max-width: 900px) {
  .watch-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-embed--portrait { max-width: 340px; margin: 0 auto; }
  .short-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .short-grid .video-embed--portrait { max-width: 320px; margin: 0 auto; }
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--primary);
  list-style: none;
  position: relative;
  padding-right: 54px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 26px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--secondary);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 26px 24px; color: var(--text-muted); }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
footer h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: #fff; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo svg { width: 28px; height: 28px; }
.footer-tag { max-width: 30rem; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(6,37,55,0.3);
  padding: 24px;
  z-index: 200;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 22px; font-size: 0.9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utility pages ---------- */
.page-simple { padding: 160px 0 96px; min-height: 70vh; }
.page-simple h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 24px; }
.page-simple h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.page-simple p, .page-simple li { color: var(--text-muted); max-width: 68ch; }
.page-simple ul { padding-left: 22px; margin: 12px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .impact-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .rotation-grid { grid-template-columns: 1fr; }
  .rotation-aside { flex-direction: row; }
  .rotation-aside figure { flex: 1; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .sticky-cta { display: flex; }
  .rotation-aside { flex-direction: column; }
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 34px;
    gap: 22px;
    border-bottom: 1px solid rgba(8,52,74,0.1);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .robot-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .steps, .gallery { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-wrap { padding: 28px 22px; }
  .impact-stats { grid-template-columns: 1fr 1fr; }
}
