/* ==========================================================================
   Musical Mix — Styles
   Arquitectura: mobile-first, BEM-inspired, CSS custom properties
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg:          #0a0a0a;
  --color-bg-alt:      #111111;
  --color-bg-card:     #161616;
  --color-surface:     #1c1c1c;
  --color-border:      #2a2a2a;

  --color-gold:        #c9a84c;
  --color-gold-light:  #e8c97a;
  --color-gold-dim:    rgba(201, 168, 76, 0.12);
  --color-gold-glow:   rgba(201, 168, 76, 0.25);

  --color-text:        #f0f0f0;
  --color-text-muted:  #888888;
  --color-text-dim:    #555555;

  --color-white:       #ffffff;
  --color-error:       #e05252;
  --color-success:     #52c47a;

  /* Social colors */
  --color-whatsapp:   #25d366;
  --color-instagram:  #e1306c;
  --color-facebook:   #1877f2;
  --color-tiktok:     #ffffff;
  --color-youtube:    #ff0000;

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   4.5rem;

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --container-max:  1200px;
  --container-pad:  1.25rem;
  --navbar-h:       72px;

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.4);
  --shadow-md:  0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.6);
  --shadow-gold: 0 0 30px rgba(201,168,76,.2);

  /* Transitions */
  --ease-default:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Asegurar que [hidden] siempre oculte, sin importar display en CSS */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul, ol { list-style: none; }

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-20);
}

.section--dark {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   4. REVEAL ANIMATIONS (Intersection Observer)
   -------------------------------------------------------------------------- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-default),
              transform var(--duration-slow) var(--ease-default);
  transition-delay: var(--delay, 0s);
}

.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   5. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--navbar-h);
  transition: background-color var(--duration-base) var(--ease-default),
              box-shadow var(--duration-base) var(--ease-default);
}

.navbar.is-scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-6);
}

.navbar__logo {
  flex-shrink: 0;
  z-index: 101;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.logo-accent { color: var(--color-gold); }

.navbar__links {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
}

.navbar__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast);
}

.navbar__link:hover,
.navbar__link.is-active {
  color: var(--color-white);
}

.navbar__link--cta {
  background-color: var(--color-gold);
  color: #000 !important;
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  transition: background-color var(--duration-fast), transform var(--duration-fast);
}

.navbar__link--cta:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-default),
              opacity var(--duration-base);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 767px) {
  nav#navMenu {
    position: fixed;
    inset: 0;
    background-color: rgba(10,10,10,0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base);
    z-index: 99;
  }

  nav#navMenu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .navbar__links {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }

  .navbar__link {
    font-size: var(--text-xl);
    color: var(--color-text);
    padding: var(--space-3) var(--space-6);
  }

  .navbar__link--cta {
    margin-top: var(--space-4);
    font-size: var(--text-xl);
    padding: var(--space-3) var(--space-8);
  }
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: var(--navbar-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Si no existe la imagen, se usa el fondo oscuro de .hero */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.82) 0%,
    rgba(10,10,10,0.55) 40%,
    rgba(10,10,10,0.75) 100%
  );
}

/* Orbes animados — visibles cuando no hay imagen de fondo */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  animation: orbFloat 10s ease-in-out infinite;
}

.hero__orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  bottom: 50px;
  left: -100px;
  animation: orbFloat 14s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-15px, 25px) scale(0.97); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--container-pad);
  max-width: 860px;
}

.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-5xl), 12vw, var(--text-7xl));
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.title-word { display: inline-block; margin-right: 0.2em; }
.title-word--accent { color: var(--color-gold); }

.hero__tagline {
  font-size: clamp(var(--text-lg), 3vw, var(--text-2xl));
  color: var(--color-text-muted);
  font-weight: 300;
  margin-bottom: var(--space-10);
}

.hero__tagline em {
  font-style: italic;
  color: var(--color-gold-light);
  font-family: var(--font-serif);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Equalizer decorativo */
.hero__equalizer {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 4px;
  z-index: 1;
  opacity: 0.3;
}

.hero__equalizer span {
  display: block;
  width: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: equalize 1.2s ease-in-out infinite;
}

.hero__equalizer span:nth-child(1)  { height: 20px; animation-delay: 0.0s; }
.hero__equalizer span:nth-child(2)  { height: 32px; animation-delay: 0.1s; }
.hero__equalizer span:nth-child(3)  { height: 16px; animation-delay: 0.2s; }
.hero__equalizer span:nth-child(4)  { height: 40px; animation-delay: 0.05s; }
.hero__equalizer span:nth-child(5)  { height: 24px; animation-delay: 0.15s; }
.hero__equalizer span:nth-child(6)  { height: 36px; animation-delay: 0.25s; }
.hero__equalizer span:nth-child(7)  { height: 18px; animation-delay: 0.08s; }
.hero__equalizer span:nth-child(8)  { height: 30px; animation-delay: 0.18s; }
.hero__equalizer span:nth-child(9)  { height: 22px; animation-delay: 0.12s; }
.hero__equalizer span:nth-child(10) { height: 28px; animation-delay: 0.22s; }

@keyframes equalize {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.3); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 1;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.75em 1.75em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--duration-base),
              border-color var(--duration-base),
              color var(--duration-base),
              transform var(--duration-fast),
              box-shadow var(--duration-base);
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background-color: var(--color-gold);
  color: #000000;
  border-color: var(--color-gold);
}

