/* =========================================================================
   ModelKitScan · landing
   Sistema "ModelMarket Blueprint" — ver DESIGN.md
   ========================================================================= */

/* --- Tipografías autoalojadas (sin llamadas a servidores externos) ------- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/jetbrainsmono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/jetbrainsmono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/jetbrainsmono-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/jetbrainsmono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/montserrat-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/montserrat-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/raleway-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/raleway-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --blueprint: hsl(213 56% 24%);
  --blueprint-deep: hsl(213 62% 15%);
  --orange: hsl(32 95% 52%);
  --orange-deep: hsl(28 92% 44%);
  --paper: hsl(210 20% 98%);
  --paper-deep: hsl(210 20% 94%);
  --ink: hsl(213 30% 18%);
  --ink-muted: hsl(213 14% 40%);
  --rule: hsl(214 18% 87%);
  --on-dark: hsl(210 30% 94%);
  --on-dark-muted: hsl(210 24% 76%);

  --grid-light: hsl(213 56% 24% / 0.08);
  --grid-dark: hsl(203 100% 82% / 0.09);

  --edge: 2px solid hsl(213 56% 24% / 0.9);
  --drop: 4px 4px 0 0 hsl(213 56% 24% / 0.9);
  --edge-dark: 2px solid hsl(206 40% 84% / 0.5);
  --drop-dark: 4px 4px 0 0 var(--orange);

  --r-sm: 3px;
  --r-md: 6px;

  --gutter: clamp(20px, 5vw, 32px);
  --measure: 68ch;
  --section: clamp(72px, 12vw, 128px);

  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --sans: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --display: 'Raleway', 'Trebuchet MS', 'Segoe UI', sans-serif;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; text-wrap: balance; }

p { margin: 0; }

a { color: inherit; }

::selection { background: var(--orange); color: var(--blueprint-deep); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--orange);
  color: var(--blueprint-deep);
  font: 700 0.8125rem/1 var(--mono);
  letter-spacing: 0.08em;
  padding: 14px 18px;
  text-transform: uppercase;
}
.skip:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Utilidades ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-bg {
  background-image:
    linear-gradient(to right, var(--grid-light) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-light) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0;
}

.grid-bg--dark {
  background-image:
    linear-gradient(to right, var(--grid-dark) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-dark) 1px, transparent 1px);
}

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(1.75rem, 5.4vw, 2.75rem);
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.6;
  max-width: 54ch;
}

.body-copy { max-width: var(--measure); }

.mono {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Logotipo ------------------------------------------------------------ */
.logo { display: inline-block; line-height: 0; }
.logo img {
  width: auto;
  height: clamp(30px, 7.2vw, 42px);
}

.foot__logo {
  width: 100%;
  max-width: clamp(280px, 62vw, 400px);
  height: auto;
}

/* Subrayado de anotación: la única marca de énfasis del sistema.
   `clone` es imprescindible: sin él, un titular que parte en dos líneas
   dibuja el filete a lo ancho de toda la caja en vez de bajo cada palabra. */
.mark {
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 100% 0.085em;
  background-position: 0 96%;
  padding-bottom: 0.07em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* --- Botones ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 19px 30px;
  border-radius: var(--r-md);
  border: 2px solid var(--blueprint-deep);
  background: var(--orange);
  color: var(--blueprint-deep);
  box-shadow: 4px 4px 0 0 var(--blueprint-deep);
  transition: background-color 140ms ease-out, transform 90ms ease-out, box-shadow 90ms ease-out;
  cursor: pointer;
}
.btn:hover { background: var(--orange-deep); }
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 0 var(--blueprint-deep);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--block { width: 100%; }

.btn--sm { padding: 12px 18px; font-size: 0.6875rem; box-shadow: 3px 3px 0 0 var(--blueprint-deep); }
.btn--sm:active { box-shadow: 1px 1px 0 0 var(--blueprint-deep); }

@media (min-width: 560px) {
  .btn--block { width: auto; }
}

/* --- Cabecera ------------------------------------------------------------ */
.masthead {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}
.masthead .btn { display: none; }
@media (min-width: 780px) {
  .masthead .btn { display: inline-flex; }
}

