/* ============================================================
   OBSERVATORIO VACA MUERTA — design system
   Sur Lab brand system v1
   Brand palette:  azul #1F4F7E · teal #3BAFAA · oscuro #202027 · crema #FFFAF0
   Tipografías:    Rubik (display) · Manrope (texto/UI)
   ============================================================ */

@font-face {
  font-family: "Rubik";
  src: url("assets/Rubik.ttf") format("truetype-variations"),
       url("assets/Rubik.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/Manrope.ttf") format("truetype-variations"),
       url("assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Sur Lab palette (extraídos del logo oficial) */
  --sl-blue:      #1F4F7E;        /* primario — wordmark SUR/LAB */
  --sl-blue-deep: #163A5C;        /* hover / fondos profundos */
  --sl-blue-50:   #E8F0F7;        /* tints */
  --sl-teal:      #3BAFAA;        /* acento — estrella */
  --sl-teal-deep: #2A8580;
  --sl-teal-50:   #E5F4F3;
  --sl-ink:       #202027;        /* tipografía principal en claro */
  --sl-cream:     #FFFAF0;        /* fondo principal */
  --sl-cream-2:   #F7F1E3;        /* superficie elevada */
  --sl-cream-3:   #EFE7D2;        /* divisores */
  --sl-mute:      #6E6A60;        /* texto secundario en claro */

  /* Tema (light por defecto) */
  --bg:        var(--sl-cream);
  --bg-2:      var(--sl-cream-2);
  --bg-3:      var(--sl-cream-3);
  --line:      #E2D9C2;
  --line-2:    #C9BC9A;
  --fg:        var(--sl-ink);
  --fg-2:      #4D4A43;
  --fg-3:      var(--sl-mute);
  --accent:    var(--sl-teal);
  --accent-2:  var(--sl-teal-deep);
  --primary:   var(--sl-blue);
  --primary-2: var(--sl-blue-deep);

  /* Type system */
  --display: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1320px;
  --gutter: 32px;
}

/* Dark theme — para secciones de alto contraste (hero, cierre) */
.theme-dark {
  --bg:     var(--sl-ink);
  --bg-2:   #2A2A33;
  --bg-3:   #34343F;
  --line:   #3A3A45;
  --line-2: #4D4D5A;
  --fg:     var(--sl-cream);
  --fg-2:   #C7C2B5;
  --fg-3:   #8A857A;
  --primary: #5089BC;     /* azul más claro para fondo oscuro */
  --primary-2: var(--sl-teal);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

::selection { background: var(--sl-teal); color: var(--sl-cream); }

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(80px, 12vh, 160px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section--flush { border-top: none; }

.section__head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  margin-bottom: 64px;
  align-items: start;
}
.section__code {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding-top: 8px;
  position: sticky;
  top: 24px;
  line-height: 1.6;
}
.section__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  color: var(--primary);
  text-wrap: balance;
}
.theme-dark .section__title { color: var(--fg); }
.section__title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.section__lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 64ch;
  text-wrap: pretty;
  font-weight: 400;
}

