/* RadioQ · página web. Colores del logo (rojo) y de la app (fondo oscuro, azul, verde y dorado de la publicidad). */
:root {
  --bg: #0b0d11;
  --bg-2: #11141a;
  --panel: #161a21;
  --panel-2: #1d222b;
  --line: rgba(255, 255, 255, .08);
  --text: #eef0f4;
  --muted: #9aa3b2;
  --red: #ff3b4f;
  --red-2: #e00f2b;
  --orange: #ff8a3d;
  --blue: #3fb6ff;
  --green: #3ddc97;
  --gold: #ffc53d;
  --radius: 16px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --head: 'Sora', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 16px/1.6 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 'Inter', system-ui, sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 10px 30px rgba(255, 59, 79, .35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 59, 79, .45); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Menú ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 13, 17, .78); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 1.35rem var(--head); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--red); }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.menu a:not(.btn):hover { color: var(--text); text-decoration: none; }
.burger { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; }
.g1 { width: 620px; height: 620px; left: -200px; top: -160px; background: radial-gradient(circle, rgba(255, 59, 79, .55), transparent 65%); animation: drift 14s ease-in-out infinite alternate; }
.g2 { width: 700px; height: 700px; right: -260px; top: 80px; background: radial-gradient(circle, rgba(63, 182, 255, .35), transparent 65%); animation: drift 18s ease-in-out infinite alternate-reverse; }
.g3 { width: 700px; height: 700px; left: 50%; top: 10%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255, 59, 79, .22), transparent 65%); }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.onair {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  font: 800 12px/1 'Inter', sans-serif; letter-spacing: .14em; color: #fff;
  background: rgba(255, 59, 79, .14); border: 1px solid rgba(255, 59, 79, .45);
}
.onair i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 59, 79, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 59, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 79, 0); } }
.grad { background: linear-gradient(100deg, var(--red) 10%, var(--orange) 60%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { margin-top: 18px; }
.lead { font-size: 1.15rem; color: #c3c9d4; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14px; }
.checks li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 7px; }

.hero-shot { position: relative; }
.window { margin: 0; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #0f1218; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a404c; }
.win-bar i:nth-child(1) { background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 10px; }
.tilt { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); animation: rise 1s .2s cubic-bezier(.2, .8, .2, 1) both; }
.tilt:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
@keyframes rise { from { opacity: 0; transform: perspective(1600px) rotateY(-18deg) rotateX(8deg) translateY(40px); } }
.float {
  position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px;
  background: rgba(22, 26, 33, .88); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  font-size: 13px; animation: bob 5s ease-in-out infinite;
}
.float b { font-size: 14px; }
.float span { color: var(--muted); font-size: 12px; }
.f1 { left: -34px; bottom: 34px; border-left: 3px solid var(--gold); }
.f2 { right: -18px; top: -22px; border-left: 3px solid var(--green); animation-delay: -1.7s; }
.f3 { right: 30px; bottom: -26px; border-left: 3px solid var(--blue); animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.eq { position: absolute; left: -10px; top: -46px; display: flex; gap: 5px; align-items: flex-end; height: 40px; }
.eq i { width: 6px; border-radius: 3px; background: linear-gradient(var(--red), var(--orange)); animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.5s; } .eq i:nth-child(4) { animation-delay: -.1s; }
.eq i:nth-child(5) { animation-delay: -.7s; } .eq i:nth-child(6) { animation-delay: -.35s; } .eq i:nth-child(7) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 8px; } 50% { height: 40px; } }

/* ---------- Cifras ---------- */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.stat b { display: block; font: 800 clamp(1.9rem, 3.6vw, 2.6rem)/1.1 var(--head); background: linear-gradient(100deg, #fff, #c9d2e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 110px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.kicker { font: 700 13px/1 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.gold-t { color: var(--gold); }
.grid.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; overflow: hidden;
}
.card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .06), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .16); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.card:hover::after { opacity: 1; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card b { color: var(--text); font-weight: 600; }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.red { color: var(--red); background: rgba(255, 59, 79, .12); }
.ico.blue { color: var(--blue); background: rgba(63, 182, 255, .12); }
.ico.green { color: var(--green); background: rgba(61, 220, 151, .12); }
.ico.gold { color: var(--gold); background: rgba(255, 197, 61, .12); }

.split { background: linear-gradient(180deg, transparent, rgba(255, 197, 61, .04), transparent); }
.split-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.list { padding: 0; margin: 0 0 28px; list-style: none; }
.list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #c3c9d4; }
.list li::before { content: ''; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: rgba(61, 220, 151, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.list.small li { font-size: 15px; margin-bottom: 8px; }
.tilt-l { transform: perspective(1600px) rotateY(8deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tilt-l:hover { transform: perspective(1600px) rotateY(2deg); }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.tabs button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font: 600 14px 'Inter', sans-serif; cursor: pointer; transition: all .2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--red), var(--orange)); }
.gallery img { transition: opacity .35s; }
.gallery img.fading { opacity: 0; }
.gallery figcaption { padding: 14px 18px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px; font: 800 18px var(--head); color: #fff; background: linear-gradient(135deg, var(--red), var(--orange)); box-shadow: 0 8px 24px rgba(255, 59, 79, .35); }
.steps p { color: var(--muted); margin: 0; }

.band { padding: 70px 0; }
.band-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 24px;
  background: linear-gradient(120deg, rgba(255, 59, 79, .14), rgba(63, 182, 255, .1)); border: 1px solid rgba(255, 255, 255, .1); }
.band-in p { color: #c3c9d4; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 8px 14px; border-radius: 999px; background: rgba(11, 13, 17, .55); border: 1px solid var(--line); font-size: 14px; }

.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(255, 59, 79, .4); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--red); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { overflow: hidden; }
.contact-in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-copy p { color: #c3c9d4; }
.mail { font-size: 15px; }
.form { padding: 32px; border-radius: 20px; background: rgba(22, 26, 33, .85); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow); }
.form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 14px; font-weight: 500; color: #c9cfd9; }
.form small { color: var(--muted); font-weight: 400; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: #0d1015; color: var(--text);
  font: 15px 'Inter', system-ui, sans-serif; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63, 182, 255, .18); }
.form .invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 59, 79, .18); }
.consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--muted) !important; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 14px 0 0; font-size: 14px; min-height: 1.4em; text-align: center; }
.form-msg.ok { color: var(--green); }
.form-msg.bad { color: #ff8a96; }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); padding: 38px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.foot-in p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.tilt-l.reveal.in { transform: perspective(1600px) rotateY(8deg); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero-in, .split-in, .contact-in { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-shot { max-width: 760px; margin: 30px auto 0; width: 100%; }
  .grid.features { grid-template-columns: repeat(2, 1fr); }
  .band-in { grid-template-columns: 1fr; }
  .tilt-l, .tilt-l.reveal.in { transform: none; }
}
@media (max-width: 760px) {
  .menu {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px;
    background: rgba(11, 13, 17, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); z-index: -1;
  }
  .menu.open { transform: none; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu .btn { margin-top: 16px; }
  .burger { display: block; }
  .section { padding: 80px 0; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .grid.features, .steps, .row2 { grid-template-columns: 1fr; }
  .float { display: none; }
  .f1 { display: flex; left: 8px; bottom: -18px; }
  .tilt, .tilt:hover { transform: none; }
  .band-in { padding: 28px; }
  .form { padding: 22px; }
  .cta .btn { flex: 1 1 100%; }
}
