@font-face {
  font-family: "Cabify Ciudad";
  src: url("fonts/CabifyCiudad-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabify Ciudad";
  src: url("fonts/CabifyCiudad-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabify Ciudad";
  src: url("fonts/CabifyCiudad-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabify Ciudad";
  src: url("fonts/CabifyCiudad-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabify Ciudad";
  src: url("fonts/CabifyCiudad-Black.otf") format("opentype");
  font-weight: 900 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --moradul: #7145d6;
  --moradul-pdf: #6a55a4;
  --moradul-dark: #37285D;
  --moradul-deep: #160F26;
  --white: #FFFFFF;
  --yellow: #fced06;
  --gold: #e5c329;
  --ink: #170A33;
  --max: 1328px;
  --benefits-max: 1328px;

  --ease-soft: cubic-bezier(.22,.8,.22,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --shadow-soft: 0 18px 40px rgba(0,0,0,.18);
  --shadow-strong: 0 28px 60px rgba(0,0,0,.26);

  --font-display: "Cabify Ciudad", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-text: "Cabify Ciudad", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-text);
  color: var(--white);
  background: var(--moradul);
  overflow-x: hidden;
}

button { font: inherit; }

h1,
h2,
.presenta,
.star,
.discover-logo {
  font-family: var(--font-display);
}

.claim-small,
.intro,
.track-meta,
.benefit p,
.bottom-line,
.discover {
  font-family: var(--font-text);
}

.page {
  min-height: 100vh;
  background: var(--moradul);
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes albumIn {
  from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.94) rotate(var(--rotation, 0deg)); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(var(--rotation, 0deg)); }
}

@keyframes starPop {
  0% { opacity: 0; transform: rotate(0deg) scale(.72); }
  68% { opacity: 1; transform: rotate(0deg) scale(1.08); }
  100% { opacity: 1; transform: rotate(0deg) scale(1); }
}

@keyframes starBreath {
  0%, 100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 16px 24px rgba(0,0,0,.24)); }
  50% { transform: rotate(2deg) scale(1.035); filter: drop-shadow(0 20px 30px rgba(0,0,0,.30)); }
}

@keyframes playPulse {
  0%, 100% { box-shadow: 0 18px 38px rgba(0,0,0,.28), 0 0 0 0 rgba(255,255,255,.22); }
  50% { box-shadow: 0 18px 38px rgba(0,0,0,.28), 0 0 0 14px rgba(255,255,255,0); }
}

@keyframes featuredFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

@keyframes coverDriftA {
  0%, 100% { translate: 0 0; rotate: -.28deg; }
  50% { translate: 0 -4px; rotate: .22deg; }
}

@keyframes coverDriftB {
  0%, 100% { translate: 0 0; rotate: .18deg; }
  42% { translate: 0 -5px; rotate: -.2deg; }
  72% { translate: 0 -2px; rotate: .12deg; }
}

@keyframes coverDriftC {
  0%, 100% { translate: 0 0; rotate: .24deg; }
  55% { translate: 0 -3px; rotate: -.26deg; }
}

@keyframes equalizerA {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}

@keyframes equalizerB {
  0%, 100% { transform: scaleY(.82); }
  50% { transform: scaleY(.35); }
}

@keyframes equalizerC {
  0%, 100% { transform: scaleY(.58); }
  50% { transform: scaleY(.96); }
}

@keyframes dottedLine {
  from { background-position: 0 0; }
  to { background-position: 24px 0; }
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(14px, 2.2vw, 24px) 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background:
    radial-gradient(ellipse 82% 74% at 50% 56%, #7145D6 0%, rgba(113,69,214,.88) 22%, rgba(73,47,133,.78) 48%, #160F26 76%, #050307 100%),
    linear-gradient(90deg, #050307 0%, #160F26 12%, rgba(22,15,38,.08) 32%, rgba(22,15,38,.08) 68%, #160F26 88%, #050307 100%);
  opacity: 1;
}

.hero::after {
  background: linear-gradient(180deg, transparent 0 76%, var(--moradul) 76% 100%);
}

.top-copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  text-align: center;
  display: grid;
  justify-items: center;
}

.presenta {
  animation: heroFadeUp .62s var(--ease-soft) both;
  margin: 0 0 18px;
  line-height: 1;
  text-align: center;
}

.top-star {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 3.2vw, 42px);
  left: calc(50% + 560px);
}

.cabify-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.cabify-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.discover .cabify-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.cabify-logo--top {
  height: clamp(18px, 1.75vw, 27px);
  margin: 0 auto;
}

.presenta small {
  display: block;
  margin-top: 5px;
  font-size: clamp(.62rem, .9vw, .78rem);
  letter-spacing: .01em;
  font-weight: 700;
  line-height: 1;
  opacity: .96;
}

h1 {
  animation: heroFadeUp .72s .08s var(--ease-soft) both;
  margin: 0;
  width: min(100%, calc(100vw - 120px));
  max-width: 100%;
  padding: .1em 0 .02em;
  color: var(--gold);
  background: linear-gradient(180deg, #fced06 0%, #fad825 36%, #dfbb2f 68%, #b98c28 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(3.4rem, 6.35vw, 6.65rem);
  line-height: .96;
  letter-spacing: -.02em;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  text-wrap: balance;
}

.claim-small {
  animation: heroFadeUp .72s .18s var(--ease-soft) both;
  margin: clamp(9px, .9vw, 13px) 0 0;
  color: var(--yellow);
  text-transform: uppercase;
  font-size: clamp(.86rem, 1.08vw, 1.06rem);
  line-height: 1.12;
  font-weight: 300;
  max-width: 640px;
  letter-spacing: .012em;
}

.intro {
  animation: heroFadeUp .72s .28s var(--ease-soft) both;
  margin: clamp(20px, 1.8vw, 28px) 0 0;
  max-width: 760px;
  font-size: clamp(1.04rem, 1.35vw, 1.32rem);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: .004em;
}

.intro strong { font-weight: 800; }

.intro-line {
  display: inline;
}

.star {
  position: relative;
  width: clamp(150px, 13vw, 205px);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.24));
  animation: starPop .7s .42s cubic-bezier(.18,.9,.2,1.22) both, starBreath 3.4s 1.25s ease-in-out infinite;
}

.albums-shell {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin-top: clamp(34px, 4.2vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 4.3vw, 64px);
  align-items: start;
}

.album-card {
  min-width: 0;
  color: var(--white);
  opacity: 0;
  --rotation: 0deg;
  animation: albumIn .72s var(--ease-soft) both;
  transition: transform .32s var(--ease-out), filter .32s var(--ease-out);
  transform-style: preserve-3d;
}

.album-card:nth-child(1) { animation-delay: .38s; --rotation: -.8deg; }
.album-card:nth-child(2) { animation-delay: .50s; --rotation: .4deg; }
.album-card:nth-child(3) { animation-delay: .62s; --rotation: .8deg; }

.album-card:hover { transform: translate3d(0, -6px, 0); }

.album-card--featured:not(.is-active) {
  animation: albumIn .72s .50s var(--ease-soft) both;
}

.cover-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  box-shadow: none;
  will-change: transform;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1);
  transition: transform .22s var(--ease-out), box-shadow .25s ease, filter .25s ease;
}

.album-card:nth-child(1):not(.is-active) .cover-button {
  animation: coverDriftA 4.6s 1.15s ease-in-out infinite;
}

.album-card:nth-child(2):not(.is-active) .cover-button {
  animation: coverDriftB 3.35s 1.55s ease-in-out infinite;
}

.album-card:nth-child(3):not(.is-active) .cover-button {
  animation: coverDriftC 5.25s 1.35s ease-in-out infinite;
}

.cover-button.is-open {
  animation: none;
}

.cover-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s var(--ease-soft), filter .45s ease, opacity .32s ease;
}

.cover-button picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cover-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.38));
  opacity: 0;
  transition: opacity .35s ease;
}

.cover-button::after {
  content: "▶";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--moradul-dark);
  font-size: 1.5rem;
  box-shadow: 0 18px 38px rgba(0,0,0,.28);
  opacity: 0;
  scale: .88;
  transition: opacity .28s ease, scale .28s ease, background .22s ease;
}

.cover-button:not(.is-open)::after {
  opacity: 0;
  scale: .88;
}

.album-card--featured .cover-button:not(.is-open)::after { animation: none; }

.cover-button:hover,
.cover-button:focus-visible {
  box-shadow: var(--shadow-strong);
}

.cover-button:hover img,
.cover-button:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04);
}

.cover-button:hover::before,
.cover-button:focus-visible::before,
.cover-button:hover::after,
.cover-button:focus-visible::after {
  opacity: 1;
  scale: 1;
}

.cover-button.is-open {
  cursor: default;
  box-shadow: 0 0 0 2px rgba(255,255,255,.14), 0 30px 70px rgba(0,0,0,.34);
  transform: perspective(1100px) rotateX(0deg) rotateY(0deg) scale(1);
}

.cover-button.is-open img {
  opacity: 0;
  transform: scale(1.08);
}

.cover-button.is-open::before,
.cover-button.is-open::after {
  display: none;
}

.video-reveal {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #000;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .32s ease, transform .32s var(--ease-soft);
}

.cover-button.is-open .video-reveal {
  opacity: 1;
  transform: scale(1);
}

.video-reveal video,
.video-reveal iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}

.close-inline-video {
  position: absolute;
  z-index: 6;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.96);
  color: var(--moradul-dark);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  transition: transform .2s ease, background .2s ease;
}

.close-inline-video:hover { transform: scale(1.06); }

.track-meta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding-top: 11px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.16;
  transition: color .24s ease, padding-top .24s ease;
}

.play-mini {
  width: 0;
  height: 0;
  border-left: 7px solid var(--white);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-top: 3px;
  transition: all .2s ease;
}

