/* Central Estudio - Static CSS */

/* CSS Variables */
:root {
  --radius: 0.625rem;
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.18 0 0);
  --card-foreground: oklch(0.985 0 0);
  --muted: oklch(0.22 0 0);
  --muted-foreground: oklch(0.87 0 0);
  --border: oklch(1 0 0 / 10%);
  --purple: #6200F5;
  --orange: #EB003B;
  --gradient-primary: linear-gradient(to right, #6200F5, #EB003B);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bebas Neue", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Navigation */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgba(10, 10, 10, 0.5);
  /* 50% transparencia */
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.3rem;
  /* Ajuste "tight" para logo de 4rem en móvil */
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo-link:hover {
  transform: scale(1.02);
}

.nav-logo-wrapper {
  position: relative;
  height: 4rem;
  /* Aumentado de 3rem */
  width: 4rem;
  /* Aumentado de 3rem */
  filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.6));
  transition: transform 0.3s ease;
}

.nav-logo-link:hover .nav-logo-wrapper {
  transform: scale(1.1);
}

.nav-logo-svg {
  width: 100%;
  height: 100%;
}

.nav-logo-text {
  font-size: 1.8rem;
  /* Reducido de 2.25rem */
  font-family: "Antonio", sans-serif;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  font-weight: 200;
  white-space: nowrap;
  line-height: 1;
  /* Caja ajustada para centrado flexbox */
  margin: 0;
  /* Asegurar sin márgenes */
  padding: 0;
  /* Asegurar sin padding */
  text-transform: uppercase;
}

.nav-links-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-dropdown {
  position: relative;
  z-index: 60;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  letter-spacing: 0.1em;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
  font-family: inherit;
}

.nav-dropdown-toggle:hover {
  color: var(--purple);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 2rem);
  left: 0;
  transform: none;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: none;
  min-width: 15rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  z-index: 70;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -12px;
  right: -12px;
  height: 24px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-dropdown-link {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-dropdown-link:hover {
  background: rgba(98, 0, 245, 0.08);
  color: var(--purple);
}

/* Desktop: Increase dropdown font size */
@media (min-width: 768px) {
  .nav-dropdown-link {
    font-size: 1.1875rem;
    /* +3 units from 1rem (16px base = 19px) */
  }
}

.nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--purple);
}

.nav-mobile-btn {
  display: flex;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  z-index: 60;
  margin-right: 1.25rem;
}

.hamburger-box {
  position: relative;
  width: 1.5rem;
  height: 1.25rem;
}

.hamburger-inner {
  position: absolute;
  width: 1.5rem;
  height: 2px;
  background-color: var(--foreground);
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 2px;
  background-color: var(--foreground);
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  top: 8px;
}

.nav-mobile-btn.active .hamburger-inner {
  background-color: transparent;
}

.nav-mobile-btn.active .hamburger-inner::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-mobile-btn.active .hamburger-inner::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  background-color: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(25px);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile-links {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
  width: 100%;
}

