﻿/* Grupo Zaid Â· experiencia visual compacta */
.section {
  padding-block: clamp(3.75rem, 6vw, 6rem);
}

.section--compact {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.display {
  font-size: clamp(2.8rem, 5vw, 5.75rem);
  line-height: .92;
}

.section-title {
  font-size: clamp(2.4rem, 4.8vw, 5.4rem);
  line-height: .94;
}

.page-hero {
  min-height: clamp(460px, 62svh, 620px);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.hero {
  min-height: clamp(620px, 82svh, 790px);
  padding-top: clamp(.75rem, 1.8vw, 1.75rem);
}

.hero__grid {
  min-height: auto;
  align-items: center;
}

.hero__copy {
  padding-block: clamp(.5rem, 1.5vw, 1.5rem);
}

.hero__actions {
  margin-top: clamp(1.25rem, 2vw, 2rem);
}

.split {
  gap: clamp(2.5rem, 6vw, 6rem);
}

.card,
.gallery-card,
.step,
.service-card {
  padding: clamp(1.25rem, 2vw, 2rem);
}

.studio-slide {
  min-height: clamp(24rem, 42vw, 34rem);
}

/* Preloader: aro corporativo y salida sincronizada */
.site-loader__ring {
  position: relative;
  width: clamp(7rem, 12vw, 10rem);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from 15deg, #0078cc, #55bfff 28%, #f56b1f 54%, #c9272c 76%, #0078cc);
  animation: loader-ring-spin 1.8s linear infinite;
}

.site-loader__ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: var(--color-background, #081522);
}

.site-loader__ring::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid color-mix(in srgb, #55bfff 45%, transparent);
  border-radius: inherit;
  box-shadow: 0 0 2.4rem rgba(0, 120, 204, .25);
}

@keyframes loader-ring-spin {
  to { transform: rotate(1turn); }
}

/* Hero WebGL y mosaico de cuatro Ã¡reas */
.hero-art {
  isolation: isolate;
  aspect-ratio: 1;
  max-height: min(62svh, 610px);
}

.hero-art__core,
.hero-art__orbit,
.hero-art__tile {
  z-index: 2;
}

.three-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
}

.three-scene canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.three-scene--hero {
  z-index: 1;
  opacity: .92;
}

.hero-art.is-webgl .hero-art__orbit {
  opacity: .38;
}

.hero-art__core,
.hero-art__orbit,
.hero-art__orbit::before,
.hero-art__orbit::after {
  aspect-ratio: 1;
  border-radius: 50% !important;
}

.hero-art__core {
  animation: hero-core-breathe 5.8s ease-in-out infinite;
}

@keyframes hero-core-breathe {
  0%, 100% { transform: scale(.98); filter: saturate(.95); }
  50% { transform: scale(1.025); filter: saturate(1.18); }
}

.hero-art__tile {
  width: clamp(8rem, 12vw, 10.25rem);
  min-height: 6.5rem;
  padding: .95rem 1rem;
  border: 1px solid rgba(185, 199, 210, .25);
  background: rgba(8, 21, 34, .72);
  backdrop-filter: blur(16px);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .22);
}

.hero-art__tile--one {
  top: 9%;
  right: -2%;
}

.hero-art__tile--two {
  right: 2%;
  bottom: 8%;
}

.hero-art__tile--three {
  left: -2%;
  bottom: 10%;
}

.hero-art__tile--four {
  top: 12%;
  left: 0;
}

.hero-art__tile strong {
  display: block;
  margin-bottom: .3rem;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
}

.hero-art__tile span {
  font-size: .76rem;
  line-height: 1.35;
}

/* Franja de vidrio azul y lÃ­nea tricolor */
.marquee,
.ticker {
  position: relative;
  overflow: hidden;
  color: var(--color-text, #f3f7fa);
  background:
    linear-gradient(110deg, rgba(0, 59, 99, .78), rgba(14, 32, 48, .92)),
    rgba(8, 21, 34, .86);
  border-block: 1px solid rgba(85, 191, 255, .18);
  backdrop-filter: blur(18px);
}

.marquee::before,
.ticker::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: -45%;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, #0078cc, #f56b1f, #c9272c);
  box-shadow: 0 0 1rem rgba(245, 107, 31, .4);
  animation: tri-line 7s linear infinite;
}

@keyframes tri-line {
  to { left: 100%; }
}

.marquee__track,
.ticker__track {
  padding-block: .8rem;
  font-size: clamp(.72rem, .9vw, .88rem);
  letter-spacing: .14em;
}

/* Overlay 42/58 */
.mobile-nav.menu-experience {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: stretch;
  inset: 0;
  padding: 0;
  overflow: hidden;
  color: #17212b;
  background: #081522;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.2rem);
  transition: opacity .45s ease, transform .55s cubic-bezier(.16, 1, .3, 1), visibility .45s;
}

.mobile-nav.menu-experience.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu-experience__visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  color: #f3f7fa;
  background:
    radial-gradient(circle at 22% 22%, rgba(0, 120, 204, .2), transparent 34%),
    radial-gradient(circle at 75% 70%, rgba(201, 39, 44, .18), transparent 34%),
    #081522;
}

.menu-experience__visual::after {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(85, 191, 255, .2);
  border-radius: 1.4rem;
  pointer-events: none;
}

