/* RAI Studios landing page */

:root {
  --bg: #0b0b0d;
  --bg-soft: #111116;
  --card: #16161c;
  --card-2: #1d1b20;
  --text: #f5f0e8;
  --muted: #b8afa3;
  --muted-2: #82796e;
  --line: rgba(245, 240, 232, 0.12);
  --accent: #62cfff;
  --accent-2: #b8edff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --max: 1160px;
}

/* Escena fijada y animaciones dinámicas */
.hero-reveal-scene {
  height: 230vh;
  height: 230svh;
}

.hero-reveal-scene .hero-fullscreen {
  position: sticky;
  top: 0;
}

.hero-reveal-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-reveal-title {
  width: min(100%, 1050px);
  margin: 0;
  opacity: 0;
  color: transparent;
  font-size: clamp(3.2rem, 7.4vw, 7.2rem);
  line-height: .94;
  letter-spacing: -.065em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(0,0,0,.28);
  transition: opacity 220ms linear;
}

.hero-reveal-title .reveal-char {
  color: rgba(245, 240, 232, .2);
  transition: color 80ms linear, text-shadow 120ms linear;
}

.hero-reveal-title .reveal-char.is-revealed {
  color: #f5f0e8;
  text-shadow: 0 2px 22px rgba(0,0,0,.42);
}

.hero-reveal-scene .hero-signature,
.hero-reveal-scene .hero-scroll {
  transition: opacity 180ms linear;
}

.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition: opacity 850ms cubic-bezier(.2,.7,.2,1), transform 950ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

.motion-reveal.motion-from-left {
  transform: translate3d(-54px, 0, 0);
}

.motion-reveal.motion-scale {
  transform: scale(.94);
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-card.motion-reveal:nth-child(2),
.work-card.motion-reveal:nth-child(2),
.studio-value.motion-reveal:nth-child(2) {
  --motion-delay: 90ms;
}

.service-card.motion-reveal:nth-child(3),
.work-card.motion-reveal:nth-child(3),
.studio-value.motion-reveal:nth-child(3) {
  --motion-delay: 180ms;
}

.service-card.motion-reveal:nth-child(4) {
  --motion-delay: 270ms;
}

.studio-story__copy p.motion-reveal:nth-child(2),
.studio-visit__inner > *.motion-reveal:nth-child(2) {
  --motion-delay: 90ms;
}

.studio-story__copy p.motion-reveal:nth-child(3) {
  --motion-delay: 180ms;
}

.studio-gallery-page img.motion-reveal:nth-child(2) {
  --motion-delay: 120ms;
}

.studio-gallery-page img {
  transition: opacity 850ms cubic-bezier(.2,.7,.2,1), transform 80ms linear;
  will-change: transform;
}

.studio-gallery-page img.motion-reveal {
  will-change: opacity, transform;
}

@media (max-width: 760px) {
  .hero-reveal-scene {
    height: 210svh;
  }

  .hero-reveal-title {
    padding: 0 12px;
    font-size: clamp(3rem, 15vw, 5.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal-scene {
    height: 100svh;
  }

  .hero-reveal-title .reveal-char {
    color: #f5f0e8;
    transition: none;
  }

  .motion-reveal,
  .motion-reveal.motion-from-left,
  .motion-reveal.motion-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-title-word {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .service-reveal-char {
    color: var(--text);
    text-shadow: none;
    transition: none;
  }

  .service-package-section h3 {
    animation: none;
  }

  .studio-story__title {
    animation: none;
  }

  .service-package-offer {
    animation: none;
  }

  .service-cabina-offer-word {
    animation: none;
  }

  .beatstars-logo-link img {
    animation: none;
  }

  .studio-gallery-page img {
    transform: none !important;
    transition: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(98, 207, 255, 0.12), transparent 34rem),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.05), transparent 26rem),
    var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

.section {
  padding: 110px 0;
}

.narrow {
  max-width: 850px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-image {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: filter 260ms ease, transform 220ms ease;
}

.logo-text {
  color: var(--text);
  font-size: 1.08rem;
  transition: color 220ms ease, text-shadow 260ms ease;
}

.logo:hover .logo-image,
.logo:focus-visible .logo-image {
  filter: drop-shadow(0 0 14px rgba(98, 207, 255, .72)) drop-shadow(0 0 26px rgba(184, 237, 255, .28));
  transform: translateY(-1px);
}

.logo:hover .logo-text,
.logo:focus-visible .logo-text {
  color: #fff;
  text-shadow: 0 0 18px rgba(98, 207, 255, .35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-contact {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 rgba(98, 207, 255, 0);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 300ms ease, transform 220ms ease;
}

.nav-links .nav-contact:hover,
.nav-links .nav-contact:focus-visible {
  color: #fff;
  border-color: rgba(98, 207, 255, .72);
  background: rgba(98, 207, 255, .16);
  box-shadow: 0 0 24px rgba(98, 207, 255, .28), inset 0 0 18px rgba(184, 237, 255, .06);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding-top: 70px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.07em;
  line-height: 0.94;
}

h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 11vw, 9.4rem);
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  margin-bottom: 24px;
}

h3 {
  letter-spacing: -0.03em;
}

.contact p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), rgba(255, 255, 255, 0.03));
}

.service-card-link {
  color: var(--text);
  cursor: pointer;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  text-align: center;
  background: rgba(5, 12, 18, .82);
  backdrop-filter: blur(34px) saturate(1.22);
  opacity: 0;
  transition: opacity 280ms ease;
}

.service-card.featured .service-card-overlay {
  background: rgba(5, 12, 18, .72);
  backdrop-filter: blur(8px);
}

.service-card-overlay b {
  color: var(--accent-2);
  font-size: 1.3em;
}

.service-card-link:hover .service-card-overlay,
.service-card-link:focus-visible .service-card-overlay {
  opacity: 1;
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card-overlay {
    inset: auto 18px 18px auto;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .72rem;
    background: rgba(5, 12, 18, .82);
    backdrop-filter: blur(24px) saturate(1.18);
    opacity: 1;
  }

  .service-card.featured .service-card-overlay {
    background: rgba(5, 12, 18, .78);
    backdrop-filter: blur(8px);
  }

  .beats-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .beatstars-logo-link {
    justify-self: start;
    width: 96px;
  }
}

.service-detail-page {
  background: #050507;
}

.service-detail-hero {
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  padding: 190px 0 82px;
  background: radial-gradient(circle at 75% 25%, rgba(98,207,255,.16), transparent 35%), #07070a;
}

.service-detail-hero h1 {
  max-width: 1100px;
  margin: 0 0 30px;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .86;
}

.service-title-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.34em, 0) scale(.985);
  filter: blur(18px);
  animation: serviceTitleReveal 1050ms cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: calc(120ms + var(--word-index) * 120ms);
  will-change: opacity, transform, filter;
}

@keyframes serviceTitleReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.34em, 0) scale(.985);
    filter: blur(18px);
  }

  65% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.service-detail-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.service-detail-body {
  padding-top: 120px;
  padding-bottom: 140px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 9vw, 130px);
}

.service-detail-main {
  display: contents;
}

.service-detail-grid h2 {
  position: sticky;
  top: 120px;
  font-size: clamp(3rem, 6vw, 6rem);
}

body.has-service-reveal-layout .service-detail-grid {
  grid-template-columns: minmax(0, .98fr) minmax(300px, .82fr);
  align-items: start;
}

body.has-service-reveal-layout .service-detail-main {
  display: grid;
  gap: 56px;
  min-width: 0;
}

body.has-service-reveal-layout .service-detail-grid h2 {
  position: static;
  margin-bottom: 0;
}

@media (min-width: 761px) {
  body[data-active-service="mezcla-mastering"].has-service-reveal-layout .service-detail-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, .62fr);
    gap: clamp(44px, 7vw, 96px);
  }

  body[data-active-service="cabina-dj"].has-service-reveal-layout .service-detail-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(230px, .52fr);
    gap: clamp(50px, 8vw, 112px);
  }

  body[data-active-service="mezcla-mastering"] .service-package-heading h4 {
    white-space: nowrap;
  }
}

.service-detail-copy {
  display: grid;
  gap: 56px;
}

.service-detail-reveal {
  position: sticky;
  top: 120px;
  align-self: start;
  min-width: 0;
}

.service-detail-reveal p {
  max-width: 560px;
  margin: 0;
  color: transparent;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: .94;
}

.service-reveal-char {
  color: rgba(245, 240, 232, .18);
  text-shadow: none;
  transition: color 90ms linear, text-shadow 130ms linear;
}

.service-reveal-char.is-revealed {
  color: var(--text);
  text-shadow: 0 2px 24px rgba(98, 207, 255, .24);
}

.service-detail-block {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.service-detail-block h3 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.service-detail-block p,
.service-detail-block li,
.service-detail-text {
  color: var(--muted);
  line-height: 1.75;
}

.service-detail-block ul {
  margin: 0;
  padding-left: 20px;
}

.service-detail-note {
  margin-top: 18px;
  font-size: .95rem;
  font-style: italic;
}

.service-includes-rates {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.service-includes-rates[hidden] {
  display: none;
}

.service-rate-heading h4 {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

body[data-active-service="grabacion"] .service-includes-block h3 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

body[data-active-service="grabacion"] .service-includes-block li,
body[data-active-service="grabacion"] .service-includes-block .service-detail-note {
  font-size: 1.08rem;
}

body[data-active-service="grabacion"] .service-includes-block .service-rate-heading h4 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
}

body[data-active-service="grabacion"] .service-includes-block .service-package-price {
  font-size: clamp(1.08rem, 2vw, 1.55rem);
}

body[data-active-service="produccion-beats"] .service-process-block {
  order: 1;
}

body[data-active-service="produccion-beats"] .service-includes-block {
  order: 2;
}

body[data-active-service="produccion-beats"] .service-detail-cta {
  order: 3;
}

body[data-active-service="produccion-beats"] .service-detail-block h3 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

body[data-active-service="produccion-beats"] .service-detail-block li,
body[data-active-service="produccion-beats"] .service-detail-text {
  font-size: 1.08rem;
}

.service-detail-chain {
  display: grid;
  gap: 18px;
  margin: 0;
}

.service-detail-chain div {
  display: grid;
  gap: 6px;
}

.service-detail-chain dt {
  color: var(--accent-2);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-detail-chain dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-gear-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 20px;
}

.service-package-section h3 {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--text);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: .92;
  text-shadow: 0 2px 22px rgba(98, 207, 255, .16);
  transform-origin: 48% 56%;
  animation: mixTitleTremble 3.2s ease-in-out infinite;
}

.service-package-list {
  display: grid;
  gap: 44px;
}

.service-package {
  display: grid;
  gap: 18px;
}

.service-package-heading {
  display: grid;
  grid-template-columns: auto minmax(28px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.service-package-heading h4 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.service-package-rule {
  border-bottom: 2px solid rgba(184, 237, 255, .55);
}

.service-package-price {
  color: var(--accent-2);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  font-weight: 900;
  line-height: 1;
}

.service-package-points {
  display: grid;
  gap: 8px;
}

.service-spec-list {
  display: grid;
  gap: 36px;
}

.service-spec-block {
  display: grid;
  gap: 16px;
}

.service-spec-block h4 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

body[data-active-service="mezcla-mastering"] .service-package-section h3 {
  font-size: clamp(2.45rem, 5.4vw, 5rem);
}

body[data-active-service="mezcla-mastering"] .service-package-heading h4 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

body[data-active-service="mezcla-mastering"] .service-spec-block h4 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

body[data-active-service="mezcla-mastering"] .service-package-price {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

body[data-active-service="mezcla-mastering"] .service-package-points li {
  font-size: 1.08rem;
}

body[data-active-service="cabina-dj"] .service-package-section h3 {
  font-size: clamp(2.45rem, 5.4vw, 5rem);
  animation: cabinaSectionTitleTremble 5.4s ease-in-out infinite;
}

body[data-active-service="cabina-dj"] .service-package-heading h4 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

body[data-active-service="cabina-dj"] .service-package-price {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

body[data-active-service="cabina-dj"] .service-package-points li {
  font-size: 1.08rem;
}

.service-cabina-rate-list {
  display: grid;
  gap: 18px;
}

.service-cabina-offer-row {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.service-cabina-offer-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.service-cabina-offer-word {
  display: inline-block;
  color: var(--accent);
  text-shadow:
    0 0 12px rgba(98, 207, 255, .9),
    0 0 30px rgba(98, 207, 255, .5),
    0 0 50px rgba(184, 237, 255, .28);
  transform-origin: 50% 56%;
  animation: cabinaOfferWordMove 1.9s ease-in-out infinite;
  will-change: transform;
}

.service-offers-title span {
  display: block;
}

.service-offers-title span:first-child {
  color: var(--accent);
  text-shadow: none;
}

.service-package-offer {
  display: inline-block;
  color: var(--accent);
  margin-left: .12em;
  text-shadow:
    0 0 12px rgba(98, 207, 255, .95),
    0 0 30px rgba(98, 207, 255, .58),
    0 0 54px rgba(184, 237, 255, .36);
  transform-origin: 50% 56%;
  animation: offerWordShake 1.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes offerWordShake {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  12% {
    transform: translate3d(1.1px, -.8px, 0) rotate(-.35deg) scale(1.006);
  }
  28% {
    transform: translate3d(-1px, .8px, 0) rotate(.38deg) scale(.998);
  }
  46% {
    transform: translate3d(.8px, 1px, 0) rotate(-.3deg) scale(1.008);
  }
  68% {
    transform: translate3d(-1.1px, -.6px, 0) rotate(.32deg) scale(1.004);
  }
  84% {
    transform: translate3d(.7px, -.9px, 0) rotate(-.26deg) scale(1.006);
  }
}

@keyframes mixTitleTremble {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  18% {
    transform: translate3d(2.4px, -1.8px, 0) rotate(-.7deg);
  }
  38% {
    transform: translate3d(-2.1px, 1.9px, 0) rotate(.62deg);
  }
  62% {
    transform: translate3d(1.7px, 2.2px, 0) rotate(-.52deg);
  }
  82% {
    transform: translate3d(-1.8px, -1.5px, 0) rotate(.55deg);
  }
}

@keyframes cabinaSectionTitleTremble {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  24% {
    transform: translate3d(.55px, -.42px, 0) rotate(-.14deg);
  }
  48% {
    transform: translate3d(-.48px, .5px, 0) rotate(.12deg);
  }
  72% {
    transform: translate3d(.38px, .52px, 0) rotate(-.1deg);
  }
}

@keyframes cabinaOfferWordMove {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate3d(1.4px, -1px, 0) rotate(-.45deg) scale(1.01);
  }
  44% {
    transform: translate3d(-1.2px, 1px, 0) rotate(.42deg) scale(.998);
  }
  68% {
    transform: translate3d(1px, 1.2px, 0) rotate(-.35deg) scale(1.012);
  }
  84% {
    transform: translate3d(-.8px, -.9px, 0) rotate(.28deg) scale(1.006);
  }
}

@keyframes beatstarsLogoTremble {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  16% {
    transform: translate3d(4.2px, -3.3px, 0) rotate(-1.35deg) scale(1.012);
  }
  34% {
    transform: translate3d(-3.8px, 3.4px, 0) rotate(1.2deg) scale(.998);
  }
  56% {
    transform: translate3d(3px, 4px, 0) rotate(-1deg) scale(1.015);
  }
  78% {
    transform: translate3d(-3.4px, -2.8px, 0) rotate(1.08deg) scale(1.004);
  }
}

.service-detail-cta {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  padding: 16px 22px;
  border-radius: 999px;
  color: #06131a;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 rgba(98, 207, 255, 0);
  transition: color 220ms ease, box-shadow 300ms ease, filter 260ms ease, transform 220ms ease;
  will-change: transform;
}

.service-detail-cta:hover,
.service-detail-cta:focus-visible {
  color: #06131a;
  box-shadow: 0 0 28px rgba(98, 207, 255, .34), inset 0 0 18px rgba(184, 237, 255, .1);
  filter: drop-shadow(0 0 14px rgba(98, 207, 255, .42));
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .service-detail-hero {
    min-height: 68svh;
    padding: 150px 0 60px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid h2 {
    position: static;
  }

  body.has-service-reveal-layout .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  body.has-service-reveal-layout .service-detail-main {
    gap: 40px;
  }

  .service-detail-reveal {
    position: static;
  }

  .service-detail-reveal p {
    max-width: 100%;
    font-size: clamp(3rem, 12vw, 5.1rem);
  }
}

.service-card.featured {
  background:
    linear-gradient(180deg, rgba(98, 207, 255, 0.20), rgba(255, 255, 255, 0.03)),
    var(--card);
}

.service-number {
  color: var(--accent-2);
  font-size: 0.83rem;
  font-weight: 900;
  margin-bottom: 46px;
}

.service-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0;
}

/* BeatStars */
.beats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.beats-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
  gap: 36px;
  align-items: center;
  margin-bottom: 46px;
}

.beats-header .section-heading {
  margin-bottom: 0;
}

.beats .section-heading p:not(.section-kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.beatstars-logo-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(118px, 12vw, 168px);
  aspect-ratio: 1;
  transition: filter 260ms ease, transform 220ms ease;
}

.beatstars-logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 48% 56%;
  animation: beatstarsLogoTremble 2.35s ease-in-out infinite;
  transition: filter 260ms ease;
}

.beatstars-logo-link:hover,
.beatstars-logo-link:focus-visible {
  filter: drop-shadow(0 0 16px rgba(98, 207, 255, .62)) drop-shadow(0 0 34px rgba(184, 237, 255, .25));
  transform: translateY(-2px);
}

.beatstars-logo-link:hover img,
.beatstars-logo-link:focus-visible img {
  filter: drop-shadow(0 0 14px rgba(98, 207, 255, .78)) drop-shadow(0 0 30px rgba(184, 237, 255, .42));
}

.beatstars-embed {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.beatstars-embed iframe {
  display: block;
  width: 100%;
  min-height: 140px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.beatstars-embed iframe + iframe {
  margin-top: 14px;
}

.beatstars-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  transition: color 220ms ease, text-shadow 260ms ease;
}

.beatstars-more:hover,
.beatstars-more:focus-visible {
  color: #fff;
  text-shadow: 0 0 18px rgba(98, 207, 255, .5);
}

.contact {
  padding-bottom: 130px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 -12px;
  padding: 18px 12px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 0 0 rgba(98, 207, 255, 0);
  font-size: 1.15rem;
  font-weight: 900;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 300ms ease, transform 220ms ease;
}

.contact-link.primary {
  color: var(--accent-2);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #fff;
  border-color: rgba(98, 207, 255, .72);
  background: rgba(98, 207, 255, .16);
  box-shadow: 0 0 24px rgba(98, 207, 255, .28), inset 0 0 18px rgba(184, 237, 255, .06);
  transform: translateY(-2px);
}

.contact-link span {
  color: var(--muted-2);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 220ms ease;
}

.contact-link:hover span,
.contact-link:focus-visible span {
  color: var(--accent-2);
}

.location {
  margin: 26px 0 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--accent-2);
  font-weight: 800;
}

.back-top-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  outline: 0;
  transition: transform 220ms ease;
}

.back-top-logo img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: filter 260ms ease;
}

.back-top-arrow {
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1;
  transition: color 220ms ease, text-shadow 260ms ease, transform 220ms ease;
}

.back-top-logo:hover,
.back-top-logo:focus-visible {
  transform: translateY(-2px);
}

.back-top-logo:hover img,
.back-top-logo:focus-visible img {
  filter: drop-shadow(0 0 14px rgba(98, 207, 255, .72)) drop-shadow(0 0 26px rgba(184, 237, 255, .28));
}

.back-top-logo:hover .back-top-arrow,
.back-top-logo:focus-visible .back-top-arrow {
  color: var(--accent-2);
  text-shadow: 0 0 18px rgba(98, 207, 255, .5);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .section {
    padding: 82px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  body.menu-open .nav-links {
    position: fixed;
    inset: 70px 14px auto 14px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(17, 17, 22, 0.98);
    box-shadow: var(--shadow);
  }

  body.menu-open .nav-links a {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
  }

  body.menu-open .nav-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.menu-open .nav-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 64px 0 70px;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 6.4rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 190px;
  }

  .service-number {
    margin-bottom: 34px;
  }

  .contact-link {
    display: grid;
    gap: 6px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
}

/* Página El estudio */
.studio-page {
  background: #050507;
}

.studio-page .site-header {
  background: rgba(5, 5, 7, 0.76);
}

.studio-page .nav-links a[aria-current="page"] {
  color: var(--text);
}

.studio-about-hero {
  height: 220svh;
  min-height: 100svh;
  position: relative;
  overflow: clip;
}

.studio-about-hero__sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.studio-about-hero__sticky img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  will-change: transform;
}

.studio-about-hero__sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.16) 18%, rgba(5,5,7,.24) 48%, #050507 100%);
}

.studio-about-hero__content {
  position: relative;
  padding-top: 180px;
  padding-bottom: 72px;
}

.studio-about-hero .section-kicker {
  margin-bottom: 24px;
}

.studio-about-hero h1 {
  max-width: 980px;
  margin: 0;
  opacity: 0;
  color: transparent;
  font-size: clamp(4rem, 10vw, 9.5rem);
  line-height: .84;
  letter-spacing: -.075em;
  transition: opacity 220ms linear;
}

.studio-about-hero h1 .reveal-char {
  color: rgba(255,255,255,.2);
  transition: color 80ms linear, text-shadow 120ms linear;
}

.studio-about-hero h1 .reveal-char.is-revealed {
  color: #fff;
  text-shadow: 0 2px 22px rgba(0,0,0,.42);
}

.studio-about-hero__lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.studio-about-hero__animated-copy {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(14px);
  transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 850ms cubic-bezier(.2,.7,.2,1), filter 720ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform, filter;
}

.studio-about-hero__animated-copy.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.studio-story {
  padding-top: 150px;
  padding-bottom: 150px;
}

.studio-story__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: start;
}

.studio-story h2,
.studio-values h2,
.studio-visit h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .9;
  letter-spacing: -.065em;
}

.studio-story__title {
  display: inline-block;
  color: var(--text);
  font-size: clamp(2.45rem, 5.4vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: .92;
  text-shadow: 0 2px 22px rgba(98, 207, 255, .16);
  transform-origin: 48% 56%;
  animation: mixTitleTremble 3.2s ease-in-out infinite;
}

.studio-story__copy {
  display: grid;
  gap: 26px;
  padding-top: 8px;
}

.studio-story__copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.7;
}

.studio-story__copy p:first-child {
  color: var(--text);
}

.studio-values {
  padding-top: 20px;
  padding-bottom: 150px;
}

.studio-values h2 {
  max-width: 950px;
  margin-bottom: 72px;
}

.studio-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.studio-value {
  padding: 34px 34px 44px 0;
  border-bottom: 1px solid var(--line);
}

.studio-value + .studio-value {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.studio-value span {
  color: var(--accent-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.studio-value h3 {
  margin: 36px 0 16px;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
}

.studio-value p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.studio-gallery-page {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8px;
  padding: 0 8px;
}

.studio-gallery-page img {
  width: 100%;
  height: min(72vw, 780px);
  object-fit: cover;
}

.studio-gallery-page img:last-child {
  object-position: center;
}

.studio-visit {
  padding-top: 150px;
  padding-bottom: 150px;
}

.studio-visit__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
}

.studio-visit h2 {
  max-width: 900px;
}

.studio-visit__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 34px;
  border: 1px solid rgba(184, 237, 255, .65);
  border-radius: 999px;
  color: #06131a;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 0 rgba(98, 207, 255, 0);
  transition: box-shadow 300ms ease, filter 260ms ease, transform 220ms ease;
  will-change: transform;
}

.studio-visit__button:hover,
.studio-visit__button:focus-visible {
  color: #06131a;
  box-shadow: 0 0 32px rgba(98, 207, 255, .38), inset 0 0 18px rgba(255,255,255,.16);
  filter: drop-shadow(0 0 16px rgba(98, 207, 255, .45));
  transform: translateY(-4px);
}

@media (max-width: 760px) {
  .studio-about-hero {
    height: 210svh;
  }

  .studio-about-hero__content {
    padding-bottom: 42px;
  }

  .studio-about-hero h1 {
    font-size: clamp(3.8rem, 19vw, 6.5rem);
  }

  .studio-about-hero__lead {
    margin-top: 24px;
    font-size: 1.04rem;
  }

  .studio-story {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .studio-story__grid,
  .studio-visit__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .studio-values {
    padding-bottom: 100px;
  }

  .studio-values h2 {
    margin-bottom: 46px;
  }

  .studio-values__grid {
    grid-template-columns: 1fr;
  }

  .studio-value,
  .studio-value + .studio-value {
    padding: 28px 0 34px;
    border-left: 0;
  }

  .studio-gallery-page {
    grid-template-columns: 1fr;
  }

  .studio-gallery-page img {
    height: 75vw;
  }

  .studio-visit {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .studio-visit__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-about-hero {
    height: auto;
  }

  .studio-about-hero__sticky {
    position: relative;
  }

  .studio-about-hero h1 {
    opacity: 1;
  }

  .studio-about-hero h1 .reveal-char {
    color: #fff;
    transition: none;
  }

  .studio-about-hero__sticky img {
    transform: none !important;
  }

  .studio-about-hero__animated-copy {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Portada fotográfica a pantalla completa */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  right: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(4, 8, 12, 0.82), rgba(4, 8, 12, 0));
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(245, 240, 232, 0.08);
}

.logo {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: block;
}

.hero-fullscreen {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #071017;
}

.hero-fullscreen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.002);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 10, 0.38) 0%, transparent 30%, transparent 58%, rgba(2, 6, 10, 0.78) 100%),
    linear-gradient(90deg, rgba(2, 6, 10, 0.24), transparent 35%, transparent 72%, rgba(2, 6, 10, 0.18));
}

