/* ==========================================================================
   XQuote — estilos del sitio
   Paleta: negro + naranja XQuote (#FF6A00)
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-2: #0A0A0A;
  --black: #000000;
  --surface: #111111;
  --surface-2: #141414;
  --border: #232323;
  --line: #1A1A1A;
  --text: #F5F5F5;
  --soft: #B5B5B5;
  --muted: #A1A1A1;
  --muted-2: #8A8A8A;
  --orange: #FF6A00;
  --orange-2: #FF8A33;
  --orange-3: #FFA04D;
  --orange-soft: #FFB27A;
  --up: #34D399;
  --down: #F87171;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
button { font: inherit; }

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

.container { max-width: var(--container); margin: 0 auto; padding-left: 20px; padding-right: 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--orange); color: #0A0A0A; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #0A0A0A; }

/* --------------------------------------------------------------------------
   Animaciones
   -------------------------------------------------------------------------- */
@keyframes xqTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes xqPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes xqFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes xqGlow { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes xqDrift { 0% { transform: translate(0, 0); } 50% { transform: translate(-60px, 40px); } 100% { transform: translate(0, 0); } }
@keyframes xqShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes xqBorder { 0% { background-position: 0% 50%, 0% 50%; } 100% { background-position: 0% 50%, 200% 50%; } }
@keyframes xqGradText { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes xqFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes xqBgShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes xqLine { from { background-position: 0 0; } to { background-position: 200% 0; } }

.fade-up { animation: xqFadeUp .9s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .34s; }
.d4 { animation-delay: .46s; } .d5 { animation-delay: .6s; }

/* Aparición al hacer scroll (la activa main.js) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s !important; }
.reveal-d2 { transition-delay: .2s !important; }
.reveal-d3 { transition-delay: .3s !important; }

.grad-text {
  background: linear-gradient(90deg, var(--orange) 0%, #FFB570 25%, var(--orange) 50%, #FFB570 75%, var(--orange) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: xqGradText 5s linear infinite;
}

.pulse-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--up); animation: xqPulse 1.6s ease-in-out infinite;
}
.pulse-dot.is-off { background: var(--muted-2); animation: none; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  overflow: hidden; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 600; letter-spacing: .1px; white-space: nowrap;
  padding: 17px 30px; font-size: 17px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn-sm { padding: 11px 18px; font-size: 14px; }

.btn-primary {
  color: #0A0A0A;
  background: linear-gradient(135deg, var(--orange-3) 0%, var(--orange) 45%, #E04E00 100%);
  box-shadow: 0 0 0 1px rgba(255, 150, 60, .55), 0 10px 30px -8px rgba(255, 106, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .65) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: xqShine 3.6s ease-in-out infinite;
}
.btn-primary:hover {
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 170, 90, .8), 0 18px 44px -10px rgba(255, 106, 0, .95), 0 0 60px -10px rgba(255, 106, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid transparent;
  background:
    linear-gradient(#0B0B0B, #0B0B0B) padding-box,
    linear-gradient(110deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .18) 30%, var(--orange) 50%, rgba(255, 255, 255, .18) 70%, rgba(255, 255, 255, .18) 100%) border-box;
  background-size: 100% 100%, 200% 100%;
  animation: xqBorder 3.2s linear infinite;
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(#151515, #151515) padding-box,
    linear-gradient(110deg, var(--orange), #FFB066, var(--orange)) border-box;
  box-shadow: 0 12px 34px -14px rgba(255, 106, 0, .7);
}

.btn-dark { background: #0A0A0A; color: var(--text); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); }
.btn-dark:hover { transform: translateY(-2px); background: #000; }

.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Tarjetas
   -------------------------------------------------------------------------- */
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}
.card::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(420px circle at 50% 0%, rgba(255, 106, 0, .16), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 106, 0, .55); box-shadow: 0 26px 60px -24px rgba(255, 106, 0, .45); }
.card:hover::before { opacity: 1; }

