/* Arthur's Grand Tour — landing. Sistema "Crepusculo y Bronce" del libro
   trasladado a pantalla. Lectores de 55+: cuerpo 20 px, contraste alto,
   botones de 60 px, sin interacciones que dependan del hover. Sin filtros SVG. */

:root {
  --ink: #0A121C; --ink-2: #15283A; --ink-3: #1E3A52;
  --bronze: #B87333; --bronze-lit: #D89A5C; --bronze-dim: #7C4E24;
  --bone: #E8E2D5; --paper: #EFEAE0; --paper-2: #E4DCCC; --card: #FBF8F2;
  --text: #221B14; --muted: #5E5040; --ash: #8A97A3;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Lora', Georgia, 'Times New Roman', serif;
  --mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --fs: 20px; --lh: 1.6;
  --wrap: 1160px; --gutter: 24px;
  --btn-h: 60px; --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
html { color-scheme: light; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--body); font-size: var(--fs); line-height: var(--lh);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: rgba(184,115,51,.25);
}
section[id], [id] { scroll-margin-top: 92px; }
p { text-wrap: pretty; }
a, button, summary { touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-dim); text-underline-offset: 3px; }
a:hover { color: var(--bronze); }
:focus-visible { outline: 3px solid var(--bronze-lit); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 120px); }

.skip { position: absolute; left: -9999px; top: 12px; background: var(--bronze); color: var(--ink); padding: 12px 18px; z-index: 100; font-family: var(--mono); }
.skip:focus { left: 12px; }

/* ─── tipografía ─── */
h1, h2, h3 { font-family: var(--display); color: var(--ink-2); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 900; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; max-width: 22ch; }
h3 { font-size: 26px; font-weight: 700; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--mono); font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-dim); margin: 0 0 18px; }
.lead { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.55; max-width: 34ch; }
.section-lead { font-size: 21px; max-width: 60ch; color: var(--muted); }
.micro { font-family: var(--mono); font-size: 14.5px; letter-spacing: .08em; color: var(--ash); margin-top: 18px; }

