/* ============================================================================
   NEKAY — Single Stylesheet
   Replaces style.css + motion.css + theme.css.

   WHY ONE FILE
   The previous three files defined 88 of the same selectors between them and
   needed 108 `!important` declarations to fight each other. Every fix broke
   something else. This file has ONE definition per selector and uses
   `!important` only where a third-party/inline style must be beaten.

   RULES THIS FILE KEEPS
   1. Mobile-first. Base styles are phone. Media queries only ever ADD.
   2. Never `filter`/`transform`/`backdrop-filter` on html or body —
      it makes them the containing block and breaks the fixed header.
   3. Never `overflow: hidden` on an ancestor of a sticky element —
      use `overflow: clip`, which clips without a scroll container.
   4. Content is NEVER hidden by default. Animations are opt-in via a class
      that JS adds only once it can guarantee the reveal.
   ========================================================================= */

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* Surface */
  --bg-0: #07080A;
  --bg-1: #0C0E12;
  --bg-2: #12151A;

  /* Ink */
  --ink:   #F3F5F1;
  --ink-2: rgba(243, 245, 241, .72);
  --ink-3: rgba(243, 245, 241, .46);

  /* Glass */
  --pane:   rgba(255, 255, 255, .055);
  --pane-2: rgba(255, 255, 255, .09);
  --edge:   rgba(255, 255, 255, .13);
  --edge-2: rgba(255, 255, 255, .24);
  --blur:   18px;

  /* Brand */
  --yellow: #FBD140;
  --yellow-deep: #E8B62C;
  --olive:  #A3B212;
  --grey:   #686868;

  /* Type */
  --font-head: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  /* Metrics */
  --header-h: 62px;
  --radius: 18px;
  --radius-lg: 24px;
  --gutter: 18px;
  --maxw: 1240px;

  --ease: cubic-bezier(.16, .8, .24, 1);
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg-0);
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-x: none;
  /* NO `scroll-behavior: smooth` here.
     Lenis sets the scroll position every animation frame; a native smooth
     scroll turns each of those writes into its own animation, and the two
     fight — which reads as stuck or stuttering scrolling. Smooth scrolling
     for anchor links is handled in JS instead. */
}

/* ---- Lenis requirements (these MUST exist or scrolling breaks) ---- */
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis-stopped { overflow: hidden; }
/* Native-scroll devices keep the OS fling untouched */
html.native-scroll { scroll-behavior: auto; }

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: transparent;
  overflow-x: clip;              /* clip — NOT hidden (would break sticky) */
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--yellow); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 8vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 4vw, 1.4rem); }
p  { margin: 0 0 1em; overflow-wrap: anywhere; }

/* ============================================================
   3. THE FIELD — one continuous background behind everything
   ============================================================ */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(90% 60% at 12% 0%,   rgba(251,209,64,.13) 0%, rgba(251,209,64,0) 60%),
    radial-gradient(70% 50% at 88% 28%,  rgba(163,178,18,.11) 0%, rgba(163,178,18,0) 62%),
    radial-gradient(80% 55% at 50% 102%, rgba(251,209,64,.10) 0%, rgba(251,209,64,0) 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 45%, var(--bg-2) 100%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(34% 24% at 24% 20%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(28% 20% at 76% 66%, rgba(251,209,64,.09) 0%, rgba(251,209,64,0) 72%);
  background-size: 150% 150%, 150% 150%;
  background-position: 0% 0%, 100% 100%;
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift {
  from { background-position: 0% 0%,  100% 100%; }
  to   { background-position: 22% 16%, 76% 80%; }
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding: 54px 0; position: relative; }
section.tight { padding: 36px 0; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-2, .grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }

.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.section-head .lead { color: var(--ink-2); max-width: 62ch; }
.section-head.center .lead { margin-inline: auto; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,255,255,.07);
  border: 1px solid var(--edge);
  padding: 7px 15px; border-radius: 99px; margin-bottom: 14px;
}
.lead { font-size: 1.02rem; color: var(--ink-2); }

/* ============================================================
   5. LANGUAGE TOGGLE
   ============================================================ */
.lang-es .lang-en-only { display: none !important; }
.lang-en .lang-es-only { display: none !important; }

/* ============================================================
   6. HEADER — fixed, always visible
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(9, 11, 14, .82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 8, 10, .93);
  box-shadow: 0 10px 34px -16px rgba(0,0,0,.9);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: 10px var(--gutter);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 26px; width: auto; }

.main-nav { display: none; }              /* desktop only */
.header-actions { display: flex; align-items: center; gap: 8px; }

.lang-switch {
  display: flex; align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--edge);
  border-radius: 99px; padding: 2px; flex: none;
}
.lang-switch button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  color: var(--ink-3); padding: 5px 10px; border-radius: 99px;
  transition: background .25s ease, color .25s ease;
}
.lang-switch button.active { background: rgba(251,209,64,.16); color: var(--yellow); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 9px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--edge); border-radius: 11px;
  cursor: pointer; flex: none;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }

.header-actions .btn-sm { display: none; }  /* shown on tablet+ */

/* Mobile drawer */
.mobile-nav-backdrop {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(0,0,0,.6);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1002;
  width: min(84vw, 340px);
  padding: 76px 22px 30px;
  background: rgba(8, 10, 13, .98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--edge);
  transform: translateX(100%);
  transition: transform .42s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); padding: 14px 12px; border-radius: 12px;
}
.mobile-nav a:active { background: rgba(255,255,255,.07); }
.mobile-nav .close-x {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; font-size: 1.7rem; line-height: 1;
  background: rgba(255,255,255,.06); border: 1px solid var(--edge);
  border-radius: 11px; color: var(--ink); cursor: pointer;
}

/* Floating menu button — navigation reachable from anywhere */
.nav-fab {
  position: fixed; right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 999;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(12,14,18,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--edge-2); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.9);
  cursor: pointer; opacity: 0; transform: scale(.8); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease);
}
.nav-fab.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.nav-fab span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; }
.nav-fab span::before, .nav-fab span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  border-radius: 2px; background: currentColor;
}
.nav-fab span::before { top: -6px; }
.nav-fab span::after  { top: 6px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left; z-index: 1003;
  background: linear-gradient(90deg, var(--olive), var(--yellow));
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: 13px 22px; border-radius: 99px; border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: clip;
  transition: transform .25s var(--ease), box-shadow .3s ease,
              background .3s ease, border-color .3s ease;
  min-height: 46px;                       /* comfortable touch target */
}
.btn-sm { padding: 9px 16px; font-size: .84rem; min-height: 38px; }

.btn-primary {
  background: linear-gradient(150deg, var(--yellow) 0%, var(--yellow-deep) 100%);
  color: #1A1B14;
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset,
              0 10px 24px -12px rgba(251,209,64,.7);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.btn-outline-dark, .btn-yellow {
  background: rgba(255,255,255,.06);
  border-color: var(--edge-2); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* ============================================================
   8. GLASS PANE — one recipe for every surface
   ============================================================ */
.value-card, .testi-card, .blog-card, .form-card, .plogo-card,
.presence-card, .pd-block, .cta-band, .article-body, .blog-filters,
.product-nav, .app-card {
  background: var(--pane);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  color: var(--ink-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.09) inset,
              0 20px 46px -26px rgba(0,0,0,.9);
}
.value-card, .testi-card, .blog-card, .form-card,
.plogo-card, .presence-card, .cta-band {
  position: relative; overflow: clip;
}
/* Top-edge light catch — reads as glass rather than flat panel */
.value-card::before, .testi-card::before, .blog-card::before,
.form-card::before, .plogo-card::before, .presence-card::before,
.cta-band::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 45%;
  pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0));
}
.value-card > *, .testi-card > *, .blog-card > *, .form-card > *,
.plogo-card > *, .presence-card > *, .cta-band > * { position: relative; z-index: 1; }

.value-card, .testi-card, .form-card, .presence-card { padding: 22px 20px; }
.value-card h3, .testi-card h3, .presence-card h3 { color: var(--ink); }
.value-card p, .testi-card p, .presence-card p { color: var(--ink-2); margin: 0; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); border: 1px solid var(--edge);
  color: var(--yellow); margin-bottom: 14px;
}

/* ============================================================
   9. HERO / OPENER
   ============================================================ */
.opener {
  position: relative; overflow: clip;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 40px var(--gutter) 90px;
}
/* Still atmosphere behind the opener — a light source, not a spinning wheel */
.opener::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  inset: 0;
  background:
    radial-gradient(70% 46% at 50% 34%, rgba(251,209,64,.13) 0%, rgba(251,209,64,0) 68%),
    radial-gradient(56% 40% at 22% 82%, rgba(163,178,18,.10) 0%, rgba(163,178,18,0) 70%);
}
.opener > * { position: relative; z-index: 2; }

