/* NFCSeller — hoja única de la web.
   Colores solo de nfcseller-brand/tokens/tokens.css. La única excepción es el
   rojo de los errores de formulario (--error), que la guía no cubre. */

@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-var.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --nfc-green: #123B2B;
  --nfc-gold: #C9A646;
  --nfc-cream: #FBF8F1;
  --nfc-white: #FFFFFF;
  --nfc-green-900: #0C2A1F;
  --nfc-green-700: #1E5540;
  --nfc-gold-700: #876B20;
  --nfc-muted: #4A5E54;
  --nfc-border: #E6E0D2;

  --color-bg: var(--nfc-cream);
  --color-surface: var(--nfc-white);
  --color-text: var(--nfc-green);
  --color-text-muted: var(--nfc-muted);
  --color-primary: var(--nfc-green);
  --color-primary-hover: var(--nfc-green-900);
  --color-on-primary: var(--nfc-cream);
  --color-accent: var(--nfc-gold);
  --color-accent-text: var(--nfc-gold-700);
  --color-border: var(--nfc-border);
  --color-focus: var(--nfc-green-700);
  --error: #A12A1F;

  --font-brand: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ancho: 1160px;
  --gutter: 20px;
}

.theme-dark {
  --color-bg: var(--nfc-green);
  --color-surface: var(--nfc-green-700);
  --color-text: var(--nfc-cream);
  --color-text-muted: #C9D3CC;
  --color-primary: var(--nfc-gold);
  --color-primary-hover: #D4B45A;
  --color-on-primary: var(--nfc-green);
  --color-accent-text: var(--nfc-gold);
  --color-border: #2A5443;
  --color-focus: var(--nfc-gold);
  background: var(--color-bg);
  color: var(--color-text);
}

/* ── Base ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-brand);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
::selection { background: var(--nfc-gold); color: var(--nfc-green); }

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

.ico { width: 1.15em; height: 1.15em; flex: none; }

.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--nfc-green); color: var(--nfc-cream);
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
}
.saltar:focus { top: 12px; }

.envoltura { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gutter); }
.envoltura--estrecha { max-width: calc(720px + 2 * var(--gutter)); }
.envoltura--media { max-width: calc(1000px + 2 * var(--gutter)); }

.antetitulo {
  margin: 0 0 14px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent-text);
}
.titulo-seccion { font-size: clamp(1.85rem, 3.5vw, 2.75rem); max-width: 20ch; margin-bottom: 20px; }
.entradilla { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--color-text-muted); max-width: 38em; }
.parrafo-grande { font-size: 1.13rem; color: var(--color-text-muted); }

.seccion { padding-block: clamp(64px, 9vw, 112px); }
.seccion--suave { background: var(--nfc-white); border-block: 1px solid var(--nfc-border); }
.seccion--pegada { padding-top: 16px; }

/* ── Botones y enlaces ──────────────────────────────────────────────── */

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 12px 20px; border-radius: var(--radius-md); border: 1.5px solid transparent;
  font: inherit; font-size: 0.97rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.boton--grande { padding: 15px 24px; font-size: 1.02rem; }
.boton--primario { background: var(--color-primary); color: var(--color-on-primary); }
.boton--primario:hover { background: var(--color-primary-hover); }
.boton--linea { border-color: currentColor; color: var(--color-text); background: transparent; }
.boton--linea:hover { background: var(--color-text); color: var(--color-bg); }
.boton .ico { transition: transform .18s ease; }
.boton:hover .ico { transform: translateX(3px); }

.boton-enlace { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

.enlace-flecha {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--nfc-gold);
  padding-bottom: 2px;
}
.enlace-flecha:hover { border-color: currentColor; }
.enlaces-fila { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }

/* ── Cabecera ───────────────────────────────────────────────────────── */

.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--nfc-border);
}
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.cabecera__logo img { width: 150px; height: auto; }