.nav-mobile-link {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

/* Services Carousel on Mobile */
@media (max-width: 767px) {
  .mobile-carousel {
    margin: 0 -1rem;
    padding: 0 1rem;
    overflow: hidden;
  }

  .services-grid,
  .classes-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem 0 3rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-grid::-webkit-scrollbar,
  .classes-grid::-webkit-scrollbar {
    display: none;
  }

  .flip-card {
    flex: 0 0 75%;
    height: 300px !important;
    scroll-snap-align: center;
  }

  .service-card {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .service-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  .service-description {
    font-size: 0.8rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
  }

  .subsection-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-content {
    height: 4.8rem;
    /* Ajuste "tight" para logo de 4.5rem en desktop */
  }

  .nav-links-group {
    gap: 2rem;
  }

  .nav-mobile-btn {
    display: none;
  }

  .nav-logo-wrapper {
    height: 4.5rem;
    /* Aumentado de 3.5rem */
    width: 4.5rem;
    /* Aumentado de 3.5rem */
  }

  .nav-logo-text {
    font-size: 2.8rem;
    /* Aumentado de 1.8rem (+1rem) */
    font-family: "Antonio", sans-serif;
    /* Cambio a Antonio en desktop */
    /* Thin 200 en desktop */
    letter-spacing: 0.02em;
    /* Espaciado normal/ligero en desktop */
    line-height: 1;
    /* Caja ajustada en desktop */
    margin: 0;
    padding: 0;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
  /* Prevent FOUC - hide initially */
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

/* Show hero section when page is loaded */
.hero-section.loaded {
  opacity: 1;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(98, 0, 245, 0.2), rgba(10, 10, 10, 0.6), var(--background));
}

.hero-bg-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(98, 0, 245, 0.2), transparent, transparent);
}

.floating-icon {
  position: absolute;
  color: rgba(98, 0, 245, 0.2);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.floating-icon-1 {
  top: 5rem;
  left: 2.5rem;
  animation: float1 5s infinite;
}

.floating-icon-2 {
  bottom: 5rem;
  right: 2.5rem;
  color: rgba(235, 0, 59, 0.2);
  animation: float2 4s infinite;
}

.floating-icon-3 {
  top: 50%;
  right: 25%;
  color: rgba(98, 0, 245, 0.1);
  animation: float3 10s linear infinite;
}

.icon-lg {
  width: 4rem;
  height: 4rem;
}

.icon-xl {
  width: 5rem;
  height: 5rem;
}

.icon-xxl {
  width: 6rem;
  height: 6rem;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(20px) rotate(-10deg);
  }
}

@keyframes float3 {
  0% {
    transform: scale(1) rotate(0deg);
  }

  33% {
    transform: scale(1.2) rotate(180deg);
  }

  100% {
    transform: scale(1) rotate(360deg);
  }
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1rem;
  width: 100%;
}

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

.hero-title {
  font-size: 3.5rem;
  /* Ajustado para móvil */
  line-height: 1.1;
  /* Reducido para juntar líneas */
  font-weight: 300;
  margin-bottom: 5rem;
  letter-spacing: 0.12em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: fadeInUp 0.8s ease-out;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-top: 4rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(222, 222, 222, 0.8);
  max-width: 36rem;
  margin: 0 auto 3rem;
  letter-spacing: 0.08em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  width: 100%;
  margin: 1rem auto 0;
}

.hero-buttons .button-85 {
  width: auto;
  /* Ancho automático basado en el contenido */
  padding: 0.5em 1.2em;
  /* Padding más compacto en móvil */
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    margin-top: 3rem;
  }

  .hero-buttons .button-85 {
    width: auto;
    padding: 0.6em 2em;
    /* Padding original en desktop */
  }
}



@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
    font-family: "Oswald", sans-serif;
    /* Cambio a Oswald */
    font-weight: 500;
    /* Medium 500 en desktop */
  }
}

@font-face {
  font-family: 'Compressa VF';
  src: url('https://res.cloudinary.com/dr6lvwubh/raw/upload/v1529908256/CompressaPRO-GX.woff2');
  font-style: normal;
}

/* Text Pressure Effect */
.hero-title.text-pressure-title {
  font-family: 'Compressa VF', "Oswald", sans-serif;
  text-transform: uppercase;
  text-align: center;
  user-select: none;
  white-space: nowrap;
  font-weight: 100;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  /* Remove gap as we want fluid typography */
  background: none;
  /* Remove gradient background to allow span colors */
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--foreground);
  /* Default fallback */
}

.text-pressure-span {
  display: inline-block;
  position: relative;
  /* Will be controlled by JS */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--purple);
  color: white;
}

.btn-primary:hover {
  background: #5000D5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(98, 0, 245, 0.4);
}