/* --- the logo lockup above the slogan ---------------------------------
   Cinematic, not decorative: the full logo fades up out of darkness,
   settles, and a single thin light travels around its edge once — a
   welcome, then stillness. No rotating background, no spinning shine.
   Centring is done with grid `place-items` on a fixed-ratio box, so
   the logo is optically centred regardless of its aspect ratio.
   -------------------------------------------------------------------- */
.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: min(88vw, 460px);
  margin: 0 auto clamp(24px, 5vw, 40px);
  padding: clamp(10px, 2.4vw, 18px);
  isolation: isolate;
  animation: logoArrive 1.5s cubic-bezier(.16,.8,.24,1) .15s both;
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 44px rgba(0,0,0,.65));
}

/* A soft pool of light beneath the logo — grounds it, no rotation */
.hero-logo::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: 52%;
  width: 150%; height: 260%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(251,209,64,.20) 0%,
    rgba(251,209,64,.07) 38%,
    rgba(251,209,64,0) 70%);
  animation: logoGlow 2s ease-out .5s both;
}

/* The welcome light: a thin line that travels the logo's edge, once */
.hero-logo-sweep {
  position: absolute; inset: 0;
  border-radius: 14px;
  pointer-events: none;
  padding: 1.5px;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    transparent 62deg,
    rgba(255,255,255,.15) 72deg,
    rgba(251,209,64,.95) 80deg,
    rgba(255,255,255,1) 84deg,
    rgba(251,209,64,.95) 88deg,
    rgba(255,255,255,.15) 96deg,
    transparent 106deg,
    transparent 360deg);
  /* Mask to just the 1.5px border so only the edge lights up */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  animation: edgeSweep 2.8s cubic-bezier(.4,0,.2,1) 1.1s both;
}

@keyframes logoArrive {
  0%   { opacity: 0; transform: translateY(26px) scale(.94); filter: blur(14px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes logoGlow {
  from { opacity: 0; transform: translate(-50%,-50%) scale(.7); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
@keyframes edgeSweep {
  0%   { opacity: 0; --a: 0deg; transform: rotate(0deg); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(360deg); }
}

.opener-eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255,255,255,.07); border: 1px solid var(--edge);
  padding: 8px 16px; border-radius: 99px; margin-bottom: 22px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.opener h1 {
  max-width: 15ch; margin-inline: auto;
  background: linear-gradient(100deg, #FFFFFF 0%, #FFF0BC 42%, #FBD140 70%, #FFFFFF 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 9s linear infinite;
}
@keyframes shine { from { background-position: 130% 0; } to { background-position: -70% 0; } }
.opener .lead { max-width: 44ch; margin: 14px auto 0; color: var(--ink-2); }

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.hero-cta .btn { flex: 1 1 auto; min-width: 150px; }

.opener-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); z-index: 2;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,7px); } }
.opener-scroll .line { width: 1.5px; height: 28px; background: var(--ink-3); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: center; margin-top: 34px; }
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 1.7rem; color: var(--ink); font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: .76rem; color: var(--ink-3); }

/* Inner-page hero */
.hero { padding: 44px 0 34px; position: relative; }
.hero h1 { color: var(--ink); }
.hero .lead { color: var(--ink-2); max-width: 60ch; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,255,255,.07); border: 1px solid var(--edge);
  padding: 8px 15px; border-radius: 99px; margin-bottom: 16px;
}

/* ============================================================
   10. CHAPTERS (photo panels)
   ============================================================ */
.chapter {
  position: relative; overflow: clip;
  min-height: 74svh;
  display: flex; align-items: flex-end;
  padding: 70px 0 54px;
  background-color: #14160F;
  background-size: cover; background-position: center;
}
.chapter::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,7,9,.12) 0%, rgba(6,7,9,.55) 52%, rgba(4,5,7,.9) 100%);
}
.chapter-bg {
  position: absolute; inset: -8% 0; z-index: 0;
  background-size: cover; background-position: center;
}
.chapter-content { position: relative; z-index: 3; }
.chapter h2 { color: var(--ink); }
.chapter p { color: var(--ink-2); max-width: 54ch; }
.chapter-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; padding: 8px 15px; border-radius: 99px; margin-bottom: 16px;
}
.light-layer {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 80% at var(--lx,50%) var(--ly,40%),
    rgba(251,209,64,.26) 0%, rgba(163,178,18,.10) 38%, rgba(16,16,12,.5) 100%);
  mix-blend-mode: soft-light;
  opacity: var(--l-op, .85);
}
.grain-layer { display: none; }            /* desktop only */

