/* Nova Music — landing España (/espana). Estático, sin build: lo sirve Apache
   directo desde public/espana/, igual que el resto de public/. Tema claro a
   pedido de Nova; mantiene el naranja y la tipografía Interstate de la marca. */

@font-face {
  font-family: 'Interstate';
  src: url('interstate-bold-cond.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Interstate';
  src: url('interstate-black-cond.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbf8f3;
  --bg-warm: #f5eee4;
  --surface: #ffffff;
  --ink: #1c1b22;
  --ink-2: #45434d;
  --muted: #6b6772;
  --line: rgba(28, 27, 34, 0.1);
  --orange: #d6823c;          /* naranja Nova (fondos, acentos) */
  --orange-ink: #a3561a;      /* naranja para texto sobre claro (AA) */
  --orange-soft: rgba(214, 130, 60, 0.12);
  --calm: #5f8fa6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(28, 27, 34, 0.04), 0 12px 32px -12px rgba(28, 27, 34, 0.14);
  --display: 'Interstate', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}

*, *::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 { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--orange-ink); }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ── Botones ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 17px/1 var(--body);
  padding: 17px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .12s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--orange); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(214, 130, 60, .8);
}
.btn-primary:hover { background: #e08d47; box-shadow: 0 14px 30px -10px rgba(214, 130, 60, .9); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Cabecera ────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 248, 243, .86);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.top .logo { width: 128px; height: auto; }
.top .btn { padding: 11px 20px; font-size: 15px; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(214, 130, 60, .18), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(95, 143, 166, .12), transparent 60%),
    var(--bg);
}
.hero .wrap { display: grid; gap: 44px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow .flag { width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.hero h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(42px, 8.4vw, 76px); letter-spacing: -.005em; line-height: .96;
  margin: 18px 0 20px;
}
.hero h1 .accent { color: var(--orange); display: block; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 34em; }
.offer-pill {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 28px 0 26px; padding: 10px 18px 10px 10px;
  background: var(--surface); border-radius: 999px; box-shadow: var(--shadow);
}
.offer-pill .tag {
  font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; letter-spacing: .02em;
}
.offer-pill .then { font-size: 15px; color: var(--muted); }
@media (max-width: 479px) {
  .offer-pill { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-radius: 18px; padding: 10px 14px 12px 10px; }
  .offer-pill .tag { font-size: 17px; }
  .offer-pill .then { padding-left: 4px; }
}
.offer-pill .then strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { font-size: 14px; color: var(--muted); }

/* Tarjeta de los dos canales */
.channels {
  position: relative; background: var(--surface); border-radius: 26px; padding: 26px;
  box-shadow: 0 1px 2px rgba(28,27,34,.05), 0 30px 60px -24px rgba(28,27,34,.25);
  max-width: 460px; width: 100%; justify-self: center;
}
.channels .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.channels .head span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.channels .head b { font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.channel {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center;
  padding: 16px; border-radius: 16px; background: var(--bg);
}
.channel + .channel { margin-top: 12px; }
.channel .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff;
}
.channel.calm .ico { background: linear-gradient(140deg, #8db7c9, var(--calm)); }
.channel.energy .ico { background: linear-gradient(140deg, #f0a764, var(--orange)); }
.channel h3 { font-family: var(--display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .01em; }
.channel p { font-size: 14px; color: var(--muted); line-height: 1.4; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 8px; }
.bars i { flex: 1; height: 100%; border-radius: 2px; transform-origin: bottom; animation: eq 1.6s ease-in-out infinite; }
.calm .bars i { background: rgba(95, 143, 166, .55); animation-duration: 2.8s; }
.energy .bars i { background: rgba(214, 130, 60, .75); animation-duration: 1s; }
.bars i:nth-child(odd) { animation-delay: -.4s; } .bars i:nth-child(3n) { animation-delay: -.9s; } .bars i:nth-child(4n) { animation-delay: -1.3s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.channels .price {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--muted);
}
.channels .price strong { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--ink); }
.channels .price small { font-size: 14px; font-weight: 600; color: var(--muted); font-family: var(--body); }

@media (min-width: 900px) {
  .hero { padding: 84px 0 110px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* ── Secciones ───────────────────────────────────────── */
section { scroll-margin-top: 72px; }
.section { padding: 76px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; display: block; }
.section h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(32px, 5vw, 48px); line-height: 1;
}
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }

/* Sectores */
.sectors { padding: 26px 0; border-block: 1px solid var(--line); background: var(--surface); }
.sectors .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; align-items: center; }
.sectors span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 16px; }
.sectors svg { color: var(--orange); }

/* Escúchalo: bloque oscuro que lleva al inicio de la app (pestaña nueva) */
.listen { padding: 0 0 56px; }
.listen-card {
  background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 6px);
  padding: 34px 26px; display: grid; gap: 26px; align-items: center;
  box-shadow: 0 24px 60px -28px rgba(28, 27, 34, .55);
  background-image: radial-gradient(120% 140% at 100% 0%, rgba(214, 130, 60, .28), transparent 55%);
}
.listen .kicker { color: var(--orange); }
.listen h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(28px, 4.4vw, 42px); line-height: 1.02;
}
.listen p { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 36em; }
.listen .bars { max-width: 280px; margin-top: 20px; }
.listen .bars i { background: rgba(214, 130, 60, .8); animation-duration: 1.2s; }
.listen-btn { justify-self: start; }
@media (min-width: 900px) {
  .listen-card { grid-template-columns: 1fr auto; padding: 44px 48px; gap: 40px; }
}

/* Beneficios */
.benefits { display: grid; gap: 16px; grid-template-columns: 1fr; }
.benefit {
  background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  display: grid; gap: 12px; align-content: start;
}
.benefit .num { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-ink); display: grid; place-items: center; }
.benefit h3 { font-family: var(--display); font-weight: 700; font-size: 23px; text-transform: uppercase; letter-spacing: .01em; }
.benefit p { color: var(--muted); font-size: 16px; }
.benefit.feature { background: var(--ink); color: #fff; }
.benefit.feature .num { background: rgba(214,130,60,.2); color: #f0a764; }
.benefit.feature p { color: rgba(255,255,255,.72); }
.benefit.feature .bars { height: 40px; margin: 0 0 auto; max-width: 160px; }
.benefit.feature .bars i { background: rgba(214, 130, 60, .55); animation-duration: 2s; }
.benefit.feature .big { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: .9; color: var(--orange); }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefit.feature { grid-row: span 2; align-content: end; }
}

/* Cómo funciona */
.howto { background: var(--bg-warm); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  background: var(--surface); padding: 22px; border-radius: var(--radius);
}
.steps li::before {
  content: counter(s); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 24px; background: var(--orange); color: var(--ink);
}
.steps h3 { font-size: 18px; margin-bottom: 4px; line-height: 1.3; }
.steps p { color: var(--muted); font-size: 16px; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; }
}

