/* ====================================
   Mariachi Luz y Sombra - Main CSS
   Basado en la guía de diseño oficial
   ==================================== */

/* ====================================
   1. Tokens de diseño (Variables CSS)
   ==================================== */
:root {
  /* Luz (brillo) */
  --luz-50:  #FFF8E6;
  --luz-100: #FBEBC5;
  --luz-300: #F1D282;
  --luz-500: #E0B94F; /* Dorado Luz y Sombra (primario) */
  --luz-700: #B69130;

  /* Sombra (noche) */
  --sombra-500: #0E1A24; /* Azul petróleo muy oscuro */
  --sombra-700: #0A131A;
  --sombra-900: #05090C; /* Casi negro */

  /* Neutros */
  --blanco: #FFFFFF;
  --hueso:  #F7F3EE;
  --texto:  #0F172A;
  --muted:  #475569;
  --borde:  rgba(255,255,255,.16);

  /* Semánticos */
  --focus:  var(--luz-500);
  --link:   #D4AF37;

  /* Tipografía */
  --ff-display: "Cinzel", ui-serif, Georgia, serif;
  --ff-sans:    "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --lh-title:   1.28;
  --lh-body:    1.6;

  /* Espaciado */
  --section-padding: 5rem 0;
  --container-width: 1200px;
}

/* ====================================
   2. Reset y Base
   ==================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--texto);
  background-color: var(--hueso);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  line-height: var(--lh-title);
  font-weight: 600;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

/* ====================================
   3. Motivo visual "Luz/Sombra"
   ==================================== */
.luz-sombra {
  position: relative;
  isolation: isolate;
  background: var(--sombra-900);
  color: var(--blanco);
  overflow: hidden;
}

.luz-sombra::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 800px at 25% 30%, rgba(224,185,79,.35), transparent 50%),
    radial-gradient(800px 600px at 75% 70%, rgba(224,185,79,.15), transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 40%, rgba(0,0,0,.3) 100%),
    var(--sombra-900);
  animation: lightPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.luz-sombra::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 80%, rgba(224,185,79,.08) 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(224,185,79,.08) 0%, transparent 30%);
  animation: lightPulse 10s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes lightPulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* ====================================
   4. Header y Navegación
   ==================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 19, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--blanco);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  font-family: var(--ff-display);
  transition: all 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.logo-text {
  white-space: nowrap;
}

.logo-highlight {
  color: var(--luz-500);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn-primary-small):hover {
  color: var(--luz-500);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blanco);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .logo-icon {
    width: 60px;
    height: 60px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sombra-900);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

@media (max-width: 480px) {
  .logo-icon {
    width: 50px;
    height: 50px;
  }

  .logo-text {
    font-size: 0.9rem;
  }
}

/* ====================================
   5. Botones
   ==================================== */
.btn-primary, .btn-primary-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--luz-500);
  color: var(--blanco);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 20px rgba(224,185,79,.12);
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-primary-small {
  padding: 0.625rem 1.125rem;
  font-size: 0.95rem;
}

.btn-primary:hover, .btn-primary-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(224,185,79,.22);
}

.btn-primary:active, .btn-primary-small:active {
  transform: translateY(0);
}

.btn-primary:focus-visible, .btn-primary-small:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--blanco);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.4);
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25D366;
  color: var(--blanco);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(37,211,102,.2);
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--sombra-500);
  color: var(--blanco);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-phone:hover {
  background: var(--sombra-700);
  border-color: var(--luz-500);
}

/* ====================================
   6. Hero Section
   ==================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

/* Overlay oscuro sobre la imagen */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(5,9,12,0.92) 0%,
    rgba(10,19,26,0.88) 40%,
    rgba(14,26,36,0.85) 70%,
    rgba(10,19,26,0.9) 100%
  );
  pointer-events: none;
}

/* Elementos decorativos de luz */
.hero-lights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.light-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,185,79,0.4) 0%, transparent 70%);
  filter: blur(40px);
  animation: floatOrb 12s ease-in-out infinite;
}

.light-orb-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.light-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: 10%;
  animation-delay: 4s;
}

.light-orb-3 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: -50px;
  animation-delay: 8s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(30px, 30px) scale(1.1); opacity: 0.5; }
}