.btn-outline {
  border: 1px solid rgba(235, 0, 59, 0.5);
  background-color: rgba(235, 0, 59, 0.1);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: rgba(235, 0, 59, 0.2);
  border-color: rgba(235, 0, 59, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(235, 0, 59, 0.3);
}

.btn-lg {
  padding: 1.5rem 2rem;
}

.btn-full {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Glowing Button Style */
.button-85 {
  padding: 0.5em 1.5em;
  /* Padding reducido en móvil */
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-85:before {
  content: "";
  background: linear-gradient(45deg,
      #ff0000,
      #ff7300,
      #fffb00,
      #48ff00,
      #00ffd5,
      #002bff,
      #7a00ff,
      #ff00c8,
      #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@media (min-width: 640px) {
  .button-85 {
    padding: 0.6em 2em;
    /* Padding original en desktop */
  }
}

/* Texto de botones Hero responsive */
.hero-btn-text {
  letter-spacing: 0.1em;
  font-size: 1rem;
  /* Más pequeño en móvil */
}

@media (min-width: 640px) {
  .hero-btn-text {
    font-size: 1.25rem;
    /* Tamaño original en desktop */
  }
}

/* Video Scroll Section */
.video-scroll-section {
  position: relative;
  height: 120vh;
  background-color: var(--background);
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .video-scroll-section {
    height: 300vh;
  }
}

.video-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-scroll-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -14.5rem;
  /* Reducido para estar a 1rem del cuadro (13rem + gap) */
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  width: 100%;
  z-index: 40;
}

@media (min-width: 640px) {
  .video-scroll-title {
    font-size: 3rem;
  }
}

.video-scroll-title span {
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.video-scroll-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44rem;
  height: 26rem;
  max-width: 90vw;
  max-height: 50.625vw;
  /* 16:9 ratio */
  background-color: #1e3a8a;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 10;
  will-change: transform, width, height;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.1s ease-out, height 0.1s ease-out, top 0.1s ease-out;
}

@media (min-width: 768px) {
  .video-scroll-container {
    max-width: 100%;
    max-height: none;
  }
}

.video-scroll-content {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
  pointer-events: none;
}

.video-scroll-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .video-scroll-description {
    font-size: 2.5rem;
    font-family: 'Antonio', sans-serif;
    font-weight: 200;
  }
}

.video-scroll-bg {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.video-scroll-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}

.video-scroll-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(98, 0, 245, 0.7), rgba(235, 0, 59, 0.7));
  mix-blend-mode: multiply;
}

.video-scroll-multiply {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(to right, #6200F5, #EB003B);
  mix-blend-mode: multiply;
  opacity: 0.8;
}

.video-scroll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play/Close Overlays */
.video-scroll-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
  /* Initially hidden */
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.video-scroll-play-overlay:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.video-scroll-play-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.video-scroll-play-icon {
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.video-scroll-play-btn-group:hover .video-scroll-play-icon {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
}

.video-scroll-play-icon i {
  width: 4rem;
  height: 4rem;
  color: white;
  fill: white;
}

.video-scroll-play-text {
  color: white;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.video-scroll-close-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: none;
  /* Initially hidden */
  cursor: none;
}

.video-scroll-close-btn {
  position: fixed;
  z-index: 60;
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.video-scroll-close-btn i {
  width: 2rem;
  height: 2rem;
  color: black;
}

/* Transitions */
.video-scroll-play-overlay.active {
  display: flex;
}

.video-scroll-close-overlay.active {
  display: block;
}

/* Custom Cursor Logic */
body.video-active {
  cursor: none;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  letter-spacing: 0.08em;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3.75rem;
  }

  .section-description {
    font-size: 1.5rem;
  }
}

/* Music Section */
.music-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .music-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Music Player Styles */
.music-player-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.player-artwork-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.player-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  display: block;
  max-width: none;
  border: none;
}

.player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.player-content-overlay {
  position: absolute;
  inset: 0;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.player-header h3.player-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: white !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .player-header h3.player-title {
    font-size: 1.5rem;
  }
}

.player-header p.player-artist {
  font-size: 1rem;
  color: white !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
  .player-header p.player-artist {
    font-size: 1.125rem;
  }
}

.player-play-btn-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.player-play-btn-wrapper button {
  pointer-events: auto;
}

#play-btn-1,
#play-btn-2,
#play-btn-3 {
  height: 2.5rem;
  width: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  border-radius: 9999px;
  background-color: rgb(147, 51, 234);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#play-btn-1:hover,
#play-btn-2:hover,
#play-btn-3:hover {
  transform: scale(1.05);
}

.player-bottom-overlay {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Barra de progreso - MÁS ARRIBA */
.player-progress-overlay {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 0.25rem;
}

.player-progress-bar {
  width: 100%;
  height: 0.375rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.player-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgb(147, 51, 234), rgb(234, 179, 8));
  border-radius: 9999px;
  transition: width 0.1s linear;
}

.player-time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Controles de reproducción - DEBAJO DE LA BARRA */
.player-playback-controls {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 0.5rem;
}

.player-action-btn {
  height: 2.5rem;
  width: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 0.375rem;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.player-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.player-action-btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Botones de acción - EN EL BORDE INFERIOR CON ESPACIO UNIFORME */
.player-action-buttons-bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.25rem 0.5rem 0.5rem 0.5rem;
}

.player-action-buttons-bottom .player-action-btn {
  height: 2.5rem;
  width: 2.5rem;
  min-width: 2.5rem;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.player-action-buttons-bottom .player-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.player-action-buttons-bottom .player-action-btn.liked {
  color: rgb(239, 68, 68);
}

/* Sección de letras fuera de la imagen */
.player-lyrics-section {
  padding: 1rem;
}

.player-lyrics-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.08em;
  gap: 0.5rem;
  border-radius: 0.375rem;
}

.player-lyrics-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.player-lyrics {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  transition: all 0.3s;
}

.player-lyrics.hidden {
  display: none;
}

.player-lyrics-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.player-lyrics-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  white-space: pre-line;
  max-height: 8rem;
  overflow-y: auto;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.lyrics-toggle-text {
  letter-spacing: 0.08em;
}

/* DESKTOP LAYOUT - Horizontal */
@media (min-width: 768px) {
  .music-player-card {
    display: block;
    overflow: hidden;
  }

  /* Artwork - CUADRADO SIN MARGEN */
  .player-artwork-wrapper {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  .player-artwork {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
    max-width: none;
    border: none;
    border-radius: 0;
  }

  /* Overlay debe cubrir todo el artwork */
  .player-overlay {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
  }

  .player-content-overlay {
    position: absolute;
    inset: 0;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }

  /* Botón play/pause solo visible en hover en desktop */
  .player-play-btn-wrapper {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .player-artwork-wrapper:hover .player-play-btn-wrapper {
    opacity: 1;
  }

  #play-btn-1,
  #play-btn-2,
  #play-btn-3 {
    width: 3.5rem;
    height: 3.5rem;
  }

  /* Botones de acción - PEGADOS AL BORDE INFERIOR CON ESPACIO UNIFORME */
  .player-action-buttons-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 0.5rem;
    margin: 0;
  }

  /* Controles de reproducción - ARRIBA DE LOS BOTONES DE ACCIÓN */
  .player-playback-controls {
    position: absolute;
    bottom: 4.5rem;
    left: 0;
    right: 0;
  }

  /* Barra de progreso - ARRIBA DE LOS CONTROLES */
  .player-progress-overlay {
    position: absolute;
    bottom: 8rem;
    left: 1rem;
    right: 1rem;
  }

  /* Controls - layout horizontal */
  .player-controls {
    flex: 1;
    padding: 1rem;
    padding-left: 0;
    min-width: 0;
    justify-content: space-between;
  }

  .player-title {
    font-size: 1rem;
  }

  .player-artist {
    font-size: 0.875rem;
  }
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Services Section */
.subsection-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  width: 100%;
}

.subsection-title-mt {
  margin-top: 5rem;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  width: 100%;
}

@media (min-width: 640px) {
  .subsection-title {
    font-size: 2.25rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.classes-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(98, 0, 245, 0.5) rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
}

.classes-grid::-webkit-scrollbar {
  height: 8px;
}

.classes-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.classes-grid::-webkit-scrollbar-thumb {
  background: rgba(98, 0, 245, 0.5);
  border-radius: 10px;
}

.classes-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(98, 0, 245, 0.7);
}