/* =========================================================================
   HÉROE
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blueprint-deep);
  color: var(--on-dark);
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(hsl(213 62% 15% / 0.86) 0%, hsl(213 62% 15% / 0.93) 55%, hsl(213 62% 15% / 0.99) 100%),
    url('assets/stash-wall.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: clamp(36px, 6vw, 56px);
  padding-block: clamp(28px, 6vw, 56px) 0;
}

.hero__title {
  font-size: clamp(2.375rem, 9.6vw, 4.75rem);
  color: #fff;
  margin-bottom: 22px;
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}

.hero__lede { color: var(--on-dark); }

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.hero__actions .btn { border-color: hsl(28 92% 32%); box-shadow: 4px 4px 0 0 hsl(28 92% 32%); }
.hero__actions .btn:active { box-shadow: 1px 1px 0 0 hsl(28 92% 32%); }

.hero__specs {
  list-style: none;
  margin: 26px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid hsl(206 40% 84% / 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--on-dark-muted);
}
.hero__specs li { display: flex; align-items: center; gap: 8px; }
.hero__specs b { color: var(--orange); font-weight: 700; }

.hero__device {
  justify-self: center;
  width: min(268px, 66vw);
  margin-bottom: clamp(-132px, -13vw, -56px);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: 48px;
    padding-block: clamp(40px, 5vw, 72px) 0;
  }
  .hero__copy { padding-bottom: clamp(64px, 8vw, 104px); }
  .hero__device { width: min(300px, 30vw); justify-self: end; }
}

/* --- Marco de dispositivo ------------------------------------------------ */
.device {
  position: relative;
  border: var(--edge);
  border-radius: var(--r-md);
  box-shadow: var(--drop);
  background: #fff;
  overflow: hidden;
  line-height: 0;
}
.device--dark { border: var(--edge-dark); box-shadow: var(--drop-dark); }
.device img { width: 100%; }

/* =========================================================================
   EL PROBLEMA
   ========================================================================= */
.problem {
  padding-block: var(--section);
  background: var(--paper);
  position: relative;
}

.problem__inner {
  display: grid;
  gap: clamp(28px, 5vw, 44px);
}

.problem__title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: var(--blueprint);
  max-width: 16ch;
}
.problem__title em { font-style: normal; color: var(--orange); }

.problem__body { font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem); max-width: 46ch; }
.problem__body + .problem__body { margin-top: 1em; }

/* Línea de cota: filete con remate perpendicular en los dos extremos, como la
   anotación de medida de un plano. */
.margin-note {
  position: relative;
  border-left: 1px solid var(--rule);
  padding-left: 18px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  align-self: start;
}
.margin-note::before,
.margin-note::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 11px;
  border-top: 1px solid var(--rule);
}
.margin-note::before { top: 0; }
.margin-note::after { bottom: 0; }

.margin-note b {
  display: block;
  color: var(--blueprint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

@media (min-width: 860px) {
  .problem__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(40px, 6vw, 88px);
  }
  .problem__title { grid-column: 1 / -1; }
}

/* =========================================================================
   CÓMO FUNCIONA
   ========================================================================= */
.steps {
  padding-block: var(--section);
  background: var(--paper-deep);
  border-block: 1px solid var(--rule);
}

.steps__head { margin-bottom: clamp(40px, 6vw, 64px); }
.steps__head .h2 { color: var(--blueprint); }
.steps__head p { margin-top: 16px; color: var(--ink-muted); max-width: 48ch; }

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(48px, 8vw, 64px);
}

@media (min-width: 820px) {
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px); }
}

.step { display: grid; gap: 20px; justify-items: start; }

.step__frame { position: relative; width: min(268px, 74vw); margin-inline: auto; }

/* Tramo intermedio: la captura a un lado y el texto al otro, para que un
   móvil grande o una tableta no dejen la línea de texto a 700 px de ancho. */
@media (min-width: 620px) and (max-width: 819px) {
  .step {
    grid-template-columns: 240px minmax(0, 1fr);
    column-gap: clamp(28px, 5vw, 48px);
    row-gap: 12px;
    align-items: start;
  }
  .step__frame { grid-row: 1 / 3; width: 240px; margin-inline: 0; }
  .step__title { align-self: end; padding-top: 6px; }
  .step__text { max-width: 42ch; }
}

@media (min-width: 820px) { .step__frame { width: 100%; max-width: 268px; margin-inline: 0; } }

.step__num {
  position: absolute;
  top: -21px;
  left: -21px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid var(--blueprint);
  background: var(--orange);
  color: var(--blueprint-deep);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.step__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--blueprint);
}
.step__text { color: var(--ink-muted); font-size: 0.9375rem; line-height: 1.65; }

/* Barrido del escáner ------------------------------------------------------ */
.scanbeam {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 14.6%;
  height: 20.6%;
  overflow: hidden;
  pointer-events: none;
}
.scanbeam i {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 0 9px 1px hsl(32 95% 52% / 0.7);
  opacity: 0;
}
.scanbeam.is-live i { animation: sweep 3.6s cubic-bezier(0.5, 0, 0.15, 1) infinite; }

@keyframes sweep {
  0%   { top: 0;                  opacity: 0; }
  6%   {                          opacity: 1; }
  44%  { top: calc(100% - 2px);   opacity: 1; }
  52%  { top: calc(100% - 2px);   opacity: 0; }
  100% { top: 0;                  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scanbeam.is-live i { animation: none; opacity: 1; top: 50%; }
}

/* =========================================================================
   QUÉ INCLUYE · lista de piezas
   ========================================================================= */
.parts-section { padding-block: var(--section); }
.parts-section .h2 { color: var(--blueprint); }
.parts-section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.parts-section__head p { margin-top: 16px; color: var(--ink-muted); max-width: 46ch; }

.parts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.part {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: start;
  gap: 4px 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--rule);
}

