/* ==========================================================================
   REPZ — hoja de estilos única
   Orden: 1 Variables · 2 Base · 3 Cabecera · 4 Hero · 5 Secciones
          6 Componentes · 7 Pie · 8 Páginas legales · 9 Responsive
   ========================================================================== */

/* 1 · VARIABLES ----------------------------------------------------------- */
:root {
  /* Tres colores y nada más:
     los dos del logo (blanco y rojo ladrillo) y negro para el texto.
     Todo lo demás son esos mismos colores con transparencia. */
  --paper: #ffffff;
  --brick: #9d4d4d;
  --ink: #000000;

  --bone: var(--paper);
  --bone-dk: var(--paper);
  --ink-soft: rgba(0, 0, 0, 0.66);
  --ink-faint: rgba(0, 0, 0, 0.46);
  --line: rgba(0, 0, 0, 0.16);
  --line-soft: rgba(0, 0, 0, 0.09);
  --on-brick: rgba(255, 255, 255, 0.84);
  --on-brick-soft: rgba(255, 255, 255, 0.64);
  --on-brick-line: rgba(255, 255, 255, 0.26);

  --shell: 1180px;
  --gut: 28px;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2 · BASE ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

/* Los títulos van en rojo. El negro queda solo para el cuerpo de texto. */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--brick);
  font-weight: 800;
  font-stretch: 86%;
  letter-spacing: -0.022em;
  line-height: 0.96;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brick); color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brick);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* Tipografía de apoyo */
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brick);
}

.lede {
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 54ch;
}

.serif-note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--brick);
}

/* 3 · CABECERA ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brick);
  /* La línea blanca separa la barra del bloque rojo del final,
     que si no se fundirían en uno. */
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}
.nav :focus-visible { outline-color: var(--paper); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 72px;
}

.nav__logo { flex: none; line-height: 0; }
.nav__logo img { height: 19px; width: auto; filter: brightness(0) invert(1); }

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
  font-stretch: 94%;
}
.nav__links a {
  text-decoration: none;
  color: var(--on-brick);
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav__links a:hover { color: var(--paper); border-bottom-color: var(--paper); }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.06em;
  border: 1px solid var(--on-brick-line);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}
.lang a {
  text-decoration: none;
  color: var(--on-brick-soft);
  padding: 4px 10px;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}
.lang a:hover { color: var(--paper); }
.lang a[aria-current="true"] { background: var(--paper); color: var(--brick); }

.nav__burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--on-brick-line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__burger span,
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.6px;
  background: var(--paper);
  transform: translateX(-50%);
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.nav__burger span { top: 50%; margin-top: -0.8px; }
.nav__burger span::before { top: -5px; left: 0; transform: none; }
.nav__burger span::after { top: 5px; left: 0; transform: none; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* 4 · HERO ---------------------------------------------------------------- */
.hero { padding: clamp(46px, 7vw, 96px) 0 0; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 346px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 74px);
  font-weight: 900;
  font-stretch: 80%;
  letter-spacing: -0.035em;
  line-height: 0.9;
  margin: 16px 0 24px;
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  display: block;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 600;
  font-stretch: 96%;
  color: var(--ink-faint);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--brick);
  border-radius: 50%;
}

.hero__shot { margin: 0; justify-self: end; }
.hero__shot img { width: 100%; max-width: 330px; margin-inline: auto; }

