/* AG247 landing — design tokens resolve to the landing-page-design system:
   Tailwind type scale, fixed spacing table, Tailwind radii, flat backgrounds. */

:root {
  /* Surfaces (approved dark palette) */
  --bg: #131209;
  --surface: #1f1f1f;
  --surface-2: #272727;
  --surface-3: #313131;
  --black: #000000;

  /* Text */
  --text: #f4f4f1;
  --text-muted: #a6a69d;
  --text-faint: rgba(244, 244, 241, 0.3);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Brand (sampled from AG logo) */
  --green: #439331;
  --green-hover: #52a83e;
  --green-ink: #0b0f08;
  --green-soft: rgba(67, 147, 49, 0.14);
  --olive: #50674b;
  --danger: #f2765f;

  /* Spacing table */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px;
  --s-300: 24px; --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px;
  --s-800: 80px; --s-900: 96px;

  /* Radii (Tailwind) */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-3xl: 24px; --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 700ms;

  --container: 1200px;
  --gutter: var(--s-200);
  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: var(--s-400); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem; line-height: 1.5rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
/* links inside running text stay underlined so they read as links */
.prose a, .form-note a, .answer a { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
em, i, cite { font-style: normal; }

:focus-visible { outline: 2px solid var(--green-hover); outline-offset: 2px; border-radius: var(--r-md); }

.skip-link {
  position: absolute; left: var(--s-200); top: -100px; z-index: 100;
  background: var(--green); color: var(--green-ink);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s-200); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s-800) 0; }
@media (min-width: 768px) { .section { padding: var(--s-900) 0; } }

/* Type helpers (Tailwind steps) */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-75);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
  color: var(--green-hover);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: var(--r-full); background: currentColor; }

.section-head { max-width: 680px; margin-bottom: var(--s-600); }
.section-head h2 { font-size: 1.875rem; line-height: 2.25rem; margin-top: var(--s-100); }
.section-head p { margin-top: var(--s-200); color: var(--text-muted); font-size: 1.125rem; line-height: 1.75rem; }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border: 1px solid transparent; border-radius: var(--r-full);
  font-size: 1rem; line-height: 1.5rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn i { font-size: 1.125rem; transition: transform var(--dur) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--sm { font-size: 0.875rem; line-height: 1.25rem; }

.btn--primary { background: var(--green); color: var(--green-ink); }
/* Fill wipe on hover: flat lighter layer slides in from the left */
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--green-hover);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.btn--primary:hover::before { transform: scaleX(1); }
/* Sheen sweep */
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: -1;
  background: rgba(255, 255, 255, 0.28);
  transform: skewX(-20deg) translateX(0);
  transition: transform 900ms var(--ease);
}
.btn--primary:hover::after { transform: skewX(-20deg) translateX(560%); }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--line-strong); }

.btn[aria-busy="true"] { pointer-events: none; color: transparent; }
.btn[aria-busy="true"]::before { transform: scaleX(1); animation: pulse 1.2s var(--ease) infinite alternate; }
.btn[aria-busy="true"] .btn-busy-label { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green-ink); }
.btn-busy-label { display: none; }
@keyframes pulse { from { opacity: 1; } to { opacity: 0.55; } }

/* ---------- Fluid island nav ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 var(--s-200); pointer-events: none; }
.nav {
  pointer-events: auto;
  margin-top: var(--s-300);
  width: max-content; max-width: 100%;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  background: rgba(24, 24, 24, 0.6);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav.is-scrolled { background: rgba(24, 24, 24, 0.85); }
.brand { display: inline-flex; align-items: center; gap: var(--s-75); text-decoration: none; font-weight: 700; font-size: 1.125rem; line-height: 1.75rem; letter-spacing: -0.02em; }
.brand img { width: 40px; height: auto; }
.nav-links { display: none; gap: var(--s-50); }
.nav-links a {
  display: inline-block; padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--text-muted); text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.nav .btn--primary { display: none; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav .btn--primary { display: inline-flex; }
  .burger { display: none; }
}

.burger {
  position: relative; width: 40px; height: 40px; border: 0; border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08); cursor: pointer; z-index: 60;
  transition: background-color var(--dur) var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, 0.14); }
.burger span {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: var(--r-full); background: var(--text);
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-900) var(--s-300) var(--s-600);
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(64px); backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease), visibility 0s; }
.menu ul { display: grid; gap: var(--s-200); }
.menu li { overflow: hidden; }
.menu a:not(.btn) {
  display: inline-block; font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; text-decoration: none; letter-spacing: -0.02em;
}
.menu li > * {
  transform: translateY(48px); opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu.is-open li > * { transform: translateY(0); opacity: 1; }
.menu.is-open li:nth-child(1) > * { transition-delay: 100ms; }
.menu.is-open li:nth-child(2) > * { transition-delay: 150ms; }
.menu.is-open li:nth-child(3) > * { transition-delay: 200ms; }
.menu.is-open li:nth-child(4) > * { transition-delay: 250ms; }
.menu.is-open li:nth-child(5) > * { transition-delay: 300ms; }
.menu.is-open li:nth-child(6) > * { transition-delay: 350ms; }
.menu a[aria-current="true"] { color: var(--green-hover); }
.menu .btn { margin-top: var(--s-300); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--s-900) + var(--s-700)); padding-bottom: var(--s-800); text-align: center; }
.hero .eyebrow { justify-content: center; }
.hero h1 {
  max-width: 680px; margin: var(--s-300) auto 0;
  font-size: 1.875rem; line-height: 2.25rem;
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 400px) { .hero h1 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; line-height: 1; } }
.hero-sub { max-width: 680px; margin: var(--s-300) auto 0; color: var(--text-muted); font-size: 1.125rem; line-height: 1.75rem; }
.hero-cta { margin-top: var(--s-400); display: flex; justify-content: center; }
.hero-proof { margin-top: var(--s-300); font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.hero-proof i { color: var(--green-hover); font-size: 1.125rem; vertical-align: -3px; margin-right: var(--s-50); }

.hero-media { position: relative; margin-top: var(--s-700); }
.hero-frame {
  position: relative; border-radius: var(--r-3xl); padding: var(--s-75);
  background: var(--surface); border: 1px solid var(--line);
}
.hero-frame img { width: 100%; border-radius: var(--r-2xl); aspect-ratio: 1600 / 779; object-fit: cover; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.6); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-align: left;
}
@media (min-width: 640px) { .chip { font-size: 0.875rem; line-height: 1.25rem; } }
.chip i { font-size: 1rem; color: var(--green-hover); }
.chip--live { top: var(--s-300); left: var(--s-300); }
.chip--water { bottom: var(--s-300); left: var(--s-300); }
.chip--water strong { color: var(--green-hover); }
.live-dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--green-hover); box-shadow: 0 0 0 0 rgba(82, 168, 62, 0.6); animation: live 2s var(--ease) infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(82, 168, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(82, 168, 62, 0); } }
@media (max-width: 639px) {
  .chip--live { top: var(--s-200); left: var(--s-200); }
  .chip--water { display: none; }
}

/* ---------- Stack strip ---------- */
.stack { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-400) 0; }
.stack-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-200) var(--s-400); }
.stack-label { font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.stack-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-75); }
.stack-list li {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100); border-radius: var(--r-full); border: 1px solid var(--line);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--text);
}
.stack-list i { color: var(--green-hover); }

/* ---------- Problem ---------- */
.problem-grid { display: grid; gap: var(--s-200); }
@media (min-width: 768px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line);
  padding: var(--s-300);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--r-xl); background: var(--green-soft); color: var(--green-hover); font-size: 1.5rem;
}
.card h3 { margin-top: var(--s-300); font-size: 1.25rem; line-height: 1.75rem; }
.card p { margin-top: var(--s-75); color: var(--text-muted); }

/* ---------- Tagline reveal ---------- */
.tagline { padding: var(--s-900) 0; }
.tagline p {
  max-width: 900px; margin: 0 auto;
  font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 640px) { .tagline p { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .tagline p { font-size: 3.75rem; line-height: 1; } }
.tagline .word { color: var(--text-faint); transition: color var(--dur) var(--ease); }
.tagline .word.is-on { color: var(--text); }
.tagline .word.accent.is-on { color: var(--green-hover); }

/* ---------- Solutions tabs ---------- */
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-75); margin-bottom: var(--s-400); }
@media (min-width: 640px) { .tabs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tabs { grid-template-columns: repeat(4, 1fr); } }
/* seven tabs fit one row from 1280px with a slightly tighter pill */
@media (min-width: 1280px) { .tabs { display: flex; flex-wrap: nowrap; gap: var(--s-50); } .tabs .tab { padding: var(--s-75) var(--s-100); } }
.tab {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-200); border-radius: var(--r-full);
  border: 1px solid var(--line); background: transparent; color: var(--text-muted);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; cursor: pointer; text-align: left;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tab i { font-size: 1.125rem; }
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab:active { transform: scale(0.98); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--green-ink); }

.panel { display: grid; gap: var(--s-400); align-items: center; }
.panel[hidden] { display: none; }
@media (min-width: 1024px) { .panel { grid-template-columns: 5fr 7fr; gap: var(--s-700); } }
.panel.is-entering { animation: panel-in 800ms var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.panel h3 { font-size: 1.5rem; line-height: 2rem; }
@media (min-width: 768px) { .panel h3 { font-size: 1.875rem; line-height: 2.25rem; } }
.panel-lead { margin-top: var(--s-200); color: var(--text-muted); font-size: 1.125rem; line-height: 1.75rem; }
.modules { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-300); }
.modules li { padding: var(--s-50) var(--s-100); border-radius: var(--r-full); background: var(--surface-2); font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.benefits { display: grid; gap: var(--s-200); margin-top: var(--s-300); }
.benefits li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-100); color: var(--text-muted); }
.benefits li i { color: var(--green-hover); font-size: 1.25rem; margin-top: var(--s-25); }
.benefits strong { color: var(--text); font-weight: 600; }

.panel-media { position: relative; }
.shot {
  border-radius: var(--r-3xl); padding: var(--s-75); background: var(--surface); border: 1px solid var(--line);
}
.shot img { width: 100%; border-radius: var(--r-2xl); }
.inset {
  position: absolute; right: var(--s-200); bottom: calc(var(--s-700) * -1); width: 34%;
  border-radius: var(--r-2xl); padding: var(--s-50); background: var(--surface-2); border: 1px solid var(--line-strong);
}
.inset img { border-radius: var(--r-xl); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.panel-media.has-inset { margin-bottom: var(--s-700); }
@media (max-width: 639px) { .inset { width: 40%; right: var(--s-75); } }

/* ---------- Brand lines ---------- */
.lines-grid { display: grid; gap: var(--s-200); }
@media (min-width: 900px) { .lines-grid { grid-template-columns: 1fr 1fr; } }
.line-card { display: flex; flex-direction: column; padding: var(--s-75); }
.line-card .line-body { padding: var(--s-300); flex: 1; }
.line-card .line-logo { height: 56px; width: auto; }
.line-card p { margin-top: var(--s-200); }
.line-card ul { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-300); }
.line-card ul li { padding: var(--s-50) var(--s-100); border-radius: var(--r-full); border: 1px solid var(--line); font-size: 0.75rem; line-height: 1rem; font-weight: 600; color: var(--text-muted); }
.line-card .line-img { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.line-card .line-img--contain { object-fit: contain; padding: var(--s-200); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--s-200); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-full);
  border: 1px solid var(--line-strong); font-weight: 700; font-size: 0.875rem; line-height: 1.25rem; color: var(--green-hover);
}
.step h3 { margin-top: var(--s-300); font-size: 1.25rem; line-height: 1.75rem; }
.step p { margin-top: var(--s-75); color: var(--text-muted); }
.devices { margin-top: var(--s-600); border-radius: var(--r-3xl); padding: var(--s-75); background: var(--surface); border: 1px solid var(--line); }
.devices img { width: 100%; border-radius: var(--r-2xl); }

/* ---------- Field gallery ---------- */
.gallery { display: grid; gap: var(--s-100); grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: var(--s-200); } }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-2xl); border: 1px solid var(--line);
  background: var(--surface); padding: 0; cursor: zoom-in; text-align: left;
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile:active { transform: scale(0.98); }
.tile-cap {
  position: absolute; left: var(--s-75); right: var(--s-75); bottom: var(--s-75);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-lg);
  background: rgba(0, 0, 0, 0.65); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 0.75rem; line-height: 1rem; font-weight: 600;
  transform: translateY(8px); opacity: 0.9;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { transform: translateY(0); opacity: 1; }
.tile-cap span { display: block; color: var(--green-hover); }

.lightbox {
  width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: var(--s-75);
  border: 1px solid var(--line-strong); border-radius: var(--r-3xl); background: var(--surface); color: var(--text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.lightbox[open] { animation: panel-in 600ms var(--ease) both; }
.lightbox img { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: var(--r-2xl); background: var(--black); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); padding: var(--s-100) var(--s-100) var(--s-50); }
.lightbox-bar p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.25rem; }
.icon-btn {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-full);
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 1.125rem;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(0.98); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: var(--s-600); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 4fr 8fr; } }
.faq { display: grid; gap: var(--s-75); }
.faq details { border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur) var(--ease); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); font-weight: 600; border-radius: var(--r-2xl);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; font-size: 1.25rem; color: var(--text-muted); transition: transform var(--dur) var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); color: var(--green-hover); }
.faq summary:hover { color: var(--green-hover); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--text-muted); }
.faq details[open] .answer { animation: panel-in 600ms var(--ease) both; }

.assurances { display: grid; gap: var(--s-200); margin-top: var(--s-400); }
.assurances li { display: flex; gap: var(--s-100); align-items: flex-start; color: var(--text-muted); }
.assurances i { color: var(--green-hover); font-size: 1.25rem; }
.assurances strong { color: var(--text); font-weight: 600; display: block; }

/* ---------- Final CTA + form ---------- */
.cta-card {
  border-radius: var(--r-3xl); background: var(--surface); border: 1px solid var(--line);
  padding: var(--s-75); display: grid; gap: var(--s-75);
}
@media (min-width: 1024px) { .cta-card { grid-template-columns: 5fr 7fr; } }
.cta-copy { padding: var(--s-300); display: flex; flex-direction: column; gap: var(--s-300); }
@media (min-width: 768px) { .cta-copy { padding: var(--s-400); } }
.cta-copy h2 { font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .cta-copy h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.cta-photo { border-radius: var(--r-2xl); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-top: auto; }
.contact-list { display: grid; gap: var(--s-100); }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--text-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.contact-list a:hover { color: var(--text); }
.contact-list i { color: var(--green-hover); font-size: 1.125rem; }

.form { background: var(--surface-2); border-radius: var(--r-2xl); padding: var(--s-300); display: grid; gap: var(--s-200); align-content: start; }
@media (min-width: 768px) { .form { padding: var(--s-400); } }
.contact-form { align-content: center; }
.contact-form h3 { font-size: 1.5rem; line-height: 2rem; }
.contact-actions { display: grid; gap: var(--s-100); }
.form-row { display: grid; gap: var(--s-200); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-75); }
.field > label, .field > legend { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; padding: 0; }
.field input, .field textarea {
  width: 100%; padding: var(--s-100) var(--s-200); border-radius: var(--r-xl);
  background: var(--surface-3); border: 1px solid var(--line); color: var(--text);
  font: inherit; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-hover); background: var(--surface-2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: 0.75rem; line-height: 1rem; color: var(--danger); min-height: 1rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr; gap: var(--s-75); }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check {
  position: relative; display: flex; align-items: center; gap: var(--s-75);
  padding: var(--s-100) var(--s-200); border-radius: var(--r-xl); border: 1px solid var(--line);
  background: var(--surface-3); cursor: pointer; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.check:hover { border-color: var(--line-strong); }
.check:active { transform: scale(0.98); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check i { font-size: 1.25rem; color: var(--text-muted); }
.check .on { display: none; }
.check:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.check:has(input:checked) .on { display: inline; color: var(--green-hover); }
.check:has(input:checked) .off { display: none; }
.check:has(input:focus-visible) { outline: 2px solid var(--green-hover); outline-offset: 2px; }
.form .btn { width: 100%; }
.form-note { font-size: 0.75rem; line-height: 1rem; color: var(--text-muted); }
.form-note a { color: var(--text); }
.form-status { display: none; border-radius: var(--r-xl); padding: var(--s-100) var(--s-200); font-size: 0.875rem; line-height: 1.25rem; border: 1px solid; }
.form-status.is-error { display: flex; gap: var(--s-75); border-color: var(--danger); color: var(--danger); }
.form-success { display: none; text-align: center; padding: var(--s-600) var(--s-300); }
.form-success i { font-size: 3rem; color: var(--green-hover); }
.form-success h3 { margin-top: var(--s-200); font-size: 1.5rem; line-height: 2rem; }
.form-success p { margin-top: var(--s-75); color: var(--text-muted); }
.form.is-sent > :not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; animation: panel-in 800ms var(--ease) both; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--s-700) 0 var(--s-400); }
.footer-grid { display: grid; gap: var(--s-500); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; margin-bottom: var(--s-200); }
.footer li + li { margin-top: var(--s-75); }
.footer a { color: var(--text-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--text); }
.footer address { font-style: normal; color: var(--text-muted); }
.footer-brand p { margin-top: var(--s-200); color: var(--text-muted); max-width: 360px; }
.footer-brand .sub-logos { display: flex; gap: var(--s-200); margin-top: var(--s-300); }
.footer-brand .sub-logos img { height: 32px; width: auto; }
.footer-bottom { margin-top: var(--s-600); padding-top: var(--s-300); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-200); font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.footer-bottom ul { display: flex; gap: var(--s-300); }
.footer-bottom li + li { margin-top: 0; }

/* ---------- Simple pages (privacidad, 404) ---------- */
.page { padding-top: calc(var(--s-900) + var(--s-700)); padding-bottom: var(--s-900); }
.page h1 { font-size: 2.25rem; line-height: 2.5rem; max-width: 680px; background: linear-gradient(90deg, #ffffff, #9b9b9b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { max-width: 680px; margin-top: var(--s-400); color: var(--text-muted); }
.prose h2 { color: var(--text); font-size: 1.25rem; line-height: 1.75rem; margin-top: var(--s-500); }
.prose p, .prose ul { margin-top: var(--s-200); }
.prose ul { list-style: disc; padding-left: var(--s-300); }
.prose a { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.js .reveal[data-delay="1"] { transition-delay: 100ms; }
.js .reveal[data-delay="2"] { transition-delay: 200ms; }
.js .reveal[data-delay="3"] { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .tagline .word { color: var(--text); }
}

/* ==========================================================================
   Fazt typography + motion (main page only: <body class="t-fazt">)
   Type and neutrals per assets/css/fazt-design-system.md; brand green kept.
   ========================================================================== */
.t-fazt {
  --text: #fafafa;
  --text-muted: #a1a1a1;
  --line: #282828;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  font-family: "Geist", system-ui, sans-serif;
}
.t-fazt h1, .t-fazt h2 { letter-spacing: -0.03em; }
.t-fazt .hero h1 { font-weight: 700; letter-spacing: -0.035em; }
.t-fazt h3 { letter-spacing: -0.01em; }

/* Mono UI: labels, tags, metadata (Fazt's most used face). */
.t-fazt .eyebrow,
.t-fazt .chip,
.t-fazt .stack-label,
.t-fazt .stack-list li,
.t-fazt .step-num,
.t-fazt .tile-cap,
.t-fazt .footer h4,
.t-fazt .hero-proof {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
}
.t-fazt .eyebrow, .t-fazt .footer h4 { text-transform: uppercase; font-size: 0.75rem; line-height: 1rem; }
.t-fazt .chip { font-weight: 500; }

/* Fazt shapes: 8px cards and buttons, 1px #282828 borders. */
.t-fazt .card, .t-fazt .faq details, .t-fazt .tile { border-radius: var(--r-lg); }
.t-fazt .btn { border-radius: var(--r-lg); }
.t-fazt .card:hover { border-color: rgba(67, 147, 49, 0.45); }

/* Motion 1 · Integrations marquee (list is duplicated in JS, aria-hidden). */
.t-fazt .stack-inner { flex-direction: column; }
.t-fazt .marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.t-fazt .marquee .stack-list { flex-wrap: nowrap; width: max-content; justify-content: flex-start; animation: marquee 32s linear infinite; }
.t-fazt .marquee:hover .stack-list { animation-play-state: paused; }
.t-fazt .marquee .stack-list li { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Motion 2 · Hero photo settles in as it scrolls into view (CSS scroll timeline, progressive). */
@supports (animation-timeline: view()) {
  .t-fazt .hero-frame { animation: frame-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  @keyframes frame-in { from { transform: scale(0.92); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
}

/* Motion 3 · Step numbers light up in sequence when the steps arrive. */
.t-fazt .step-num { transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.t-fazt .step.is-in .step-num { background: var(--green); border-color: var(--green); color: #ffffff; transform: scale(1.08); transition-delay: 500ms; }
.t-fazt .step.is-in[data-delay="1"] .step-num { transition-delay: 900ms; }
.t-fazt .step.is-in[data-delay="2"] .step-num { transition-delay: 1300ms; }

/* Motion 4 · Card icons lift on hover. */
.t-fazt .card-icon { transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.t-fazt .card:hover .card-icon { transform: translateY(-4px) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
  .t-fazt .marquee .stack-list { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .t-fazt .marquee { -webkit-mask-image: none; mask-image: none; }
  .t-fazt .hero-frame { animation: none; }
}

/* ---------- Video dialog (reuses .lightbox) ---------- */
.video-open { margin-top: var(--s-300); }
.video-dialog { width: min(760px, calc(100vw - 32px)); }
.video-dialog video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: calc(100vh - 160px); border-radius: var(--r-2xl); background: var(--black); }

/* ---------- Sample dashboard ---------- */
.dash-layout { display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 1024px) { .dash-layout { grid-template-columns: 5fr 7fr; gap: var(--s-700); } }
.dash-layout .section-head { margin-bottom: 0; }
.dash-layout .benefits { margin-top: var(--s-300); }
.dash-demo {
  margin: 0; padding: var(--s-300); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: var(--s-300);
}
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-200); }
.dash-head > div { display: grid; gap: var(--s-50); }
.dash-kicker { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.75rem; line-height: 1rem; color: var(--text-muted); text-transform: uppercase; }
.dash-status { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; }
.dash-badge {
  flex: none; padding: var(--s-25) var(--s-75); border-radius: var(--r-md); border: 1px solid var(--line-strong);
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.75rem; line-height: 1rem; color: var(--text-muted);
}
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-100); }
.dash-kpis div { padding: var(--s-100); border-radius: var(--r-lg); background: var(--surface-2); display: grid; gap: var(--s-50); }
.dash-kpis div > span { font-size: 0.75rem; line-height: 1rem; color: var(--text-muted); }
.dash-kpis strong { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--green-hover); font-variant-numeric: tabular-nums; }
.dash-chart { width: 100%; height: auto; }
.dash-grid line { stroke: var(--line); stroke-width: 1; }
.dash-chart path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dash-chart .l30 { stroke: #52a83e; }
.dash-chart .l60 { stroke: #8fc97f; }
.dash-chart .l90 { stroke: #a1a1a1; }
.dash-legend { display: flex; gap: var(--s-300); font-size: 0.75rem; line-height: 1rem; color: var(--text-muted); }
.dash-legend span::before { content: ""; display: inline-block; width: 12px; height: 3px; border-radius: var(--r-full); margin-right: var(--s-75); vertical-align: middle; }
.dash-legend .k30::before { background: #52a83e; }
.dash-legend .k60::before { background: #8fc97f; }
.dash-legend .k90::before { background: #a1a1a1; }
.dash-alert {
  display: flex; align-items: center; gap: var(--s-75);
  padding: var(--s-100) var(--s-200); border-radius: var(--r-lg);
  background: rgba(242, 118, 95, 0.12); border: 1px solid rgba(242, 118, 95, 0.4);
  font-size: 0.875rem; line-height: 1.25rem;
}
.dash-alert i { color: var(--danger); font-size: 1.25rem; }
/* Lines draw in, then the alert arrives. Final state is the default without JS. */
.js .dash-demo path { stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease); }
.js .dash-demo .l60 { transition-delay: 200ms; }
.js .dash-demo .l90 { transition-delay: 400ms; }
.js .dash-demo.is-in path { stroke-dashoffset: 0; }
.js .dash-demo .dash-alert { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease) 2200ms, transform 700ms var(--ease) 2200ms; }
.js .dash-demo.is-in .dash-alert { opacity: 1; transform: none; }

/* ---------- Map + case ---------- */
.map-layout { display: grid; gap: var(--s-600); align-items: start; }
@media (min-width: 1024px) { .map-layout { grid-template-columns: 5fr 7fr; gap: var(--s-700); } }
.map-card { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: var(--s-300); }
.map { width: 100%; height: auto; max-height: 560px; display: block; margin: 0 auto; }
.map-land { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.map-lat line { stroke: var(--line); stroke-dasharray: 4 6; }
.map-lat text, .map-ref text { fill: var(--text-muted); font-size: 12px; font-family: var(--font-mono, ui-monospace, monospace); }
.map-ref circle { fill: var(--text-muted); }
.map-pin circle { fill: var(--green-hover); }
.map-pin .ring { fill: none; stroke: var(--green-hover); stroke-width: 2; opacity: 0.5; transform-box: fill-box; transform-origin: center; }
.map-pin.office circle { fill: var(--text); }
.map-pin.office .ring { fill: none; stroke: var(--text); }
.map-pin text { fill: var(--text); font-size: 14px; font-weight: 600; }
.js .map-card .map-pin { opacity: 0; transform: translateY(-12px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .map-card.is-in .map-pin { opacity: 1; transform: none; }
.js .map-card.is-in .p1 { transition-delay: 400ms; }
.js .map-card.is-in .p2 { transition-delay: 800ms; }
.js .map-card.is-in .p3 { transition-delay: 1200ms; }
.map-card.is-in .ring { animation: ping 2.4s var(--ease) 1.6s infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }
.map-note { margin-top: var(--s-100); font-size: 0.75rem; line-height: 1rem; color: var(--text-muted); text-align: center; }

.places { display: grid; gap: var(--s-100); }
.places li { display: flex; gap: var(--s-200); align-items: flex-start; padding: var(--s-200); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.places .dot { flex: none; width: 10px; height: 10px; margin-top: var(--s-75); border-radius: var(--r-full); background: var(--green-hover); }
.places .dot--office { background: var(--text); }
.places div { display: grid; }
.places span { color: var(--text-muted); font-size: 0.875rem; line-height: 1.25rem; }

.case-card {
  margin-top: var(--s-300); display: grid; gap: var(--s-300); padding: var(--s-75);
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line);
}
@media (min-width: 640px) { .case-card { grid-template-columns: 2fr 3fr; align-items: center; } }
/* Nested radius: 12px outer minus 8px gap = 4px. */
.case-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.case-card > div { padding: var(--s-200); }
.case-card h3 { margin-top: var(--s-100); font-size: 1.25rem; line-height: 1.75rem; }
.case-card p { margin-top: var(--s-100); color: var(--text-muted); }

/* Portal Riego: vertical scroll carousel. Steps scroll, the stage stays put and
   each view slides up from below. Without .js (no JS or reduced motion) the
   views simply stack and every step reads at full opacity. */
.pr-grid { display: grid; gap: var(--s-600); }
.pr-copy { display: contents; }
.pr-copy .section-head { order: 0; margin-bottom: 0; }
.pr-stage { order: 1; }
.pr-steps { order: 2; list-style: none; padding: 0; margin: 0; }

.pr-ctrl { margin-top: var(--s-400); }
.pr-ctrl-label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--text); }
.pr-ctrl .modules { margin-top: var(--s-100); }
.pr-ctrl-note { display: flex; gap: var(--s-75); align-items: flex-start; margin-top: var(--s-200); font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); text-wrap: pretty; }
.pr-ctrl-note i { color: var(--green-hover); font-size: 1.25rem; line-height: 1.25rem; }

.pr-step { padding: var(--s-300) 0; }
.pr-num { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--green-hover); }
.pr-step h3 { margin-top: var(--s-75); font-size: 1.25rem; line-height: 1.75rem; text-wrap: balance; }
.pr-step p { display: flex; gap: var(--s-75); align-items: flex-start; margin-top: var(--s-100); color: var(--text-muted); text-wrap: pretty; }
.pr-step p i { flex: none; font-size: 1.25rem; line-height: 1.5rem; }
.pr-step strong { color: var(--text); font-weight: 600; }
.pr-pain i { color: var(--danger); }
.pr-fix i { color: var(--green-hover); }
.pr-cta { order: 3; margin-top: var(--s-400); }
.pr-cta p { margin-bottom: var(--s-200); color: var(--text-muted); text-wrap: pretty; }

.pr-frame img { display: block; width: 100%; border-radius: var(--r-2xl); background: var(--surface); }
.pr-frame picture { display: block; }
.pr-frame picture + picture { margin-top: var(--s-75); }
.pr-dots { display: none; }

.js .pr-step { min-height: 34vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.35; transition: opacity var(--dur) var(--ease); }
.js .pr-step.is-active { opacity: 1; }
.js .pr-stage { position: sticky; top: var(--s-900); z-index: 1; align-self: start; background: var(--bg); padding-bottom: var(--s-200); }
.js .pr-frame { position: relative; aspect-ratio: 3 / 4; max-height: 52vh; margin: 0 auto; overflow: hidden; }
/* phone: cover the strip above the sticky stage so passing steps never peek out under the nav */
.js .pr-stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--s-900); background: var(--bg); }
.js .pr-frame img {
  position: absolute; inset: var(--s-75); width: calc(100% - 2 * var(--s-75)); height: calc(100% - 2 * var(--s-75));
  margin: 0; object-fit: contain; opacity: 0; transform: translateY(105%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.js .pr-frame img.is-active { opacity: 1; transform: none; }
.js .pr-frame img.is-past { opacity: 0; transform: translateY(-12%) scale(0.94); }
.js .pr-dots { display: flex; justify-content: center; gap: var(--s-75); margin-top: var(--s-200); list-style: none; padding: 0; }
.pr-dots li { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--line-strong); transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.pr-dots li.is-active { width: 24px; background: var(--green); }

@media (min-width: 1024px) {
  .pr-grid { grid-template-columns: 4fr 8fr; gap: var(--s-600); align-items: start; }
  .pr-copy { display: block; }
  .pr-stage { grid-column: 2; grid-row: 1; }
  .js .pr-frame { aspect-ratio: 2.1 / 1; max-height: none; }
  .js .pr-stage { top: calc(50vh - 240px); padding-bottom: 0; background: none; }
  .js .pr-stage::before { content: none; }
  .pr-steps { margin-top: var(--s-400); }
}

/* Portal Riego: tap the stage to open the active view in the lightbox */
.pr-zoom { display: none; }
.js .pr-zoom {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-end;
  padding: var(--s-200); border: 0; background: none; color: var(--text); cursor: zoom-in; border-radius: var(--r-3xl);
}
.pr-zoom span {
  display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full); background: rgba(19, 18, 9, 0.85); border: 1px solid var(--line-strong);
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.pr-zoom span i { font-size: 1.125rem; }
.pr-zoom:hover span { transform: translateY(-2px); background: var(--green); color: #ffffff; }
.pr-zoom:active span { transform: scale(0.98); }
.pr-zoom:focus-visible { outline: 2px solid var(--green-hover); outline-offset: 2px; }
.lightbox--wide { width: min(1600px, calc(100vw - 32px)); }
.lb-nav { display: none; }
.lightbox--nav .lb-nav { display: block; }
.lb-arrow {
  position: absolute; top: 50%; margin-top: -40px; z-index: 1; width: 48px; height: 48px;
  display: grid; place-items: center; border-radius: var(--r-full); border: 1px solid var(--line-strong);
  background: rgba(19, 18, 9, 0.85); color: var(--text); font-size: 1.25rem; cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.lb-prev { left: var(--s-200); }
.lb-next { right: var(--s-200); }
.lb-arrow:hover { background: var(--green); color: #ffffff; transform: scale(1.06); }
.lb-arrow:active { transform: scale(0.98); }
.lb-arrow:focus-visible { outline: 2px solid var(--green-hover); outline-offset: 2px; }
@media (max-width: 639px) {
  .lb-arrow { width: 40px; height: 40px; margin-top: -36px; font-size: 1.125rem; }
  .lb-prev { left: var(--s-50); }
  .lb-next { right: var(--s-50); }
}
/* Sondas de suelo has no phone captures: keep a landscape stage on small screens */
.js .pr--wide .pr-frame { aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .js .pr--wide .pr-frame { aspect-ratio: 2.1 / 1; } }
.panel-link { display: inline-flex; align-items: center; gap: var(--s-75); margin-top: var(--s-300); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--green-hover); }
.panel-link i { transition: transform var(--dur) var(--ease); }
.panel-link:hover i { transform: translateX(4px); }
.panel-link:focus-visible { outline: 2px solid var(--green-hover); outline-offset: 4px; border-radius: var(--r-md); }
/* deep dives sit right under the solution tabs */
.section.pr { padding-top: var(--s-400); }
.js .pr[hidden] { display: none; }
.panel-media--photo .shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
/* Testimonial (from the current ag247.cl site) */
.quote { margin-top: var(--s-300); padding: var(--s-300); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); }
.quote p { color: var(--text); font-size: 1rem; line-height: 1.5rem; text-wrap: pretty; }
.quote footer { margin-top: var(--s-200); font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.quote { margin-left: 0; margin-right: 0; }
.quote--wide { max-width: 880px; margin: var(--s-700) auto 0; padding: var(--s-500); text-align: center; }
.quote--wide p { font-size: 1.25rem; line-height: 1.75rem; }
@media (min-width: 768px) { .quote--wide p { font-size: 1.5rem; line-height: 2rem; } }

/* ---------- Hero carousel: rotating panels, active one centred, neighbours peek ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-carousel { position: relative; outline: none; }
.hc-viewport { overflow: hidden; margin: 0 calc(-1 * var(--gutter)); padding: var(--s-100) 0; touch-action: pan-y; cursor: grab; }
.hc-viewport.is-dragging { cursor: grabbing; }
.hc-track { display: flex; gap: var(--s-200); will-change: transform; transition: transform 800ms var(--ease); }
.hc-viewport.is-dragging .hc-track { transition: none; }
.hc-slide {
  position: relative; flex: 0 0 72%; margin: 0; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r-3xl); border: 1px solid var(--line); background: var(--black);
  opacity: 0.4; transform: scale(0.9); transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  cursor: pointer; user-select: none;
}
.hc-slide.is-active { opacity: 1; transform: none; cursor: inherit; }
.hc-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.hc-slide .chip { opacity: 0; transition: opacity 600ms var(--ease) 200ms; }
.hc-slide.is-active .chip { opacity: 1; }
.chip--tag { left: var(--s-300); bottom: var(--s-300); }
.chip--tag span { color: var(--green-hover); }
@media (max-width: 639px) {
  .hc-slide { flex-basis: 84%; aspect-ratio: 4 / 5; border-radius: var(--r-2xl); }
  .chip--tag { left: var(--s-200); bottom: var(--s-200); right: var(--s-200); }
}
.hc-controls { display: flex; align-items: center; justify-content: center; gap: var(--s-200); margin-top: var(--s-300); }
.hc-arrow {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none; border-radius: var(--r-full);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 1.125rem; cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
@media (hover: hover) { .hc-arrow:hover { background: var(--green); color: #ffffff; } }
.hc-arrow:active { transform: scale(0.96); }
.hc-dots { display: flex; gap: var(--s-75); }
.hc-dot { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--r-full); background: var(--line-strong); overflow: hidden; cursor: pointer; transition: width 600ms var(--ease); }
.hc-dot[aria-current="true"] { width: 40px; }
.hc-dot span { position: absolute; inset: 0; background: var(--green-hover); transform: scaleX(0); transform-origin: left; }
.hc-dot[aria-current="true"] span { transform: scaleX(1); }
.hero-carousel.is-playing .hc-dot[aria-current="true"] span { animation: hc-progress var(--hc-delay, 5s) linear both; }
.hero-carousel.is-paused .hc-dot[aria-current="true"] span { animation-play-state: paused; }
@keyframes hc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hc-arrow:focus-visible, .hc-dot:focus-visible, .hero-carousel:focus-visible .hc-slide.is-active { outline: 2px solid var(--green-hover); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hc-track, .hc-slide { transition: none; } }

/* ---------- Presence without the map ---------- */
.presence-layout { max-width: 1000px; }
@media (min-width: 768px) { .presence-layout .places { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .lines-grid { grid-template-columns: 1fr; } .line-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- Phone views (real phone captures) ---------- */
.phones { margin-top: var(--s-600); display: flex; gap: var(--s-400); justify-content: center; }
.phone { flex: 0 0 auto; width: 240px; margin: 0; }
.phone img { display: block; width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; border-radius: var(--r-2xl); border: 8px solid var(--black); outline: 1px solid var(--line-strong); background: var(--surface); }
.phone figcaption { margin-top: var(--s-100); text-align: center; font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
@media (max-width: 899px) {
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-200); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .phone { width: 210px; scroll-snap-align: center; }
}

/* phone captures differ in ratio: show them whole on the dashboard's own dark ground */
.phone img { aspect-ratio: 3 / 5; object-fit: contain; object-position: center top; background: #181b1f; }

/* ---------- Clients: one continuous white band (names differ from the integrations .marquee) ---------- */
.clients-band { overflow: hidden; background: #ffffff; padding: var(--s-300) 0; }
.clients-track { display: flex; align-items: center; gap: var(--s-700); width: max-content; list-style: none; padding: 0; margin: 0; animation: clients-scroll 45s linear infinite; }
.clients-band:hover .clients-track { animation-play-state: paused; }
.clients-track img { display: block; height: 48px; width: auto; max-width: 200px; object-fit: contain; }
@media (min-width: 768px) { .clients-band { padding: var(--s-400) 0; } .clients-track img { height: 64px; } }
@keyframes clients-scroll { to { transform: translateX(calc(-50% - var(--s-700) / 2)); } }
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--gutter); row-gap: var(--s-300); }
  .clients-track li[aria-hidden="true"] { display: none; }
}
/* panels run to the screen edges, not the container */
.hc-viewport { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.hc-slide { flex-basis: min(72vw, 1040px); }
@media (max-width: 639px) { .hc-slide { flex-basis: 80vw; } }

/* Hero strip v2: continuous rotation, every panel equal (overrides the stepped carousel) */
.hc-track { transition: none; gap: var(--s-200); }
.hc-slide, .hc-slide.is-active { flex: 0 0 auto; width: min(46vw, 680px); opacity: 1; transform: none; cursor: inherit; }
.hc-slide .chip { opacity: 1; }
@media (max-width: 639px) { .hc-slide, .hc-slide.is-active { width: 72vw; } }
.hc-controls { gap: var(--s-300); }
@media (prefers-reduced-motion: reduce) {
  .hc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; cursor: auto; }
  .hc-slide { scroll-snap-align: center; }
  .hc-controls { display: none; }
}

/* ---------- Cómo funciona: five steps + what's included ---------- */
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step p { text-wrap: pretty; }
.includes { display: grid; gap: var(--s-200); margin-top: var(--s-400); list-style: none; padding: 0; }
@media (min-width: 640px) { .includes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .includes { grid-template-columns: repeat(4, 1fr); } }
.includes li { display: flex; gap: var(--s-200); align-items: flex-start; padding: var(--s-200); border-radius: var(--r-xl); background: var(--green-soft); border: 1px solid var(--line); }
.includes i { flex: none; font-size: 1.5rem; color: var(--green-hover); }
.includes div { display: grid; gap: var(--s-25); }
.includes strong { font-size: 0.875rem; line-height: 1.25rem; }
.includes span { font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }

/* ---------- Dónde estamos: figures + regions ---------- */
.stats { display: grid; gap: var(--s-200); list-style: none; padding: 0; margin: 0 0 var(--s-300); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats li { padding: var(--s-300); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.stats strong { display: block; font-size: 3rem; line-height: 1; font-weight: 700; color: var(--green-hover); }
.stats li > span { display: block; margin-top: var(--s-75); font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); text-wrap: pretty; }
.regions { display: grid; gap: var(--s-200); list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .regions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .regions { grid-template-columns: repeat(4, 1fr); } }
.region { display: grid; align-content: start; gap: var(--s-75); padding: var(--s-300); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.region--office { border-color: var(--green); }
.region-name { font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-hover); }
.region strong { font-size: 1.125rem; line-height: 1.75rem; text-wrap: balance; }
.region > span:not(.region-name) { display: flex; gap: var(--s-75); align-items: flex-start; font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.region i { margin-top: 2px; color: var(--green-hover); }
.region-tag { margin-top: var(--s-75); color: var(--text) !important; }
.presence-layout { max-width: var(--container); }
.presence-layout .case-card { max-width: 900px; margin-top: var(--s-400); }

/* ---------- En terreno: more photos, "ver más" ---------- */
.js .gallery .tile--extra { display: none; }
.js .gallery.is-expanded .tile--extra { display: block; animation: tile-in 700ms var(--ease) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.gallery-more { display: none; justify-content: center; margin-top: var(--s-400); }
.js .gallery-more { display: flex; }
.js .gallery-more[hidden] { display: none; }
@media (max-width: 639px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-100); }
  .stats li { padding: var(--s-200); }
  .stats strong { font-size: 2.25rem; }
  .stats li > span { font-size: 0.75rem; line-height: 1rem; }
  .stats li:last-child > span { overflow-wrap: anywhere; }
}

/* ---------- Home: solution cards (detail lives on /<solución>/) ---------- */
.sol-grid { display: grid; gap: var(--s-200); }
@media (min-width: 640px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sol-grid { grid-template-columns: repeat(3, 1fr); } }
.sol-card {
  display: flex; flex-direction: column; overflow: hidden; padding: var(--s-75);
  border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); color: inherit;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sol-card:hover { transform: translateY(-4px); border-color: var(--green); }
.sol-card:active { transform: scale(0.98); }
.sol-card:focus-visible { outline: 2px solid var(--green-hover); outline-offset: 2px; }
/* nested radius: 16px card, 8px padding */
.sol-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: #181b1f; }
.sol-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1200ms var(--ease); }
.sol-card:hover .sol-media img { transform: scale(1.04); }
.sol-body { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-200) var(--s-100) var(--s-100); flex: 1; }
.sol-name { display: flex; align-items: center; gap: var(--s-75); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.sol-name i { color: var(--green-hover); }
.sol-line { color: var(--text-muted); text-wrap: pretty; }
.sol-mods { font-size: 0.75rem; line-height: 1rem; color: var(--text-muted); }
.sol-more { margin-top: auto; padding-top: var(--s-100); display: inline-flex; align-items: center; gap: var(--s-75); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--green-hover); }
.sol-more i { transition: transform var(--dur) var(--ease); }
.sol-card:hover .sol-more i { transform: translateX(4px); }
@media (min-width: 900px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.section-link { margin-top: var(--s-200); }
.section--tight { padding: var(--s-600) 0; }
.section--tight .quote--wide { margin-top: 0; }

/* ---------- Route pages ---------- */
.page-head { padding-top: calc(var(--s-900) + var(--s-400)); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-75); margin-bottom: var(--s-400); font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.crumbs a { display: inline-flex; align-items: center; gap: var(--s-50); color: var(--green-hover); }
.crumbs a:hover { color: var(--text); }
.page-head .panel h1, .page-head--text h1 { font-size: 1.875rem; line-height: 2.25rem; text-wrap: balance; }
@media (min-width: 768px) { .page-head .panel h1, .page-head--text h1 { font-size: 3rem; line-height: 1; } }
.page-head--text h1 { max-width: 680px; }
.page-head--text .panel-lead { max-width: 680px; }
.cta-band { display: grid; gap: var(--s-300); align-items: center; padding: var(--s-500); border-radius: var(--r-2xl); background: var(--green-soft); border: 1px solid var(--line); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: 1.5rem; line-height: 2rem; }
.cta-band p { margin-top: var(--s-75); color: var(--text-muted); }
.other-sols { margin-top: var(--s-500); display: grid; gap: var(--s-200); }
.other-sols > span { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--text-muted); }
.other-sols ul { display: flex; flex-wrap: wrap; gap: var(--s-75); list-style: none; padding: 0; margin: 0; }
.other-sols a { display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-200); border-radius: var(--r-full); border: 1px solid var(--line); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.other-sols a:hover { border-color: var(--green); background: var(--green-soft); }
.other-sols i { color: var(--green-hover); }
@media (max-width: 639px) {
  .sol-media { display: none; }
  .sol-card { padding: var(--s-100); }
  .sol-body { padding: var(--s-100); }
}
.sol-card, .sol-card:hover { text-decoration: none; }
.sol-card * { text-decoration: none; }
/* AG247 Data Sensing logo as the brand mark (light text variant for the dark theme) */
.brand img { width: auto; height: 32px; }
.footer-brand .brand img { height: 48px; }
.brand img { height: 40px; }
.footer-brand .brand img { height: 56px; }
/* ---------- Reviews ---------- */
.reviews { display: grid; gap: var(--s-200); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review { margin: 0; display: flex; flex-direction: column; gap: var(--s-200); padding: var(--s-400); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2xl); }
.review-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: var(--s-75); padding: var(--s-50) var(--s-100); border-radius: var(--r-full); background: var(--green-soft); color: var(--green-hover); font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.review p { font-size: 1rem; line-height: 1.5rem; }
.review footer { margin-top: auto; }
/* Reviews carousel: card row, active centred, neighbours peek (same feel as the hero panels) */
.reviews { display: block; max-width: none; margin: 0 calc(-1 * var(--gutter)); overflow: hidden; outline: none; padding: var(--s-100) 0; }
.rv-track { display: flex; gap: var(--s-300); transition: transform 800ms var(--ease); align-items: stretch; }
.rv-track .review {
  flex: 0 0 min(520px, 82vw); margin: 0; padding: var(--s-400); text-align: left; align-items: flex-start; gap: var(--s-200);
  opacity: 0.35; transform: scale(0.94); transition: opacity 800ms var(--ease), transform 800ms var(--ease), border-color 800ms var(--ease);
  cursor: pointer;
}
.rv-track .review.is-active { opacity: 1; transform: none; border-color: var(--green); cursor: default; }
.review-mark { font-size: 2rem; line-height: 1; color: var(--green-hover); }
.rv-track .review p { font-size: 1rem; line-height: 1.5rem; color: var(--text); }
.rv-track .review footer { margin-top: auto; }
.rv-controls { display: flex; align-items: center; justify-content: center; gap: var(--s-200); margin-top: var(--s-300); }
.rv-dots { display: flex; gap: var(--s-75); }
.rv-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--r-full); background: var(--line-strong); cursor: pointer; transition: width 600ms var(--ease), background-color 600ms var(--ease); }
.rv-dot[aria-current="true"] { width: 32px; background: var(--green-hover); }
.rv-dot:focus-visible, .reviews:focus-visible .review.is-active { outline: 2px solid var(--green-hover); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rv-track, .rv-track .review { transition: none; } }
.reviews { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
@media (max-width: 639px) { .rv-track { gap: var(--s-200); } .rv-track .review { flex-basis: 78vw; padding: var(--s-300); } }

/* Reviews strip v2: continuous like the hero, every card equal */
.reviews { overflow: visible; }
.rv-viewport { overflow: hidden; padding: var(--s-100) 0; touch-action: pan-y; cursor: grab; }
.rv-viewport.is-dragging { cursor: grabbing; }
.rv-track { transition: none; will-change: transform; }
.rv-track .review, .rv-track .review.is-active { flex: 0 0 auto; width: min(460px, 82vw); opacity: 1; transform: none; border-color: var(--line); cursor: inherit; user-select: none; }
@media (max-width: 639px) { .rv-track .review, .rv-track .review.is-active { width: 80vw; } }
.rv-controls { gap: var(--s-300); }
@media (hover: hover) { .rv-controls .hc-arrow:hover { background: var(--green); color: #ffffff; } }
@media (prefers-reduced-motion: reduce) {
  .rv-viewport { overflow-x: auto; scroll-snap-type: x mandatory; cursor: auto; }
  .rv-track .review { scroll-snap-align: center; }
  .rv-controls { display: none; }
}

/* Reviews v3: compact, one card at a time (crossfade), centred */
.reviews { max-width: 720px; margin: 0 auto; overflow: visible; }
.rv-viewport { overflow: visible; padding: 0; cursor: auto; touch-action: auto; }
.rv-track { display: grid; transform: none !important; }
.rv-track .review, .rv-track .review.is-active {
  grid-area: 1 / 1; width: auto; padding: var(--s-400); text-align: center; align-items: center; gap: var(--s-100);
  opacity: 0; transform: translateY(8px); visibility: hidden;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), visibility 0s linear 700ms; border-color: var(--line); user-select: auto;
}
.rv-track .review.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.rv-track .review .review-tag { align-self: center; }
.rv-track .review p { font-size: 1rem; line-height: 1.5rem; text-wrap: pretty; }
.rv-track .review footer { margin-top: var(--s-75); font-size: 0.875rem; line-height: 1.25rem; color: var(--text-muted); }
.review-mark { font-size: 1.5rem; }
.rv-controls { margin-top: var(--s-200); gap: var(--s-200); }
.rv-controls .hc-arrow { width: 36px; height: 36px; font-size: 1rem; }
.rv-dots { display: flex; gap: var(--s-75); }
.rv-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-full); background: var(--line-strong); cursor: pointer; transition: width 600ms var(--ease), background-color 600ms var(--ease); }
.rv-dot[aria-current="true"] { width: 24px; background: var(--green-hover); }
.rv-dot:focus-visible { outline: 2px solid var(--green-hover); outline-offset: 2px; }
@media (max-width: 639px) { .rv-track .review, .rv-track .review.is-active { padding: var(--s-300); } }
@media (prefers-reduced-motion: reduce) { .rv-controls { display: flex; } .rv-track .review { transition: none; } }
