/* Lúmina Digital — hoja de estilos */
:root {
  --papel: #F5F1EA;
  --papel-2: #ECE6DB;
  --tinta: #16130F;
  --tinta-2: #3B362F;
  --gris: #6F685D;
  --linea: #DDD5C8;
  --acento: #C8412B;
  --acento-osc: #A33421;
  --noche: #17140F;
  --max: 1140px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.envoltura { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- etiquetas y botones ---------- */
.etiqueta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris);
}
.boton {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tinta); color: var(--papel);
  padding: 15px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 16px;
  transition: background .2s ease, transform .2s ease;
}
.boton:hover { background: var(--acento); }
.boton:active { transform: translateY(1px); }
.boton svg { width: 18px; height: 18px; flex: none; }
.boton.claro { background: var(--papel); color: var(--tinta); }
.boton.claro:hover { background: #fff; }
.enlace {
  font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.enlace:hover { color: var(--acento); }

/* ---------- navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 241, 234, .9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--linea);
}
.nav .envoltura { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca svg { width: 26px; height: 26px; }
.marca span { font-family: var(--serif); font-size: 25px; letter-spacing: -.01em; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; color: var(--tinta-2); }
.nav ul a:hover { color: var(--acento); }
.nav .boton { padding: 10px 18px; font-size: 14px; }

/* ---------- portada ---------- */
.portada { padding: 72px 0 96px; border-bottom: 1px solid var(--linea); }
.portada .envoltura { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.portada h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 6.4vw, 88px); line-height: .98; letter-spacing: -.02em;
  margin: 18px 0 26px;
}
.portada h1 em { font-style: italic; color: var(--acento); }
.portada .bajada { font-size: 20px; line-height: 1.55; color: var(--tinta-2); max-width: 34ch; margin: 0 0 36px; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.garantias { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14px; color: var(--gris); padding: 0; list-style: none; }
.garantias li::before { content: "—  "; color: var(--acento); }

.pila { position: relative; height: 520px; margin: 0; }
.pila img {
  position: absolute; width: 62%; border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(22, 19, 15, .45), 0 0 0 1px rgba(22, 19, 15, .08);
}
.pila img:nth-child(1) { right: 0; top: 40px; transform: rotate(4deg); }
.pila img:nth-child(2) { right: 18%; top: 10px; transform: rotate(-3deg); }
.pila img:nth-child(3) { right: 34%; top: 60px; z-index: 2; }
.pila figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  font-family: var(--mono); font-size: 12px; color: var(--gris); max-width: 22ch; line-height: 1.5;
}

/* ---------- secciones ---------- */
section { padding: 104px 0; }
.cabecera { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 56px; }
.cabecera h2 {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.015em; max-width: 18ch;
}
.cabecera h2 em { font-style: italic; color: var(--acento); }

/* historia */
.historia { border-bottom: 1px solid var(--linea); }
.historia .texto { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.historia .columnas { columns: 2; column-gap: 48px; color: var(--tinta-2); }
.historia .columnas p { margin: 0 0 18px; break-inside: avoid; }
.historia .columnas p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 76px; line-height: .8; padding: 8px 10px 0 0; color: var(--tinta);
}
.cifra { display: flex; align-items: baseline; gap: 18px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--linea); }
.cifra b { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; color: var(--acento); }
.cifra span { color: var(--gris); font-size: 15px; max-width: 46ch; }

/* índice */
.indice ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinta); }
.indice li {
  display: grid; grid-template-columns: 64px 1fr 1.2fr; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--linea);
}
.indice li .n { font-family: var(--mono); font-size: 14px; color: var(--acento); }
.indice li h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 0; }
.indice li p { margin: 0; color: var(--gris); font-size: 15px; }
.indice li .nuevo { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--acento); margin-left: 10px; vertical-align: middle; }