/* ─── botones ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); padding: 0 28px; border-radius: var(--radius);
  font-family: var(--body); font-weight: 600; font-size: 20px; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--bronze); color: #120C06; border-color: var(--bronze); }
.btn-primary:hover { background: var(--bronze-lit); border-color: var(--bronze-lit); color: #120C06; }
.btn-primary .price { font-family: var(--mono); font-weight: 700; font-size: 18px; background: rgba(18,12,6,.14); padding: 4px 10px; border-radius: 6px; }
.btn-ghost { background: transparent; color: var(--bone); border-color: rgba(232,226,213,.55); }
.btn-ghost:hover { border-color: var(--bone); color: #fff; }
.btn-big { min-height: 64px; padding: 0 32px; }
.btn-full { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ─── cabecera fija ─── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10,18,28,.96); color: var(--bone); border-bottom: 1px solid rgba(232,226,213,.12); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--bone); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark span { color: var(--bronze-lit); }
.wordmark.small { font-size: 22px; margin-bottom: 8px; }
.topnav { display: flex; gap: 26px; margin-left: auto; }
.topnav a { color: var(--bone); text-decoration: none; font-size: 18px; padding: 8px 0; border-bottom: 2px solid transparent; }
.topnav a:hover { border-bottom-color: var(--bronze-lit); color: #fff; }
.btn-top { min-height: 48px; padding: 0 20px; font-size: 18px; }
.btn-top .price { font-size: 16px; }

/* ─── hero ─── */
.hero { position: relative; background: var(--ink); color: var(--bone); overflow: hidden; padding-block: clamp(72px, 10vw, 140px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-veil { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(10,18,28,.94) 0%, rgba(10,18,28,.86) 45%, rgba(10,18,28,.55) 75%, rgba(10,18,28,.70) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 56px; align-items: center; }
.hero h1 { color: #F4F0E6; max-width: 14ch; }
.hero .eyebrow { color: var(--bronze-lit); }
.hero .lead { color: var(--bone); }
.hero .micro { color: var(--ash); }

/* La tarjeta Stand Here: el elemento firma del libro, en pantalla */
.stand {
  background: linear-gradient(135deg, #15283A 0%, #0A121C 62%, #1E3A52 100%);
  border: 1px solid rgba(216,154,92,.35); border-radius: 14px; padding: 30px 30px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45); max-width: 440px; justify-self: end; width: 100%;
}
.stand p { margin: 0; }
.stand-kicker { font-family: var(--mono); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-lit); }
.stand-kicker span { color: var(--ash); letter-spacing: .12em; text-transform: none; }
.stand-site { font-family: var(--display); font-weight: 700; font-size: 30px; color: #F4F0E6; margin: 12px 0 14px; }
.stand-coords { font-family: var(--mono); font-size: 23px; color: #F4F0E6; letter-spacing: .02em; }
.stand-bearing { font-family: var(--mono); font-size: 17px; color: var(--bronze-lit); margin-top: 4px; }
.stand-note { font-style: italic; font-size: 18px; color: var(--bone); margin-top: 16px; line-height: 1.5; }
.stand-qr { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(232,226,213,.16); }
.stand-qr img { width: 96px; height: 96px; border-radius: 6px; background: var(--bone); padding: 4px; }
.stand-qr span { font-family: var(--mono); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.stand-foot { font-size: 15.5px; color: var(--ash); margin-top: 16px; }

/* ─── cifras ─── */
.proof { background: var(--ink-2); color: var(--bone); padding-block: 34px; border-top: 1px solid rgba(232,226,213,.08); }
.proof-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.proof-row div { display: flex; flex-direction: column; gap: 4px; }
.proof-row strong { font-family: var(--display); font-weight: 900; font-size: 40px; color: var(--bronze-lit); line-height: 1; font-variant-numeric: tabular-nums; }
.proof-row span { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); }

/* ─── por qué ─── */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.why p { max-width: 60ch; }
.promise { margin: 0; padding: 34px 36px; background: var(--card); border-left: 6px solid var(--bronze); border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 30px rgba(40,28,16,.10); }
.promise p { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--ink-2); margin: 0 0 14px; }
.promise footer { font-family: var(--mono); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-dim); }

/* ─── qué hay dentro ─── */
.inside { background: var(--paper-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(40,28,16,.10); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3.2; object-fit: cover; object-position: top; border-bottom: 1px solid #DCD2C2; }
.card h3 { margin: 22px 26px 8px; }
.card p { margin: 0 26px 26px; font-size: 18.5px; color: var(--muted); }

/* ─── la ruta ─── */
.route { background: var(--paper); }
.route-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; margin-top: 36px; }
.route-map { background: var(--ink); border-radius: 14px; padding: 12px; box-shadow: 0 16px 40px rgba(10,18,28,.25); }
.route-map svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.stops li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid #DCD2C2; }
.stops img { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.stop-n { display: none; }
.stop-name { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink-2); }
.stop-name::before { content: counter(stop) ". "; color: var(--bronze); font-family: var(--mono); font-size: 15px; font-weight: 700; }
.stops li { counter-increment: stop; }
.stops { counter-reset: stop; }
.stop-year { font-family: var(--mono); font-size: 14.5px; letter-spacing: .08em; color: var(--bronze-dim); }

/* ─── páginas ─── */
.pages { background: var(--ink); color: var(--bone); padding-bottom: clamp(48px, 6vw, 80px); }
.pages h2 { color: #F4F0E6; }
.pages .eyebrow { color: var(--bronze-lit); }
.gallery-controls { display: flex; gap: 10px; margin: 8px 0 26px; }
.gal-btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(232,226,213,.4); background: transparent; color: var(--bone); font-size: 24px; cursor: pointer; }
.gal-btn:hover { border-color: var(--bronze-lit); color: var(--bronze-lit); }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scroll-padding-left: var(--gutter);
  scrollbar-color: var(--bronze) rgba(232,226,213,.12); }
.gallery::-webkit-scrollbar { height: 10px; }
.gallery::-webkit-scrollbar-thumb { background: var(--bronze); border-radius: 5px; }
.gallery::-webkit-scrollbar-track { background: rgba(232,226,213,.12); border-radius: 5px; }
.gallery figure { flex: 0 0 300px; scroll-snap-align: start; margin: 0; }
.gallery img { border-radius: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.45); width: 300px; }
.gallery figcaption { font-family: var(--mono); font-size: 14px; letter-spacing: .06em; color: var(--ash); margin-top: 12px; }

/* ─── muestra ─── */
.sample { background: var(--ink-2); color: var(--bone); }
.sample h2 { color: #F4F0E6; }
.sample .eyebrow { color: var(--bronze-lit); }
.sample p { max-width: 58ch; }
.sample-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.sample-img { max-width: 380px; width: 100%; justify-self: center; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.5); transform: rotate(-2deg); }

/* ─── autor ─── */
.author { background: var(--paper); }
.author-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.author-img { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(40,28,16,.18); }
.author p { max-width: 58ch; }

/* ─── oferta ─── */
.buy { background: var(--paper-2); }
.offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--card); border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(40,28,16,.16); border: 1px solid #DCD2C2; }
.offer-text { padding: 48px 48px 40px; }
.includes { list-style: none; padding: 0; margin: 10px 0 26px; }
.includes li { padding: 12px 0 12px 36px; border-bottom: 1px solid #DCD2C2; position: relative; font-size: 19px; }
.includes li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--bronze); }
.anchor { font-style: italic; color: var(--muted); max-width: 46ch; }
.offer-box { background: var(--ink); color: var(--bone); padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.offer-label { font-family: var(--mono); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-lit); margin: 0 0 8px; }
.offer-price { font-family: var(--display); font-weight: 900; font-size: 72px; line-height: 1; color: #F4F0E6; margin: 0; }
.offer-price .cur { font-size: 40px; vertical-align: top; margin-right: 2px; color: var(--bronze-lit); }
.offer-once { font-family: var(--mono); font-size: 15px; letter-spacing: .1em; color: var(--ash); margin: 10px 0 26px; }
.offer-secure { font-size: 16px; color: var(--bone); margin: 18px 0 0; }
.offer-fine { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(138,151,163,.7); margin: 10px 0 0; }

/* ─── para quién ─── */
.fit { background: var(--paper); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.fit-col { background: var(--card); border-radius: var(--radius); padding: 30px 32px; border-top: 5px solid var(--bronze); }
.fit-col.no { border-top-color: var(--ash); }
.fit-col h3 { font-size: 22px; margin-bottom: 14px; }
.fit-col ul { margin: 0; padding-left: 22px; }
.fit-col li { margin-bottom: 12px; font-size: 19px; }

/* ─── FAQ ─── */
.faq { background: var(--paper-2); }
.faq-wrap { max-width: 860px; }
details { border-bottom: 1px solid #D6CCBA; padding: 6px 0; }
summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 23px; color: var(--ink-2); padding: 16px 44px 16px 0; position: relative; list-style: none; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--mono); font-size: 30px; color: var(--bronze); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 20px; max-width: 70ch; color: var(--text); }

/* ─── cierre ─── */
.final { position: relative; background: var(--ink); color: var(--bone); overflow: hidden; text-align: center; padding-block: clamp(96px, 14vw, 180px); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 0; }
.final-veil { position: absolute; inset: 0; z-index: 1; background: rgba(10,18,28,.78); }
.final-text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.final h2 { color: #F4F0E6; font-size: clamp(40px, 6vw, 72px); max-width: none; }
.final .eyebrow { color: var(--bronze-lit); }
.final .cta-row { justify-content: center; }

/* ─── pie ─── */
.foot { background: #070D14; color: var(--ash); padding-block: 48px 120px; font-size: 16px; }
.foot a { color: var(--bone); }
.foot-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.foot p { margin-bottom: 10px; }
.foot-date { font-family: var(--mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.foot-credits { font-size: 15px; line-height: 1.55; }

/* ─── barra fija móvil ─── */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(10,18,28,.97); color: var(--bone); border-top: 1px solid rgba(216,154,92,.35);
  transform: translateY(110%); transition: transform .25s ease; }
.cta-bar.show { transform: translateY(0); }
.cta-bar span { font-size: 17px; }
.cta-bar .btn { min-height: 52px; padding: 0 22px; font-size: 18px; }

/* ═══ responsive ═══ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .proof-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .why-grid, .route-grid, .sample-grid, .author-grid, .fit-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .stand { justify-self: start; }
}
@media (max-width: 720px) {
  :root { --fs: 19px; --gutter: 18px; }
  .topnav { display: none; }
  .top-row { min-height: 66px; gap: 12px; }
  .wordmark { font-size: 21px; }
  .btn-top { margin-left: auto; white-space: nowrap; padding: 0 16px; font-size: 17px; min-height: 46px; }
  .btn-top .price { display: none; }
  .cards { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: repeat(2, 1fr); }
  .proof-row strong { font-size: 34px; }
  .offer { grid-template-columns: 1fr; }
  .offer-text, .offer-box { padding: 32px 26px; }
  .offer-price { font-size: 60px; }
  .stops { grid-template-columns: 1fr; }
  .gallery figure { flex-basis: 240px; }
  .gallery img { width: 240px; }
  .cta-row .btn { width: 100%; }
  .sample-img { transform: none; }
  .cta-bar { display: flex; }
  .foot { padding-bottom: 120px; }
}
@media (min-width: 721px) { .cta-bar { display: none !important; } }
