/* ============================================================
   Numerazgo — hoja de estilos del sitio
   Perfil: geo-adaptado · tema claro · papel cálido + carmín + oro
   ============================================================ */

:root {
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --surface-2: #F4EFE7;
  --border: #E7DFD2;
  --text: #241E18;
  --text-muted: #6B6353;
  --accent: #B42B33;
  --accent-hover: #9A222C;
  --accent-tint: #F6E7E5;
  --gold: #C99A2E;
  --gold-tint: #F7EFDD;
  --ok: #2E7D4F;
  --bad: #B42B33;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(74, 58, 38, .07), 0 2px 6px rgba(74, 58, 38, .06);
  --shadow-md: 0 1px 2px rgba(74, 58, 38, .06), 0 8px 24px rgba(74, 58, 38, .10);
  --shadow-lg: 0 2px 4px rgba(74, 58, 38, .08), 0 18px 48px rgba(74, 58, 38, .16);

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(1.9rem, 3.4vw, 3rem);
  --fs-h2: clamp(1.45rem, 2.4vw, 2.1rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.35rem);

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .55em; font-weight: 750; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.icon { flex: none; vertical-align: -.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(44px, 6vw, 76px); }
.section--tint { background: var(--surface-2); }
.section--paper { background: var(--surface); }
.section--deco { position: relative; background:
  radial-gradient(900px 420px at 8% -10%, rgba(201, 154, 46, .10), transparent 60%),
  radial-gradient(760px 380px at 96% 8%, rgba(180, 43, 51, .07), transparent 55%),
  var(--surface-2);
}
.section--grid { position: relative; background:
  linear-gradient(rgba(180, 43, 51, .035) 1px, transparent 1px),
  linear-gradient(90deg, rgba(180, 43, 51, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  background-color: var(--surface);
}
.lead { font-size: 1.12em; color: var(--text-muted); max-width: 62ch; }
.section-head { max-width: 72ch; margin-bottom: clamp(20px, 3vw, 34px); }

/* Enlace de salto */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 650; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent-tint); color: var(--accent-hover); }
.btn--sm { min-height: 38px; padding: 7px 16px; font-size: .95em; }
.btn--block { width: 100%; }

/* ====== Cabecera ====== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: var(--bg); }
.header-inner { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); text-decoration: none; }
.brand__word { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }

.main-nav { margin-inline: auto; }
.main-nav__list { display: flex; gap: clamp(6px, 1.2vw, 16px); list-style: none; margin: 0; padding: 0; }
.main-nav__item { position: relative; }
.main-nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; font: inherit; font-weight: 600; color: var(--text);
  padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer;
}
.main-nav__trigger:hover, .main-nav__trigger[aria-expanded="true"] { background: var(--accent-tint); color: var(--accent-hover); }
.main-nav__trigger .icon { transition: transform .16s ease; }
.main-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.main-nav__panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 280px; max-width: 340px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; transform: translateY(4px); visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.main-nav__item.is-open .main-nav__panel { opacity: 1; transform: translateY(0); visibility: visible; }
.main-nav__item--end .main-nav__panel { left: auto; right: 0; }
.main-nav__panel::before {
  content: ""; position: absolute; top: -5px; left: 26px; width: 10px; height: 10px;
  background: var(--bg); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.main-nav__item--end .main-nav__panel::before { left: auto; right: 26px; }
.main-nav__panel ul { list-style: none; margin: 0; padding: 0; }
.main-nav__link {
  display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); font-size: .97em;
}
.main-nav__link:hover, .main-nav__link:focus-visible { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.main-nav__link.is-current { color: var(--accent); font-weight: 650; }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text); cursor: pointer;
}
.nav-toggle:hover { background: var(--accent-tint); color: var(--accent-hover); }

.mobile-nav { border-top: 1px solid var(--border); background: var(--bg); padding-block: 10px; max-height: 70vh; overflow-y: auto; }
.mobile-nav__group + .mobile-nav__group { margin-top: 4px; }
.mobile-nav__trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; font: inherit; font-weight: 650; padding: 12px 4px; cursor: pointer; color: var(--text);
}
.mobile-nav__panel ul { list-style: none; margin: 0; padding: 0 0 6px; }
.mobile-nav__panel a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--text-muted); }
.mobile-nav__panel a:hover { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.mobile-nav .btn { margin-top: 12px; }

/* ====== Migas ====== */
.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 10px 0; font-size: .88em; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ====== Héroe (inicio y páginas con formulario) ====== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg);
  padding-block: clamp(40px, 5.5vw, 84px);
}
.hero__bg, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg { object-position: center bottom; }
.hero__bg { z-index: -2; }
.hero__canvas { z-index: -1; opacity: .9; }
/* Velo de papel tras el texto para que el skyline no afecte a la lectura (AA). */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(130% 95% at 16% 80%, rgba(251,249,245,.95) 0%, rgba(251,249,245,.78) 36%, rgba(251,249,245,0) 66%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  grid-template-areas: "copy form" "meta form";
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero__copy { grid-area: copy; }
.hero__form { grid-area: form; }
.hero__meta { grid-area: meta; }
.hero__copy > * { max-width: 60ch; }
.hero__note { display: flex; align-items: flex-start; gap: 10px; font-size: .93em; color: var(--text-muted); margin-top: 6px; }
.hero__note .icon { color: var(--accent); margin-top: 3px; }

.hero__flags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; font-size: .93em; color: var(--text); font-weight: 500; }
.flag-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 14px 5px 6px; box-shadow: var(--shadow-sm); }
.flag-chip svg { border-radius: 3px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.trust-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 10px 16px; box-shadow: var(--shadow-sm); color: var(--text); font-weight: 600; font-size: .95em;
  transition: transform .16s ease, box-shadow .16s ease;
}
.trust-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--accent-hover); text-decoration: none; }
.trust-link .icon-badge { width: 40px; height: 40px; }