.btn--primary:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: 0 4px 20px var(--color-gold-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  color: var(--color-white);
  border-color: var(--color-text-muted);
}

.btn--sm { font-size: var(--text-xs); padding: 0.5em 1.25em; }
.btn--full { width: 100%; }

/* --------------------------------------------------------------------------
   8. IMAGE PLACEHOLDERS
   -------------------------------------------------------------------------- */
.img-placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      var(--color-surface) 0px,
      var(--color-surface) 1px,
      transparent 1px,
      transparent 12px
    ),
    var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
}

.img-placeholder__label { opacity: 0.6; }

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  object-fit: cover;
  display: block;
}

.about__badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #000;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.badge__number {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1;
}

.badge__text {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  line-height: 1.7;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat__label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   10. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.service-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: border-color var(--duration-base),
              transform var(--duration-base),
              box-shadow var(--duration-base);
  cursor: default;
}

.service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--color-gold-dim);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   11. GALLERY SECTION
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 180px;
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-default);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-base);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(0,0,0,0.45);
}

.gallery-item__zoom {
  font-size: var(--text-3xl);
  color: var(--color-white);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--duration-base), transform var(--duration-base);
}

.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   12. VIDEOS SECTION
   -------------------------------------------------------------------------- */
.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: border-color var(--duration-base), transform var(--duration-base);
}

.video-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  transition: background var(--duration-base);
}

.play-btn:hover { background: rgba(0,0,0,0.6); }

.play-btn svg {
  width: 56px;
  height: 56px;
  color: var(--color-white);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
  transition: transform var(--duration-base) var(--ease-spring);
}

.play-btn:hover svg { transform: scale(1.15); }

.video-card__label {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.video-modal.is-open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  animation: fadeIn var(--duration-base) var(--ease-default);
}

.video-modal__content {
  position: relative;
  width: 100%;
  max-width: 900px;
  z-index: 1;
  animation: scaleIn var(--duration-base) var(--ease-spring);
}

.video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity var(--duration-fast);
}

.video-modal__close:hover { opacity: 1; }
.video-modal__close svg { width: 24px; height: 24px; }

.video-modal__player {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.video-modal__player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* --------------------------------------------------------------------------
   13. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-default);
  will-change: transform;
}

.testimonial-card {
  min-width: 100%;
  padding: var(--space-8);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.stars {
  font-size: var(--text-xl);
  color: var(--color-gold);
  margin-bottom: var(--space-5);
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-6);
  font-family: var(--font-serif);
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.testimonial-card__footer cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--color-white);
  font-size: var(--text-base);
}

.testimonial-card__footer span {
  font-size: var(--text-sm);
  color: var(--color-text-dim);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-text-muted);
  transition: border-color var(--duration-base), color var(--duration-base);
}

.slider-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.slider-dots {
  display: flex;
  gap: var(--space-2);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background-color var(--duration-base), transform var(--duration-base);
}

.slider-dot.is-active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   14. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-group label span { color: var(--color-gold); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.4);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  min-height: 16px;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: var(--color-error);
}

.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(82,196,122,0.1);
  border: 1px solid rgba(82,196,122,0.3);
  border-radius: var(--radius-md);
  color: var(--color-success);
  font-size: var(--text-sm);
  font-weight: 500;
}

.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Channels */
.contact-channels h3 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.contact-channels > p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.channel-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-base), transform var(--duration-base), box-shadow var(--duration-base);
}

.channel-item:hover {
  transform: translateX(4px);
}

.channel-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-item__icon svg { width: 22px; height: 22px; }

.channel-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-item__info strong {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-white);
}