/* ============================================================
   EYEBROW + STAR DOT
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow::before {
  content: "✦";
  color: var(--accent);
  font-size: 14px;
  display: inline-block;
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.6; transform: scale(1.15) rotate(45deg); }
}

.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in oklab, var(--sl-cream) 88%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--sl-ink);
  text-decoration: none;
}
.nav__brand img { height: 28px; display: block; }
.nav__brand-divider {
  width: 1px; height: 22px; background: var(--line-2);
}
.nav__brand-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.nav__brand-tag strong { color: var(--sl-blue); font-weight: 600; }

.nav__links {
  display: flex;
  gap: 28px;
  color: var(--fg-2);
}
.nav__links a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms;
}
.nav__links a:hover { color: var(--sl-blue); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sl-blue);
  color: var(--sl-cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: background 200ms, transform 200ms;
}
.nav__cta:hover { background: var(--sl-teal); transform: translateY(-1px); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__brand-tag { display: none; }
  .nav__brand-divider { display: none; }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 200ms, background 200ms, border-color 200ms, color 200ms;
}
.btn--primary {
  background: var(--sl-blue);
  color: var(--sl-cream);
}
.btn--primary:hover {
  background: var(--sl-teal);
  transform: translateY(-1px);
}
.btn--accent {
  background: var(--sl-teal);
  color: var(--sl-ink);
}
.btn--accent:hover {
  background: var(--sl-blue);
  color: var(--sl-cream);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--sl-blue);
  color: var(--sl-blue);
}
.theme-dark .btn--ghost { color: var(--fg); border-color: var(--line-2); }
.theme-dark .btn--ghost:hover { border-color: var(--sl-teal); color: var(--sl-teal); }

.btn__arrow { font-size: 18px; line-height: 1; }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  padding: 120px 32px 60px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  overflow: hidden;
  background: var(--sl-ink);
  color: var(--sl-cream);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 8vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 28px 0 0 0;
  color: var(--sl-cream);
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--sl-teal);
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: "✦";
  position: absolute;
  top: -0.1em;
  right: -0.6em;
  font-size: 0.4em;
  color: var(--sl-teal);
  animation: twinkle 3.2s ease-in-out infinite;
}
.hero__sub {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: #C7C2B5;
  max-width: 50ch;
  margin-top: 28px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.hero__meta {
  display: grid;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: #C7C2B5;
  letter-spacing: 0.04em;
  border-left: 1px solid #3A3A45;
  padding-left: 28px;
}
.hero__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2A2A33;
}
.hero__meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero__meta-row .k {
  color: #8A857A;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10.5px;
}
.hero__meta-row .v { color: var(--sl-cream); font-weight: 500; }

.hero__bottombar {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 96px auto 0;
  padding-top: 28px;
  border-top: 1px solid #3A3A45;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hero__stat .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 3.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--sl-cream);
}
.hero__stat .num em {
  color: var(--sl-teal);
  font-style: normal;
}
.hero__stat .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A857A;
  margin-top: 10px;
  display: block;
  max-width: 22ch;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__bottombar { grid-template-columns: repeat(2, 1fr); }
  .section__head { grid-template-columns: 1fr; gap: 12px; }
  .section__code { position: static; }
}

/* ============================================================
   GRIDS
============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   QUÉ ES — cards
============================================================ */
.kard {
  border-top: 2px solid var(--sl-blue);
  padding-top: 24px;
}
.kard__t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 14px 0 12px;
  color: var(--sl-blue);
  text-wrap: balance;
}
.kard__b {
  color: var(--fg-2);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ============================================================
   PULL QUOTE
============================================================ */
.pullquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 24ch;
  margin: 0;
  color: var(--sl-blue);
}
.pullquote em {
  font-style: normal;
  color: var(--sl-teal);
}
.pullquote-src {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ============================================================
   AXES (qué analizamos)
============================================================ */
.axes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.axis {
  background: var(--bg);
  padding: 32px 28px;
  display: grid;
  gap: 14px;
  min-height: 220px;
  align-content: start;
  transition: background 220ms;
  position: relative;
}
.axis:hover { background: var(--bg-2); }
.axis::before {
  content: "✦";
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--sl-teal);
  font-size: 14px;
  opacity: 0;
  transition: opacity 220ms;
}
.axis:hover::before { opacity: 1; }
.axis__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.axis__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--sl-blue);
}
.axis__body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
@media (max-width: 1000px) { .axes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .axes { grid-template-columns: 1fr; } }

/* ============================================================
   FINDINGS
============================================================ */
.findings { display: grid; gap: 0; }
.finding {
  display: grid;
  grid-template-columns: 110px 1fr 360px;
  gap: 48px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  position: relative;
  cursor: default;
  transition: background 240ms;
}
.finding:hover { background: var(--bg-2); }
.finding:last-child { border-bottom: 1px solid var(--line); }
.finding__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.14em;
  font-weight: 500;
  line-height: 1.6;
}
.finding__num strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--sl-teal);
  display: block;
}
.finding__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--sl-blue);
  text-wrap: balance;
}
.finding__title em { font-style: normal; color: var(--sl-teal); }
.finding__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 50ch;
  margin-top: 14px;
}
.finding__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-2);
  background: var(--bg);
  font-weight: 500;
}
@media (max-width: 1000px) {
  .finding { grid-template-columns: 80px 1fr; }
  .finding__chips-col { grid-column: 1 / -1; }
}

/* ============================================================
   RINGS
============================================================ */
.rings {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.rings__viz {
  aspect-ratio: 1 / 1;
  position: relative;
  max-width: 640px;
  width: 100%;
}
.rings__detail {
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.rings__row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: color 160ms;
}
.rings__row[aria-selected="true"] { color: var(--sl-teal); }
.rings__row[aria-selected="true"] .ring-label { color: var(--sl-teal); }
.rings__row:hover { color: var(--sl-blue); }
.rings__row .ring-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  font-weight: 500;
}
.rings__row .ring-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--sl-blue);
  transition: color 200ms;
}
.rings__row .ring-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
}
.rings__desc {
  margin-top: 24px;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  min-height: 160px;
}
.rings__desc strong { color: var(--sl-blue); font-weight: 600; }
@media (max-width: 1000px) {
  .rings { grid-template-columns: 1fr; }
  .rings__detail { border-left: none; padding-left: 0; }
}

/* ============================================================
   AOG FOCUS
============================================================ */
.focus {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--bg-2);
  border-radius: 4px;
  overflow: hidden;
}
.focus__left {
  padding: 56px 48px;
  border-right: 1px solid var(--line);
}
.focus__right {
  padding: 56px 48px;
  display: grid;
  gap: 24px;
  align-content: start;
  background: var(--bg);
}
.focus__phase {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px dashed var(--line);
}
.focus__phase:first-of-type { border-top: none; padding-top: 0; }
.focus__phase .ph-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sl-teal);
  text-transform: uppercase;
  padding-top: 5px;
  font-weight: 600;
}
.focus__phase .ph-body {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--sl-blue);
}
.focus__phase .ph-body span {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin-top: 8px;
}
@media (max-width: 900px) {
  .focus { grid-template-columns: 1fr; }
  .focus__left { border-right: none; border-bottom: 1px solid var(--line); padding: 40px 28px; }
  .focus__right { padding: 40px 28px; }
}