/* ====== Formulario ====== */
.form-block {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(18px, 2.6vw, 30px);
}
.form-block__title { font-size: 1.18rem; font-weight: 700; margin-bottom: 4px; }
.form-block__intro { font-size: .95em; color: var(--text-muted); margin-bottom: 12px; }
.form-legal { font-size: .84em; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { text-decoration: underline; }

/* Tarjetas */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: clamp(18px, 2.2vw, 26px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.card-grid--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card--link { display: block; color: var(--text); }
.card--link:hover { color: var(--text); text-decoration: none; }
.card--link h3 { color: var(--accent-hover); }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--accent-tint); color: var(--accent); flex: none;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--gold { background: var(--gold-tint); color: #8A6914; }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.card-head h3 { margin: 0; }

/* Pasos numerados */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 22px); counter-reset: step; list-style: none; padding: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 700; font-size: .95rem; margin-bottom: 10px;
}
.step h3 { font-size: 1.06rem; }

/* Tablas */
.table-wrap {
  position: relative; /* bloque contenedor: los .sr-only absolutos no escapan al recorte */
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: .95em; }
thead th {
  text-align: left; background: var(--surface-2); padding: 12px 16px;
  font-weight: 700; border-bottom: 2px solid var(--border); white-space: nowrap;
}
tbody td, tbody th { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:nth-child(even) { background: rgba(244, 239, 231, .5); }
tbody tr:last-child td { border-bottom: 0; }
.table-note { font-size: .88em; color: var(--text-muted); margin-top: 10px; }

/* Comparativa */
.compare-table .col-brand { background: var(--accent-tint); font-weight: 700; }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.tick--ok { background: rgba(46, 125, 79, .14); color: var(--ok); }
.tick--no { background: rgba(180, 43, 51, .12); color: var(--bad); }

/* Chips de exchanges */
.exchange-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.exchange-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 160px; height: 56px; border-radius: 12px; border: 1px solid var(--border);
  background: #ffffff; box-shadow: var(--shadow-sm);
}
.exchange-chip--dark { background: #0f172a; }
.exchange-chip img { height: 27px; width: auto; max-width: 130px; }

/* Reseñas */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.review { display: flex; flex-direction: column; gap: 10px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__head img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--surface-2); box-shadow: var(--shadow-sm); object-fit: cover; }
.review__name { font-weight: 700; }
.review__role { font-size: .86em; color: var(--text-muted); }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.review__stat { background: var(--surface-2); border-radius: 8px; padding: 5px 10px; font-size: .84em; color: var(--text-muted); }
.review__stat strong { color: var(--text); }
.review p { margin: 0; color: var(--text-muted); font-size: .96em; }
.reviews-note { font-size: .85em; color: var(--text-muted); margin-top: 14px; }

/* Bloque empresa */
.company-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.2fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
.company-facts { list-style: none; padding: 0; margin: 18px 0 0; }
.company-facts li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .96em; }
.company-facts li:last-child { border-bottom: 0; }
.company-facts .icon { color: var(--accent); margin-top: 3px; }
.company-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
details.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); padding: 2px 18px; transition: box-shadow .18s ease;
}
details.faq-item[open] { box-shadow: var(--shadow-md); }
details.faq-item summary {
  cursor: pointer; font-weight: 650; padding: 15px 34px 15px 0; position: relative; list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 20px; width: 9px; height: 9px;
  border-right: 2.2px solid var(--accent); border-bottom: 2.2px solid var(--accent);
  transform: rotate(45deg); transition: transform .16s ease;
}
details.faq-item[open] summary::after { transform: rotate(225deg); top: 23px; }
details.faq-item .faq-answer { color: var(--text-muted); padding-bottom: 16px; }
details.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* Mapa */
.map-embed {
  max-width: 860px; margin-inline: auto; aspect-ratio: 16 / 9;
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--surface-2);
}
@media (min-width: 768px) { .map-embed { min-height: 320px; } }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Avisos y llamadas */
.callout {
  display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.callout .icon { color: var(--accent); margin-top: 3px; }
.callout p { margin: 0; color: var(--text-muted); }

/* Historia */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li::before {
  content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint);
}
.timeline li::after { content: ""; position: absolute; left: 12.5px; top: 24px; bottom: 4px; width: 1.5px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { color: var(--text-muted); margin: 0; }

/* Pie */
.site-footer { background: #241E18; color: #D9D2C7; padding-block: clamp(40px, 5vw, 64px) 20px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(150px, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
.footer-brand__name { font-weight: 800; color: #fff; font-size: 1.2rem; margin: 10px 0 6px; }
.footer-brand__text { font-size: .92em; color: #B4A996; }
.footer-brand__contact { font-size: .88em; color: #B4A996; }
.footer-brand__contact a { color: #E8D9C4; }
.footer-brand__contact .icon { color: var(--gold); }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; padding: 4px 0; color: #C9C0B0; font-size: .92em; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer {
  margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid #3E362C; padding-top: 22px;
  font-size: .85em; color: #A99F8C;
}
.footer-disclaimer h3 { color: #D9D2C7; font-size: .95rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #3E362C; font-size: .84em; color: #8F8672;
}
.footer-bottom a { color: #C9C0B0; }

/* Página: héroe interior con formulario */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); padding-block: clamp(36px, 5vw, 72px); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; object-position: center bottom; }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero__copy > * { max-width: 62ch; }

/* Artículos y docs */
.doc-body h2 { margin-top: 1.6em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body ul, .doc-body ol { color: var(--text-muted); }
.doc-body li { margin-bottom: .45em; }

/* ====== Oferta especial ====== */
.offer-strip { background: var(--accent); color: #fff; }
.offer-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-block: 10px; font-size: .92em; font-weight: 600; }
.offer-strip__inner span { display: inline-flex; align-items: center; gap: 8px; }
.offer-hero { position: relative; overflow: hidden; background:
  radial-gradient(800px 400px at 85% 0%, rgba(201, 154, 46, .22), transparent 60%),
  radial-gradient(700px 380px at 0% 100%, rgba(180, 43, 51, .12), transparent 60%),
  var(--bg);
  padding-block: clamp(40px, 5vw, 72px);
}
.offer-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent-tint); color: var(--accent-hover);
  font-weight: 700; font-size: .88em; border-radius: 999px; padding: 6px 16px; margin-bottom: 14px;
}
.countdown { display: inline-flex; gap: 8px; align-items: center; }
.countdown__box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-sm);
  min-width: 52px; padding: 8px 6px; text-align: center;
}
.countdown__digits { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.countdown__label { font-size: .62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

.offer-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.offer-modal.is-open { display: block; }
.offer-modal__overlay { position: absolute; inset: 0; background: rgba(36, 30, 24, .55); }
.offer-modal__card {
  position: relative; z-index: 1; max-width: 460px; margin: 8vh auto; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 34px); text-align: center;
}
.offer-modal__close {
  position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 1.7rem; line-height: 1;
  color: var(--text-muted); cursor: pointer; padding: 6px;
}
.offer-modal__close:hover { color: var(--accent); }
.offer-modal__art { margin: 6px auto 14px; display: block; }
.offer-cta-band { background: var(--accent); color: #fff; }
.offer-cta-band .container { padding-block: clamp(28px, 4vw, 44px); }
.offer-cta-band h2 { color: #fff; }
.offer-cta-band .btn { background: #fff; color: var(--accent); }
.offer-cta-band .btn:hover { background: var(--gold-tint); color: var(--accent-hover); }

/* Bloque de ventajas de la oferta */
.offer-perk { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 18px; }
.offer-perk h3 { font-size: 1.02rem; margin-bottom: 4px; }
.offer-perk p { margin: 0; color: var(--text-muted); font-size: .94em; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ====== Responsive ====== */
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__inner, .page-hero__inner { grid-template-columns: 1fr; }
  .hero__inner { grid-template-areas: "copy" "form" "meta"; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero { background-image: none; }
  .hero__canvas { display: none; }
  /* En móvil el velo cubre el héroe completo: el texto siempre sobre papel. */
  .hero::before {
    background:
      radial-gradient(140% 100% at 50% 100%, rgba(251,249,245,.96) 0%, rgba(251,249,245,.88) 46%, rgba(251,249,245,0) 78%),
      linear-gradient(180deg, rgba(251,249,245,.55) 0%, rgba(251,249,245,.82) 55%);
  }
  .company-grid { grid-template-columns: 1fr; }
  .exchange-chip { width: 132px; height: 50px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .review__stats { gap: 6px; }
  .offer-strip__inner { gap: 6px 18px; font-size: .85em; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__canvas { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

.iti__selected-country,
.iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

@media (min-width: 1024px) {
  .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.hero.hero--home::before {
  background: linear-gradient(108deg, rgba(251,249,245,.98) 0%, rgba(251,249,245,.92) 39%, rgba(251,249,245,.42) 100%);
}

@media (max-width: 767px) {
  .hero.hero--home::before {
    background-image: linear-gradient(180deg, rgba(251,249,245,.96) 0%, rgba(251,249,245,.83) 65%, rgba(251,249,245,.56) 100%);
  }
}

/* Account action in the header and mobile navigation. */
.btn.header-account {
  min-height: 44px;
  gap: 9px;
  padding: 6px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b52b37, #851a2b);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(140, 29, 44, .24), inset 0 1px 0 rgba(255, 255, 255, .19);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn.header-account svg {
  width: 28px;
  height: 28px;
  padding: 5px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 221, 162, .20);
  color: currentColor;
}
.btn.header-account:hover {
  background: #991f2d;
  color: #fff;
  box-shadow: 0 5px 12px rgba(140, 29, 44, .24);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn.header-account:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn.header-account:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .btn.header-account { transition: none; }
  .btn.header-account:hover, .btn.header-account:focus-visible, .btn.header-account:active { transform: none; }
}
@media (max-width: 767px) {
  .header-account.btn--sm { width: 44px; padding: 0; }
  .header-account.btn--sm .header-account__label { display: none; }
}

/* Homepage hero */
.hero-title__accent { color: var(--accent); }

@media (max-width: 1023px) {
  .hero .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    reading-flow: flex-visual;
  }
  .hero .hero__inner > .hero__copy { display: contents; }
  .hero .hero__inner > .hero__copy > h1 { order: -2; }
  .hero .hero__inner > .hero__form { order: -1; min-width: 0; }
}