/* ============================================================
   11. CANVAS SEQUENCES
   ============================================================ */
.seq-section { position: relative; overflow: visible; background: transparent; }
.seq-sticky {
  position: sticky; top: 0;
  height: 100svh;
  overflow: clip;
  background: rgba(6,7,9,.6);
}
.seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq-sticky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56%;
  z-index: 4; pointer-events: none;
  background: linear-gradient(to top, rgba(5,6,8,.88) 0%, rgba(5,6,8,.35) 48%, transparent 100%);
}
.seq-ui {
  position: absolute; left: 0; right: 0;
  bottom: max(6vh, env(safe-area-inset-bottom, 0px) + 20px);
  z-index: 5; pointer-events: none;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding-inline: var(--gutter);
}
.seq-caption { position: relative; width: 100%; min-height: 132px; text-align: center; }
.sc-item {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease;
}
.sc-item.on { opacity: 1; transform: translateY(0); }
.seq-caption h3 {
  color: #fff; font-size: clamp(1.35rem, 6vw, 2.4rem);
  margin: 0; max-width: 17ch; text-shadow: 0 2px 26px rgba(0,0,0,.7);
}
.seq-caption p {
  color: rgba(255,255,255,.85); max-width: 44ch; margin: 0;
  font-size: clamp(.9rem, 3.6vw, 1.05rem); line-height: 1.5;
  text-shadow: 0 1px 14px rgba(0,0,0,.75);
}
.seq-progress {
  width: min(280px, 62vw); height: 3px; border-radius: 99px;
  background: rgba(255,255,255,.16); overflow: clip; flex: none;
}
.seq-progress i {
  display: block; height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, var(--olive), var(--yellow));
  box-shadow: 0 0 12px rgba(251,209,64,.5);
}
.seq-chapters { display: flex; gap: 6px; flex: none; }
.seq-chapters b {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.24);
  transition: background .35s ease, transform .35s ease;
}
.seq-chapters b.on { background: var(--yellow); transform: scale(1.35); }

@media (max-height: 620px) {
  .seq-caption { min-height: 92px; }
  .seq-caption p { display: none; }
}

/* ============================================================
   12. STORY (sticky visual + steps)
   ============================================================ */
.story-section { position: relative; overflow: clip; }
.story-grid { display: grid; grid-template-columns: 1fr; }
.story-visual-col { position: relative; height: 44svh; overflow: clip; }
.story-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .7s ease;
}
.story-bg.is-active { opacity: 1; }
.story-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.05));
}
.story-steps-col { display: flex; flex-direction: column; }
.story-step { padding: 40px var(--gutter); }
.story-step .num {
  font-family: var(--font-head); font-weight: 800;
  color: var(--yellow); font-size: .8rem; letter-spacing: .14em; margin-bottom: 10px;
}
.story-step h3 { color: #fff; }
.story-step p { color: var(--ink-2); max-width: 46ch; }

/* ============================================================
   13. PRODUCT CARDS (home)
   ============================================================ */
.plogo-card {
  padding: 26px 18px; text-align: center; display: block;
  transition: transform .35s var(--ease), border-color .35s ease, background .35s ease;
}
.plogo-card .mark {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); border: 1px solid var(--edge);
}
.plogo-card .mark img { width: 26px; height: auto; }
.plogo-card .pname { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.plogo-card .pcat  { font-size: .78rem; color: var(--ink-3); margin-top: 3px; }
.plogo-card .pline { width: 24px; height: 3px; border-radius: 99px; margin: 12px auto 0; }

/* ============================================================
   14. PRODUCTS PAGE
   CONTENT IS NEVER HIDDEN BY DEFAULT.
   ============================================================ */
.product-detail {
  position: relative;
  padding: 44px 0;
  background: transparent;
}
.product-detail + .product-detail::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%); width: min(700px, 84%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}
.product-detail > .container { opacity: 1; transform: none; }
.product-detail.pd-anim > .container {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.product-detail.pd-anim.in-view > .container { opacity: 1; transform: none; }

/* Mobile order: name -> packaging -> details */
.pd-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pd-head    { order: 1; }
.pd-gallery { order: 2; }
.pd-body    { order: 3; }

.pd-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; padding: 6px 13px; border-radius: 99px; margin-bottom: 12px;
}
.pd-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-title h2 { margin: 0; color: var(--ink); }
.pd-title .subtitle { font-size: .95rem; color: var(--ink-2); font-weight: 600; }
.pd-tagline {
  font-family: var(--font-head); font-style: italic; font-weight: 600;
  font-size: 1.02rem; color: var(--yellow); margin: 10px 0 0;
}