/* Notas musicales flotantes */
.hero-shadows {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.shadow-note {
  position: absolute;
  font-size: 3rem;
  color: var(--luz-500);
  opacity: 0.15;
  animation: floatNote 15s ease-in-out infinite;
}

.shadow-note-1 { top: 15%; left: 10%; animation-delay: 0s; font-size: 2.5rem; }
.shadow-note-2 { top: 60%; left: 85%; animation-delay: 3s; font-size: 3.5rem; }
.shadow-note-3 { top: 80%; left: 15%; animation-delay: 6s; font-size: 2rem; }
.shadow-note-4 { top: 30%; left: 75%; animation-delay: 9s; font-size: 4rem; }

@keyframes floatNote {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
  50% { transform: translateY(-50px) rotate(10deg); opacity: 0.2; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Título del hero */
.hero-title {
  margin-bottom: 2rem;
  color: var(--blanco);
  text-shadow: 0 6px 20px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title span {
  display: block;
}

.title-line-1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  letter-spacing: 2px;
}

.title-line-2, .title-line-3 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-top: 0.25rem;
}

.text-luz {
  color: var(--luz-500);
  text-shadow: 0 0 40px rgba(224,185,79,0.5);
  animation: glowPulse 3s ease-in-out infinite;
}

.text-sombra {
  color: var(--blanco);
  position: relative;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 40px rgba(224,185,79,0.5); }
  50% { text-shadow: 0 0 60px rgba(224,185,79,0.7), 0 0 80px rgba(224,185,79,0.4); }
}

/* Subtítulo */
.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 3rem;
  line-height: 1.75;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.subtitle-icon {
  font-size: 1.5em;
  display: inline-block;
  margin-right: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* CTAs del hero */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-hero-primary {
  font-size: 1.125rem;
  padding: 1rem 2rem;
  box-shadow: 0 12px 28px rgba(224,185,79,0.25);
}

.btn-hero-primary:hover {
  box-shadow: 0 16px 32px rgba(224,185,79,0.35);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn-hero-whatsapp {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* Features del hero */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto 4rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.hero-feature:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(224,185,79,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224,185,79,0.15);
  border-radius: 12px;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feature-content strong {
  color: var(--luz-500);
  font-size: 1.125rem;
  font-weight: 700;
}

.feature-content span {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  animation: fadeInUp 1s ease-out 1s both, floatUpDown 2s ease-in-out 2s infinite;
}

.scroll-indicator svg {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 968px) {
  .hero {
    min-height: auto;
    padding: 6rem 0 3rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 568px) {
  .title-line-2, .title-line-3 {
    font-size: 2rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* ====================================
   7. Historia Section
   ==================================== */
.historia {
  background: var(--blanco);
}

.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-image img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.historia-text {
  color: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.valores {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--hueso);
  border-radius: 12px;
  border-left: 4px solid var(--luz-500);
}

.valores-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--texto);
}

.valores-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.valores-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--texto);
}

.valores-list svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

@media (max-width: 968px) {
  .historia-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ====================================
   8. Section Header
   ==================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-title {
  color: inherit;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.section:not(.luz-sombra) .section-subtitle {
  color: var(--muted);
}

/* ====================================
   9. Servicios Section
   ==================================== */
.servicios {
  position: relative;
  z-index: 1;
}

.servicios .container {
  position: relative;
  z-index: 2;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.24);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.3);
  border-color: rgba(224,185,79,.3);
}

.card-featured {
  border: 2px solid var(--luz-500);
  box-shadow: 0 4px 16px rgba(224,185,79,.15);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--luz-500);
  color: var(--blanco);
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.card-icon {
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--blanco);
}

.card-description {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.card-features {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}

.card-features li {
  list-style: disc;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.card-extras {
  padding: 1rem;
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-extras p {
  margin-bottom: 0.375rem;
  color: rgba(255,255,255,0.8);
}

.card-extras strong {
  color: var(--luz-500);
}

.card .btn-primary {
  width: 100%;
}

.repertorio-link {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
}

.repertorio-link p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
}

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

/* ====================================
   10. Galería Section
   ==================================== */
.galeria {
  background: var(--hueso);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.85) contrast(1.05);
}

.galeria-item:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  transform: translateY(-4px);
}

.galeria-item:hover img {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.1);
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,9,12,0) 0%,
    rgba(5,9,12,0.4) 50%,
    rgba(5,9,12,0.85) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-btn {
  background: rgba(224,185,79,0.2);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(224,185,79,0.5);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.galeria-btn:hover {
  background: rgba(224,185,79,0.4);
  border-color: var(--luz-500);
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 0 24px rgba(224,185,79,0.4);
}

.galeria-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.1s;
}

.galeria-item:hover .galeria-caption {
  transform: translateY(0);
}

.caption-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--luz-500);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.caption-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 968px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ====================================
   11. Testimonios Section
   ==================================== */
.testimonios {
  position: relative;
  z-index: 1;
}

.testimonios .container {
  position: relative;
  z-index: 2;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonio-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(224,185,79,.3);
  background: rgba(255,255,255,.06);
}

.testimonio-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonio-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonio-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonio-author strong {
  color: var(--luz-500);
  font-size: 1rem;
}

.testimonio-author span {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

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

/* ====================================
   12. Contacto Section
   ==================================== */
.contacto {
  background: var(--blanco);
}

.contacto-content {
  display: flex;
  justify-content: center;
}

.contacto-info-centered {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.contacto-info-centered h3 {
  color: var(--texto);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--ff-display);
}

.contacto-intro {
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.contacto-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.btn-contact-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-contact-large span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.btn-contact-large strong {
  font-size: 1.25rem;
  font-weight: 700;
}

.btn-contact-large small {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 400;
}

.btn-contact-large.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-contact-large.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37,211,102,.3);
}

.btn-contact-large.btn-phone {
  background: var(--sombra-700);
  color: white;
  border: 2px solid var(--luz-500);
}

.btn-contact-large.btn-phone:hover {
  background: var(--sombra-500);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(224,185,79,.3);
}

.contacto-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem;
  background: var(--hueso);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.06);
}

.contacto-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.contacto-item svg {
  flex-shrink: 0;
}

.contacto-item strong {
  display: block;
  color: var(--texto);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contacto-item p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contacto-buttons {
    grid-template-columns: 1fr;
  }

  .contacto-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .contacto-info-centered h3 {
    font-size: 1.5rem;
  }

  .btn-contact-large {
    padding: 1.5rem 1rem;
  }
}

/* ====================================
   13. Footer
   ==================================== */
.footer {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--ff-display);
}

.footer-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-style: italic;
}

.footer-links h4 {
  color: var(--luz-500);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links a, .footer-links p {
  display: block;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.625rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--luz-500);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: var(--blanco);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--luz-500);
  transform: translateY(-2px);
}

.footer-hours {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p, .footer-legal {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-legal:hover {
  color: var(--luz-500);
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ====================================
   14. Utilidades
   ==================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