/* interior */
.interior { background: var(--noche); color: var(--papel); }
.interior .etiqueta { color: #A69E91; }
.interior .cabecera h2 em { color: #E8806B; }
.paginas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.paginas figure { margin: 0; }
.paginas img { border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.paginas figcaption { margin-top: 16px; font-size: 15px; color: #CFC7BA; line-height: 1.5; }
.paginas figcaption b { display: block; color: var(--papel); font-weight: 500; margin-bottom: 2px; }

/* bonos */
.bonos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--tinta); }
.bonos li { padding: 30px 30px 30px 0; border-right: 1px solid var(--linea); }
.bonos li + li { padding-left: 30px; }
.bonos li:last-child { border-right: 0; }
.bonos .n { font-family: var(--mono); font-size: 12px; color: var(--acento); letter-spacing: .12em; }
.bonos h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 12px 0 10px; }
.bonos p { margin: 0; color: var(--gris); font-size: 15px; }

/* precio */
.precio { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--papel-2); }
.precio .envoltura { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tarjeta {
  background: var(--papel); border: 1px solid var(--tinta); border-radius: 4px; padding: 40px;
}
.tarjeta .regular { color: var(--gris); font-size: 15px; }
.tarjeta .regular s { text-decoration-color: var(--acento); }
.tarjeta .monto { font-family: var(--serif); font-size: 104px; line-height: 1; margin: 6px 0 4px; letter-spacing: -.02em; }
.tarjeta .monto small { font-family: var(--sans); font-size: 18px; color: var(--gris); letter-spacing: 0; margin-left: 6px; }
.tarjeta ul { list-style: none; padding: 0; margin: 26px 0 30px; border-top: 1px solid var(--linea); }
.tarjeta li { padding: 11px 0; border-bottom: 1px solid var(--linea); font-size: 15px; display: flex; gap: 12px; }
.tarjeta li::before { content: "✓"; color: var(--acento); font-weight: 600; }
.tarjeta .boton { width: 100%; justify-content: center; }
.tarjeta .nota { font-size: 13px; color: var(--gris); margin: 14px 0 0; text-align: center; }
.precio .comparacion h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; margin: 14px 0 22px; }
.precio .comparacion p { color: var(--tinta-2); margin: 0 0 16px; max-width: 46ch; }

/* preguntas */
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas details:first-of-type { border-top: 1px solid var(--tinta); }
.preguntas summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  font-family: var(--serif); font-size: 26px; line-height: 1.2;
  display: flex; justify-content: space-between; gap: 24px;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 28px; color: var(--acento); transition: transform .2s; }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas details p { margin: 0 0 24px; color: var(--tinta-2); max-width: 70ch; }

/* quién */
.quien { border-top: 1px solid var(--linea); }
.quien .texto { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.quien blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.25; max-width: 30ch;
}
.quien .firma { margin-top: 24px; color: var(--gris); font-size: 15px; }

/* cierre */
.cierre { background: var(--acento); color: var(--papel); text-align: center; padding: 96px 0; }
.cierre h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; margin: 0 auto 30px; max-width: 16ch; }
.cierre .boton { background: var(--tinta); }
.cierre .boton:hover { background: #000; }

/* pie */
footer { background: var(--noche); color: #CFC7BA; padding: 56px 0 40px; font-size: 14px; }
footer .envoltura { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer .marca span { color: var(--papel); }
footer h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8C8476; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--papel); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid #2E2A24; padding-top: 22px; margin-top: 16px; color: #8C8476; font-size: 13px; line-height: 1.6; }

/* páginas legales */
.legal-doc { padding: 72px 0 96px; }
.legal-doc .envoltura { max-width: 760px; }
.legal-doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; margin: 12px 0 8px; }
.legal-doc .fecha { color: var(--gris); font-size: 14px; margin-bottom: 40px; }
.legal-doc h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 40px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--tinta-2); }
.legal-doc ul { padding-left: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav ul { display: none; }
  .portada { padding: 44px 0 64px; }
  .portada .envoltura, .precio .envoltura { grid-template-columns: 1fr; gap: 48px; }
  .pila { height: 420px; }
  .pila img { width: 52%; }
  .cabecera, .historia .texto, .quien .texto { grid-template-columns: 1fr; gap: 14px; }
  .historia .columnas { columns: 1; }
  section { padding: 72px 0; }
  .indice li { grid-template-columns: 44px 1fr; }
  .indice li p { grid-column: 2; }
  .paginas { grid-template-columns: 1fr; gap: 44px; max-width: 420px; }
  .bonos ul { grid-template-columns: 1fr; }
  .bonos li, .bonos li + li { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--linea); }
  footer .envoltura { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .envoltura { padding: 0 16px; }
  .nav .boton span { display: none; }
  .portada .bajada { font-size: 18px; }
  .pila { height: 340px; }
  .pila figcaption { display: none; }
  .tarjeta { padding: 28px 22px; }
  .tarjeta .monto { font-size: 84px; }
  .preguntas summary { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