.channel-item__info span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Channel colors */
.channel-item--whatsapp:hover  { border-color: var(--color-whatsapp);  box-shadow: 0 4px 20px rgba(37,211,102,.15); }
.channel-item--instagram:hover { border-color: var(--color-instagram); box-shadow: 0 4px 20px rgba(225,48,108,.15); }
.channel-item--facebook:hover  { border-color: var(--color-facebook);  box-shadow: 0 4px 20px rgba(24,119,242,.15); }
.channel-item--tiktok:hover    { border-color: #69c9d0;               box-shadow: 0 4px 20px rgba(105,201,208,.15); }
.channel-item--youtube:hover   { border-color: var(--color-youtube);   box-shadow: 0 4px 20px rgba(255,0,0,.15); }

.channel-item--whatsapp  .channel-item__icon { background: rgba(37,211,102,.12);  color: var(--color-whatsapp); }
.channel-item--instagram .channel-item__icon { background: rgba(225,48,108,.12);  color: var(--color-instagram); }
.channel-item--facebook  .channel-item__icon { background: rgba(24,119,242,.12);  color: var(--color-facebook); }
.channel-item--tiktok    .channel-item__icon { background: rgba(105,201,208,.12); color: #69c9d0; }
.channel-item--youtube   .channel-item__icon { background: rgba(255,0,0,.12);     color: var(--color-youtube); }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #050505;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-16) var(--space-8);
}

.footer-logo { font-size: var(--text-xl); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.footer__brand p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 300px;
  line-height: 1.7;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}

.footer__nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.footer__nav a:hover { color: var(--color-white); }

.footer__social {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: border-color var(--duration-base), color var(--duration-base);
}

.footer__social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

/* --------------------------------------------------------------------------
   16. WHATSAPP FLOAT BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-5);
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--duration-base) var(--ease-spring), box-shadow var(--duration-base);
  animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  animation: none;
}

.whatsapp-float svg { width: 28px; height: 28px; }

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: #000;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--duration-base), transform var(--duration-base);
  box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.65); }
}

/* --------------------------------------------------------------------------
   17. COOKIE BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-5);
  animation: slideUp var(--duration-slow) var(--ease-default);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cookie-banner__content {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cookie-banner__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.cookie-banner__link {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE — TABLET (≥ 640px)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  :root {
    --container-pad: 1.5rem;
  }

  .gallery-grid {
    grid-auto-rows: 200px;
  }

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

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

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

  .cookie-banner__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE — DESKTOP (≥ 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
  }

  .hamburger { display: none; }

  nav#navMenu {
    position: static;
    background: none;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar__links {
    display: flex;
    flex-direction: row;
    gap: var(--space-1);
    align-items: center;
  }

  .navbar__link { font-size: var(--text-sm); }

  .section-title { font-size: var(--text-4xl); }

  .about {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

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

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .testimonials__track {
    /* On desktop show 1 card at a time, centered */
  }
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE — LARGE (≥ 1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .section { padding-block: var(--space-32); }

  .gallery-grid { grid-auto-rows: 260px; }

  .contact-grid { grid-template-columns: 3fr 2fr; }
}

/* --------------------------------------------------------------------------
   21. PRELOADER
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-default), visibility 0.5s;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.preloader__logo {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.02em;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader__logo span { color: var(--color-gold); }

.preloader__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 32px;
}

.preloader__bars span {
  display: block;
  width: 4px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: equalize 1s ease-in-out infinite;
}

.preloader__bars span:nth-child(1) { height: 12px; animation-delay: 0.0s; }
.preloader__bars span:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.preloader__bars span:nth-child(3) { height: 32px; animation-delay: 0.2s; }
.preloader__bars span:nth-child(4) { height: 20px; animation-delay: 0.15s; }
.preloader__bars span:nth-child(5) { height: 16px; animation-delay: 0.05s; }

@keyframes preloaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* --------------------------------------------------------------------------
   22. BACK TO TOP
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-5);
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--duration-base),
              transform var(--duration-base),
              border-color var(--duration-base),
              color var(--duration-base);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.back-to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   23. HERO FALLBACK (cuando no hay imagen)
   -------------------------------------------------------------------------- */
.hero {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 55%);
}

/* --------------------------------------------------------------------------
   24. ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-gold);
  color: #000;
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top var(--duration-fast);
}

.skip-link:focus { top: var(--space-4); }

/* --------------------------------------------------------------------------
   25. COVERAGE (Cobertura — SEO local CDMX)
   -------------------------------------------------------------------------- */
.coverage__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 960px;
  margin-inline: auto;
}

.coverage__col {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  padding: var(--space-6) var(--space-6);
}

.coverage__col h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.coverage__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}

.coverage__list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.coverage__list li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: var(--text-base);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .coverage__grid { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   26. FAQ (Preguntas frecuentes — SEO Rich Results)
   -------------------------------------------------------------------------- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 820px;
  margin-inline: auto;
}

.faq__item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  padding: 0;
  transition: border-color var(--duration-base, 250ms);
}

.faq__item[open],
.faq__item:hover {
  border-color: var(--color-gold);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  position: relative;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--color-gold);
  font-weight: 300;
  line-height: 1;
  transition: transform var(--duration-base, 250ms);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin: 0;
}

.faq__item p strong { color: var(--color-text); }

.faq__item p a {
  color: var(--color-gold);
  text-decoration: underline;
}