/* Cinta deslizante */
.ticker {
  margin-top: clamp(48px, 6vw, 86px);
  background: var(--brick);
  overflow: hidden;
  padding: 14px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.ticker__track span {
  font-size: 13px;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: pre;
}
.ticker__track span b { color: var(--on-brick-soft); font-weight: 800; }
@keyframes slide { to { transform: translateX(-50%); } }

/* 5 · SECCIONES ----------------------------------------------------------- */
.sec { padding: clamp(66px, 8vw, 118px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec--tint { background: var(--bone-dk); }

.sec__head {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.sec__num {
  font-size: 12px;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: 0.14em;
  color: var(--brick);
  padding-top: 10px;
  border-top: 2px solid var(--brick);
}
.sec__head h2 {
  font-size: clamp(32px, 4.3vw, 56px);
  font-stretch: 84%;
  max-width: 19ch;
  margin-bottom: 18px;
}
.sec__head h2 + p { max-width: 58ch; }

/* 6 · COMPONENTES --------------------------------------------------------- */

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  font-stretch: 94%;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border: 1.5px solid var(--brick);
  background: var(--brick);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn:hover { background: var(--paper); color: var(--brick); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--brick); border-color: var(--brick); }
.btn--ghost:hover { background: var(--brick); color: var(--paper); border-color: var(--brick); }
.btn--brick { background: var(--brick); border-color: var(--brick); }
.btn--brick:hover { background: var(--paper); color: var(--brick); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn small {
  font-weight: 600;
  font-size: 13px;
  opacity: 0.68;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Lista de contras (el problema) */
.pains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.pains li {
  list-style: none;
  background: var(--bone);
  padding: 30px 28px 34px;
}
.pains h3 {
  font-size: 19px;
  font-stretch: 92%;
  margin-bottom: 10px;
}
.pains p { font-size: 15.5px; color: var(--ink-soft); }
.pains .mark {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--brick);
  margin-bottom: 14px;
}

.turn {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
  color: var(--brick);
}
.turn em { font-style: normal; color: var(--ink); }

/* Pasos — secuencia de 4 columnas */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.flow__item { display: flex; flex-direction: column; }
.flow__n {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 2px solid var(--brick);
  padding-top: 11px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.flow__n b { color: var(--brick); font-weight: 800; }
.flow__shot { margin: 0 0 18px; }
.flow__shot img {
  width: 100%;
  max-width: 236px;
  height: auto;
}
.flow h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  font-stretch: 90%;
  margin-bottom: 10px;
}
.flow p { font-size: 15px; color: var(--ink-soft); }

/* Qué incluye */
.pack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.pack__item { border-top: 2px solid var(--brick); padding-top: 22px; }
.pack__item .eyebrow { color: var(--brick); }
.pack__item h3 {
  font-size: clamp(21px, 2.2vw, 26px);
  font-stretch: 88%;
  margin: 12px 0 12px;
}
.pack__item p { font-size: 15.5px; color: var(--ink-soft); }
.pack__item ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.pack__item li {
  padding: 7px 0 7px 18px;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.pack__item li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 7px; height: 1.5px;
  background: var(--brick);
}

/* Bloque de datos / Notion
   El portátil va a todo el ancho: la gracia de esta sección es que se lea
   la tabla de verdad, no que se adivine. La lista de campos va debajo. */
.data {
  display: grid;
  /* minmax(0,1fr) y no "1fr": si no, en móvil la imagen ampliada que va
     dentro del contenedor deslizable ensancha la columna y arrastra
     scroll horizontal a la página entera. */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 52px);
}
.data__shot { margin: 0; min-width: 0; }
.data__shot img { width: 100%; height: auto; display: block; }
/* El aviso de deslizar sólo existe en móvil, donde la imagen no cabe. */
.data__swipe { display: none; }
.data__body .eyebrow { margin-bottom: 20px; }
.data__note {
  margin: 28px 0 0;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.fields {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
}
.fields div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
/* En dos columnas la "última fila" son los dos últimos elementos. */
.fields div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.fields dt { font-weight: 700; font-stretch: 94%; }
.fields dd { margin: 0; color: var(--ink-soft); }

/* Precio */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  border: 1.5px solid var(--brick);
  background: var(--paper);
}
.offer__main { padding: clamp(32px, 4vw, 52px); }
.offer__side {
  padding: clamp(32px, 4vw, 52px);
  border-left: 1.5px solid var(--brick);
  background: var(--bone);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 4px;
}
.price strong {
  color: var(--brick);
  font-size: clamp(56px, 7vw, 86px);
  font-weight: 900;
  font-stretch: 78%;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.price span { font-size: 15px; font-weight: 600; color: var(--ink-faint); }
.offer__note { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 26px; }
.offer__list { list-style: none; margin: 0 0 28px; padding: 0; font-size: 15.5px; }
.offer__list li {
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.offer__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.offer__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 20px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--brick);
  border-bottom: 2px solid var(--brick);
  transform: rotate(-45deg);
}
.offer__side h3 {
  font-size: 18px;
  font-stretch: 92%;
  margin-bottom: 14px;
}
.reqs { list-style: none; margin: 0 0 24px; padding: 0; font-size: 15px; color: var(--ink-soft); }
.reqs li { padding: 9px 0; border-top: 1px solid var(--line); }
.reqs li:first-child { border-top: 0; }
.reqs b { color: var(--ink); font-weight: 700; }
.guarantee {
  font-size: 14px;
  color: var(--ink-soft);
  border-left: 2px solid var(--brick);
  padding-left: 14px;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 700;
  font-stretch: 90%;
  letter-spacing: -0.015em;
  color: var(--brick);
  transition: opacity 0.18s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { opacity: 0.62; }
.faq summary::after {
  content: "";
  justify-self: end;
  width: 13px; height: 13px;
  border-right: 2px solid var(--brick);
  border-bottom: 2px solid var(--brick);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { padding: 0 0 26px; max-width: 62ch; color: var(--ink-soft); font-size: 16px; }

/* CTA final */
.closer {
  background: var(--brick);
  color: var(--paper);
  padding: clamp(66px, 8vw, 110px) 0;
}
.closer h2 {
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 900;
  font-stretch: 80%;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.92;
  max-width: 16ch;
  margin-bottom: 26px;
  color: var(--paper);
}
.closer h2 em { font-style: normal; color: var(--on-brick-soft); }
.closer p { color: var(--on-brick); max-width: 48ch; margin-bottom: 32px; }
.closer .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.closer .btn:hover { background: transparent; border-color: var(--paper); color: var(--paper); }
.closer .btn--ghost { background: transparent; color: var(--paper); border-color: var(--on-brick-line); }
.closer .btn--ghost:hover { background: var(--paper); color: var(--brick); border-color: var(--paper); }
.closer :focus-visible { outline-color: var(--paper); }

/* 7 · PIE ----------------------------------------------------------------- */
.foot {
  background: var(--brick);
  color: var(--on-brick);
  font-size: 14px;
  padding: 0 0 46px;
  border-top: 1px solid var(--on-brick-line);
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 34px;
  padding: 54px 0 40px;
}
.foot__logo img { height: 17px; width: auto; filter: brightness(0) invert(1); }
.foot p { margin-top: 16px; max-width: 34ch; line-height: 1.55; }
.foot h4 {
  font-size: 11.5px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-brick-soft);
  margin-bottom: 16px;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot a { text-decoration: none; transition: color 0.18s; }
.foot a:hover { color: var(--paper); }
.foot :focus-visible { outline-color: var(--paper); }
.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--on-brick-line);
  font-size: 13px;
  color: var(--on-brick-soft);
}

/* 8 · PÁGINAS LEGALES ----------------------------------------------------- */
.doc { padding: clamp(48px, 6vw, 86px) 0 clamp(66px, 8vw, 110px); }
.doc__grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.doc__nav { position: sticky; top: 100px; }
.doc__nav ul { list-style: none; margin: 0; padding: 0; }
.doc__nav li { border-top: 1px solid var(--line); }
.doc__nav li:last-child { border-bottom: 1px solid var(--line); }
.doc__nav a {
  display: block;
  padding: 11px 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s, padding-left 0.18s;
}
.doc__nav a:hover { color: var(--brick); padding-left: 6px; }

.doc h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-stretch: 82%;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.doc__body > section { padding: 40px 0; border-top: 1px solid var(--line); }
.doc__body > section:first-of-type { border-top: 0; padding-top: 24px; }
.doc__body h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-stretch: 88%;
  margin-bottom: 18px;
}
.doc__body h3 {
  font-size: 17px;
  font-stretch: 94%;
  margin: 24px 0 8px;
}
.doc__body p,
.doc__body li { color: var(--ink-soft); font-size: 16px; }
.doc__body ul { padding-left: 20px; margin: 0 0 1.1em; }
.doc__body li { margin-bottom: 7px; }
.doc__body a { color: var(--brick); text-underline-offset: 3px; }
.doc__meta {
  font-size: 13px;
  color: var(--ink-faint);
  border-left: 2px solid var(--brick);
  padding-left: 14px;
  margin-bottom: 34px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 1.1em;
}
.doc th, .doc td {
  text-align: left;
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
.doc th { color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Página de descarga tras el pago ----------------------------------------
   Tres entregables numerados como los pasos de la portada, para que el
   comprador reconozca la casa nada más pagar. */
.recibo { max-width: 760px; }
.recibo h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-stretch: 86%;
  margin: 0 0 20px;
}
.recibo h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-stretch: normal;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.recibo .lede { max-width: 60ch; }
.recibo .lede a { color: var(--brick); text-underline-offset: 3px; }

/* El entregable es uno solo: un botón grande y nada que compita con él.
   Lo que hay debajo es el índice de lo que viene dentro, no más descargas. */
.entrega-una {
  margin: 44px 0 0;
  padding: 30px 0 0;
  border-top: 2px solid var(--brick);
}
.entrega-una .btn { width: 100%; }
.entrega-una p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 54ch;
}
.entrega-rotulo {
  margin: 46px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.entrega {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
}
/* Sin botones dentro, la fila no necesita el aire que dejaba debajo. */
.entrega--sola { margin-top: 18px; }
.entrega--sola li { padding: 22px 0; }
.entrega--sola li:first-child { border-top-width: 1px; }
.entrega--sola p { margin-bottom: 0; }
.entrega li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.entrega li:first-child { border-top: 2px solid var(--brick); }
.entrega li:last-child { border-bottom: 1px solid var(--line); }
.entrega__n {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--brick);
  padding-top: 5px;
}
.entrega h2 {
  font-size: clamp(20px, 2.1vw, 25px);
  font-stretch: 90%;
  margin: 0 0 8px;
}
.entrega p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 18px;
  max-width: 54ch;
}
.recibo__pie {
  margin: 34px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.recibo__pie a { color: var(--brick); text-underline-offset: 3px; }

/* Aparición al hacer scroll */
.rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.rise.is-in { opacity: 1; transform: none; }

/* 9 · RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__shot { justify-self: start; }
  .hero__shot img { margin-inline: 0; }
  .sec__head { grid-template-columns: 1fr; gap: 16px; }
  .sec__num { border-top: 0; padding-top: 0; }
  .pains { grid-template-columns: 1fr; }
  /* Con cuatro pasos, tres columnas dejan uno huérfano en la segunda fila.
     Dos y dos cuadra y además deja las capturas más grandes. */
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 28px; }
  .flow__shot img { max-width: 300px; }
  .pack { grid-template-columns: 1fr; gap: 0; }
  .pack__item { border-top: 2px solid var(--brick); padding: 22px 0 28px; }
  .pack__item + .pack__item { border-top-width: 1px; }
  .offer { grid-template-columns: 1fr; }
  .offer__side { border-left: 0; border-top: 1.5px solid var(--brick); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .doc__grid { grid-template-columns: 1fr; }
  .doc__nav { position: static; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; }
  body { font-size: 16px; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--brick);
    border-bottom: 1px solid var(--on-brick-line);
    padding: 8px var(--gut) 22px;
    margin: 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding: 15px 0;
    border-bottom: 1px solid var(--on-brick-line);
    font-size: 17px;
    color: var(--paper);
  }
  .nav .lang { margin-left: auto; }
  .nav__inner { gap: 14px; }
  .hero h1 { font-size: clamp(42px, 13vw, 66px); }
  .actions .btn { flex: 1 1 100%; }
  /* El número se va encima del título: a 390 px, 56 px de columna fija
     dejaban el texto en una tira inservible. */
  .entrega li { grid-template-columns: 1fr; gap: 10px; }
  .entrega__n { padding-top: 0; }
  .entrega .btn { width: 100%; }
  .fields { grid-template-columns: 1fr; }
  .fields div { grid-template-columns: 1fr; gap: 3px; }
  .fields div:nth-last-child(-n + 2) { border-bottom: 0; }
  .fields div:last-child { border-bottom: 1px solid var(--line); }
  .foot__grid { grid-template-columns: 1fr; gap: 30px; }
  /* Dos por fila también en móvil: el gutter se aprieta para que las
     capturas ganen los pocos píxeles que se puedan. */
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
  .flow__shot img { max-width: none; }

  /* El portátil de Notion a 350 px no se lee: la tabla se adivina.
     Lo sacamos a sangre (de borde a borde) y lo dejamos deslizable con
     la imagen al doble de tamaño, como se hace con las tablas anchas. */
  .data__shot { margin-inline: calc(var(--gut) * -1); }
  .data__scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-inline: var(--gut);
  }
  .data__scroll img { width: 760px; max-width: none; }
  .data__swipe {
    display: block;
    margin: 12px var(--gut) 0;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