.pd-gallery { display: flex; gap: 12px; align-items: flex-start; }
.pd-gallery .pack {
  flex: 1 1 0; min-width: 0; text-align: center;
  background: rgba(255,255,255,.92); border-radius: 16px;
  border: 1px solid rgba(255,255,255,.3); padding: 16px 12px 14px;
}
.pd-gallery .pack img { width: 100%; height: 160px; object-fit: contain; object-position: center; margin: 0 auto 10px; }
.pd-gallery .pack .size { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: #1B1D18; }
.pd-gallery .pack .size-note { font-size: .72rem; color: #5A5C52; }

.pd-body > .lang-en-only p,
.pd-body > .lang-es-only p { color: var(--ink-2); }

.pd-block { padding: 20px 18px; margin-top: 18px; }
.pd-block h4 {
  font-family: var(--font-head); font-weight: 700; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--yellow); margin: 0 0 14px;
}
.pd-benefits { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.pd-benefits li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.pd-benefits li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--yellow); }

table.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.spec-table td { padding: 11px 4px; border-bottom: 1px solid var(--edge); }
table.spec-table td:first-child { color: var(--ink-2); }
table.spec-table td:last-child {
  text-align: right; font-weight: 700; font-family: var(--font-head); color: var(--ink);
}
table.spec-table tr:last-child td { border-bottom: 0; }

.app-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.app-card { padding: 16px 16px; border-radius: 13px; }
.app-card strong {
  display: block; font-family: var(--font-head); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--yellow); margin-bottom: 6px;
}
.app-card p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

.crops-line {
  font-size: .9rem; color: var(--ink-2);
  background: rgba(163,178,18,.13); border: 1px solid rgba(163,178,18,.3);
  border-radius: 13px; padding: 14px 16px; margin-top: 10px;
}

/* Sticky product nav */
.product-nav {
  position: sticky; top: var(--header-h); z-index: 500;
  padding: 9px 0; border-radius: 0;
  background: rgba(9,11,14,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-left: 0; border-right: 0;
}
.product-nav .container { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; touch-action: auto; }
.product-nav .container::-webkit-scrollbar { display: none; }
.product-nav a {
  flex: none; font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  padding: 8px 14px; border-radius: 99px; white-space: nowrap;
  border: 1px solid var(--edge); color: var(--ink-2);
}
.product-nav a.active { background: rgba(251,209,64,.16); border-color: rgba(251,209,64,.45); color: var(--yellow); }

/* ============================================================
   15. BLOG
   ============================================================ */
.blog-card { display: block; overflow: clip; }
.blog-cover { overflow: clip; }
.blog-cover img { width: 100%; height: 150px; object-fit: cover; }
.blog-card .body { padding: 18px 18px 20px; }
.blog-meta { font-size: .74rem; color: var(--ink-3); margin-bottom: 8px; }
.blog-card h3 { color: var(--ink); font-size: 1.05rem; }
.blog-card p { color: var(--ink-2); font-size: .92rem; }
.readmore { color: var(--yellow); font-family: var(--font-head); font-weight: 600; font-size: .86rem; }

.blog-filters { display: flex; gap: 7px; flex-wrap: wrap; padding: 12px; margin-bottom: 22px; }
.blog-filters button {
  background: rgba(255,255,255,.05); border: 1px solid var(--edge);
  color: var(--ink-2); border-radius: 99px; padding: 8px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; cursor: pointer;
}
.blog-filters button.active { background: rgba(251,209,64,.16); border-color: rgba(251,209,64,.45); color: var(--yellow); }

.article-hero { padding: 34px 0 20px; background: transparent; }
.article-hero h1 { color: var(--ink); }
.article-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 99px; border: 1px solid var(--edge);
}
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--ink-3); margin-top: 14px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body {
  padding: 24px 20px; margin: 0 auto 30px;
  max-width: 760px; width: calc(100% - var(--gutter) * 2);
}
.article-body h2 { color: var(--ink); font-size: 1.3rem; margin: 1.6em 0 .5em; }
.article-body p { color: var(--ink-2); }
.article-cta {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--pane); border: 1px solid var(--edge);
  border-radius: var(--radius); padding: 20px; margin-top: 26px;
}
.article-cta h3 { color: var(--ink); }
.article-cta p { color: var(--ink-2); }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ============================================================
   16. FORMS
   ============================================================ */