/* ============================================================
   FORM
============================================================ */
.form-shell {
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: 4px;
  overflow: hidden;
}
.form-aside {
  padding: 48px;
  border-right: 1px solid var(--line);
  background: var(--sl-blue);
  color: var(--sl-cream);
  display: grid;
  align-content: space-between;
  gap: 32px;
}
.form-aside h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0;
  color: var(--sl-cream);
  text-wrap: balance;
}
.form-aside .eyebrow { color: rgba(255,250,240,0.7); }
.form-aside .eyebrow::before { color: var(--sl-teal); }

.form-aside ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; }
.form-aside li {
  font-size: 14.5px;
  color: rgba(255,250,240,0.85);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  line-height: 1.5;
}
.form-aside li::before {
  content: "✦";
  color: var(--sl-teal);
  font-family: var(--display);
  font-size: 12px;
  padding-top: 4px;
}
.form-aside .tag { color: rgba(255,250,240,0.55); }

.form-body {
  padding: 48px;
  display: grid;
  gap: 22px;
  background: var(--bg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  color: var(--fg);
  border: none;
  border-bottom: 1.5px solid var(--line-2);
  padding: 10px 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  outline: none;
  transition: border-color 200ms;
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--sl-teal);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%231F4F7E' fill='none' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
}
.field option { background: var(--bg); color: var(--fg); }

.checkbox-group { display: grid; gap: 10px; margin-top: 8px; }
.checkbox-group label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14.5px;
  color: var(--fg-2);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-group input { margin-top: 3px; accent-color: var(--sl-teal); }

.lang-radios { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.lang-radios label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 180ms;
}
.lang-radios input { display: none; }
.lang-radios label:has(input:checked) {
  background: var(--sl-teal);
  border-color: var(--sl-teal);
  color: var(--sl-ink);
}

.form-submit {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.form-submit .micro {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--fg-3);
  max-width: 32ch;
  line-height: 1.5;
}

.form-success {
  padding: 64px 48px;
  display: grid;
  gap: 18px;
  align-content: center;
  background: var(--bg);
}
.form-success h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--sl-blue);
}
.form-success p { color: var(--fg-2); max-width: 50ch; line-height: 1.6; }

@media (max-width: 900px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { border-right: none; border-bottom: 1px solid var(--line); padding: 32px; }
  .form-body { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   ENGLISH BLOCK
============================================================ */
.en-block {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  border-radius: 4px;
}
.en-block__lang {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sl-teal);
  text-transform: uppercase;
  font-weight: 600;
}
.en-block h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  color: var(--sl-blue);
  text-wrap: balance;
}
.en-block p {
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 16px 0;
}
@media (max-width: 800px) {
  .en-block { grid-template-columns: 1fr; padding: 36px 28px; gap: 16px; }
}

/* ============================================================
   SUR LAB SECTION
============================================================ */
.surlab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.surlab__quote {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--sl-blue);
  text-wrap: balance;
}
.surlab__sig {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.surlab__body p { color: var(--fg-2); line-height: 1.6; margin: 0; font-size: 15.5px; }
.surlab__body p + p { margin-top: 16px; }
.surlab__logo {
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.surlab__logo img { height: 56px; }

/* ============================================================
   CIERRE
============================================================ */
.cierre {
  text-align: center;
  padding: clamp(120px, 18vh, 240px) 32px;
  position: relative;
  overflow: hidden;
  background: var(--sl-ink);
  color: var(--sl-cream);
}
.cierre h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 108px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 32px 0;
  color: var(--sl-cream);
  text-wrap: balance;
}
.cierre h2 em { font-style: normal; color: var(--sl-teal); }
.cierre p {
  color: #C7C2B5;
  font-size: 18px;
  max-width: 56ch;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cierre__star {
  font-size: 56px;
  color: var(--sl-teal);
  margin-bottom: 20px;
  display: inline-block;
  animation: twinkle 3.2s ease-in-out infinite;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  border-top: 1px solid #3A3A45;
  padding: 64px 32px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: #C7C2B5;
  background: var(--sl-ink);
}
.footer__brand img { height: 38px; margin-bottom: 18px; }
.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #8A857A;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: inherit; text-decoration: none; transition: color 160ms; }
.footer a:hover { color: var(--sl-teal); }
.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #3A3A45;
  padding-top: 18px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #6E6A60;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--mono);
}
@media (max-width: 800px) { .footer { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   REVEAL ON SCROLL
============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   MARQUEE
============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sl-blue);
  background: var(--sl-cream);
  font-weight: 500;
}
.marquee__track {
  display: inline-flex;
  gap: 56px;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  padding-right: 56px;
}
.marquee__track span::before {
  content: "✦";
  margin-right: 14px;
  color: var(--sl-teal);
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