.hero-signature {
  position: absolute;
  right: 0;
  bottom: 46px;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}

.hero-signature span {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-signature strong {
  color: rgba(245, 240, 232, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  right: 22px;
  bottom: 44px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 10px;
  color: rgba(245, 240, 232, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

@media (min-width: 1280px) {
  .hero-scroll {
    display: flex;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: linear-gradient(180deg, rgba(4, 8, 12, 0.88), rgba(4, 8, 12, 0));
  }

  .hero-fullscreen > img {
    object-position: 52% center;
  }

  .hero-signature {
    bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-signature strong {
    padding-left: 20px;
    font-size: 0.68rem;
  }
}


/* Selected Works */
.selected-works {
  padding-bottom: 24px;
  background: #050507;
}

.works-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}

.works-heading h2 {
  margin-bottom: 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.work-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card);
  isolation: isolate;
}

.work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2,.7,.2,1), filter 450ms ease;
}

.work-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 18px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 30%, rgba(0,0,0,.88) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.work-index,
.work-platform {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.work-platform {
  white-space: nowrap;
}

.work-meta {
  display: grid;
  gap: 4px;
}

.work-meta strong {
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  letter-spacing: -.05em;
  line-height: .95;
}

.work-meta > span {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  font-weight: 700;
}

.work-meta small {
  max-width: 290px;
  margin-top: 8px;
  color: rgba(255,255,255,.68);
  font-size: .7rem;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.work-card:hover img,
.work-card:focus-visible img {
  transform: scale(1.045);
  filter: brightness(.74);
}

.work-card:hover .work-overlay,
.work-card:focus-visible .work-overlay {
  opacity: 1;
}

.artist-credits {
  padding-top: 130px;
  padding-bottom: 140px;
  background: #050507;
}

.credits-content {
  text-align: center;
}

.credits-content h2 {
  display: inline-block;
  margin-bottom: 72px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  font-size: clamp(4rem, 10vw, 9rem);
  letter-spacing: -.075em;
}

.credits-names {
  margin: 0 auto;
  max-width: 1380px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.credits-names span {
  color: var(--accent-2);
  font-weight: 400;
}

@media (max-width: 980px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card:last-child {
    grid-column: 1 / 3;
    aspect-ratio: 2 / 1;
  }
}

@media (hover: none) {
  .work-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 32%, rgba(0,0,0,.9) 100%);
  }
}

@media (max-width: 760px) {
  .selected-works {
    padding-bottom: 10px;
  }

  .works-heading {
    display: block;
    margin-bottom: 30px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .work-card,
  .work-card:last-child {
    grid-column: auto;
    aspect-ratio: 1;
  }

  .work-overlay {
    grid-template-columns: auto 1fr;
    padding: 18px;
  }

  .work-platform {
    display: none;
  }

  .artist-credits {
    padding-top: 88px;
    padding-bottom: 96px;
  }

  .credits-content h2 {
    margin-bottom: 44px;
  }

  .credits-names {
    font-size: clamp(1.45rem, 7vw, 2.2rem);
    line-height: 1.36;
  }
}