.form-card { padding: 22px 18px; }
.form-card h3 { color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-field { margin-bottom: 15px; }
.form-field label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; color: var(--ink-2); margin-bottom: 6px;
}
.form-card input, .form-card select, .form-card textarea {
  width: 100%; max-width: 100%;
  background: rgba(255,255,255,.05); border: 1px solid var(--edge);
  color: var(--ink); border-radius: 12px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 16px;   /* 16px stops iOS zoom */
}
.form-card textarea { resize: vertical; min-height: 118px; }
.form-card select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-card select option { background: #14171C; color: var(--ink); }
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--ink-3); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: rgba(251,209,64,.55);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(251,209,64,.12);
}
.email-list { overflow-wrap: anywhere; }
.email-list strong { display: block; margin-top: 8px; color: var(--ink); }

/* ============================================================
   17. PRESENCE / TESTIMONIALS / CTA
   ============================================================ */
.presence-band { padding: 46px 0; background: transparent; }
.presence-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.presence-card { padding: 20px 18px; }
.presence-card h3 { display: flex; align-items: center; gap: 9px; font-size: 1rem; }
.presence-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }

.testi-card { padding: 22px 20px; }
.testi-card p { color: var(--ink-2); font-size: .95rem; }
.testi-who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251,209,64,.16); border: 1px solid var(--edge);
  color: var(--yellow); font-family: var(--font-head); font-weight: 800; font-size: .84rem;
}
.testi-who strong { display: block; color: var(--ink); font-size: .88rem; }
.testi-who span { color: var(--ink-3); font-size: .78rem; }

.cta-band {
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px 22px; text-align: center;
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); }

.timeline { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.timeline .step { position: relative; padding-left: 52px; }
.timeline .step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(251,209,64,.16); border: 1px solid var(--edge); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
  background: rgba(5,6,8,.9);
  border-top: 1px solid var(--edge);
  padding: 40px 0 26px; margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-brand img { height: 26px; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-2); font-size: .88rem; }
.site-footer h5 {
  font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 12px;
}
.site-footer a { display: block; color: var(--ink-2); font-size: .88rem; padding: 5px 0; overflow-wrap: anywhere; }
.social-row { display: flex; gap: 8px; margin-top: 14px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--edge);
  color: var(--ink-2); padding: 0;
}
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--edge); margin-top: 26px; padding-top: 18px;
  font-size: .78rem; color: var(--ink-3);
}

/* ============================================================
   19. ERROR PAGE
   ============================================================ */