.panel {
  border: 1px solid transparent;
  background:
    linear-gradient(#111111, #0C0C0C) padding-box,
    linear-gradient(120deg, rgba(255, 255, 255, .08) 0%, rgba(255, 106, 0, .8) 25%, rgba(255, 255, 255, .08) 50%, rgba(255, 180, 110, .6) 75%, rgba(255, 255, 255, .08) 100%) border-box;
  background-size: 100% 100%, 200% 100%;
}

/* --------------------------------------------------------------------------
   Barra superior fija (cotizaciones + menú)
   -------------------------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 50; }

.ticker { background: var(--black); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-track {
  display: flex; width: max-content; padding: 9px 0;
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
  animation: xqTicker 50s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; gap: 40px; padding-right: 40px; }
.ticker-item { color: #9A9A9A; }
.ticker-item .p { color: var(--text); }
.up { color: var(--up); }
.down { color: var(--down); }

.site-header {
  background: rgba(7, 7, 7, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 36px; width: auto; }
.header-actions { display: flex; gap: 10px; align-items: center; }

.nav { display: flex; gap: 32px; font-size: 15px; }
.nav a, .footer-links a { position: relative; color: #BDBDBD; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:hover, .footer-links a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow-1 { top: -260px; right: -200px; width: 820px; height: 820px; background: radial-gradient(circle, rgba(255, 106, 0, .30) 0%, rgba(255, 106, 0, 0) 62%); animation: xqGlow 7s ease-in-out infinite; }
.glow-2 { bottom: -300px; left: -220px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(255, 140, 60, .14) 0%, rgba(255, 140, 60, 0) 60%); animation: xqDrift 16s ease-in-out infinite; }
.glow-3 { top: 10%; right: -240px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(255, 106, 0, .16) 0%, rgba(255, 106, 0, 0) 62%); animation: xqGlow 9s ease-in-out infinite; }

.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 112px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.badge {
  align-self: flex-start; display: flex; gap: 10px; align-items: center;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  border: 1px solid #2A2A2A; background: rgba(20, 20, 20, .8);
  font-size: 13px; color: #CFCFCF;
}
.badge-tag { padding: 3px 10px; border-radius: 999px; background: rgba(255, 106, 0, .15); color: #FF9A4D; font-weight: 600; font-size: 12px; }

.hero h1 { font-size: clamp(42px, 6.2vw, 72px); line-height: 1.0; letter-spacing: -2.4px; font-weight: 700; }
.lead { font-size: 19px; color: var(--soft); max-width: 540px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 20px; border-top: 1px solid #1F1F1F; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.stat-label { font-size: 13px; color: var(--muted); }

/* Panel de mercados */
.markets { flex: 1 1 440px; min-width: 0; }
.markets-panel {
  border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(255, 106, 0, .45);
  animation: xqBorder 6s linear infinite, xqFloat 7s ease-in-out infinite;
}
.markets-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.markets-title { display: flex; flex-direction: column; }
.markets-title h2 { font-size: 19px; font-weight: 600; }
.markets-status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 12px; border: 1px solid #222; flex-wrap: wrap; }
.tab {
  border: 0; padding: 7px 13px; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--muted); font: 600 13px var(--font-body);
  transition: background-color .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.tab:hover { transform: translateY(-1px); color: var(--text); }
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--orange-3), var(--orange)); color: #0A0A0A;
  box-shadow: 0 6px 18px -6px rgba(255, 106, 0, .8);
}

