/* ==========================================================
   estilos.css — Estilos compartidos de Pianos Gallery
   (reúne los <style> y los style="" que antes estaban en cada página)
   ========================================================== */

@layer base{html,body{margin:0;padding:0;}body{overscroll-behavior:none;}main>:first-child{margin-top:0!important;}main>:last-child{margin-bottom:0!important;}}::-webkit-scrollbar{display:none;}

/* Efectos Atmosféricos y Cinematográficos */
    .radial-glow-ambient {
      background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.12), transparent 75%);
    }
    .gold-gradient-text {
      background: linear-gradient(135deg, #FFF1BE 0%, #D4AF37 55%, #AA8325 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .card-glass {
      background: linear-gradient(160deg, rgba(26, 26, 32, 0.75) 0%, rgba(14, 14, 17, 0.88) 100%);
      backdrop-filter: blur(14px);
    }

/* ---- Estilos que estaban en línea (style="...") ---- */
.fuente-header {
  font-family:Inter,system-ui,sans-serif !important;
}
.estilo-02 {
  background: #d4af37 !important;
  color: #111111 !important;
}
.estilo-03 {
  background-color: #d4af37 !important;
  color: #111111 !important;
}
.estilo-04 {
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuCedy8YxfTDJU6z5HNQxvMzsvlt1Ci5vXWnE0_NPmF_Zc0W4iIB7EaFQtuF27O8qmXdKDUo1kNTaFBllhiut4HkHd03vbntDfogQ2Dl9vtf1OrjhY5yBHHP0RMScF91M4uSk2OLApAaFGMUPCLbrlK6H7tdEU6DGSyC3vMd5WKvmm1gu0SguHkOkAJkQsa9xPIlZfTgu2owRIWRgDsdb1wg0sKafEYKGbNbyRw_wubA') !important;
}
.estilo-05 {
  filter: brightness(1.2) contrast(1.08) saturate(1.1) !important;
}
.estilo-06 {
  opacity: 0.25 !important;
  background: linear-gradient(to top, rgba(7, 7, 8, 0.7) 0%, rgba(7, 7, 8, 0.15) 50%, rgba(7, 7, 8, 0.1) 100%) !important;
}
.estilo-07 {
  background: radial-gradient(85% 75% at 50% 45%, rgba(7, 7, 8, 0.12) 0%, rgba(7, 7, 8, 0.4) 100%) !important;
}
.estilo-08 {
  text-shadow: rgba(0, 0, 0, 0.95) 0px 3px 12px, rgba(0, 0, 0, 0.8) 0px 6px 28px !important;
}
.estilo-09 {
  color: #d4af37 !important;
  -webkit-text-fill-color: #d4af37 !important;
}
.estilo-10 {
  background: #d4af37 !important;
  color: #111111 !important;
  box-shadow: 0 0 25px rgba(212,175,55,0.35) !important;
}
.estilo-11 {
  background-color: #fbf9f6 !important;
}
.estilo-12 {
  color: #d4af37 !important;
}
.estilo-13 {
  color: #1a1a1a !important;
}
.estilo-14 {
  color: #57534e !important;
}
.estilo-15 {
  color: #d4af37 !important;
  border-color: rgba(212,175,55,0.3) !important;
}
.estilo-16 {
  color: #1c1917 !important;
}
.estilo-17 {
  background-color: #f6f3ee !important;
}
.estilo-18 {
  background: #d4af37 !important;
  color: #111111 !important;
  box-shadow: 0 0 25px rgba(212,175,55,0.4) !important;
}
.estilo-19 {
  background-image: radial-gradient(circle at 75% 20%, #fed65b 0%, transparent 45%) !important;
}

/* ---- Animaciones de entrada del hero (index.html) ---- */
.hero-anim-bg {
  opacity: 0;
  transform: scale(1.18);
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1), transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-anim-badge {
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  will-change: opacity, transform;
}

.hero-anim-title {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
  will-change: opacity, transform;
}

.hero-anim-desc {
  opacity: 0;
  transform: translateX(80px);
  color: #ffffff;
  text-shadow: 0 3px 6px #000000, 0 6px 20px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.5), 0 0 45px rgba(0, 0, 0, 0.9);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s, color 1s ease 0.55s;
  will-change: opacity, transform, color;
}

.hero-anim-btn-1 {
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.75s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.75s;
  will-change: opacity, transform;
}

.hero-anim-btn-2 {
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.92s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.92s;
  will-change: opacity, transform;
}

.hero-anim-metrics {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 1.1s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 1.1s;
  will-change: opacity, transform;
}

/* Estado activo tras cargar la página */
.hero-anim-active .hero-anim-bg {
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

.hero-anim-active .hero-anim-badge {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-anim-active .hero-anim-title {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.hero-anim-active .hero-anim-desc {
  opacity: 1 !important;
  transform: translateX(0) !important;
  color: #ffffff !important;
  text-shadow: 0 3px 6px #000000, 0 6px 20px rgba(0, 0, 0, 0.95), 0 0 25px rgba(212, 175, 55, 0.5), 0 0 45px rgba(0, 0, 0, 0.9) !important;
}

.hero-anim-active .hero-anim-btn-1 {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.hero-anim-active .hero-anim-btn-2 {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.hero-anim-active .hero-anim-metrics {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ---- PianoDisc y Teclado Interactivo (instalacion.html) ---- */
.piano-key-white {
  background: linear-gradient(180deg, #fdfbf7 0%, #ede9e3 92%, #ded9d0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset -1px 0 2px rgba(0,0,0,0.12), 0 3px 5px rgba(0,0,0,0.3);
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1), background-color 0.12s ease, box-shadow 0.12s ease;
}
.piano-key-white.key-pressed {
  transform: translateY(5px);
  background: linear-gradient(180deg, #e7dec8 0%, #d8caa4 88%, #c9b98d 100%) !important;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.4) !important;
}
.piano-key-black {
  background: linear-gradient(180deg, #2b2b2b 0%, #151515 85%, #050505 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), inset -1px -1px 2px rgba(0,0,0,0.8), 2px 4px 6px rgba(0,0,0,0.6);
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1), background 0.12s ease, box-shadow 0.12s ease;
}
.piano-key-black.key-pressed {
  transform: translateY(4px);
  background: linear-gradient(180deg, #473e21 0%, #2f270e 85%, #181404 100%) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.9), 1px 1px 2px rgba(0,0,0,0.6) !important;
}
@keyframes pulseEq {
  0%, 100% { height: 18%; }
  50% { height: 95%; }
}
.eq-bar-anim {
  animation: pulseEq 1.1s ease-in-out infinite;
}
.eq-delay-100 { animation-delay: 0.1s; }
.eq-delay-150 { animation-delay: 0.15s; }
.eq-delay-200 { animation-delay: 0.2s; }
.eq-delay-250 { animation-delay: 0.25s; }
.eq-delay-350 { animation-delay: 0.35s; }
.eq-delay-400 { animation-delay: 0.4s; }
.eq-delay-500 { animation-delay: 0.5s; }
.eq-delay-600 { animation-delay: 0.6s; }
.eq-dur-500 { animation-duration: 0.5s; }
.eq-dur-600 { animation-duration: 0.6s; }
.eq-dur-700 { animation-duration: 0.7s; }
.eq-dur-750 { animation-duration: 0.75s; }
.eq-dur-850 { animation-duration: 0.85s; }
.eq-dur-900 { animation-duration: 0.9s; }
.eq-dur-1100 { animation-duration: 1.1s; }