.err-wrap {
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; justify-content: center;
  padding: 30px var(--gutter) 60px; position: relative; overflow: clip;
}
.err-card {
  position: relative; z-index: 2; text-align: center; max-width: 620px; width: 100%;
  padding: 32px 22px; border-radius: var(--radius-lg);
  background: var(--pane); border: 1px solid var(--edge);
  box-shadow: 0 1px 0 rgba(255,255,255,.09) inset, 0 34px 74px -38px rgba(0,0,0,1);
}
.err-mark { width: clamp(78px, 22vw, 112px); margin: 0 auto 20px; filter: drop-shadow(0 10px 30px rgba(251,209,64,.4)); }
.err-code {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3rem, 16vw, 5.4rem); line-height: .95; margin: 0 0 6px;
  background: linear-gradient(100deg, #FBD140, #FFF3C4 40%, #A3B212 75%, #FBD140);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 7s linear infinite;
}
.err-title { font-size: clamp(1.2rem, 5.4vw, 1.7rem); color: var(--ink); margin: 0 0 10px; }
.err-msg { color: var(--ink-2); margin: 0 auto; max-width: 44ch; }
.err-path {
  display: inline-block; max-width: 100%; margin: 14px 0 0;
  font-family: ui-monospace, Menlo, monospace; font-size: .8rem; color: var(--ink-3);
  background: rgba(0,0,0,.3); border: 1px solid var(--edge);
  border-radius: 9px; padding: 7px 12px; overflow-wrap: anywhere;
}
.err-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.err-links { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--edge); }
.err-links h5 { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.err-links nav { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.err-links a {
  font-size: .82rem; color: var(--ink-2); padding: 7px 13px; border-radius: 99px;
  border: 1px solid var(--edge); background: rgba(255,255,255,.05);
}

/* ============================================================
   20. PAGE TRANSITION
   ============================================================ */
.pt-boot {
  position: fixed; inset: 0; z-index: 10001; pointer-events: none;
  display: grid; place-items: center;   /* true centring, both axes */
  line-height: 0;                        /* no baseline offset from whitespace */
  background:
    radial-gradient(65% 50% at 50% 44%, rgba(251,209,64,.17) 0%, rgba(251,209,64,0) 70%),
    linear-gradient(160deg, #101318 0%, #07080A 60%, #0C0E12 100%);
  animation: bootLift .78s cubic-bezier(.76,0,.24,1) .06s forwards;
}
.pt-boot img {
  width: 66px; height: auto;
  display: block;
  margin: 0;                                  /* flex centring handles it */
  object-fit: contain;
  animation: bootMark .62s var(--ease) forwards;
}
@keyframes bootLift { to { transform: translateY(-100%); } }
@keyframes bootMark { 0%,55% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }
.pt-exit {
  position: fixed; inset: 0; z-index: 10000; pointer-events: none;
  display: grid; place-items: center;
  line-height: 0;
  background:
    radial-gradient(65% 50% at 50% 44%, rgba(251,209,64,.17) 0%, rgba(251,209,64,0) 70%),
    linear-gradient(160deg, #101318 0%, #07080A 60%, #0C0E12 100%);
  transform: translateY(100%);
}
.pt-exit img {
  width: 66px; height: auto; display: block; margin: 0;
  object-fit: contain; opacity: 0;
}
.page-body-in { animation: bodyIn .8s ease .06s both; }
@keyframes bodyIn { from { opacity: .4; } to { opacity: 1; } }

/* ============================================================
   21. REVEALS — opt-in only, never hide by default
   ============================================================ */
.reveal, .reveal-zoom { opacity: 1; transform: none; }
.js-reveal .reveal      { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal-zoom { opacity: 0; transform: scale(.95);       transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.is-visible,
.js-reveal .reveal-zoom.is-visible { opacity: 1; transform: none; }

.split-line { display: block; overflow: clip; }
.split-line > span { display: block; }

/* ============================================================
   22. TABLET  (>= 700px)
   ============================================================ */
@media (min-width: 700px) {
  :root { --gutter: 26px; --header-h: 68px; }

  section { padding: 70px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid   { grid-template-columns: 1fr 1fr; gap: 20px; }

  .brand img { height: 30px; }
  .header-actions .btn-sm { display: inline-flex; }

  .form-row { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .pd-benefits { grid-template-columns: 1fr 1fr; gap: 12px 22px; }
  .app-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .presence-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .timeline { grid-template-columns: 1fr 1fr; }

  .pd-gallery .pack img { height: 200px; }
  .value-card, .testi-card, .form-card, .presence-card { padding: 26px 24px; }
  .pd-block { padding: 24px 22px; }
  .article-body { padding: 30px 30px; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding: 30px 28px; }
  .cta-band h2 { margin-bottom: .3em; }
  .article-cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .hero-cta .btn { flex: 0 0 auto; }
  .seq-caption { min-height: 150px; }
  .story-visual-col { height: 52svh; }
}

/* ============================================================
   23. DESKTOP  (>= 1000px)
   ============================================================ */
@media (min-width: 1000px) {
  :root { --gutter: 32px; --header-h: 74px; }

  section { padding: 90px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-2 { gap: 30px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .presence-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .main-nav { display: flex; align-items: center; gap: 2px; }
  .main-nav a {
    position: relative;
    font-family: var(--font-head); font-weight: 600; font-size: .9rem;
    color: var(--ink-2); padding: 9px 14px; border-radius: 99px;
    transition: color .25s ease, background .25s ease;
  }
  .main-nav a:hover, .main-nav a.active {
    color: var(--yellow); background: rgba(251,209,64,.13);
  }
  .nav-toggle, .nav-fab { display: none; }

  .brand img { height: 34px; }

  /* Product detail: gallery beside, name above specs */
  .pd-grid {
    grid-template-columns: .78fr 1.22fr;
    grid-template-rows: auto 1fr;
    gap: 26px 44px; align-items: start;
  }
  .pd-head    { grid-column: 2; grid-row: 1; order: 0; }
  .pd-gallery { grid-column: 1; grid-row: 1 / span 2; order: 0; position: sticky; top: calc(var(--header-h) + 70px); }
  .pd-body    { grid-column: 2; grid-row: 2; order: 0; }
  .pd-gallery .pack img { height: 240px; }
  .product-detail { padding: 70px 0; }

  /* Story: sticky visual beside scrolling steps */
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-visual-col { position: sticky; top: 0; height: 100svh; }
  .story-step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; padding: 60px 54px; opacity: .35; transition: opacity .5s ease; }
  .story-step.is-active { opacity: 1; }

  .chapter { min-height: 80svh; padding: 100px 0 80px; }
  .grain-layer {
    display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    opacity: .14; 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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  }

  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover::after { transform: translateX(100%); }
  .btn-outline-dark:hover, .btn-yellow:hover { background: rgba(255,255,255,.12); border-color: rgba(251,209,64,.5); }
  .value-card:hover, .blog-card:hover, .plogo-card:hover, .presence-card:hover {
    background: var(--pane-2); border-color: var(--edge-2); transform: translateY(-5px);
  }
  .plogo-card:hover { border-color: rgba(251,209,64,.45); }
  .blog-card:hover .blog-cover img { transform: scale(1.07); }
  .blog-cover img { transition: transform .7s var(--ease); }

  .seq-caption { min-height: 170px; }
  .article-body { padding: 40px 44px; }
}

@media (min-width: 1280px) {
  .grid-3 { gap: 28px; }
  .pd-gallery .pack img { height: 250px; }
}

/* ============================================================
   24. TOUCH + MOTION PREFERENCES
   ============================================================ */
@media (pointer: coarse) {
  body { touch-action: pan-y pinch-zoom; }
  .product-nav .container, table, [data-scroll-x] { touch-action: auto; }
  /* Cheaper surfaces — backdrop-filter is the costliest effect on phones */
  .value-card, .testi-card, .blog-card, .form-card, .plogo-card,
  .presence-card, .pd-block, .cta-band, .article-body, .app-card {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(255,255,255,.075);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-reveal .reveal, .js-reveal .reveal-zoom { opacity: 1 !important; transform: none !important; }
  .sc-item { opacity: 1; }
  .seq-sticky { position: relative; height: 70svh; min-height: 400px; }
  .pt-boot { display: none; }
}

/* ============================================================
   25. PRINT
   ============================================================ */
@media print {
  .site-header, .mobile-nav, .nav-fab, .pt-boot, .seq-section, .scroll-progress { display: none !important; }
  body { padding-top: 0; color: #000; }
  body::before, body::after { display: none; }
}

/* ============================================================
   19. FORM STATES  (live contact + order forms)
   Appended after the base form rules so these win without
   needing !important — one definition per selector, as per the
   invariants at the top of this file.
   ============================================================ */

/* Honeypot. Must be reachable to a bot parsing the DOM but invisible and
   unfocusable for a person — so no `display:none`, which some bots skip. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 14px 0 0;
  padding: 12px 15px;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-status.is-pending {
  background: rgba(255,255,255,.06);
  border-color: var(--edge);
  color: var(--ink-2);
  font-weight: 500;
}
.form-status.is-success {
  background: rgba(163,178,18,.14);
  border-color: rgba(163,178,18,.42);
  color: #C7D93A;
}
.form-status.is-warn {
  background: rgba(251,209,64,.13);
  border-color: rgba(251,209,64,.40);
  color: var(--yellow);
}
.form-status.is-error {
  background: rgba(232,90,74,.13);
  border-color: rgba(232,90,74,.42);
  color: #F09A90;
}

.form-privacy {
  margin: 12px 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-3);
}

/* Server-side validation feedback */
[data-invalid] {
  border-color: rgba(232,90,74,.65) !important;
  box-shadow: 0 0 0 3px rgba(232,90,74,.14);
}

/* Busy state on the submit button */
button[aria-busy="true"] {
  opacity: .72;
  cursor: progress;
}
button[disabled] { cursor: not-allowed; }

/* The order form's three-up row collapses to one column on phones,
   which the base .form-row already does — this only widens it back out. */
@media (min-width: 700px) {
  #order .form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  #order .form-row:nth-of-type(2) { grid-template-columns: 1fr 1fr; }
}