.quotes-head, .quote-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr .95fr; gap: 12px; align-items: center; }
.quotes-head { padding: 6px 10px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2); }
.quotes-head .r, .quote-row .r { text-align: right; }
.quote-row { padding: 13px 10px; border-top: 1px solid #1C1C1C; border-radius: 10px; transition: background-color .6s ease; }
.quote-row.flash-up { background: rgba(52, 211, 153, .12); }
.quote-row.flash-down { background: rgba(248, 113, 113, .12); }
.quote-row.is-entering { animation: xqFadeUp .5s var(--ease) both; }
.q-name { display: flex; flex-direction: column; min-width: 0; }
.q-sym { font-weight: 600; }
.q-desc { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-spark { width: 100%; height: 28px; }
.q-price { font-family: var(--font-mono); font-size: 15px; }
.q-chg { font-family: var(--font-mono); font-size: 13px; }

.sessions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid #1C1C1C; font-size: 12px; color: var(--muted); }
.session { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid #222; }
.markets-note { font-size: 11px; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   Métodos de depósito
   -------------------------------------------------------------------------- */
.deposits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0B0B0B, var(--bg)); }
.deposits-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.eyebrow-muted { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted-2); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.chip { display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 12px; background: #101010; font-weight: 500; font-size: 15px; }
.chip svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */
.section { padding-top: 120px; padding-bottom: 120px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
.section-head-wide { max-width: none; }
.eyebrow { align-self: flex-start; font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--orange-2); font-weight: 600; }
.h2 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -1.5px; }
.section-lead { color: var(--soft); font-size: 18px; }

.operate { display: flex; flex-direction: column; gap: 52px; padding-bottom: 60px; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.asset-card {
  background: linear-gradient(180deg, var(--surface-2), #0C0C0C);
  border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 260px;
}
.asset-num { position: absolute; right: 18px; top: 6px; font-family: var(--font-display); font-size: 96px; font-weight: 700; line-height: 1.2; color: rgba(255, 255, 255, .035); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(255, 106, 0, .12); border: 1px solid rgba(255, 106, 0, .3); }
.icon-box svg { width: 24px; height: 24px; }
.asset-card h3 { font-size: 23px; }
.asset-card p { color: var(--muted); font-size: 15px; }
.asset-price { margin-top: auto; font-size: 13px; color: var(--orange-soft); font-family: var(--font-mono); }

/* Pasos */
.steps-wrap { padding-top: 60px; padding-bottom: 120px; }
.steps {
  position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--border);
  background: radial-gradient(600px circle at 0% 0%, rgba(255, 106, 0, .12), transparent 60%), linear-gradient(180deg, #121212, var(--bg-2));
  padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 44px;
}
.steps h2 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -1px; }
.steps-line { height: 2px; border-radius: 2px; opacity: .8; background: linear-gradient(90deg, rgba(255, 106, 0, 0), var(--orange), rgba(255, 106, 0, 0)); background-size: 200% 100%; animation: xqLine 3s linear infinite; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; color: #0A0A0A;
  background: linear-gradient(135deg, var(--orange-3), var(--orange)); box-shadow: 0 0 30px -4px rgba(255, 106, 0, .7);
}
.step h3 { font-size: 23px; }
.step p { color: var(--muted); }

/* Academia */
.academy { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-2); }
.academy-inner { position: relative; max-width: 860px; display: flex; flex-direction: column; gap: 28px; }
.levels { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.level { display: flex; gap: 20px; align-items: center; padding: 20px 24px; border-radius: 16px; background: var(--surface); flex-wrap: wrap; }
.level.is-featured { border-color: rgba(255, 106, 0, .6); background: linear-gradient(90deg, rgba(255, 106, 0, .12), rgba(255, 106, 0, .02)); box-shadow: 0 0 40px -18px rgba(255, 106, 0, .7); }
.level-tag { font-family: var(--font-mono); font-size: 13px; color: var(--muted); width: 64px; }
.level.is-featured .level-tag { color: var(--orange-2); }
.level-body { flex: 1 1 240px; display: flex; flex-direction: column; }
.level-title { font-weight: 600; font-size: 17px; }
.level-desc { font-size: 14px; color: var(--muted); }
.level-count { font-size: 13px; color: #C4C4C4; }

/* Preguntas frecuentes */
.faq { max-width: 880px; display: flex; flex-direction: column; gap: 36px; }
.faq h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -1.2px; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 16px; background: #0F0F0F; padding: 20px 24px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 12px; color: var(--muted); }
.plus { color: var(--orange-2); font-size: 24px; line-height: 1; transition: transform .3s ease; }
.faq-item[open] .plus { transform: rotate(45deg); }

/* CTA final */
.cta-wrap { padding-bottom: 120px; }
.cta {
  position: relative; overflow: hidden; border-radius: 30px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 56px);
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, var(--orange), #FF9A3D, #E04E00, #FF7A1A); background-size: 300% 300%;
  animation: xqBgShift 10s ease infinite;
  box-shadow: 0 40px 120px -40px rgba(255, 106, 0, .8);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.cta h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -1.8px; color: #0A0A0A; }
.cta p { font-size: 18px; color: #1F1206; }
.cta .btn { position: relative; }

/* Pie de página */
.site-footer { border-top: 1px solid var(--line); background: var(--black); }
.footer-inner { display: flex; flex-direction: column; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.footer-brand img { height: 34px; width: auto; align-self: flex-start; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.footer-title { color: var(--muted-2); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 10px; }
.risk { padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-2); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Páginas legales
   -------------------------------------------------------------------------- */
.legal { padding-top: 72px; padding-bottom: 120px; max-width: 820px; }
.legal .back { display: inline-flex; gap: 8px; align-items: center; color: var(--orange-2); font-size: 14px; margin-bottom: 28px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -1.4px; line-height: 1.05; }
.legal .updated { margin-top: 12px; color: var(--muted-2); font-size: 14px; }
.legal-body { margin-top: 40px; color: #CFCFCF; }
.legal-body h2 { font-size: 22px; margin: 40px 0 12px; color: var(--text); }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--orange-2); text-decoration: underline; }

.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding-top: 80px; padding-bottom: 120px; }
.notfound .code { font-family: var(--font-display); font-size: clamp(80px, 14vw, 160px); font-weight: 700; line-height: 1; }

/* --------------------------------------------------------------------------
   Adaptación a pantallas pequeñas
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav { display: none; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 116px; }
  .hero-inner { padding-top: 56px; padding-bottom: 72px; gap: 40px; }
  .hero h1 { letter-spacing: -1.6px; }
  .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .stats { gap: 10px; }
  .markets-panel { padding: 16px; animation: xqBorder 6s linear infinite; }
  .markets-head { flex-direction: column; align-items: stretch; }
  .tabs { justify-content: space-between; }
  .tab { flex: 1 1 auto; padding: 8px 6px; }
  .quotes-head, .quote-row { grid-template-columns: 1.4fr .8fr 1fr .9fr; gap: 8px; }
  .quote-row { padding: 12px 6px; }
  .q-price { font-size: 13px; }
  .q-chg { font-size: 12px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .steps-wrap { padding-bottom: 80px; }
  .cta-wrap { padding-bottom: 80px; }
  .cta .btn { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .logo img { height: 28px; }
  .header-actions { gap: 8px; }
  .btn-sm { padding: 9px 12px; font-size: 13px; }
}

@media (max-width: 360px) {
  .logo img { height: 24px; }
  .btn-sm { padding: 8px 10px; font-size: 12px; }
}

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