.track-meta strong,
.track-meta span {
  display: block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-meta strong {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
  transition: color .24s ease;
}

.track-meta span {
  color: rgba(255,255,255,.72);
  font-size: .82em;
  font-weight: 300;
}

.track-meta time {
  color: rgba(255,255,255,.78);
  font-weight: 400;
  font-size: .82em;
  transition: color .24s ease, font-weight .24s ease;
}

.qualitative-note {
  position: absolute;
  z-index: 3;
  left: 22px;
  top: clamp(520px, 42vw, 760px);
  margin: 0;
  color: rgb(171,156,229);
  font-size: clamp(.552rem, .63vw, .69rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: .01em;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.album-card.is-active .track-meta {
  padding-top: 17px;
}

.album-card.is-active .track-meta::after {
  content: "Reproduciendo";
  position: absolute;
  left: 18px;
  top: -2px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: .62rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.album-card.is-active .track-meta strong {
  color: var(--yellow);
}

.album-card.is-active .track-meta time {
  color: var(--white);
  font-weight: 700;
}

.album-card.is-active .play-mini {
  width: 15px;
  height: 14px;
  border: 0;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  margin-top: 1px;
}

.album-card.is-active .play-mini::before,
.album-card.is-active .play-mini::after,
.album-card.is-active .play-mini i {
  content: "";
  display: block;
  width: 3px;
  border-radius: 999px;
  background: var(--yellow);
  transform-origin: bottom;
}

.album-card.is-active .play-mini::before {
  height: 100%;
  animation: equalizerA .9s ease-in-out infinite;
}

.album-card.is-active .play-mini i {
  height: 82%;
  animation: equalizerB 1s ease-in-out infinite;
}

.album-card.is-active .play-mini::after {
  height: 68%;
  animation: equalizerC .82s ease-in-out infinite;
}

.benefits {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-top: clamp(30px, 3vw, 46px);
  background: var(--moradul);
  padding: clamp(22px, 2.2vw, 28px) 20px clamp(22px, 2.6vw, 34px);
}

.benefits-grid {
  width: min(var(--benefits-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 88px);
}

.benefit {
  display: grid;
  grid-template-rows:
    minmax(clamp(5.6rem, 6.2vw, 6.7rem), auto)
    minmax(clamp(8.5rem, 9.5vw, 10rem), auto)
    auto;
  align-content: start;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .58s ease, transform .58s var(--ease-soft);
}

.benefits.is-visible .benefit {
  opacity: 1;
  transform: translateY(0);
}

.benefits.is-visible .benefit:nth-child(2) { transition-delay: .10s; }
.benefits.is-visible .benefit:nth-child(3) { transition-delay: .20s; }

.benefit:hover {
  transform: translateY(-4px);
}

.benefit h2 {
  margin: 0;
  font-size: clamp(2.72rem, 3.55vw, 3.45rem);
  line-height: .6;
  letter-spacing: -.012em;
  font-weight: 800;
}

.benefit-subline {
  font-size: .7em;
}

.benefit p {
  margin: 0;
  max-width: 370px;
  font-size: clamp(.98rem, 1.28vw, 1.18rem);
  line-height: 1.2;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  letter-spacing: .004em;
}

.benefit p strong {
  display: block;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 700;
}

.plus {
  margin-top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--moradul);
  text-decoration: none;
  font-weight: 1000;
  line-height: 1;
  transition: transform .25s var(--ease-out), background .25s ease;
}

.benefit:hover .plus { transform: rotate(90deg) scale(1.05); }

.bottom-line {
  width: min(var(--max), 100%);
  margin: 16px auto 0;
  padding-top: 22px;
  border-top: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.82) 2px, transparent 2.2px);
  background-size: 14px 4px;
  background-repeat: repeat-x;
  background-position: 0 0;
  animation: dottedLine 1.1s linear infinite;
  text-align: center;
  font-size: clamp(1.34rem, 1.72vw, 1.62rem);
  line-height: 1.18;
  letter-spacing: .002em;
  font-weight: 400;
}

.bottom-line strong { font-weight: 800; }

.discover {
  margin: clamp(18px, 2.8vw, 32px) 0 0;
  text-align: center;
  color: rgba(255,255,255,.88);
  font-size: clamp(.98rem, 1.3vw, 1.22rem);
  font-weight: 400;
}

.discover-logo,
.cabify-logo--bottom {
  display: block;
  height: clamp(42px, 5.1vw, 68px);
  margin: 12px auto 0;
}

/* Functional polish */
.cover-button,
.close-inline-video {
  -webkit-tap-highlight-color: transparent;
}

.cover-button:disabled { cursor: wait; }

.cover-button.is-loading::after {
  content: "";
  border: 3px solid rgba(42,18,103,.22);
  border-top-color: var(--moradul-dark);
  animation: spin .8s linear infinite;
  padding-left: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (hover: none) {
  .cover-button:hover,
  .cover-button:focus-visible {
    box-shadow: none;
  }

  .cover-button:hover img,
  .cover-button:focus-visible img {
    transform: none;
    filter: none;
  }
}

@media (max-width: 880px) {
  .hero { min-height: auto; }

  .top-copy {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: center;
    align-items: start;
    column-gap: 14px;
  }

  .top-copy .presenta {
    grid-column: 1;
    justify-self: self-start;
    margin: 0 0 10px;
  }

  .top-copy h1,
  .top-copy .claim-small,
  .top-copy .intro {
    grid-column: 1 / -1;
  }

  .top-star {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    top: auto;
    left: auto;
    justify-self: self-start;
    margin-top: -8px;
  }

  .top-star .star {
    width: 112px;
  }

  .albums-shell {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 28px;
    margin-top: 30px;
  }

  .album-card--featured:not(.is-active) {
    animation: albumIn .72s .50s var(--ease-soft) both;
  }

  .qualitative-note {
    position: relative;
    left: auto;
    top: auto;
    z-index: 2;
    margin: 22px 0 0;
    width: min(420px, 100%);
    text-align: center;
    font-size: .504rem;
    transform: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .benefit { display: block; }

  .benefit,
  .benefit h2,
  .benefit p {
    text-align: center;
  }

  .benefit p {
    max-width: 520px;
    margin: 22px 0 0;
  }

  .plus {
    margin: 12px auto 0;
  }
}

@media (max-width: 560px) {
  .hero { padding-inline: 14px; }
  .top-copy {
    grid-template-columns: minmax(0, 1fr) 82px;
    column-gap: 4px;
  }
  .top-copy .presenta { transform: translateX(clamp(20px, 10vw, 41px)); }
  .top-star { margin-top: -3px; }
  .top-star .star {
    width: 72px;
  }
  .top-copy h1 {
    width: auto;
    max-width: none;
    margin-top: 10px;
    font-size: clamp(3.1rem, 11.6vw, 4.2rem);
    line-height: .92;
  }
  .claim-small {
    max-width: none;
    white-space: nowrap;
    font-size: .68rem;
    letter-spacing: 0;
  }
  .intro {
    max-width: none;
    font-size: .88rem;
    line-height: 1.18;
  }
  .intro-line {
    display: block;
    white-space: nowrap;
  }
    .benefits { padding-inline: 14px; }
  .bottom-line { background-size: 10px 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .album-card,
  .benefit {
    opacity: 1 !important;
    transform: none !important;
  }

  .cover-button { transform: none !important; }
}