.classes-grid .flip-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .classes-grid .flip-card {
    flex: 0 0 320px;
  }
}


@media (min-width: 1024px) {
  .classes-grid .flip-card {
    flex: 0 0 350px;
  }
}

.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(98, 0, 245, 0.8);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
  background: rgba(98, 0, 245, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(98, 0, 245, 0.5);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: -24px;
}

.carousel-btn-next {
  right: -24px;
}

.carousel-btn i {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 8px;
  }

  .carousel-btn-next {
    right: 8px;
  }

  .carousel-btn i {
    width: 20px;
    height: 20px;
  }
}

.classes-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.service-card {
  height: 100%;
  padding: 1.5rem;
  background-color: rgba(46, 46, 46, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-4px);
}

.service-icon {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.service-icon-purple {
  background: linear-gradient(to bottom right, rgb(168, 85, 247), rgb(147, 51, 234));
}

.service-icon-orange {
  background: linear-gradient(to bottom right, rgb(251, 146, 60), rgb(249, 115, 22));
}

.service-icon-pink {
  background: linear-gradient(to bottom right, rgb(147, 51, 234), rgb(219, 39, 119));
}

.service-icon-red {
  background: linear-gradient(to bottom right, rgb(249, 115, 22), rgb(220, 38, 38));
}

.service-icon-indigo {
  background: linear-gradient(to bottom right, rgb(168, 85, 247), rgb(99, 102, 241));
}

.service-icon-yellow {
  background: linear-gradient(to bottom right, rgb(251, 146, 60), rgb(234, 179, 8));
}

.service-icon-cyan {
  background: linear-gradient(to bottom right, rgb(59, 130, 246), rgb(34, 211, 238));
}

.service-icon-emerald {
  background: linear-gradient(to bottom right, rgb(34, 197, 94), rgb(16, 185, 129));
}

.service-icon-fuchsia {
  background: linear-gradient(to bottom right, rgb(217, 70, 239), rgb(232, 121, 249));
}

.service-icon-purple-dark {
  background: linear-gradient(to bottom right, rgb(147, 51, 234), rgb(126, 34, 206));
}

.service-icon-pink-orange {
  background: linear-gradient(to bottom right, rgb(249, 115, 22), rgb(219, 39, 119));
}

.service-icon-purple-pink {
  background: linear-gradient(to bottom right, rgb(168, 85, 247), rgb(236, 72, 153));
}

.service-icon-rose {
  background: linear-gradient(to bottom right, rgb(244, 63, 94), rgb(220, 38, 38));
}

.service-icon-violet {
  background: linear-gradient(to bottom right, rgb(139, 92, 246), rgb(147, 51, 234));
}

.service-icon-amber {
  background: linear-gradient(to bottom right, rgb(245, 158, 11), rgb(249, 115, 22));
}

.service-icon-cyan-blue {
  background: linear-gradient(to bottom right, rgb(34, 211, 238), rgb(59, 130, 246));
}

.service-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-title {
  opacity: 0.8;
}

.service-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .service-title {
    font-size: 1.875rem;
  }

  .service-description {
    font-size: 1rem;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-text-card {
  padding: 2rem;
  background-color: rgba(46, 46, 46, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.about-subtitle {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

@media (min-width: 640px) {
  .about-subtitle {
    font-size: 2.25rem;
  }
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-paragraph {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .about-paragraph {
    font-size: 1.25rem;
  }
}

.about-cta {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  padding-top: 1rem;
  letter-spacing: 0.08em;
}

@media (min-width: 640px) {
  .about-cta {
    font-size: 1.25rem;
  }
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-image-wrapper {
  position: relative;
  height: 12rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.1);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form-wrapper {
  background-color: rgba(46, 46, 46, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.form-input,
.form-textarea {
  background-color: rgba(37, 37, 37, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-textarea {
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background-color: rgba(46, 46, 46, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.contact-info-icon-purple {
  background: linear-gradient(to bottom right, var(--purple), var(--orange));
}

.contact-info-icon-orange {
  background: linear-gradient(to bottom right, rgb(249, 115, 22), rgb(251, 146, 60));
}

.contact-info-icon-pink {
  background: linear-gradient(to bottom right, rgb(147, 51, 234), rgb(219, 39, 119));
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.contact-info-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  letter-spacing: 0.06em;
}

.social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.social-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.08em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #6200F5, #EB003B);
  padding: 1rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: white;
}

.social-link:hover {
  transform: scale(1.1);
}

.icon-social {
  width: 3rem;
  height: 3rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-text {
  font-size: 1rem;
  color: var(--muted-foreground);
  letter-spacing: 0.06em;
}

.footer-admin-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(222, 222, 222, 0.5);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-admin-link:hover {
  color: rgba(222, 222, 222, 0.7);
}

.page-hero {
  position: relative;
  padding: 8rem 1rem 4rem;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.15), transparent 35%), radial-gradient(circle at 80% 0%, rgba(251, 146, 60, 0.18), transparent 35%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-hero-title {
  font-size: 3rem;
  letter-spacing: 0.14em;
  background: linear-gradient(to right, #6200F5, #EB003B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.page-hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  letter-spacing: 0.08em;
}

@media (min-width: 640px) {
  .page-hero-title {
    font-size: 3.75rem;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

/* Loading States */
.loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(168, 85, 247, 0.3);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--purple);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards */
.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-4 {
  transition-delay: 0.4s;
}

/* Flip Card Styles */
.flip-card {
  height: 400px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.flip-card-front .service-card,
.flip-card-back .service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.flip-card-back .service-card {
  position: relative;
  overflow: hidden;
}

.flip-card-back .service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.flip-card-back .service-card-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.flip-card-back .service-icon {
  padding: 1rem;
  margin-bottom: 1rem;
}

.flip-card-back .service-icon .icon {
  width: 2rem;
  height: 2rem;
}

.flip-card-back .service-title {
  color: white;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.flip-card-back .service-description {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 767px) {
  .video-scroll-section {
    height: auto !important;
    min-height: 60vh !important;
    padding: 2rem 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .video-scroll-sticky {
    position: relative !important;
    height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .video-scroll-title {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    margin: 0 0 1.5rem 0 !important;
    font-size: 2.5rem !important;
    opacity: 1 !important;
  }

  .video-scroll-container {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 90vw !important;
    height: 120vw !important;
    /* Aspecto vertical para móvil */
    max-width: none !important;
    max-height: none !important;
    border-radius: 1rem !important;
    margin-bottom: 2rem !important;
    will-change: auto !important;
  }

  /* Full screen en landscape */
  @media (orientation: landscape) {
    .video-scroll-container {
      width: 100vw !important;
      height: 100vh !important;
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      z-index: 1000 !important;
      border-radius: 0 !important;
    }
  }

  .video-scroll-content,
  .video-scroll-bg,
  .video-scroll-multiply {
    display: none !important;
    /* Quitar overlays de texto/gradiente en móvil para que sea estático y limpio */
  }

  .video-scroll-video {
    object-fit: cover !important;
  }

  .video-scroll-play-overlay {
    display: flex !important;
    opacity: 1 !important;
    background: transparent !important;
  }

  #audiovisual {
    margin-top: 0 !important;
    padding-top: 2rem !important;
  }

  /* Ajustes Reproductor Música */
  .music-grid {
    padding: 0 1.25rem !important;
    /* Más margen lateral para iPhone */
    gap: 2rem !important;
  }

  .music-player-card {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 350px !important;
    /* Evitar que sea demasiado ancho */
  }

  /* Force white color for player titles and artists on mobile */
  .player-title,
  .player-artist,
  .player-header h3.player-title,
  .player-header p.player-artist {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  }
}

/* Audiovisual Section Spacing Fix */
#audiovisual {
  padding-top: 0;
}

@media (min-width: 640px) {
  #audiovisual {
    padding-top: 5rem;
  }
}