/* ============================================================
   QUAVIX CORP — Sistema de diseño v3 (rebranding tipográfico)
   Paleta: azul acero profundo (como el hero de marca) + azul
   eléctrico + verde lima del logo para acciones.
   Tipografía: Space Grotesk (display, tracking apretado) +
   Inter (texto, line-height amplio para lectura).
   Secciones claras y oscuras alternadas (estilo corporativo).
   ============================================================ */
:root {
  --bg: #0b111a;
  --bg-soft: #0e1620;
  --surface: #131c28;
  --surface-2: #18232f;
  --line: #223144;
  --blue: #5b9dff;
  --blue-deep: #2e6fd8;
  --blue-dim: rgba(91, 157, 255, .13);
  --lime: #a3e04a;
  --lime-ink: #101a06;
  --ink: #eff4fa;
  --muted: #97a9bc;
  --muted-2: #74869a;
  --paper: #f3f6fa;
  --paper-ink: #0f1826;
  --paper-muted: #54687c;
  --paper-line: #dbe4ee;
  --radius: 18px;
  --max: 1160px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.06;
  text-transform: uppercase;
}
.h-hero { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.02em; }
.h-section { font-size: clamp(1.85rem, 3.6vw, 2.7rem); text-align: center; margin-bottom: 16px; letter-spacing: -.01em; }
.h-card { font-size: 1.05rem; letter-spacing: .03em; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--lime);
}
.lead { color: #b9c9da; font-size: clamp(1.05rem, 1.4vw, 1.16rem); line-height: 1.75; max-width: 680px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
::selection { background: var(--blue); color: #07101c; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-lime { background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -10px rgba(163, 224, 74, .55); }
.btn-blue { background: var(--blue); color: #07101c; }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -10px rgba(91, 157, 255, .55); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.btn:focus-visible { border-radius: 999px; }
.paper .btn-ghost { border-color: #c4d2e0; color: var(--paper-ink); }
.paper .btn-ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Header (claro: el logo luce con sus colores reales) ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 253, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--paper-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: .92rem; color: #4a5c6e; font-weight: 500; transition: color .15s ease; }
.nav-links a:not(.btn):hover { color: var(--paper-ink); }
.nav-links a.active:not(.btn) { color: var(--blue-deep); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #c4d2e0;
  border-radius: 10px;
  color: var(--paper-ink);
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, .93) 8%, rgba(8, 13, 20, .72) 48%, rgba(8, 13, 20, .38) 100%),
    linear-gradient(180deg, rgba(8, 13, 20, .40) 0%, rgba(11, 17, 26, 0) 30%, rgba(11, 17, 26, .97) 100%);
}
.hero-inner { padding: 90px 24px 110px; }
.hero h1 {
  margin-bottom: 24px;
  max-width: 860px;
  background: linear-gradient(180deg, #ffffff 38%, #9fc2ec 108%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ink);
}
.hero .lead { margin-bottom: 36px; font-size: clamp(1.1rem, 1.6vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(91, 157, 255, .4);
  background: rgba(13, 20, 30, .72);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .8rem;
  color: #c6d8ee;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Secciones ---------- */
section.block { padding: 100px 0; }
.block-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .h-section { color: var(--paper-ink); }
.paper .lead { color: var(--paper-muted); }
.paper .kicker { color: var(--blue-deep); }

/* ---------- Tarjetas ---------- */
.cards-2, .cards-3, .cards-4 { display: grid; gap: 20px; margin-top: 44px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91, 157, 255, .55); box-shadow: 0 18px 40px -22px rgba(0,0,0,.8); }
.card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-dim);
  color: var(--blue);
  margin-bottom: 18px;
  transition: transform .2s ease;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; transition: color .2s ease; }
.card:hover .icon { transform: translateY(-2px) scale(1.05); }
.card:hover h3 { color: var(--blue); }
.card p { color: var(--muted); font-size: .95rem; }
.card .tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}
.paper .card { background: #ffffff; border-color: var(--paper-line); }
.paper .card:hover { border-color: var(--blue); box-shadow: 0 18px 40px -26px rgba(15, 24, 38, .45); }
.paper .card p { color: var(--paper-muted); }
.paper .card .tag, .paper .card .icon { color: var(--blue-deep); background: var(--blue-dim); }
.paper .card .icon { color: var(--blue-deep); }

/* Tarjeta con imagen */
.card-img { padding: 0; overflow: hidden; }
.card-img .card-media { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card-img .card-body { padding: 24px 26px 28px; }
.paper .card-img .card-media { aspect-ratio: 4 / 3; }

/* ---------- Comparación: asistente vs agente ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.compare-col { border-radius: 22px; padding: 38px 34px; }
.compare-basic { background: #ffffff; border: 1px solid var(--paper-line); }
.compare-agent {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(91, 157, 255, .10), transparent 70%),
    linear-gradient(165deg, #10263e 0%, #0d1a29 100%);
  border: 1px solid rgba(91, 157, 255, .55);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(31, 84, 158, .45);
}
.compare-col .cmp-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.compare-basic .cmp-label { color: var(--paper-muted); }
.compare-agent .cmp-label { color: var(--blue); }
.compare-col h3 { font-size: 1.25rem; margin-bottom: 20px; }
.compare-basic h3 { color: var(--paper-ink); }
.compare-col ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  font-size: .97rem;
  border-bottom: 1px dashed rgba(116, 134, 154, .25);
}
.compare-col ul li:last-child { border-bottom: none; }
.compare-basic ul li { color: var(--paper-muted); }
.compare-col .mark { flex: 0 0 auto; font-weight: 700; }
.compare-basic .mark { color: #98a8b8; }
.compare-agent .mark { color: var(--lime); }
.compare-agent ul li { color: #d5e2f2; }
.compare-note { text-align: center; margin-top: 26px; color: var(--paper-muted); font-size: .95rem; }

/* ---------- Ciclo del agente ---------- */
.loop-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.loop-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.loop-step .num {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue);
  color: #07101c;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.loop-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.loop-step p { color: var(--muted); font-size: .95rem; }
.loop-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.loop-arrow {
  position: absolute;
  top: 38%;
  right: -26px;
  z-index: 2;
  color: var(--blue);
  font-size: 1.6rem;
  opacity: .8;
}
.loop-step:last-child .loop-arrow { display: none; }

/* ---------- Feature (imagen + texto) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-img img, .feature-img video {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}
.paper .feature-img img { border-color: var(--paper-line); box-shadow: 0 30px 70px -35px rgba(15, 24, 38, .4); }
.feature-body .lead { margin: 16px 0 22px; }
.feature ul.checks li { display: flex; gap: 12px; padding: 8px 0; color: var(--muted); }
.paper .feature ul.checks li { color: var(--paper-muted); }
.feature ul.checks .mark { color: var(--lime); font-weight: 700; }

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(91, 157, 255, .4);
  border-radius: 26px;
  padding: 72px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 85% at 50% 0%, rgba(91, 157, 255, .16), transparent 70%),
    var(--surface);
}
.cta-panel h2 { margin-bottom: 14px; }
.cta-panel p { color: var(--muted); max-width: 580px; margin: 0 auto 30px; }
.cta-panel .hero-actions { justify-content: center; }

/* ---------- Banda otras líneas ---------- */
.lines-band { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg-soft); }
.lines-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.lines-band p { color: var(--muted); font-size: .95rem; }
.lines-band strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 26px;
  margin-bottom: 12px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(91, 157, 255, .5); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: .96rem; }

/* ---------- Metodología ---------- */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.how-step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.how-step::before {
  content: "";
  position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(91, 157, 255, .8);
}
.how-step .n { color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .12em; }
.how-step h3 { font-size: 1rem; margin: 8px 0; }
.how-step p { color: var(--muted); font-size: .92rem; }
.paper .how-step { border-top-color: var(--paper-line); }
.paper .how-step p { color: var(--paper-muted); }
.paper .how-step .n { color: var(--blue-deep); }
.paper .how-step::before { background: var(--blue-deep); box-shadow: none; }

/* ---------- Acerca de ---------- */
.steps { display: grid; gap: 16px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.step .num {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue);
  color: #07101c;
  font-weight: 700;
  font-family: var(--font-display);
}
.step h3 { font-size: .95rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .9rem; }
.big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  padding-left: 22px;
  border-left: 3px solid var(--lime);
}
.big-quote em { color: var(--blue); font-style: normal; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  transition: border-color .2s ease;
}
.contact-card:hover { border-color: rgba(91, 157, 255, .5); }
.contact-card .icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-dim);
  color: var(--blue);
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted-2); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card a, .contact-card span.val { font-weight: 600; font-size: 1rem; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.form-panel h3 { margin-bottom: 6px; }
.form-panel > p { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  padding: 13px 16px;
  font: inherit;
  font-size: .95rem;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { color: var(--muted-2); font-size: .8rem; margin-top: 12px; }

/* ---------- Footer (claro: logo con sus colores reales) ---------- */
footer { border-top: 1px solid var(--paper-line); background: #f7fafc; padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-grid p { color: var(--paper-muted); font-size: .9rem; max-width: 320px; }
.footer-grid h4 { font-family: var(--font-display); text-transform: uppercase; font-size: .85rem; letter-spacing: .14em; color: var(--paper-ink); margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: #54687c; font-size: .92rem; transition: color .15s ease; }
.footer-grid ul a:hover { color: var(--blue-deep); }
.footer-map { width: 100%; height: 170px; border: 0; border-radius: 14px; margin-top: 18px; display: block; }

/* ---------- Noticias y artículos ---------- */
.cards-news .card h3 { text-transform: none; letter-spacing: -.005em; line-height: 1.3; }
.cards-news .card h3 a { color: inherit; transition: color .2s ease; }
.cards-news .card h3 a:hover { color: var(--blue); }
.news-date { display: block; font-size: .74rem; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.more-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.more-link:hover { color: var(--blue-deep); }
.sus-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); text-align: left; margin: 0 auto 12px; max-width: 460px; cursor: pointer; }
.sus-check input { margin-top: 3px; accent-color: var(--lime); flex: 0 0 auto; }
.sus-check a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-wrap { max-width: 780px; }
.article-wrap p { color: var(--ink); line-height: 1.8; margin: 0 0 20px; font-size: 1.02rem; text-align: justify; hyphens: auto; }
.article-wrap p.article-meta, .article-meta { color: var(--muted-2); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 30px; }
.article-title { text-transform: none; letter-spacing: -.01em; line-height: 1.15; }
.footer-bottom {
  border-top: 1px solid var(--paper-line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: #8494a4;
  font-size: .82rem;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 10px 30px -6px rgba(34, 197, 94, .55);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Aparecer al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature.rev .feature-img { order: -1; }
  .loop-3 { grid-template-columns: 1fr; }
  .loop-arrow { display: none !important; }
  .compare { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 250, 253, .98);
    border-bottom: 1px solid var(--paper-line);
    padding: 10px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #e2e9f1; font-size: 1rem; color: var(--paper-ink); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section.block { padding: 68px 0; }
  .cta-panel { padding: 48px 24px; }
  .compare-col { padding: 28px 24px; }
}

/* ---------- Página legal ---------- */
.legal-wrap { max-width: 820px; }
.legal-wrap p { color: var(--ink); line-height: 1.75; margin: 0 0 20px; font-size: 1rem; text-align: justify; hyphens: auto; }
.legal-wrap p.legal-strong { font-weight: 600; }
.legal-wrap h3 { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: .02em; color: var(--blue); margin: 34px 0 12px; }
.legal-wrap ul { margin: 0 0 20px; padding-left: 22px; }
.legal-wrap li { color: var(--ink); line-height: 1.75; margin-bottom: 10px; font-size: 1rem; text-align: justify; hyphens: auto; }
.legal-wrap li::marker { color: var(--blue); }
.legal-wrap a { color: var(--blue); text-underline-offset: 3px; }
.legal-wrap strong { color: var(--ink); }
hr.legal-sep { border: 0; border-top: 1px solid var(--line); margin: 56px 0 0; }

/* ---------- Libro de Reclamaciones (INDECOPI) ---------- */
.lrv-row { display: flex; justify-content: flex-start; padding: 0 0 22px; }
.lrv-badge { display: inline-flex; border-radius: 16px; overflow: hidden; }
.lrv-badge img { display: block; }

/* ---------- Banner y preferencias de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .35);
  padding: 20px 0;
  transform: translateY(110%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: none; }
.cookie-banner .cookie-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; flex: 1 1 360px; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.cookie-actions { display: flex; align-items: center; gap: 16px; }
.cookie-btn-ghost {
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 2px;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 9, 15, .6);
  padding: 20px;
}
.cookie-modal.show { display: flex; }
.cookie-card {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  padding: 36px 34px 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.cookie-card h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.25rem; }
.cookie-card p { font-size: .95rem; line-height: 1.6; color: var(--paper-muted); margin: 0 0 14px; }
.cookie-check { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--paper-ink); margin: 18px 0 8px; }
.cookie-note { font-size: .82rem; }
.cookie-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--paper-muted);
  font-size: 1.4rem;
  line-height: 1;
}
.cookie-close:hover { color: var(--paper-ink); }