.menu-experience__eyebrow,
.menu-experience__caption {
  position: absolute;
  z-index: 3;
  left: clamp(2rem, 4vw, 4.5rem);
}

.menu-experience__eyebrow {
  top: clamp(2rem, 5vw, 4.5rem);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.menu-experience__caption {
  bottom: clamp(2rem, 5vw, 4.5rem);
  max-width: 25rem;
  font-size: clamp(1.35rem, 2.25vw, 2.6rem);
  line-height: 1.05;
}

.three-scene--menu {
  inset: 8%;
}

.menu-experience__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.5rem, 4vw, 4.5rem) clamp(1.5rem, 6vw, 7rem);
  overflow-y: auto;
  background: #f3efe6;
}

.menu-experience__close {
  align-self: flex-end;
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(23, 33, 43, .22);
  border-radius: 50%;
  color: #17212b;
  background: transparent;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.menu-experience__close:hover,
.menu-experience__close:focus-visible {
  color: #fff;
  background: #17212b;
  transform: rotate(8deg);
}

.menu-experience__nav {
  margin-block: auto;
}

.menu-experience__nav a {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: .85rem;
  padding-block: clamp(.55rem, 1.1vh, .95rem);
  border-bottom: 1px solid rgba(23, 33, 43, .16);
  color: #17212b;
  font-size: clamp(1.35rem, 2.7vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.04em;
  transition: color .25s ease, padding-left .25s ease;
}

.menu-experience__nav a::after {
  content: "\2197";
  font-size: .75em;
  opacity: 0;
  transform: translate(-.5rem, .35rem);
  transition: opacity .25s ease, transform .25s ease;
}

.menu-experience__nav a:hover,
.menu-experience__nav a:focus-visible {
  padding-left: .5rem;
  color: #0078cc;
}

.menu-experience__nav a:hover::after,
.menu-experience__nav a:focus-visible::after {
  opacity: 1;
  transform: none;
}

.menu-experience__index {
  font: 500 .64rem/1 var(--font-mono, monospace);
  letter-spacing: .1em;
}

.menu-experience__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: .78rem;
}

body.menu-open {
  overflow: hidden;
}

/* Preview abstracta en enlaces y tarjetas */
.text-hover-preview {
  position: fixed;
  z-index: 180;
  width: clamp(9rem, 14vw, 13rem);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 1rem;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.88) rotate(-3deg);
  transition: opacity .2s ease, transform .28s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, .32);
}

.text-hover-preview.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1) rotate(0);
}

.text-hover-preview::before,
.text-hover-preview::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.text-hover-preview::before {
  inset: -24% 18% 10% -15%;
  border: 1px solid rgba(255, 255, 255, .52);
}

.text-hover-preview::after {
  width: 42%;
  aspect-ratio: 1;
  right: 9%;
  bottom: 10%;
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 0 2rem currentColor;
}