.part__code {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding-top: 5px;
  min-width: 2.2em;
}

.part__icon {
  width: 30px;
  height: 30px;
  color: var(--blueprint);
  flex: none;
}

.part__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--blueprint);
}

.part__desc {
  grid-column: 3;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 2px;
}

@media (min-width: 720px) {
  .parts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 5vw, 64px);
  }
  .parts { border-top: 0; }
  .part { border-top: 1px solid var(--rule); border-bottom: 0; }
}

/* Nota sin letra pequeña */
.plain-note {
  margin-top: clamp(36px, 5vw, 52px);
  border: var(--edge);
  border-radius: var(--r-md);
  box-shadow: var(--drop);
  background: var(--paper-deep);
  padding: clamp(20px, 3.5vw, 30px);
  display: grid;
  gap: 14px;
}
.plain-note h3 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
}
.plain-note__list {
  margin: 0;
  display: grid;
  gap: 14px;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 62ch;
}
.plain-note__list dt {
  font-weight: 700;
  color: var(--blueprint);
}
.plain-note__list dd {
  margin: 2px 0 0;
  color: var(--ink-muted);
}
.plain-note__close {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 62ch;
}

@media (min-width: 560px) {
  .plain-note__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: none; }
}

@media (min-width: 720px) {
  .plain-note { grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .plain-note h3 { padding-top: 4px; }
  .plain-note > *:not(h3) { grid-column: 2; }
}

/* =========================================================================
   TESTERS
   ========================================================================= */
.testers {
  position: relative;
  scroll-margin-top: 12px;
  background: var(--blueprint);
  color: var(--on-dark);
  padding-block: var(--section);
  isolation: isolate;
}
.testers__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.testers__head { max-width: 44ch; }
.testers__head .h2 { color: #fff; font-size: clamp(2rem, 7vw, 3.5rem); }
.testers__head .h2 em { font-style: normal; color: var(--orange); }
.testers__head p { margin-top: 20px; color: var(--on-dark); }

.testers__cols {
  margin-top: clamp(40px, 6vw, 60px);
  display: grid;
  gap: 20px;
}
@media (min-width: 780px) {
  .testers__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

.panel {
  border: var(--edge-dark);
  border-radius: var(--r-md);
  box-shadow: var(--drop-dark);
  background: hsl(213 60% 20%);
  padding: clamp(22px, 3.5vw, 30px);
}
.panel h3 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.checklist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--on-dark);
}
.checklist svg { width: 22px; height: 22px; margin-top: 1px; color: var(--orange); flex: none; }
.checklist b { font-weight: 700; color: #fff; }

.cta-block {
  margin-top: clamp(36px, 5vw, 52px);
  border: 2px solid var(--orange);
  border-radius: var(--r-md);
  box-shadow: 4px 4px 0 0 hsl(28 92% 34%);
  background: var(--blueprint-deep);
  padding: clamp(26px, 4.5vw, 44px);
  display: grid;
  gap: 22px;
  justify-items: start;
}

.cta-block__count {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.cta-block h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(1.625rem, 5.6vw, 2.25rem);
  color: #fff;
  max-width: 20ch;
}
.cta-block p { font-size: 0.9375rem; line-height: 1.7; color: var(--on-dark-muted); max-width: 54ch; }
.cta-block .btn { border-color: hsl(28 92% 30%); box-shadow: 4px 4px 0 0 hsl(28 92% 30%); }
.cta-block .btn:active { box-shadow: 1px 1px 0 0 hsl(28 92% 30%); }

@media (min-width: 780px) {
  .cta-block {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 40px;
  }
  .cta-block__count { grid-column: 1 / -1; }
  .cta-block .btn { grid-row: 2 / 4; grid-column: 2; }
}

/* =========================================================================
   PIE
   ========================================================================= */
.foot {
  background: var(--blueprint-deep);
  color: var(--on-dark-muted);
  padding-block: clamp(44px, 7vw, 72px) clamp(36px, 5vw, 56px);
  font-size: 0.875rem;
}
.foot__top {
  display: grid;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid hsl(206 40% 84% / 0.2);
}
.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.foot__links a {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: hsl(206 40% 84% / 0.45);
}
.foot__links a:hover { color: var(--orange); text-decoration-color: var(--orange); }

.foot__fine {
  padding-top: 26px;
  display: grid;
  gap: 12px;
  font-size: 0.8125rem;
  line-height: 1.65;
}
.foot__fine a { color: var(--on-dark); text-underline-offset: 3px; }
.foot__fine a:hover { color: var(--orange); }

@media (min-width: 720px) {
  .foot__top { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
  .foot__fine { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 40px; }
}

/* =========================================================================
   BARRA FIJA MÓVIL
   ========================================================================= */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: var(--paper);
  border-top: var(--edge);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(110%);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.dock.is-shown { transform: translateY(0); }
.dock__label {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.35;
  flex: 1;
}
.dock__label b { display: block; color: var(--blueprint); }
.dock .btn { flex: none; }

@media (min-width: 780px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }
