:root {
  --white: #fff;
  --light: #f8fafc;
  --ink: #0f172a;
  --muted: #64748b;
  --blue: #2563eb;
  --pink: #e11d48;
  --cyan: #06b6d4;
  --line: rgba(15, 23, 42, .1);
  --shadow: 0 28px 80px rgba(15, 23, 42, .12);
  --max: 1160px;
  --head: "Outfit", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.72;
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, .12), transparent 25rem),
    radial-gradient(circle at 88% 8%, rgba(225, 29, 72, .12), transparent 24rem),
    linear-gradient(180deg, #fff, #f8fafc 48%, #fff);
  overflow-x: hidden;
}

a { color: inherit; }
figure { margin: 0; }
img { display: block; width: 100%; height: auto; object-fit: contain; }

.sound-bg {
  position: fixed;
  inset: auto 0 0;
  height: 34vh;
  z-index: -1;
  opacity: .16;
  display: flex;
  align-items: flex-end;
  gap: 1.1vw;
  padding: 0 2vw;
  pointer-events: none;
  overflow: hidden;
}

.sound-bg span {
  flex: 1;
  height: 18%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--pink));
  animation: equalizer 3.8s ease-in-out infinite;
}

.sound-bg span:nth-child(2) { animation-delay: -.8s; }
.sound-bg span:nth-child(3) { animation-delay: -1.4s; }
.sound-bg span:nth-child(4) { animation-delay: -.35s; }
.sound-bg span:nth-child(5) { animation-delay: -2s; }

.hero,
.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ghost-link,
.solid-link,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.ghost-link,
.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
}

.ghost-link::before {
  content: "<";
  margin-right: .7rem;
  color: var(--pink);
}

.solid-link,
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 18px 50px rgba(37, 99, 235, .22);
}

.ghost-link:hover,
.solid-link:hover,
.btn:hover { transform: translateY(-3px); }
.btn:active,
.ghost-link:active,
.solid-link:active { transform: scale(.98); }

.hero-grid {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.brand-logo {
  width: min(360px, 82vw);
  margin-bottom: 1.15rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--head);
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  color: var(--ink);
  font-size: clamp(2.55rem, 5.2vw, 5rem);
  line-height: 1;
  font-weight: 900;
}

h2 {
  max-width: 920px;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.02;
  font-weight: 900;
}

.lead,
.section-head p,
.split p,
.final-card p {
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.13rem);
}

.lead {
  max-width: 740px;
  color: #334155;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.studio-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(1rem, 3vw, 1.5rem);
  background:
    radial-gradient(circle at 18% 10%, rgba(37, 99, 235, .16), transparent 34%),
    radial-gradient(circle at 90% 0, rgba(225, 29, 72, .16), transparent 34%),
    rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rec {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .35rem .7rem;
  color: var(--pink);
  background: #fff1f2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.rec span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  animation: blink 1.5s ease-in-out infinite;
}

.cover {
  width: min(460px, 100%);
  margin: 1.5rem auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

.track-ui {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1rem;
  background: rgba(255,255,255,.82);
}

.track-ui strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: .8rem;
}

.wave {
  height: 42px;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1rem;
}

.wave i {
  width: 7px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--pink));
  animation: audioWave 1.1s ease-in-out infinite;
}

.wave i:nth-child(2n) { animation-delay: -.25s; }
.wave i:nth-child(3n) { animation-delay: -.55s; }

audio {
  width: 100%;
  display: block;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.metric-strip article,
.brainstorm-grid article,
.benchmark-grid article,
.workflow article,
.music-card,
.final-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}

.metric-strip article {
  min-height: 122px;
  border-radius: 24px;
  padding: 1rem;
}

.metric-strip strong {
  display: block;
  color: var(--blue);
  font-family: var(--head);
  font-size: 1.7rem;
  line-height: 1;
}

.metric-strip span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split.reverse { grid-template-columns: minmax(360px, .95fr) minmax(0, 1fr); }

.band,
.dark-section,
.heat-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  padding-right: max(20px, calc((100% - var(--max)) / 2));
}

.band {
  background:
    radial-gradient(circle at 12% 0, rgba(37, 99, 235, .12), transparent 26rem),
    var(--light);
}

.dark-section {
  color: #fff;
  background:
    radial-gradient(circle at 20% 0, rgba(37, 99, 235, .28), transparent 28rem),
    radial-gradient(circle at 84% 8%, rgba(225, 29, 72, .24), transparent 26rem),
    var(--ink);
}

.dark-section h2,
.dark-section .workflow strong { color: #fff; }
.dark-section p,
.dark-section .workflow p { color: rgba(255,255,255,.72); }

.dark-section .workflow article {
  background:
    radial-gradient(circle at 20% 15%, rgba(37, 99, 235, .28), transparent 38%),
    radial-gradient(circle at 82% 0, rgba(225, 29, 72, .24), transparent 34%),
    rgba(15, 23, 42, .84);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.heat-section {
  background:
    radial-gradient(circle at 70% 16%, rgba(225, 29, 72, .1), transparent 22rem),
    #fff;
}

.section-head {
  max-width: 940px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.section-head.centered h2 { margin-inline: auto; }

.image-frame,
.heat-map,
.cover-grid figure,
.video-box {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: .7rem;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame.light { background: #fff; }
.image-frame img,
.heat-map img,
.cover-grid img { border-radius: inherit; }

.brainstorm-grid,
.benchmark-grid,
.workflow,
.audio-grid,
.cover-grid {
  display: grid;
  gap: 1rem;
}

.brainstorm-grid,
.benchmark-grid,
.workflow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brainstorm-grid article,
.benchmark-grid article,
.workflow article {
  min-height: 220px;
  border-radius: 24px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.brainstorm-grid article:hover,
.benchmark-grid article:hover,
.workflow article:hover,
.music-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 24px 70px rgba(37, 99, 235, .14), var(--shadow);
}

.brainstorm-grid span,
.benchmark-grid span,
.workflow span {
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.workflow span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  letter-spacing: 0;
}

.brainstorm-grid strong,
.benchmark-grid strong,
.workflow strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.25;
  margin-top: .65rem;
}

.brainstorm-grid p,
.benchmark-grid p,
.workflow p {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .94rem;
}

.heat-map {
  position: relative;
}

.hot {
  position: absolute;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 .8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(225, 29, 72, .28);
  animation: hotPulse 2.3s ease-in-out infinite;
}

.hot-1 { left: 10%; top: 18%; }
.hot-2 { right: 12%; top: 42%; animation-delay: -.5s; }
.hot-3 { left: 18%; bottom: 14%; animation-delay: -1s; }

.check-list {
  display: grid;
  gap: .9rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  color: var(--muted);
  border-left: 3px solid var(--pink);
  padding-left: 1rem;
}

.check-list strong { color: var(--ink); }

.swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.6rem;
}

.swatches span {
  min-height: 86px;
  display: flex;
  align-items: flex-end;
  border-radius: 18px;
  padding: .8rem;
  color: var(--fg, #fff);
  background: var(--sw);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: 2rem;
}

.tool-row span {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: .55rem .85rem;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 900;
}

.audio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-track {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: clamp(1.3rem, 4vw, 2.5rem);
  align-items: center;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 34px;
  padding: clamp(1rem, 4vw, 2rem);
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 18% 20%, rgba(225, 29, 72, .16), transparent 36%),
    radial-gradient(circle at 90% 0, rgba(37, 99, 235, .16), transparent 34%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.featured-track span {
  display: block;
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}

.featured-track strong {
  display: block;
  color: var(--ink);
  font-family: var(--head);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.featured-track p {
  max-width: 760px;
  color: var(--muted);
}

.vinyl {
  position: relative;
  width: min(220px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 18px;
  margin: 0 auto;
  background:
    repeating-radial-gradient(circle, #101827 0 8px, #172033 9px 12px),
    #101827;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.06), 0 30px 70px rgba(15,23,42,.22);
  animation: discSpin 18s linear infinite;
}

.vinyl::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(255,255,255,.12);
}

.vinyl img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.music-card {
  border-radius: 26px;
  padding: 1rem;
  display: grid;
  justify-items: center;
  text-align: center;
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.disc {
  position: relative;
  width: 142px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 8px, transparent 9px),
    radial-gradient(circle at 50% 50%, var(--label, #2563eb) 0 34px, transparent 35px),
    repeating-radial-gradient(circle at 50% 50%, #111827 0 7px, #1f2937 8px 10px, #0f172a 11px 15px);
  border: 6px solid rgba(15,23,42,.08);
  box-shadow: 0 20px 48px rgba(15,23,42,.18);
}

.disc::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(255,255,255,.14), transparent 20%, rgba(255,255,255,.08), transparent 55%, rgba(255,255,255,.16));
  mix-blend-mode: screen;
  pointer-events: none;
  animation: discSpin 14s linear infinite;
}

.disc span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: .35rem;
  color: #fff;
  background:
    linear-gradient(135deg, var(--label, #2563eb), var(--label2, #e11d48));
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--head);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.disc-medida { --label: #2563eb; --label2: #e11d48; }
.disc-vida { --label: #f59e0b; --label2: #7c3aed; }
.disc-perfectos { --label: #ec4899; --label2: #06b6d4; }
.disc-ranchero { --label: #16a34a; --label2: #f97316; }
.disc-cerveza { --label: #111827; --label2: #f59e0b; }
.disc-regalo { --label: #8b5cf6; --label2: #e11d48; }

.music-card:hover .disc::before {
  animation-duration: 6s;
}

.music-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
  width: 100%;
}

.music-card p {
  min-height: 76px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

.cover-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.final-card {
  display: grid;
  grid-template-columns: minmax(170px, 250px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border-radius: 34px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.final-card img {
  width: min(230px, 100%);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity .75s ease, transform .75s ease, filter .75s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes equalizer {
  0%, 100% { height: 18%; }
  50% { height: 92%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .2; transform: scale(.75); }
}

@keyframes audioWave {
  0%, 100% { height: 12px; }
  50% { height: 38px; }
}

@keyframes hotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes discSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .metric-strip,
  .brainstorm-grid,
  .benchmark-grid,
  .workflow,
  .audio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    width: min(var(--max), calc(100vw - 28px));
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    padding: .9rem 0;
  }

  .ghost-link,
  .solid-link,
  .btn {
    width: 100%;
    padding-inline: 14px;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8.8vw, 2.85rem);
  }

  .hero-actions { flex-direction: column; }

  .metric-strip,
  .brainstorm-grid,
  .benchmark-grid,
  .workflow,
  .audio-grid,
  .featured-track,
  .cover-grid,
  .swatches,
  .final-card {
    grid-template-columns: 1fr;
  }

  .band,
  .dark-section,
  .heat-section {
    width: 100%;
    max-width: none;
  }

  .music-card p {
    min-height: auto;
  }

  .vinyl {
    animation: none;
  }

  .hot {
    position: static;
    margin: .35rem .25rem 0 0;
  }

  .heat-map {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

html,
body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden;
  overflow-y: auto !important;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  scrollbar-gutter: stable;
}