.text-hover-preview[data-preview="ti"] { color: #55bfff; background: linear-gradient(135deg, #003b63, #07131f); }
.text-hover-preview[data-preview="educacion"] { color: #ff9a57; background: linear-gradient(135deg, #7c3515, #17100d); }
.text-hover-preview[data-preview="musica"] { color: #ff6b70; background: linear-gradient(135deg, #6d1730, #17101a); }
.text-hover-preview[data-preview="dj"] { color: #b8f331; background: linear-gradient(135deg, #152f39, #0b1216); }
.text-hover-preview[data-preview="general"] { color: #f56b1f; background: linear-gradient(135deg, #003b63, #311014); }

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-art {
    max-height: none;
  }

  .mobile-nav.menu-experience {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(13rem, 34svh) 1fr;
    overflow-y: auto;
  }

  .menu-experience__visual {
    min-height: 13rem;
  }

  .menu-experience__panel {
    min-height: 66svh;
  }

  .menu-experience__caption {
    max-width: 70%;
  }

  .menu-experience__nav a {
    font-size: clamp(1.4rem, 7vw, 2.35rem);
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 3.25rem;
  }

  .display {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .section-title {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .page-hero {
    min-height: auto;
    padding-block: 2.5rem;
  }

  .hero-art__tile {
    width: 7.25rem;
    min-height: 5.7rem;
    padding: .7rem;
  }

  .hero-art__tile--one { top: 2%; right: 0; }
  .hero-art__tile--two { right: 0; bottom: 2%; }
  .hero-art__tile--three { left: 0; bottom: 2%; }
  .hero-art__tile--four { top: 2%; left: 0; }

  .menu-experience__panel {
    padding: 1.25rem;
  }

  .menu-experience__meta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader__ring,
  .hero-art__core,
  .marquee::before,
  .ticker::before {
    animation: none !important;
  }

  .three-scene,
  .text-hover-preview {
    display: none !important;
  }
}

/* El aro real del preloader conserva una geometrÃ­a circular y los tres acentos. */
.motion-loader__stage { aspect-ratio:1 !important; border:0 !important; border-radius:50% !important; background:conic-gradient(from 15deg,#0078cc,#55bfff 28%,#f56b1f 55%,#c9272c 78%,#0078cc); padding:3px; box-shadow:0 0 5rem rgba(0,120,204,.18); }
.motion-loader__stage::before { inset:3px !important; border:0 !important; border-radius:50% !important; background:#081522 !important; }
.motion-loader__stage::after { top:4% !important; left:48% !important; width:.8rem !important; background:#f56b1f !important; box-shadow:0 0 1.5rem #f56b1f !important; }
.motion-loader__stage img { filter:brightness(0) invert(1); }

/* Ajustes finales de composiciÃ³n en escritorio */
.mobile-nav.menu-experience {
  position: fixed !important;
  z-index: 12000 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100svh !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

@media (min-width: 1100px) {
  .hero__grid > :first-child { width: min(59%, 49rem); }
  .hero .display { max-width: 23ch; font-size: clamp(3.2rem, 4.45vw, 4.8rem); }
  .hero .lead { max-width: 35rem; margin: 1.2rem 0 0; }
  .hero .hero__actions { justify-content: flex-start; margin-right: 0; }
  .hero__note { margin: 1.15rem 0 0; }
  .hero-art { top: 53%; left: 76%; width: clamp(29rem, 36vw, 34rem); height: clamp(29rem, 36vw, 34rem); }
}

.hero-art__tile { z-index:5; }
.hero-art__tile--two { left:auto; }
.hero-art__tile--three { right:auto; }
.menu-experience__meta a { padding:0; color:#53616d; font-size:.78rem; line-height:1.4; letter-spacing:0; }
.menu-experience__meta a:hover, .menu-experience__meta a:focus-visible { color:#0078cc; }


/* Cambios a considerar 02: escala editorial, cursor y cobertura */
.section { padding-block: clamp(2.8rem, 4.4vw, 4.75rem); }
.section--compact { padding-block: clamp(2rem, 3vw, 3rem); }
.page-hero { min-height: clamp(400px, 52svh, 540px); padding-block: clamp(2rem, 3.8vw, 3.75rem); }
.page-hero .display--medium { max-width: 13ch; font-size: clamp(2.75rem, 5.15vw, 5rem); }
.page-hero .lead { margin-top: 1rem; font-size: clamp(.98rem, 1.45vw, 1.15rem); line-height: 1.65; }
.logo-panel { min-height: clamp(17rem, 25vw, 21rem); padding: clamp(1.4rem, 2.5vw, 2.25rem); }
.logo-panel img { max-height: clamp(8rem, 12vw, 10rem); }
.card { min-height: clamp(17rem, 24vw, 23rem); padding: clamp(1.25rem, 2.25vw, 2.25rem); }
.card h3 { font-size: clamp(1.75rem, 2.8vw, 3.1rem); }
.gallery-card { min-height: 15rem; }
.step { padding-block: 1.1rem; }
.split { gap: clamp(2.5rem, 5vw, 5rem); }
.media-stage { max-width: 70rem; margin-inline: auto; grid-template-columns: minmax(0, 1.25fr) minmax(14rem, .5fr); }
.media-stage__title { font-size: clamp(1.2rem, 2vw, 1.85rem); }
.audio-deck { max-width: 70rem; margin-inline: auto; }
.audio-deck__console { top: 5.5rem; }

.brand--specialized { gap: .7rem; }
.brand--specialized img { width: auto; max-width: 10.5rem; height: 3.35rem; object-fit: contain; }
.brand--music img { width: 2.85rem; height: 2.85rem; }
.brand__service-name { color: var(--color-text); font-family: "GZ Display", sans-serif; font-size: clamp(.9rem, 1.25vw, 1.08rem); font-weight: 760; letter-spacing: -.025em; white-space: nowrap; }

.motion-cursor { width: 1.15rem; height: 1.15rem; border-color: rgba(85,191,255,.82); background: rgba(8,21,34,.08); backdrop-filter: none; }
.motion-cursor::before { position:absolute; inset:35%; border-radius:50%; background:#f56b1f; content:""; transition:transform .25s ease, opacity .25s ease; }
.motion-cursor::after { position:absolute; inset:-.45rem; border:1px solid rgba(85,191,255,.24); border-radius:50%; content:""; animation:cursor-orbit 2.8s linear infinite; }
.motion-cursor__label { position:relative; z-index:2; opacity:0; transform:scale(.75); transition:opacity .2s ease, transform .25s ease; }
.motion-cursor.is-link { width:4.25rem; height:4.25rem; border-color:transparent; background:#f56b1f; color:#101010; }
.motion-cursor.is-link::before { opacity:0; transform:scale(0); }
.motion-cursor.is-link::after { inset:-.3rem; border-color:rgba(245,107,31,.45); }
.motion-cursor.is-link .motion-cursor__label { opacity:1; transform:scale(1); }
.motion-cursor.is-interactive:not(.is-link) { width:2.2rem; height:2.2rem; border-color:#f56b1f; }
@keyframes cursor-orbit { to { transform:rotate(1turn); } }

.text-hover-preview { width:clamp(11rem,16vw,15rem); aspect-ratio:16/10; }
.text-hover-preview__label { position:absolute; z-index:3; right:.8rem; bottom:.7rem; left:.8rem; color:#fff; font-family:"GZ Display",sans-serif; font-size:1rem; line-height:1.05; text-shadow:0 2px 14px rgba(0,0,0,.55); }
.menu-experience__nav a > span:nth-child(2) { display:inline-block; transform-origin:left center; transition:transform .35s cubic-bezier(.16,1,.3,1), letter-spacing .35s ease; }
.menu-experience__nav a:hover > span:nth-child(2), .menu-experience__nav a:focus-visible > span:nth-child(2) { transform:translateX(.35rem) skewX(-5deg); letter-spacing:-.055em; }

.coverage-panel { position:relative; overflow:hidden; border-block:1px solid var(--color-border); background:linear-gradient(115deg,rgba(0,59,99,.22),rgba(20,42,59,.58),rgba(201,39,44,.08)); }
.coverage-panel::after { position:absolute; width:18rem; aspect-ratio:1; right:-7rem; top:50%; border:1px solid rgba(245,107,31,.32); border-radius:50%; content:""; transform:translateY(-50%); }
.coverage-panel__grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(12rem,.55fr) minmax(0,1.45fr); gap:clamp(1.5rem,4vw,4rem); align-items:start; }
.coverage-panel h2 { margin:.35rem 0 0; font-size:clamp(1.8rem,3.2vw,3.35rem); line-height:1; }
.coverage-panel p { max-width:48rem; margin:0; color:var(--color-text-muted); font-size:clamp(.98rem,1.35vw,1.1rem); line-height:1.7; }
.footer__coverage { margin:0 0 1.35rem; padding:1rem 0; border-block:1px solid var(--color-border); color:var(--color-text-muted); font-size:.78rem; text-align:center; }

@media (max-width:900px) {
  .media-stage { grid-template-columns:1fr; }
  .coverage-panel__grid { grid-template-columns:1fr; }
  .brand--specialized img { max-width:8.5rem; height:2.8rem; }
}
@media (max-width:620px) {
  .page-hero .display--medium { font-size:clamp(2.5rem,12vw,3.65rem); }
  .logo-panel { min-height:14rem; }
  .card { min-height:15rem; }
  .brand__service-name { display:none; }
}
@media (prefers-reduced-motion:reduce) { .motion-cursor::after { animation:none; } }

.section-title { font-size:clamp(2.15rem,3.9vw,4.4rem); }
.media-stage, .audio-deck { max-width:64rem; }


/* Video 03 Â· compactaciÃ³n, tipografÃ­a cinÃ©tica y menÃº editorial */
.display .gradient-text--forward {
  background-image: linear-gradient(95deg, var(--studio-orange), var(--studio-red) 48%, var(--studio-cyan));
  background-size: 220% 100%;
}

.display .gradient-text--reverse {
  background-image: linear-gradient(95deg, var(--studio-orange) 0%, var(--studio-red) 32%, var(--color-text) 76%, var(--color-text) 100%);
  background-size: 240% 100%;
  animation: headline-gradient-reverse 5.6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 1.7rem color-mix(in srgb, var(--studio-orange) 18%, transparent));
}

@keyframes headline-gradient-reverse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

main > .section,
.media-section {
  padding-block: clamp(2.65rem, 4.2vw, 4.75rem);
}

main > .section--compact {
  padding-block: clamp(1.9rem, 3vw, 3.1rem);
}

.hero {
  min-height: clamp(550px, 72svh, 690px);
  padding-block: clamp(.35rem, 1vw, .9rem);
}

.page-hero {
  min-height: clamp(390px, 51svh, 510px);
  padding-block: clamp(1.65rem, 3vw, 3rem);
}

.section-head,
.media-intro {
  margin-bottom: clamp(1.35rem, 2.4vw, 2.35rem);
}

.studio-slide {
  min-height: clamp(20rem, 34vw, 27rem);
}

.studio-slider__footer,
.studio-slider__controls {
  margin-top: clamp(.75rem, 1.4vw, 1.25rem);
}

.brand__parent {
  flex: 0 0 auto;
  margin-left: clamp(-.25rem, -.4vw, 0rem);
  color: var(--color-text-muted);
  font: 400 clamp(.56rem, .65vw, .68rem)/1 "GZ Audio", "GZ Display", sans-serif;
  letter-spacing: .035em;
  white-space: nowrap;
  transition: color .25s ease, transform .25s ease;
}

.brand__parent:hover,
.brand__parent:focus-visible {
  color: var(--color-action-light);
  transform: translateY(-1px);
}

.menu-experience__visual {
  isolation: isolate;
}

.menu-experience__art {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  opacity: .82;
  filter: saturate(.9) contrast(1.06);
  transform: scale(1.035);
  animation: menu-art-breathe 12s ease-in-out infinite alternate;
  transition: filter .65s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}

.menu-experience__visual::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,21,34,.3), rgba(8,21,34,.05) 42%, rgba(8,21,34,.82));
  content: "";
  pointer-events: none;
}

.menu-experience__visual[data-preview="ti"] .menu-experience__art { filter: saturate(.95) hue-rotate(-8deg) contrast(1.08); transform: scale(1.06) translate3d(-1%,0,0); }
.menu-experience__visual[data-preview="educacion"] .menu-experience__art { filter: saturate(1.08) hue-rotate(9deg) contrast(1.05); transform: scale(1.06) translate3d(1%,-1%,0); }
.menu-experience__visual[data-preview="musica"] .menu-experience__art { filter: saturate(1.18) hue-rotate(-16deg) contrast(1.08); transform: scale(1.065) translate3d(0,1%,0); }
.menu-experience__visual[data-preview="dj"] .menu-experience__art { filter: saturate(1.25) hue-rotate(14deg) contrast(1.12); transform: scale(1.07); }

@keyframes menu-art-breathe {
  from { transform: scale(1.035) translate3d(0,0,0); }
  to { transform: scale(1.075) translate3d(0,-1.2%,0); }
}

.audio-deck {
  max-width: 78rem;
  grid-template-columns: 1fr;
}

.audio-deck__browser {
  grid-row: 1;
  width: min(100%, 72rem);
  margin-inline: auto;
}

.audio-deck__console {
  position: relative;
  top: auto;
  grid-row: 2;
  width: min(100%, 78rem);
  margin-top: clamp(.75rem, 1.5vw, 1.35rem);
}

.audio-deck__filters,
.audio-deck__pagination {
  justify-content: center;
}

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

.audio-deck__player,
.audio-deck__player iframe,
.audio-deck__placeholder {
  min-height: 140px;
  height: 140px;
}

.equalizer {
  max-width: 42rem;
  margin-inline: auto;
}

.media-stage__external {
  position: absolute;
  z-index: 3;
  right: .75rem;
  bottom: .75rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  color: #fff;
  font-size: .72rem;
  background: rgba(8,21,34,.86);
  backdrop-filter: blur(10px);
}

.media-stage__local-notice {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  color: #fff;
  text-align: center;
  background: rgba(8,21,34,.8);
  backdrop-filter: blur(8px);
}

.media-stage__local-notice p { max-width: 34rem; margin: 0; }

@media (max-width: 1100px) {
  .brand__parent { display: none; }
}

@media (max-width: 760px) {
  main > .section,
  .media-section { padding-block: 2.35rem; }
  .hero { min-height: auto; padding-block: 1.25rem 2.25rem; }
  .page-hero { min-height: auto; padding-block: 1.5rem 2.5rem; }
  .studio-slide { min-height: 19rem; }
  .audio-deck__list { grid-template-columns: 1fr; }
  .menu-experience__art { opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
  .display .gradient-text--reverse,
  .menu-experience__art { animation: none; }
}

.brand-cluster { display: flex; min-width: 0; gap: clamp(.65rem, 1vw, 1rem); align-items: center; }
.brand-cluster .brand__parent { margin-left: 0; }


/* Video 04 - compact layout, geometry and editorial hierarchy */
.motion-loader__stage { translate: 0 -4svh; }
.motion-loader__count { translate: 0 -.35rem; }

.hero {
  min-height: clamp(500px, 65svh, 620px);
  padding-block: 0;
}

.hero__grid { translate: 0 clamp(-1.4rem, -2.2svh, -.65rem); }

main > .section,
.media-section { padding-block: clamp(2rem, 3.2vw, 3.6rem); }

main > .section--compact { padding-block: clamp(1.5rem, 2.35vw, 2.5rem); }

.section-head,
.media-intro { margin-bottom: clamp(1rem, 1.7vw, 1.65rem); }

.studio-slide {
  min-height: clamp(17.5rem, 27vw, 22.5rem);
  padding: clamp(1.4rem, 3vw, 3rem);
}

.studio-slide h3 {
  margin-top: clamp(2rem, 3.2vw, 3rem);
  font-size: clamp(2.35rem, 4vw, 4.2rem);
}

.studio-slide::before {
  right: 9%;
  bottom: -47%;
  width: min(43vw, 31rem);
  border-width: clamp(1.4rem, 5vw, 4.5rem);
}

.studio-slider__button {
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.05rem;
}

.studio-slider__controls { margin-top: .65rem; }
.studio-slide .mt-2 { margin-top: 1rem; }

.page-hero {
  min-height: clamp(350px, 45svh, 450px);
  padding-block: clamp(1.1rem, 2.3vw, 2.1rem);
}

.page-hero .split { align-items: center; }

.logo-panel {
  position: relative;
  justify-self: center;
  width: min(100%, 20rem);
  min-height: 0;
  aspect-ratio: 1;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(85,191,255,.32), transparent 28%),
    radial-gradient(circle at 70% 76%, rgba(201,39,44,.3), transparent 35%),
    radial-gradient(circle at 55% 58%, rgba(245,107,31,.18), transparent 45%),
    var(--color-surface-soft);
  box-shadow: inset 0 0 0 1px rgba(85,191,255,.12), 0 1.5rem 4rem rgba(0,0,0,.2);
}

.logo-panel::before {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(245,107,31,.34);
  border-radius: 50%;
  content: "";
  animation: logo-panel-orbit 13s linear infinite;
  pointer-events: none;
}

.logo-panel img {
  position: relative;
  z-index: 1;
  max-width: 76%;
  max-height: 8rem;
}

@keyframes logo-panel-orbit { to { rotate: 1turn; } }

.brand-cluster {
  display: grid;
  grid-template-rows: auto auto;
  gap: .05rem;
  align-items: center;
}

.brand-cluster .brand__parent {
  justify-self: end;
  margin: -.2rem .15rem 0 0;
  font-size: clamp(.5rem, .58vw, .62rem);
}

.footer { padding-block: clamp(2.5rem, 4vw, 4rem) 1.35rem; }
.footer__grid { gap: clamp(1.5rem, 3vw, 2.5rem); }
.footer__brand img { width: min(12rem, 72%); }

.footer__brand p {
  margin-top: .75rem;
  font-size: .82rem;
  line-height: 1.45;
}

.footer__coverage {
  margin-bottom: .7rem;
  padding: .7rem 0;
}

.footer__bottom {
  min-height: 0;
  margin-top: 1.35rem;
  padding-top: 1rem;
}

.contact-panel {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .motion-loader__stage { translate: 0 -2svh; }
  .hero__grid { translate: 0; }
  .studio-slide { min-height: 17rem; }
  .studio-slide h3 { margin-top: 3rem; font-size: clamp(2.25rem, 11vw, 3.6rem); }
  .logo-panel { width: min(16rem, 76vw); }
  .brand-cluster .brand__parent { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-panel::before { animation: none; }
}



/* Video 05 - responsive precision, branded accents and concrete menu photography */
.motion-loader__top { position: relative; z-index: 2; }
.motion-loader__count { font-size: clamp(2.25rem, 5vmin, 4.25rem); translate: 0; }
.motion-loader__stage { position: absolute !important; top: 50%; left: 50%; width: min(52vmin, 18rem) !important; max-width: 18rem; place-self: auto; translate: -50% -50% !important; }
.motion-loader__stage img { width: 32%; }

.display { font-size: clamp(2.35rem, 4.45vw, 4.8rem); }
.page-hero .display--medium { font-size: clamp(2.4rem, 4.4vw, 4.7rem); }
.hero { min-height: clamp(470px, 61svh, 580px); }
.page-hero { min-height: clamp(310px, 40svh, 405px); }
main > .section, .section, .media-section { padding-block: clamp(1.6rem, 2.65vw, 3rem); }
main > .section--compact, .section--compact { padding-block: clamp(1.2rem, 1.9vw, 2rem); }
.section-head, .media-intro { margin-bottom: clamp(.85rem, 1.35vw, 1.3rem); }

.brand::after, .footer__credit::before { background: #c9272c; box-shadow: 0 0 1rem rgba(201,39,44,.72); }
.brand-cluster .brand__parent { display: inline-flex; color: #ff6b70; }
.brand-cluster .brand__parent:hover, .brand-cluster .brand__parent:focus-visible { color: #c9272c; }
.motion-cursor { width: 1rem; height: 1rem; border-color: rgba(201,39,44,.5); background: transparent; }
.motion-cursor::before { inset: 28%; background: #c9272c; box-shadow: 0 0 .85rem rgba(201,39,44,.9); }
.motion-cursor::after { display: none; }
.motion-cursor.is-link { background: #c9272c; color: #fff; }
.motion-cursor.is-interactive:not(.is-link) { border-color: #c9272c; }
.back-to-top, .back-to-top:hover { border-color: #c9272c; background: #c9272c; color: #fff; }

.footer, html[data-theme="light"] .footer { padding-block: clamp(2rem, 3vw, 3rem) 1rem; background: #05080b !important; color: #f3f7fa; }
.footer__bottom { margin-top: 1rem; padding-top: .8rem; }

.menu-experience__visual { background-image: url("../images/menu-services-sprite-v2.webp"); background-repeat: no-repeat; background-size: 300% 200%; background-position: 50% 100%; transition: background-position .65s cubic-bezier(.16,1,.3,1), filter .45s ease; }
.menu-experience__art { display: none; }
.menu-experience__visual[data-preview="general"], .menu-experience__visual[data-preview="nosotros"] { background-position: 50% 100%; }
.menu-experience__visual[data-preview="ti"] { background-position: 0 0; }
.menu-experience__visual[data-preview="educacion"] { background-position: 50% 0; }
.menu-experience__visual[data-preview="musica"] { background-position: 100% 0; }
.menu-experience__visual[data-preview="dj"] { background-position: 0 100%; }
.menu-experience__visual[data-preview="contacto"] { background-position: 100% 100%; }

.field select { color: var(--color-text); color-scheme: dark; background-color: rgba(8,21,34,.92); }
.field select option { color: #f3f7fa; background: #081522; }
html[data-theme="light"] .field select { color: #17212b; color-scheme: light; background-color: #fff; }
html[data-theme="light"] .field select option { color: #17212b; background: #fff; }

@media (max-width: 680px) {
  .motion-loader__stage { width: min(58vmin, 15rem) !important; }
  .motion-loader__label { max-width: 58vw; line-height: 1.35; }
  .display, .page-hero .display--medium { font-size: clamp(2.25rem, 10.2vw, 3.25rem); }
  .hero { min-height: auto; }
  .page-hero { min-height: auto; padding-block: 1.1rem 2rem; }
}

.hero .reveal.is-visible, .page-hero .reveal.is-visible, .section-head.reveal.is-visible, .section-head.reveal.is-visible .section-title { opacity: 1 !important; visibility: visible !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) { .menu-experience__visual { transition: none; } }





/* Video 06 - precisión de composición, contraste musical y estabilidad */
.mobile-nav.menu-experience {
  position: fixed !important;
  inset: 0 !important;
  translate: 0 -105%;
  overscroll-behavior: contain;
}
.mobile-nav.menu-experience.is-open { translate: 0 0; }
body.menu-open { overflow: hidden; }

.hero__grid { translate: 0 !important; padding-top: clamp(.45rem, 1vw, .9rem); }
.hero .eyebrow { margin-left: 0; }
@media (min-width: 1100px) {
  .hero__grid > :first-child { width: min(58%, 48rem); }
  .hero-art { top: 47%; left: 69%; width: clamp(27rem, 34vw, 32rem); height: clamp(27rem, 34vw, 32rem); }
}

.brand-cluster .brand__parent { color: #f3f7fa; }
.brand-cluster .brand__parent:hover,
.brand-cluster .brand__parent:focus-visible { color: #c9272c; }

.brand-card--music::before {
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.92), transparent 7%), linear-gradient(145deg, #e5e9ec, #9da6ad 48%, #353d43);
}
.brand-card--dj::before {
  background: radial-gradient(circle at 30% 28%, #fff, transparent 7%), linear-gradient(145deg, #ff6b70, #c9272c, #5e0d26);
}
.brand-card--music .brand-card__logo img,
.music-page .logo-panel img,
.music-page .social-profile__logo { filter: brightness(0) invert(1); }
.music-page .logo-panel {
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.34), transparent 27%),
    radial-gradient(circle at 68% 74%, rgba(185,199,210,.2), transparent 38%),
    linear-gradient(145deg, #3e474e, #111820 66%);
}
html[data-theme="light"] .brand-card--music .brand-card__logo img,
html[data-theme="light"] .music-page .logo-panel img,
html[data-theme="light"] .music-page .social-profile__logo { filter: none; }
html[data-theme="light"] .music-page .logo-panel {
  background:
    radial-gradient(circle at 30% 24%, #fff, transparent 25%),
    linear-gradient(145deg, #f4f6f7, #d9dfe3 72%);
}

main .reveal.is-visible { opacity: 1 !important; visibility: visible !important; }
main .metric.reveal.is-visible,
main .step.reveal.is-visible,
main .card.reveal.is-visible { transform: none !important; }

.field input,
.field select,
.field textarea {
  min-height: 3.15rem;
  border-color: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-border));
  border-radius: .8rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 72%, transparent), color-mix(in srgb, var(--color-background) 84%, transparent));
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 5%, transparent), 0 .45rem 1.2rem rgba(0,0,0,.08);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: color-mix(in srgb, var(--color-primary-light) 46%, var(--color-border)); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-action-light);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-action) 18%, transparent), 0 .7rem 1.8rem rgba(0,0,0,.12);
  outline: 0;
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea { background: linear-gradient(180deg, #fff, #f4f7f9); }

@media (max-width: 900px) {
  .hero { padding-top: .8rem; }
  .hero__grid { padding-top: 0; }
  .hero .lead { margin: 1rem 0 0; }
  .hero .hero__actions { margin-top: 1.15rem; }
  .hero__note { margin-top: 1rem; }
  .hero-art { top: 58%; left: 68%; opacity: .58; }
}
@media (max-width: 680px) {
  .display,
  .page-hero .display--medium,
  .page-hero h1,
  .page-hero .display { font-size: clamp(2rem, 9vw, 3rem); line-height: .95; }
  .section-title { font-size: clamp(2rem, 10vw, 3.25rem); }
  .hero { padding-block: .7rem 1.5rem; }
  .hero .lead { margin-top: 1rem; font-size: .98rem; line-height: 1.55; }
  .hero-art { top: 62%; left: 78%; width: 20rem; height: 20rem; opacity: .48; }
  .hero .hero__actions { display: flex; }
  .hero .hero__actions .button { width: auto; flex: 1 1 13rem; }
  .brand-card--music .brand-card__logo { background: rgba(17,24,32,.76); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav.menu-experience { transition: none; }
}


/* Símbolo institucional en heroes informativos */
.page-hero > .shell { position: relative; }
.page-hero > .shell > :not(.page-hero__symbol) { position: relative; z-index: 2; }
.page-hero__symbol {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(4rem, 12vw, 12rem);
  display: grid;
  width: clamp(8rem, 15vw, 13rem);
  aspect-ratio: 1;
  place-items: center;
  transform: translateY(-43%);
  border: 1px solid rgba(85,191,255,.22);
  border-radius: 50%;
  background: rgba(8,21,34,.28);
  box-shadow: 0 0 0 clamp(2rem,5vw,5rem) rgba(0,120,204,.055), 0 1.5rem 4rem rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.page-hero__symbol::before {
  position: absolute;
  inset: -18%;
  border: 1px solid rgba(245,107,31,.28);
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  animation: logo-panel-orbit 13s linear infinite;
}
.page-hero__symbol img { width: 58%; filter: brightness(0) invert(1) drop-shadow(0 0 1rem rgba(85,191,255,.38)); }
html[data-theme="light"] .page-hero__symbol { background: rgba(255,255,255,.52); }
html[data-theme="light"] .page-hero__symbol img { filter: none; }
@media (max-width: 900px) {
  .page-hero__symbol { right: 2rem; width: clamp(7rem,18vw,9rem); opacity: .5; }
  .page-hero .display, .page-hero .lead { max-width: 76%; }
}
@media (max-width: 620px) {
  .page-hero__symbol { top: auto; right: .5rem; bottom: .75rem; width: 6.5rem; opacity: .28; }
  .page-hero .display, .page-hero .lead { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .page-hero__symbol::before { animation: none; } }


/* Ajustes finales de navegación, Música y confirmación de formularios */
.mobile-nav.menu-experience { align-content: stretch !important; grid-template-rows: minmax(0, 1fr); }
.brand--music img { filter: none; }
html[data-theme="light"] .brand--music img { filter: brightness(0); }
.music-page .page-hero--music::before {
  background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.7), transparent 7%), linear-gradient(145deg, #cbd2d7, #616b72 48%, #171d22);
}
html[data-theme="light"] .music-page .page-hero--music::before {
  background: radial-gradient(circle at 32% 24%, #fff, transparent 7%), linear-gradient(145deg, #f5f7f8, #c7cdd1 55%, #747d83);
}
.request-success {
  width: min(92vw, 34rem); padding: 0; border: 1px solid color-mix(in srgb, var(--color-primary-light) 34%, transparent); border-radius: 1.5rem;
  color: var(--color-text); background: color-mix(in srgb, var(--color-surface) 94%, transparent); box-shadow: 0 2rem 6rem rgba(0,0,0,.42); backdrop-filter: blur(20px);
}
.request-success::backdrop { background: rgba(3,9,15,.76); backdrop-filter: blur(8px); }
.request-success__panel { position: relative; overflow: hidden; padding: clamp(1.6rem, 5vw, 2.8rem); text-align: center; }
.request-success__panel::before {
  position: absolute; inset: 0 0 auto; height: .22rem; content: ""; background: linear-gradient(90deg, #0078cc, #f56b1f, #c9272c, #0078cc);
  background-size: 220% 100%; animation: request-success-line 4s linear infinite;
}
.request-success__icon {
  display: grid; width: 4rem; aspect-ratio: 1; margin: 0 auto 1rem; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(145deg, #0078cc, #29a36a); box-shadow: 0 0 0 .6rem rgba(41,163,106,.1), 0 1rem 2.5rem rgba(0,120,204,.24); font-size: 1.7rem; font-weight: 800;
}
.request-success h2 { margin: .35rem 0 .8rem; font-size: clamp(1.8rem, 5vw, 2.65rem); }
.request-success p:not(.eyebrow) { margin: 0 auto 1.4rem; color: var(--color-text-muted); line-height: 1.65; }
@keyframes request-success-line { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .request-success__panel::before { animation: none; } }


/* Páginas operativas compactas: contenido y acciones visibles en un solo viewport */
.error-page {
  min-height: calc(100svh - 5rem);
  padding: clamp(1rem, 2vh, 1.6rem) 1.25rem;
}
.error-page > div { width: min(100%, 54rem); }
.error-page > div > img { width: clamp(8rem, 13vw, 11rem) !important; margin-bottom: clamp(.5rem, 1.5vh, 1rem) !important; }
.error-page__code { font-size: clamp(5.5rem, 18vh, 9rem); line-height: .72; }
.error-page .section-title { max-width: 18ch; font-size: clamp(1.8rem, 4.5vh, 3.2rem); line-height: .98; }
.error-page .lead { max-width: 46rem; margin-top: .7rem; font-size: clamp(.9rem, 2vh, 1.08rem); line-height: 1.45; }
.error-page .hero__actions { margin-top: clamp(.8rem, 2vh, 1.25rem); }
.error-orbit { width: min(66vh, 35rem); }
.error-page + .footer { padding-block: 1rem .65rem; }
.error-page + .footer .footer__bottom { margin-top: 0; }

.status-page { min-height: calc(100svh - 4.75rem); padding-block: clamp(1.25rem, 3vh, 2.4rem); }
.status-page__grid { grid-template-columns: minmax(0, 1.08fr) minmax(17rem, .76fr); gap: clamp(2rem, 5vw, 5rem); }
.status-page__brand { width: clamp(8rem, 12vw, 11rem); margin-bottom: clamp(1rem, 2.5vh, 2rem); }
.status-page h1 { max-width: 11ch; font-size: clamp(3rem, 7vh, 5.5rem); line-height: .88; }
.status-page .lead { max-width: 45rem; margin-top: 1rem; font-size: clamp(.92rem, 1.8vh, 1.1rem); line-height: 1.5; }
.status-page .hero__actions { margin-top: clamp(1rem, 2.5vh, 1.6rem); }
.status-list { margin-top: clamp(1rem, 2.5vh, 1.6rem); }
.status-machine { width: min(35vw, 27rem); }
.status-footer { padding-block: 1rem .65rem; }
.status-footer .footer__bottom { margin-top: 0; }
@media (max-width: 800px) {
  .status-page { min-height: auto; }
  .status-page__grid { grid-template-columns: 1fr; }
  .status-machine { width: min(46vw, 16rem); grid-row: 1; }
  .status-page__content { grid-row: 2; }
  .status-page__brand { margin-bottom: 1rem; }
}
@media (max-width: 540px) {
  .error-page { min-height: calc(100svh - 4rem); }
  .error-page__code { font-size: clamp(4.5rem, 16vh, 7rem); }
  .error-page .hero__actions, .status-page .hero__actions { gap: .55rem; }
  .error-page .button, .status-page .button { min-height: 2.8rem; padding: .7rem 1rem; }
  .status-machine { width: min(52vw, 12rem); }
  .status-page h1 { font-size: clamp(2.45rem, 11vw, 3.35rem); }
  .status-list { gap: .55rem 1rem; }
}