.nav { display: none; align-items: center; gap: 26px; font-size: .95rem; font-weight: 500; }
.nav a:not(.boton) { text-decoration: none; padding-block: 6px; border-bottom: 1.5px solid transparent; }
.nav a:not(.boton):hover, .nav a[aria-current="page"] { border-color: var(--nfc-gold); }
.nav__entrar { color: var(--nfc-muted); }

.menu { position: static; }
.menu__boton {
  list-style: none; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--radius-md); cursor: pointer; border: 1.5px solid var(--nfc-border);
}
.menu__boton::-webkit-details-marker { display: none; }
.menu__boton .ico { width: 22px; height: 22px; }
.menu__cerrar, .menu[open] .menu__abrir { display: none; }
.menu[open] .menu__cerrar { display: block; }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 72px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px var(--gutter) 24px; background: var(--nfc-cream);
  border-bottom: 1px solid var(--nfc-border); box-shadow: 0 24px 40px -24px rgba(18, 59, 43, .25);
}
.menu__panel a:not(.boton) { padding: 13px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--nfc-border); }
.menu__panel .boton { margin-top: 16px; }

@media (min-width: 980px) {
  .nav { display: flex; }
  .menu { display: none; }
}

/* ── Portada ────────────────────────────────────────────────────────── */

.hero { padding-block: clamp(40px, 6vw, 72px) clamp(16px, 3vw, 24px); overflow: hidden; }
.hero__rejilla { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.15rem); line-height: 1.03; letter-spacing: -0.035em; max-width: 13.5em; margin-bottom: 24px; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.hero__nota { font-size: .9rem; color: var(--nfc-muted); max-width: 34em; }

.hero__visual { position: relative; max-width: 480px; margin-inline: auto; width: 100%; }
.hero__visual img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%;
  border-radius: var(--radius-lg); background: var(--nfc-border);
}

.ticket {
  position: relative; margin: -56px 16px 0; padding: 18px 20px 16px;
  background: var(--nfc-white); border: 1px solid var(--nfc-border); border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -22px rgba(18, 59, 43, .35);
  font-size: .9rem;
}
.ticket::before, .ticket::after {
  content: ''; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--nfc-cream); border: 1px solid var(--nfc-border); transform: translateY(-50%);
}
.ticket::before { left: -8px; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -8px; clip-path: inset(0 50% 0 0); }
.ticket p { margin: 0; }
.ticket__titulo { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--nfc-gold-700); margin-bottom: 8px !important; }
.ticket__linea { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket__linea strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.ticket__pie { color: var(--nfc-muted); font-size: .82rem; }
.ticket__ref { margin-top: 12px !important; padding-top: 10px; border-top: 1.5px dashed var(--nfc-border); font-size: .82rem; color: var(--nfc-muted); }

@media (min-width: 900px) {
  .hero__rejilla { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .ticket { position: absolute; left: -64px; bottom: 40px; width: 300px; margin: 0; }
  .hero__visual img { aspect-ratio: 4 / 5; object-position: center 30%; }
}

/* ── Pasos ──────────────────────────────────────────────────────────── */

.pasos { list-style: none; display: grid; gap: 36px 32px; margin-top: 48px; counter-reset: paso; }
.pasos li { border-top: 2px solid var(--nfc-green); padding-top: 18px; }
.pasos__num { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--nfc-gold); margin-bottom: 18px; }
.pasos h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pasos p { color: var(--nfc-muted); margin: 0; font-size: .98rem; }
@media (min-width: 640px) { .pasos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pasos { grid-template-columns: repeat(4, 1fr); } }

/* ── Precio y calculadora ───────────────────────────────────────────── */

.precio__rejilla { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .precio__rejilla { grid-template-columns: 1fr 1fr; gap: 72px; } }
.precio__cifra { font-size: clamp(3.6rem, 10vw, 6.4rem); line-height: .95; letter-spacing: -0.045em; color: var(--nfc-gold); margin-bottom: 32px; }
.precio__cifra span { display: block; margin-top: 12px; font-size: 1.05rem; font-weight: 500; letter-spacing: 0; color: var(--color-text-muted); }
.precio__iva { margin-top: 22px; font-size: .92rem; color: var(--color-text-muted); }

.lista-check { list-style: none; display: grid; gap: 12px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; }
.lista-check .ico { color: var(--color-accent-text); margin-top: .22em; }

.calculadora {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
}
.calculadora h3 { font-size: 1.3rem; margin-bottom: 20px; }
.calculadora__campos { display: grid; gap: 16px; }
@media (min-width: 520px) { .calculadora__campos { grid-template-columns: 1fr 1fr; } }
.calculadora label { display: block; font-size: .88rem; font-weight: 500; color: var(--color-text-muted); }
.calculadora input {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  background: var(--nfc-green-900); color: var(--nfc-cream);
  border: 1.5px solid var(--color-border); border-radius: 10px;
  font: inherit; font-size: 1.15rem; font-weight: 600;
}
.calculadora input:focus { border-color: var(--nfc-gold); outline: none; }
.campo-euros { position: relative; display: block; }
.campo-euros span { position: absolute; right: 14px; bottom: 13px; font-weight: 600; color: var(--color-text-muted); }
.calculadora__resultado { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.calculadora__resultado dt { font-size: .8rem; color: var(--color-text-muted); }
.calculadora__resultado dd { font-size: clamp(1.05rem, 2.4vw, 1.4rem); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.calculadora__margen dd { color: var(--nfc-gold); }
.calculadora__nota { font-size: .82rem; color: var(--color-text-muted); margin-bottom: 20px; }

/* ── Portal ─────────────────────────────────────────────────────────── */

.portal-bloque { display: grid; gap: 56px; align-items: start; }
@media (min-width: 980px) {
  .portal-bloque { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .portal-bloque .demo { position: sticky; top: 104px; }
}

.rasgos { list-style: none; margin-top: 28px; }
.rasgos li { padding: 18px 0; border-top: 1px solid var(--nfc-border); }
.rasgos li:last-child { border-bottom: 1px solid var(--nfc-border); }
.rasgos h3 { font-size: 1.05rem; margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rasgos p { margin: 0; color: var(--nfc-muted); font-size: .97rem; }
.rasgos--rejilla { display: grid; gap: 0 48px; }
@media (min-width: 800px) { .rasgos--rejilla { grid-template-columns: 1fr 1fr; } .rasgos--rejilla li:nth-last-child(2) { border-bottom: 1px solid var(--nfc-border); } }

.etiqueta {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .01em; line-height: 1.5; white-space: nowrap;
  background: var(--nfc-border); color: var(--nfc-green);
}
.etiqueta--ok { background: var(--nfc-green); color: var(--nfc-cream); }
.etiqueta--ojo { background: var(--nfc-white); color: var(--nfc-gold-700); box-shadow: inset 0 0 0 1px var(--nfc-gold-700); }
.etiqueta--pronto { background: transparent; color: var(--nfc-gold-700); box-shadow: inset 0 0 0 1px var(--nfc-gold-700); }

.demo { margin: 0; }
.demo__ventana {
  background: var(--nfc-white); border: 1px solid var(--nfc-border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -48px rgba(18, 59, 43, .45);
}
.demo__barra { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--nfc-green); color: var(--nfc-cream); font-size: .86rem; font-weight: 600; }
.demo__barra img { width: 22px; height: 22px; }
.demo__usuario { margin-left: auto; font-weight: 400; color: #C9D3CC; }
.demo__cuerpo { padding: 18px; }
.demo__cifras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 520px) { .demo__cifras { grid-template-columns: repeat(4, 1fr); } }
.demo__cifras div { background: var(--nfc-cream); border: 1px solid var(--nfc-border); border-radius: 10px; padding: 10px 12px; }
.demo__cifras dt { font-size: .72rem; color: var(--nfc-muted); }
.demo__cifras dd { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.demo__tabla { width: 100%; border-collapse: collapse; font-size: .84rem; }
.demo__tabla th { text-align: left; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nfc-muted); padding: 0 8px 8px; }
.demo__tabla td { padding: 10px 8px; border-top: 1px solid var(--nfc-border); vertical-align: middle; }
.demo__tabla td:first-child { font-variant-numeric: tabular-nums; color: var(--nfc-muted); white-space: nowrap; }
.demo figcaption { margin-top: 10px; font-size: .8rem; color: var(--nfc-muted); text-align: center; }

/* ── Modelos ────────────────────────────────────────────────────────── */

.modelos { list-style: none; display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 720px) { .modelos { grid-template-columns: repeat(3, 1fr); } }
.modelo { background: var(--nfc-cream); border: 1px solid var(--nfc-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.modelo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 35%; }
.modelo__texto { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.modelo h3 { font-size: 1.2rem; margin-bottom: 4px; }
.modelo__medidas { font-size: .86rem; font-weight: 600; color: var(--nfc-gold-700); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.modelo p { font-size: .96rem; }
.modelo__donde { margin: auto 0 0 !important; padding-top: 12px; border-top: 1px solid var(--nfc-border); font-size: .86rem !important; color: var(--nfc-muted); }
.nota-tecnica { display: flex; gap: 12px; align-items: flex-start; margin: 32px 0 0; color: var(--nfc-muted); font-size: .95rem; max-width: 52em; }
.nota-tecnica .ico { color: var(--nfc-gold-700); margin-top: .2em; }

/* ── Meritia, perfiles y FAQ ────────────────────────────────────────── */

.meritia { display: grid; gap: 24px 72px; }
@media (min-width: 900px) { .meritia { grid-template-columns: .9fr 1.1fr; } }
.meritia__texto > p { font-size: 1.08rem; }
.meritia__texto a { text-decoration-color: var(--nfc-gold); text-underline-offset: 3px; }
.datos { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .datos { grid-template-columns: 1fr 1fr; } }
.datos div { border-left: 2px solid var(--nfc-gold); padding-left: 16px; }
.datos dt { font-weight: 600; margin-bottom: 4px; }
.datos dd { color: var(--nfc-muted); font-size: .95rem; }

.perfiles { display: grid; gap: 0 56px; margin-top: 36px; }
@media (min-width: 800px) { .perfiles { grid-template-columns: 1fr 1fr; } }
.perfiles div { padding: 24px 0; border-top: 1px solid var(--nfc-border); }
.perfiles dt { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 8px; }
.perfiles dd { color: var(--nfc-muted); }
.perfiles a { color: var(--nfc-green); text-underline-offset: 3px; }

.faq { display: grid; gap: 32px 72px; }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; } }
.faq a { text-underline-offset: 3px; }
.faq__lista details { border-bottom: 1px solid var(--nfc-border); }
.faq__lista details:first-child { border-top: 1px solid var(--nfc-border); }
.faq__lista summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font-weight: 600; font-size: 1.04rem; cursor: pointer;
}
.faq__lista summary::-webkit-details-marker { display: none; }
.faq__signo { color: var(--nfc-gold-700); transition: transform .2s ease; }
.faq__lista details[open] .faq__signo { transform: rotate(45deg); }
.faq__lista details p { color: var(--nfc-muted); padding-bottom: 22px; margin: 0; max-width: 42em; }

/* ── Banda final y pie ──────────────────────────────────────────────── */

.cta { padding-block: clamp(56px, 7vw, 88px); }
.cta__fila { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 18em; margin-bottom: 10px; }
.cta p { color: var(--color-text-muted); margin: 0; max-width: 36em; }

.pie { padding-top: 64px; border-top: 1px solid var(--color-border); }
.pie__rejilla { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 720px) { .pie__rejilla { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.pie__marca img { width: 170px; margin-bottom: 18px; }
.pie__marca p { color: var(--color-text-muted); font-size: .94rem; max-width: 22em; }
.pie__partner a { color: var(--nfc-gold); }
.pie__col { display: flex; flex-direction: column; gap: 10px; }
.pie__col h2 { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--nfc-gold); margin-bottom: 6px; }
.pie__col a { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text-muted); text-decoration: none; font-size: .94rem; }
.pie__col a:hover { color: var(--nfc-cream); text-decoration: underline; text-underline-offset: 3px; }
.pie__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; font-size: .84rem; color: var(--color-text-muted); }
.pie__base::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--color-border); }

/* ── Páginas interiores ─────────────────────────────────────────────── */

.cabecera-pagina { padding-block: clamp(40px, 6vw, 72px); }
.cabecera-pagina h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.cabecera-pagina__rejilla { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .cabecera-pagina__rejilla { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.cabecera-pagina--sola { padding-bottom: 24px; }

.migas { font-size: .86rem; color: var(--nfc-muted); margin-bottom: 20px; }
.migas a { text-underline-offset: 3px; }

.dos-columnas { display: grid; gap: 24px 72px; align-items: start; }
@media (min-width: 900px) { .dos-columnas { grid-template-columns: 1fr 1fr; } }
.dos-columnas p { color: var(--nfc-muted); }

.lista-numerada { list-style: none; counter-reset: n; display: grid; gap: 18px; margin: 8px 0 28px; }
.lista-numerada li { counter-increment: n; position: relative; padding-left: 48px; color: var(--nfc-muted); }
.lista-numerada li strong { color: var(--nfc-green); font-weight: 600; }
.lista-numerada li::before {
  content: counter(n); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--nfc-green); color: var(--nfc-cream); font-weight: 800; font-size: .9rem;
}

/* Artículos y textos legales */
.articulo { padding-bottom: clamp(64px, 8vw, 104px); }
.articulo__cabecera { padding-block: clamp(40px, 6vw, 64px) 12px; }
.articulo__cabecera h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.articulo__meta { font-size: .86rem; color: var(--nfc-muted); }
.articulo--legal .articulo__cabecera h1 { font-size: clamp(2rem, 4vw, 2.7rem); }

.prosa { font-size: 1.06rem; }
.prosa h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin: 48px 0 14px; scroll-margin-top: 96px; }
.prosa p, .prosa li { color: #2b4a3c; }
.prosa strong { color: var(--nfc-green); font-weight: 600; }
.prosa ul, .prosa ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prosa li { margin-bottom: .55em; padding-left: .2em; }
.prosa ul li::marker { color: var(--nfc-gold-700); }
.prosa a { color: var(--nfc-green-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prosa code { font-size: .9em; background: var(--nfc-white); border: 1px solid var(--nfc-border); border-radius: 6px; padding: 1px 6px; }

.indice { background: var(--nfc-white); border: 1px solid var(--nfc-border); border-radius: var(--radius-md); padding: 20px 24px; margin: 20px 0 8px; }
.indice p { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--nfc-gold-700); margin-bottom: 10px; }
.indice ol { margin: 0; }
.indice li { margin-bottom: .3em; }

.caja-cta { margin-top: 56px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--nfc-green); color: var(--nfc-cream); }
.caja-cta h2 { margin: 0 0 10px; color: var(--nfc-cream); }
.caja-cta p { color: #C9D3CC; }
.caja-cta .boton--primario { background: var(--nfc-gold); color: var(--nfc-green); }
.caja-cta .boton--primario:hover { background: #D4B45A; }

.ficha-titular { list-style: none !important; padding: 18px 22px !important; background: var(--nfc-white); border: 1px solid var(--nfc-border); border-radius: var(--radius-md); }
.ficha-titular li { margin: 0 0 .3em !important; }

.tabla-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.prosa table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.prosa th, .prosa td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--nfc-border); vertical-align: top; }
.prosa th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--nfc-muted); }

/* ── Formulario ─────────────────────────────────────────────────────── */

.solicitud { display: grid; gap: 40px; align-items: start; }
@media (min-width: 940px) { .solicitud { grid-template-columns: 1.55fr .95fr; gap: 56px; } }

.formulario fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.formulario legend { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.015em; padding: 0; margin-bottom: 16px; }
.campo { margin-bottom: 18px; }
.campo label, .campo__etiqueta { display: inline; font-size: .94rem; font-weight: 500; }
.campo > input, .campo > select, .campo > textarea, .campo > .opciones { margin-top: 7px; }
.campo--corto { max-width: 240px; }
.campo--medio { max-width: 380px; }
.campos-dos { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .campos-dos { grid-template-columns: 1fr 1fr; } }

.formulario input[type="text"], .formulario input[type="email"], .formulario input[type="tel"],
.formulario input[type="number"], .formulario select, .formulario textarea {
  display: block; width: 100%; padding: 13px 14px;
  background: var(--nfc-white); color: var(--nfc-green);
  border: 1.5px solid var(--nfc-border); border-radius: 10px;
  font: inherit; font-size: 1rem;
  transition: border-color .15s ease;
}
.formulario select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123B2B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.formulario textarea { resize: vertical; min-height: 110px; }
.formulario input:hover, .formulario select:hover, .formulario textarea:hover { border-color: #cfc6b1; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: none; border-color: var(--nfc-green); box-shadow: 0 0 0 3px rgba(18, 59, 43, .12); }
.formulario [aria-invalid="true"] { border-color: var(--error); }
.formulario ::placeholder { color: #8a978f; }

.opciones { display: flex; flex-wrap: wrap; gap: 10px; }
.opciones ul { list-style: none; display: contents; }
.opcion {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px;
  background: var(--nfc-white); border: 1.5px solid var(--nfc-border); border-radius: 10px;
  font-size: .95rem; cursor: pointer;
}
.opcion:has(input:checked) { border-color: var(--nfc-green); }
.opcion input { accent-color: var(--nfc-green); width: 18px; height: 18px; margin: 0; flex: none; align-self: center; }
.opcion--legal { display: flex; align-items: flex-start; background: none; border: 0; padding: 0; margin-bottom: 14px; font-size: .92rem; color: var(--nfc-muted); }
.opcion--legal input { margin-top: 2px; flex: none; }
.opcion--legal a { color: var(--nfc-green); text-underline-offset: 3px; }
.opcional { font-size: .78rem; font-weight: 400; color: var(--nfc-muted); margin-left: 4px; }
.campo__ayuda { font-size: .86rem; color: var(--nfc-muted); margin: 8px 0 14px; }
.campo__error { font-size: .88rem; color: var(--error); margin: 6px 0 0; font-weight: 500; }
.consentimientos { margin: 4px 0 24px; }
.cf-turnstile { margin-bottom: 20px; }

.aviso { padding: 12px 16px; border-radius: 10px; margin-bottom: 24px; font-size: .95rem; }
.aviso--error { background: var(--nfc-white); border: 1px solid var(--nfc-border); border-left: 4px solid var(--error); color: var(--nfc-green); }

.formulario__nota { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .86rem; color: var(--nfc-muted); }

.trampa { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.resumen-pedido { background: var(--nfc-white); border: 1px solid var(--nfc-border); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 940px) { .resumen-pedido { position: sticky; top: 100px; } }
.resumen-pedido h2 { font-size: 1.1rem; margin-bottom: 12px; }
.resumen-pedido dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--nfc-border); font-size: .92rem; }
.resumen-pedido dt { color: var(--nfc-muted); }
.resumen-pedido dd { font-weight: 600; text-align: right; }
.resumen-pedido p { margin: 16px 0 0; font-size: .88rem; color: var(--nfc-muted); }
.resumen-pedido a { color: var(--nfc-green); }

/* ── Aviso de cookies (solo si hay Google Analytics) ────────────────── */

.cookies {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px;
  padding: 18px 20px; background: var(--nfc-white); border: 1px solid var(--nfc-border); border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(18, 59, 43, .35); font-size: .9rem;
}
.cookies[hidden] { display: none; }
.cookies p { margin-bottom: 14px; color: var(--nfc-muted); }
.cookies__botones { display: flex; gap: 10px; justify-content: flex-end; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .cabecera, .pie, .cta, .cookies { display: none; }
  body { background: #fff; }
}