/* ── Formulario ──────────────────────────────────────── */
.form-section {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(214, 130, 60, .16), transparent 60%),
    var(--bg);
}
.form-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .form-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.form-aside ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.form-aside li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.form-aside li svg { flex: none; margin-top: 3px; color: var(--orange); }
.form-aside .alt { margin-top: 30px; font-size: 15px; color: var(--muted); }
.form-aside .alt a { font-weight: 600; }

.card-form { background: var(--surface); border-radius: 24px; padding: 28px 22px; box-shadow: 0 1px 2px rgba(28,27,34,.05), 0 30px 60px -28px rgba(28,27,34,.28); }
@media (min-width: 600px) { .card-form { padding: 38px; } }
.fields { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; font: 400 16px/1.3 var(--body); color: var(--ink);
  padding: 14px 14px; border-radius: 12px; border: 1.5px solid #dcd6cd; background: #fff;
  transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b6772' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input:hover, .field select:hover { border-color: #c4bcb1; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.field .err { display: none; font-size: 13px; color: #b03123; margin-top: 6px; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 20px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.check.invalid { color: #b03123; }
.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; }
.form-status { margin-top: 14px; font-size: 15px; min-height: 1em; }
.form-status.error { color: #b03123; }
.legal-first {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.5; color: var(--muted);
}
.legal-first summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.legal-first dl { margin: 10px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; }
.legal-first dt { font-weight: 600; color: var(--ink-2); }
.legal-first dd { margin: 0; }

/* ── Pie ─────────────────────────────────────────────── */
.foot { padding: 40px 0 110px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; gap: 18px; }
.foot .logo { width: 110px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a, .foot button.linklike { color: var(--ink-2); text-decoration: none; }
.foot a:hover, .foot button.linklike:hover { color: var(--orange-ink); text-decoration: underline; }
button.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
@media (min-width: 760px) {
  .foot { padding-bottom: 40px; }
  .foot .wrap { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot nav { justify-content: center; }
}

/* CTA fija en móvil */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  transform: translateY(140%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 16px 34px -12px rgba(28,27,34,.45); }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ── Banner de cookies (AEPD: aceptar y rechazar al mismo nivel) ── */
.cc {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 560px;
  background: var(--surface); color: var(--ink); border-radius: 18px; padding: 20px;
  box-shadow: 0 2px 4px rgba(28,27,34,.08), 0 30px 70px -20px rgba(28,27,34,.45);
  font-size: 14px; line-height: 1.5;
}
@media (min-width: 640px) { .cc { left: 24px; bottom: 24px; padding: 24px; } }
.cc { max-height: calc(100vh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.cc[hidden] { display: none; }
.cc h2 { font: 700 17px/1.3 var(--body); margin-bottom: 6px; }
.cc p { color: var(--ink-2); }
.cc .cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cc .cc-btn {
  font: 600 15px/1 var(--body); padding: 13px 14px; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; border: 1.5px solid var(--ink);
}
.cc .cc-btn:hover { background: #33313b; }
.cc .cc-config { grid-column: 1 / -1; background: transparent; color: var(--ink); border-color: var(--line); }
.cc .cc-config:hover { background: var(--bg); }
.cc .cc-panel { margin-top: 14px; display: grid; gap: 10px; }
.cc .cc-panel[hidden] { display: none; }
.cc .cc-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--bg); }
.cc .cc-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.cc .cc-row b { display: block; }
.cc .cc-row span { color: var(--muted); font-size: 13px; }

/* ── Páginas secundarias (gracias, legales) ──────────── */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 6vw, 52px); margin-bottom: 18px; }
.page h2 { font: 700 21px/1.3 var(--body); margin: 34px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 12px; }
.page .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.page .table-scroll table { min-width: 560px; }
.page table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.page th, .page td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page .todo { background: #fff3cd; padding: 0 4px; border-radius: 4px; }
.thanks { text-align: center; }
.thanks .check-big { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); }
.thanks .lead { font-size: 19px; color: var(--ink-2); max-width: 30em; margin: 0 auto; }
.thanks .next { text-align: left; margin: 36px auto 0; max-width: 520px; }
.thanks .actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thanks .steps.next { grid-template-columns: 1fr; }
.thanks .steps.next li { grid-template-columns: 52px 1fr; }
