/* Paleta de colores institucional actualizada */
:root {
  --primary-dark-green: #455f60; /* Verde gris oscuro */
  --soft-white: #f1f8f8; /* Blanco suave */
  --greenish-gray: #7a9192; /* Gris verdoso */
  --grayish-cyan: #cadbdc; /* Celeste grisáceo */
  --bluish-gray: #aabfc0; /* Gris azulado */

  /* Variables de uso */
  --bg-principal: var(--primary-dark-green);
  --texto-blanco: var(--soft-white);
  --acento-celeste: var(--grayish-cyan);
  --boton-verde: #00b050;
  --boton-whatsapp: #25d366;
}

/* Animaciones de entrada para secciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutScale {
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Clases para efectos de scroll */
.fadeInSection {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.slideInLeftSection {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out forwards;
}

.slideInRightSection {
  opacity: 0;
  animation: slideInRight 0.8s ease-out forwards;
}

/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--texto-blanco);
  background-color: var(--bg-principal);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Animaciones */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(255, 235, 59, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes noteFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Header / Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #566f70 0%, #4a5d5e 50%, #3e5051 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(166, 189, 247, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 235, 59, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 1.2s ease-out;
  position: relative;
  z-index: 2;
}

.logo-section {
  margin-bottom: 2.5rem;
}

.logo {
  max-width: 180px;
  height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--soft-white) !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--soft-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.instruments-preview {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.instrument-icon {
  font-size: 3rem;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.instrument-icon:nth-child(2) {
  animation-delay: 0.2s;
}

.instrument-icon:nth-child(3) {
  animation-delay: 0.4s;
}

.instrument-icon:nth-child(4) {
  animation-delay: 0.6s;
}

/* Musical notes floating */
.musical-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.note {
  position: absolute;
  font-size: 2rem;
  color: rgba(166, 189, 247, 0.3);
  animation: noteFloat 12s linear infinite;
}

.note:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  font-size: 1.5rem;
}

.note:nth-child(2) {
  left: 30%;
  animation-delay: 3s;
  font-size: 2.5rem;
}

.note:nth-child(3) {
  left: 50%;
  animation-delay: 6s;
  font-size: 1.8rem;
}

.note:nth-child(4) {
  left: 70%;
  animation-delay: 9s;
  font-size: 2rem;
}

.note:nth-child(5) {
  left: 90%;
  animation-delay: 12s;
  font-size: 1.6rem;
}

/* Animación de lluvia de notas musicales */
.musical-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.rain-note {
  position: absolute;
  top: -50px;
  font-size: 1.5rem;
  color: rgba(202, 219, 220, 0.7);
  pointer-events: none;
  opacity: 0;
  animation: rainFall 8s linear forwards;
  font-family: "Arial Unicode MS", Arial, sans-serif;
}

.rain-note.rain-small {
  font-size: 1rem;
  color: rgba(202, 219, 220, 0.5);
  animation-duration: 12s;
}

.rain-note.rain-medium {
  font-size: 1.5rem;
  color: rgba(202, 219, 220, 0.7);
  animation-duration: 8s;
}

.rain-note.rain-large {
  font-size: 2rem;
  color: rgba(202, 219, 220, 0.9);
  animation-duration: 6s;
}

.rain-note.intense {
  color: rgba(255, 235, 59, 0.8);
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
  font-weight: bold;
}

/* Animaciones para la lluvia */
@keyframes rainFall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    transform: translateY(calc(100vh - 200px)) rotate(162deg);
  }
  100% {
    transform: translateY(calc(100vh - 150px)) rotate(180deg);
    opacity: 0;
  }
}

@keyframes rainDiagonal {
  0% {
    transform: translateY(-50px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    transform: translateY(calc(100vh - 200px)) translateX(-90px) rotate(162deg);
  }
  100% {
    transform: translateY(calc(100vh - 150px)) translateX(-100px) rotate(180deg);
    opacity: 0;
  }
}

@keyframes rainBounce {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    transform: translateY(calc(30vh - 50px)) rotate(60deg);
  }
  35% {
    transform: translateY(calc(25vh - 50px)) rotate(70deg);
  }
  40% {
    transform: translateY(calc(35vh - 50px)) rotate(80deg);
  }
  90% {
    opacity: 1;
    transform: translateY(calc(100vh - 200px)) rotate(162deg);
  }
  100% {
    transform: translateY(calc(100vh - 150px)) rotate(180deg);
    opacity: 0;
  }
}

.rain-note.diagonal {
  animation: rainDiagonal 9s linear forwards;
}

.rain-note.bounce {
  animation: rainBounce 7s linear forwards;
}

/* Limitar lluvia para que no aparezca en el footer */
.musical-rain .rain-note {
  max-height: calc(100vh - 200px);
}

/* Ocultar lluvia en el footer */
.footer .rain-note,
.footer ~ .rain-note {
  display: none !important;
}

/* Diferentes tamaños de lluvia musical */
.rain-note.rain-small {
  font-size: 1rem;
  opacity: 0.6;
  animation-duration: 12s;
}

.rain-note.rain-medium {
  font-size: 1.8rem;
  opacity: 0.8;
  animation-duration: 8s;
}

.rain-note.rain-large {
  font-size: 2.5rem;
  opacity: 1;
  animation-duration: 6s;
  text-shadow: 0 0 20px rgba(255, 235, 59, 1), 0 0 40px rgba(255, 235, 59, 0.8),
    0 0 60px rgba(255, 235, 59, 0.6);
}

/* Animación principal de lluvia - caída vertical */
@keyframes rainFall {
  0% {
    transform: translateY(-100px) rotate(0deg) scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
    transform: translateY(-50px) rotate(45deg) scale(1.2);
  }
  25% {
    transform: translateY(25vh) rotate(180deg) scale(0.8);
  }
  50% {
    transform: translateY(50vh) rotate(360deg) scale(1.2);
  }
  75% {
    transform: translateY(75vh) rotate(540deg) scale(0.9);
  }
  95% {
    opacity: 1;
    transform: translateY(95vh) rotate(720deg) scale(1);
  }
  100% {
    transform: translateY(105vh) rotate(720deg) scale(0);
    opacity: 0;
  }
}

/* Lluvia diagonal - como lluvia real */
@keyframes rainDiagonal {
  0% {
    transform: translateY(-100px) translateX(0px) rotate(0deg) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(10vh) translateX(30px) rotate(90deg) scale(1.1);
  }
  30% {
    transform: translateY(30vh) translateX(80px) rotate(180deg) scale(0.8);
  }
  60% {
    transform: translateY(60vh) translateX(150px) rotate(360deg) scale(1.2);
  }
  90% {
    transform: translateY(90vh) translateX(220px) rotate(540deg) scale(0.9);
  }
  100% {
    transform: translateY(105vh) translateX(250px) rotate(600deg) scale(0);
    opacity: 0;
  }
}

/* Lluvia con rebote */
@keyframes rainBounce {
  0% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(10vh) scale(1.3);
  }
  25% {
    transform: translateY(20vh) scale(0.7);
  }
  40% {
    transform: translateY(40vh) scale(1.4);
  }
  55% {
    transform: translateY(55vh) scale(0.6);
  }
  70% {
    transform: translateY(70vh) scale(1.3);
  }
  85% {
    transform: translateY(85vh) scale(0.8);
  }
  100% {
    transform: translateY(105vh) scale(0);
    opacity: 0;
  }
}

/* Clases especiales */
.rain-note.diagonal {
  animation: rainDiagonal 9s linear infinite;
}

.rain-note.bounce {
  animation: rainBounce 7s ease-in-out infinite;
}

.rain-note.intense {
  opacity: 1;
  color: rgba(255, 235, 59, 0.6) !important;
  text-shadow: 0 0 25px rgba(255, 235, 59, 1), 0 0 50px rgba(255, 235, 59, 0.8);
}

/* Responsive para lluvia musical */
@media (max-width: 768px) {
  .rain-note {
    font-size: 1.2rem;
  }

  .rain-note.rain-large {
    font-size: 2rem;
  }

  .rain-note.rain-small {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .rain-note {
    font-size: 1rem;
  }

  .rain-note.rain-large {
    font-size: 1.6rem;
  }

  .rain-note.rain-small {
    font-size: 0.7rem;
  }
}

/* WhatsApp Floating Button - Mejorado */
.whatsapp-float {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  background: linear-gradient(
    135deg,
    var(--boton-whatsapp),
    #20c757,
    #1eb854
  ) !important;
  color: white !important;
  border-radius: 50% !important;
  padding: 0 !important;
  width: 60px !important;
  height: 60px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0 !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 
              0 4px 15px rgba(0, 0, 0, 0.2) !important;
  z-index: 1000 !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  backdrop-filter: blur(10px) !important;
  border: 3px solid rgba(255, 255, 255, 0.3) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  animation: floatPulse 3s infinite !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

@keyframes floatPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 
                0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6), 
                0 6px 20px rgba(0, 0, 0, 0.3);
  }
}

.whatsapp-float:hover {
  color: white !important;
  text-decoration: none !important;
  transform: translateY(-5px) scale(1.1) !important;
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6),
              0 8px 25px rgba(0, 0, 0, 0.3) !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  padding: 0.7rem 1.2rem !important;
  border-radius: 30px !important;
  font-size: 1rem !important;
  gap: 10px !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

@media (min-width: 769px) {
  .whatsapp-float:hover {
    width: auto !important;
    height: auto !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 30px !important;
    font-size: 1rem !important;
    gap: 10px !important;
  }
}

.whatsapp-float:focus,
.whatsapp-float:active,
.whatsapp-float:visited {
  color: white !important;
  text-decoration: none !important;
}

.whatsapp-float i {
  font-size: 1.8rem !important;
  animation: bounceIcon 2s infinite !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
  color: white !important;
}

@keyframes bounceIcon {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

.whatsapp-float:hover i {
  margin-right: 8px !important;
  animation: shake 0.5s ease-in-out !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-2px) rotate(-5deg); }
  75% { transform: translateX(2px) rotate(5deg); }
}

/* Estilos para dispositivos móviles - Mejorados */
@media (max-width: 768px) {
  .whatsapp-float {
    font-size: 0 !important;
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    min-height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #25d366, #20c757, #1eb854) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 
                0 3px 10px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    animation: floatPulse 3s infinite !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    right: 16px !important;
    bottom: 16px !important;
    left: auto !important;
    top: auto !important;
    z-index: 1000 !important;
    text-align: center !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6),
                0 4px 15px rgba(0, 0, 0, 0.3) !important;
    width: 55px !important;
    height: 55px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    gap: 0 !important;
  }
  
  .whatsapp-float i {
    font-size: 1.6rem !important;
    color: #fff !important;
    margin: 0 !important;
    animation: bounceIcon 2s infinite !important;
  }
  
  .whatsapp-float:hover i {
    margin: 0 !important;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2c3e3f 0%, #34484a 100%);
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(166, 189, 247, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
  align-items: center;
  gap: 0.5rem;
}

.footer-tagline {
  color: var(--soft-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  color: #a6bdf7;
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0b0;
  font-size: 0.9rem;
}

/* Botones de WhatsApp e Instagram mejorados y unificados */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--boton-verde), #00d158);
  color: white;
  box-shadow: 
    0 8px 25px rgba(0, 176, 80, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.whatsapp-btn:hover::before {
  left: 100%;
}

.whatsapp-btn:hover {
  transform: translateY(-6px) scale(1.02);
  text-decoration: none;
  background: linear-gradient(135deg, #00d158, var(--boton-verde));
  box-shadow: 
    0 15px 40px rgba(0, 176, 80, 0.5),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.whatsapp-btn i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Clases de compatibilidad para botones primarios */
.primary-btn {
  background: linear-gradient(135deg, var(--boton-verde), #00d158) !important;
  color: white !important;
  box-shadow: 
    0 8px 25px rgba(0, 176, 80, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  border: 2px solid transparent !important;
  backdrop-filter: blur(10px) !important;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #00d158, var(--boton-verde)) !important;
  box-shadow: 
    0 15px 40px rgba(0, 176, 80, 0.5),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
}

.primary-btn i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.primary-btn:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Botón de Instagram mejorado */
.instagram-btn, .instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737, #fcaf45);
  color: white;
  box-shadow: 
    0 8px 25px rgba(225, 48, 108, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.instagram-btn::before, .instagram-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.instagram-btn:hover::before, .instagram-link:hover::before {
  left: 100%;
}

.instagram-btn:hover, .instagram-link:hover {
  transform: translateY(-6px) scale(1.02);
  text-decoration: none;
  background: linear-gradient(135deg, #fd1d1d, #e1306c, #fcaf45, #f77737);
  box-shadow: 
    0 15px 40px rgba(225, 48, 108, 0.5),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.instagram-btn i, .instagram-link i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.instagram-btn:hover i, .instagram-link:hover i {
  transform: scale(1.1) rotate(-5deg);
}

/* Botón de Facebook */
.facebook-btn {
  background: linear-gradient(135deg, #4267B2, #5578cc) !important;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 25px rgba(66, 103, 178, 0.4) !important;
}

.facebook-btn:hover {
  background: linear-gradient(135deg, #5578cc, #4267B2) !important;
  box-shadow: 0 15px 40px rgba(66, 103, 178, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: white !important;
  text-decoration: none !important;
}

.facebook-btn i {
  font-size: 1.3rem;
  animation: float 3s ease-in-out infinite;
}

.footer-btn {
  background: var(--boton-verde) !important;
  color: var(--texto-blanco) !important;
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Animaciones específicas para redes sociales */
@keyframes socialGlow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  }
}

/* Responsive mejorado para botones sociales */
@media (max-width: 768px) {
  .whatsapp-btn, .instagram-btn, .instagram-link {
    padding: 1rem 2rem;
    font-size: 1rem;
    gap: 0.5rem;
    min-width: 200px;
  }
  
  .primary-btn i,
  .instagram-btn i,
  .whatsapp-btn i,
  .instagram-link i {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .whatsapp-btn, .instagram-btn, .instagram-link {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    min-width: 180px;
  }
  
  .whatsapp-btn i, .instagram-btn i, .instagram-link i {
    font-size: 1rem;
  }
}

/* Adaptación para móvil - botones de seguimiento */
@media screen and (max-width: 767px) {
    #ivn-social-follow {
        align-items: center;
    }
    .ivn-btn-follow {
        font-size: 14px;
        padding: 10px 18px;
        min-width: 180px;
    }
    
    .ivn-btn-follow i {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .ivn-btn-follow {
        font-size: 13px;
        padding: 8px 16px;
        min-width: 160px;
    }
}

/* Animaciones de notas musicales de fondo */
.musical-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-note {
  position: absolute;
  font-size: 2rem;
  color: rgba(166, 189, 247, 0.6);
  pointer-events: none;
  opacity: 0;
  animation: floatAndFade 15s linear forwards;
  font-family: "Arial Unicode MS", Arial, sans-serif;
}

.floating-note.note-small {
  font-size: 1.5rem;
  color: rgba(166, 189, 247, 0.4);
}

.floating-note.note-medium {
  font-size: 2rem;
  color: rgba(166, 189, 247, 0.6);
}

.floating-note.note-large {
  font-size: 2.5rem;
  color: rgba(166, 189, 247, 0.8);
}

/* Animaciones específicas para notas flotantes */
@keyframes floatAndFade {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) rotate(36deg) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(150px) rotate(324deg) scale(1);
  }
  100% {
    transform: translateY(50px) rotate(360deg) scale(0);
    opacity: 0;
  }
}

@keyframes floatAndFadeSlow {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
    transform: translateY(95vh) rotate(18deg) scale(1);
  }
  95% {
    opacity: 1;
    transform: translateY(150px) rotate(342deg) scale(1);
  }
  100% {
    transform: translateY(50px) rotate(360deg) scale(0);
    opacity: 0;
  }
}

@keyframes floatAndFadeFast {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translateY(85vh) rotate(54deg) scale(1);
  }
  85% {
    opacity: 1;
    transform: translateY(150px) rotate(306deg) scale(1);
  }
  100% {
    transform: translateY(50px) rotate(360deg) scale(0);
    opacity: 0;
  }
}

@keyframes floatExplosive {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translateY(80vh) rotate(72deg) scale(1.5);
  }
  80% {
    opacity: 1;
    transform: translateY(200px) rotate(288deg) scale(1.5);
  }
  100% {
    transform: translateY(100px) rotate(360deg) scale(0);
    opacity: 0;
  }
}

@keyframes floatSpiral {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) translateX(10px) rotate(36deg) scale(1);
  }
  25% {
    transform: translateY(75vh) translateX(-20px) rotate(90deg) scale(1);
  }
  50% {
    transform: translateY(50vh) translateX(20px) rotate(180deg) scale(1);
  }
  75% {
    transform: translateY(25vh) translateX(-15px) rotate(270deg) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(150px) translateX(5px) rotate(324deg) scale(1);
  }
  100% {
    transform: translateY(50px) translateX(0) rotate(360deg) scale(0);
    opacity: 0;
  }
}

@keyframes floatZigzag {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) translateX(20px) rotate(36deg) scale(1);
  }
  30% {
    transform: translateY(70vh) translateX(-30px) rotate(108deg) scale(1);
  }
  50% {
    transform: translateY(50vh) translateX(25px) rotate(180deg) scale(1);
  }
  70% {
    transform: translateY(30vh) translateX(-20px) rotate(252deg) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(150px) translateX(10px) rotate(324deg) scale(1);
  }
  100% {
    transform: translateY(50px) translateX(0) rotate(360deg) scale(0);
    opacity: 0;
  }
}

/* Aplicar animaciones específicas */
.floating-note.slow {
  animation: floatAndFadeSlow 20s linear forwards;
}

.floating-note.fast {
  animation: floatAndFadeFast 8s linear forwards;
}

.floating-note.explosive {
  animation: floatExplosive 10s linear forwards;
}

.floating-note.spiral {
  animation: floatSpiral 14s linear forwards;
}

.floating-note.zigzag {
  animation: floatZigzag 12s linear forwards;
}

/* Ocultar notas en el footer */
.footer .floating-note,
.footer ~ .floating-note {
  display: none !important;
}

/* Limitar las notas para que no aparezcan en el footer */
.musical-background .floating-note {
  max-height: calc(
    100vh - 200px
  ); /* Evitar que aparezcan en los últimos 200px */
}

/* Protección adicional para evitar que las notas aparezcan en el footer */
.musical-background,
.musical-rain {
  clip-path: inset(0 0 150px 0); /* Corta los últimos 150px */
}

/* En dispositivos móviles, cortar más espacio para el footer */
@media (max-width: 768px) {
  .musical-background,
  .musical-rain {
    clip-path: inset(0 0 200px 0); /* Corta los últimos 200px en móviles */
  }
}

/* Asegurar que el z-index del footer esté por encima */
.footer {
  position: relative;
  z-index: 100;
}

/* Animaciones suaves para secciones */
.smooth-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.smooth-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.smooth-section.slide-left {
  transform: translateX(-30px);
}

.smooth-section.slide-left.visible {
  transform: translateX(0);
}

.smooth-section.slide-right {
  transform: translateX(30px);
}

.smooth-section.slide-right.visible {
  transform: translateX(0);
}

.smooth-section.scale-up {
  transform: scale(0.95);
}

.smooth-section.scale-up.visible {
  transform: scale(1);
}

/* Animación suave para tarjetas */
.smooth-card {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s ease-out;
}

.smooth-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Delay progresivo para múltiples elementos */
.smooth-card:nth-child(1) {
  transition-delay: 0.1s;
}
.smooth-card:nth-child(2) {
  transition-delay: 0.2s;
}
.smooth-card:nth-child(3) {
  transition-delay: 0.3s;
}
.smooth-card:nth-child(4) {
  transition-delay: 0.4s;
}
.smooth-card:nth-child(5) {
  transition-delay: 0.5s;
}
.smooth-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Sección de Inicio de Clases - Destacada */
.inicio-clases {
  background: linear-gradient(135deg, #4a5d5e 0%, #566f70 50%, #455f60 100%);
  position: relative;
  overflow: hidden;
}

.inicio-clases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(255, 235, 59, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(166, 189, 247, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.big-announcement {
  position: relative;
  z-index: 2;
}

.mega-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  color: #ffeb3b !important;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8),
      0 0 20px rgba(255, 235, 59, 0.3);
  }
  100% {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8),
      0 0 30px rgba(255, 235, 59, 0.6);
  }
}

.date-highlight {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--soft-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
}

.date-big {
  color: #a6bdf7 !important;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: #ffeb3b;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.cta-text {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 600;
  color: var(--soft-white) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.mega-btn {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem) !important;
  font-weight: 700 !important;
  padding: 1.2rem 3rem !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4) !important;
  animation: buttonBounce 3s ease-in-out infinite;
}

@keyframes buttonBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
}

/* Countdown Section Mejorada */
.countdown-section {
  background: linear-gradient(135deg, #34484a 0%, #2c3e3f 100%);
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(166, 189, 247, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 235, 59, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.countdown-container {
  position: relative;
  z-index: 2;
}

.countdown-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--soft-white) !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 2.5rem;
}

.countdown-timer {
  margin-bottom: 2rem;
}

.countdown-card {
  background: linear-gradient(
    135deg,
    rgba(166, 189, 247, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  border-radius: 20px;
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.countdown-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(166, 189, 247, 0.3);
}

.countdown-number {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  color: #ffeb3b !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.countdown-number2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #ffeb3b !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.85),
    0 0 12px rgba(255, 235, 59, 0.15);
}

.countdown-number3 {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #ffeb3b !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7), 0 0 6px rgba(255, 235, 59, 0.1);
}

@media (max-width: 992px) {
  .countdown-number2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 235, 59, 0.1);
  }
  .countdown-number3 {
    font-size: clamp(1rem, 4vw, 1.2rem);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6),
      0 0 4px rgba(255, 235, 59, 0.08);
  }
}

@media (max-width: 576px) {
  .countdown-number2 {
    font-size: clamp(2rem, 5vw, 2.8rem) !important;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6),
      0 0 6px rgba(255, 235, 59, 0.08);
  }
  .countdown-number3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5),
      0 0 3px rgba(255, 235, 59, 0.06);
  }
}

@media (max-width: 992px) {
  .countdown-number2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .countdown-number3 {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
}

@media (max-width: 576px) {
  .countdown-number2 {
    font-size: 1.2rem;
  }

  .countdown-number3 {
    font-size: 0.95rem;
  }
}

.countdown-label {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--soft-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-text {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #a6bdf7 !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.countdown-text strong {
  color: #ffeb3b !important;
  font-weight: 800;
}

/* Responsive para Countdown */
@media (max-width: 576px) {
  .countdown-card {
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .mega-title {
    margin-bottom: 1.5rem;
  }

  .date-highlight {
    margin-bottom: 1rem;
  }

  .mega-btn {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  /*.countdown-timer {
    gap: 1rem !important;
  }*/

  .countdown-card {
    border-radius: 15px;
  }
}

@media (min-width: 1200px) {
  .countdown-card {
    padding: 2rem 1.5rem;
  }

  .countdown-number {
    font-size: 4.5rem;
  }

  .countdown-label {
    font-size: 1.2rem;
  }
}

/* Mejoras para secciones generales */
.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--soft-white) !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 3rem;
}

.section-text {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 1.7;
  color: var(--soft-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.highlight-big {
  font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
  font-weight: 600;
  background: linear-gradient(135deg, #a6bdf7, #cadbdc);
  -webkit-background-clip: text;
  /*-webkit-text-fill-color: transparent; */
  background-clip: text;
  text-shadow: none;
  padding: 0.5rem 0;
}

/* CTA Section Mejorada */
.cta-section {
  background: linear-gradient(135deg, #455f60 0%, #4a5d5e 50%, #566f70 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 40% 60%,
      rgba(255, 235, 59, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 60% 40%,
      rgba(166, 189, 247, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.cta-banner {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: #ffeb3b !important;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

.cta-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--soft-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-btn {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
  font-weight: 800 !important;
  padding: 1.3rem 3.5rem !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4) !important;
  animation: buttonPulse 2.5s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.social-cta {
  margin-top: 2rem;
}

.social-cta p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--soft-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.instagram-link {
  font-size: clamp(1rem, 2vw, 1.1rem) !important;
  font-weight: 600 !important;
  padding: 0.8rem 2rem !important;
  border-radius: 30px !important;
  border: 2px solid #a6bdf7 !important;
  transition: all 0.3s ease !important;
}

.instagram-link:hover {
  background: #a6bdf7 !important;
  color: var(--bg-principal) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(166, 189, 247, 0.3) !important;
}

/* Tarjetas de beneficios e instrumentos mejoradas */
.benefit-card,
.instrument-card {
  background: linear-gradient(
    135deg,
    rgba(166, 189, 247, 0.15) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover,
.instrument-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(166, 189, 247, 0.3);
  border-color: rgba(166, 189, 247, 0.5);
}

.benefit-icon,
.instrument-emoji {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card h3,
.instrument-card h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #a6bdf7 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.benefit-card p,
.instrument-card p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  color: var(--soft-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive para tarjetas */
@media (max-width: 576px) {
  .benefit-card,
  .instrument-card {
    padding: 1.5rem 1rem;
    border-radius: 15px;
  }

  .benefit-icon,
  .instrument-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .cta-banner {
    padding: 2rem 1.5rem !important;
    border-radius: 20px !important;
  }

  .banner-btn {
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
  }

  .instagram-link {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 2rem;
  }

  .highlight-big {
    padding: 1rem 0;
  }
}

@media (min-width: 1200px) {
  .benefit-card,
  .instrument-card {
    padding: 2.5rem 2rem;
  }

  .benefit-icon,
  .instrument-emoji {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .cta-banner {
    padding: 4rem 3rem !important;
  }
}

/* Sección ¿Quiénes somos? - usando los mismos estilos que ¿Por qué estudiar en IVN? */
.quienes-somos {
  background: linear-gradient(
    135deg,
    rgba(166, 189, 247, 0.08) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  position: relative;
}

.quienes-somos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 80%,
      rgba(166, 189, 247, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(120, 148, 246, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Estilos para la sección ¿Qué es IVN? */
.que-es-ivn {
  background: linear-gradient(
    135deg,
    rgba(166, 189, 247, 0.05) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  position: relative;
}

.pastor-details {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pastor-details:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(166, 189, 247, 0.2);
}

.pastor-details h4 {
  color: var(--soft-white) !important;
  font-weight: 700;
}

.pastor-details p {
  color: var(--soft-white) !important;
  line-height: 1.6;
}

.pastor-details .text-muted {
  color: rgba(241, 248, 248, 0.8) !important;
  font-size: 0.95rem;
}

/* Responsive para la sección pastoral */
@media (max-width: 768px) {
  .pastor-details {
    padding: 1.5rem !important;
  }

  .pastor-details h4 {
    font-size: 1.3rem;
  }

  .pastor-details p {
    font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
  }
}

/* Resaltado amarillo solo en el color de la palabra clave */
.resaltado-key {
  color: #ffeb3b !important;
  font-weight: 700;
  padding: 0;
  background: none;
  border-radius: 0;
}

.quienes-somos strong {
  color: #ffeb3b !important;
  font-weight: 700;
  background: none;
  border-radius: 0;
}

.hero-musical-notes {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.hero-musical-notes.visible {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
}
.hero-musical-notes .hero-note {
  opacity: 0;
  font-size: 2.2rem;
  color: #ffeb3b;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  animation: heroNoteFadeIn 1.2s forwards;
}
@keyframes heroNoteFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Contenedor de botones CTA mejorado */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

/* Efectos adicionales para botones de redes sociales */
.social-btn-container {
  position: relative;
  display: inline-block;
}

.social-btn-container::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, 
    rgba(255, 255, 255, 0.1), 
    rgba(255, 255, 255, 0.05), 
    rgba(255, 255, 255, 0.1));
  border-radius: 55px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-btn-container:hover::before {
  opacity: 1;
}

/* Contenedor específico para botones sociales - REDISEÑADO */
.social-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
  padding: 3rem 2rem;
  background: linear-gradient(
    135deg, 
    var(--primary-dark-green) 0%, 
    var(--greenish-gray) 50%,
    var(--primary-dark-green) 100%
  );
  border-radius: 30px;
  backdrop-filter: blur(20px);
  border: 3px solid var(--grayish-cyan);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3),
              0 5px 20px rgba(166, 189, 247, 0.2);
  position: relative;
  overflow: hidden;
}

.social-buttons-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 235, 59, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, var(--grayish-cyan) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(166, 189, 247, 0.1) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: backgroundShimmer 3s ease-in-out infinite;
}

@keyframes backgroundShimmer {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.social-buttons-container > * {
  position: relative;
  z-index: 2;
}

/* Estilos SUPER LLAMATIVOS para botones dentro del contenedor social */
.social-buttons-container .whatsapp-btn,
.social-buttons-container .primary-btn,
.social-buttons-container .instagram-btn,
.social-buttons-container .facebook-btn {
  min-width: 250px;
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  border: 3px solid transparent;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-buttons-container .whatsapp-btn:hover,
.social-buttons-container .primary-btn:hover,
.social-buttons-container .instagram-btn:hover,
.social-buttons-container .facebook-btn:hover {
  transform: translateY(-12px) scale(1.08);
  text-decoration: none;
}

/* BOTÓN WHATSAPP/PRIMARY - VERDE ESPECTACULAR */
.social-buttons-container .primary-btn {
  background: linear-gradient(135deg, #00ff6b, #00d158, #00b050) !important;
  color: var(--primary-dark-green) !important;
  border: 3px solid #00ff6b !important;
  box-shadow: 0 10px 30px rgba(0, 255, 107, 0.4), 
              0 5px 15px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: glowGreen 2s ease-in-out infinite alternate;
}

@keyframes glowGreen {
  0% {
    box-shadow: 0 10px 30px rgba(0, 255, 107, 0.4), 
                0 5px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow: 0 15px 40px rgba(0, 255, 107, 0.7), 
                0 8px 25px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

.social-buttons-container .primary-btn:hover {
  background: linear-gradient(135deg, #00ff6b, #20ff7b, #00d158) !important;
  border-color: #20ff7b !important;
  box-shadow: 0 20px 50px rgba(0, 255, 107, 0.8), 
              0 10px 30px rgba(0, 0, 0, 0.5),
              inset 0 2px 0 rgba(255, 255, 255, 0.6) !important;
  color: var(--primary-dark-green) !important;
}

/* BOTÓN INSTAGRAM - GRADIENTE EXPLOSIVO */
.social-buttons-container .instagram-btn {
  background: linear-gradient(135deg, #ff0080, #ff4d6a, #ff8a3d, #ffcd3b) !important;
  color: white !important;
  border: 3px solid #ff0080 !important;
  box-shadow: 0 10px 30px rgba(255, 0, 128, 0.5), 
              0 5px 15px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: glowInstagram 2.5s ease-in-out infinite alternate;
}

@keyframes glowInstagram {
  0% {
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.5), 
                0 5px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow: 0 15px 40px rgba(255, 0, 128, 0.8), 
                0 8px 25px rgba(255, 77, 106, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

.social-buttons-container .instagram-btn:hover {
  background: linear-gradient(135deg, #ff4d6a, #ff0080, #ffcd3b, #ff8a3d) !important;
  border-color: #ff4d6a !important;
  box-shadow: 0 20px 50px rgba(255, 0, 128, 0.9), 
              0 10px 30px rgba(255, 77, 106, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.6) !important;
  color: white !important;
}

/* BOTÓN FACEBOOK - AZUL VIBRANTE */
.social-buttons-container .facebook-btn {
  background: linear-gradient(135deg, #4267B2, #5578cc, var(--grayish-cyan)) !important;
  color: white !important;
  border: 3px solid var(--grayish-cyan) !important;
  box-shadow: 0 10px 30px rgba(202, 219, 220, 0.5), 
              0 5px 15px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: glowBlue 2.2s ease-in-out infinite alternate;
}

@keyframes glowBlue {
  0% {
    box-shadow: 0 10px 30px rgba(202, 219, 220, 0.5), 
                0 5px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow: 0 15px 40px rgba(202, 219, 220, 0.8), 
                0 8px 25px rgba(166, 189, 247, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

.social-buttons-container .facebook-btn:hover {
  background: linear-gradient(135deg, var(--grayish-cyan), #5578cc, #4267B2) !important;
  border-color: var(--bluish-gray) !important;
  box-shadow: 0 20px 50px rgba(202, 219, 220, 0.9), 
              0 10px 30px rgba(166, 189, 247, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.6) !important;
  color: white !important;
}

/* Animaciones ESPECTACULARES para iconos en el contenedor */
.social-buttons-container .whatsapp-btn i,
.social-buttons-container .primary-btn i {
  font-size: 1.5rem;
  animation: superBounceGreen 1.8s ease-in-out infinite;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.social-buttons-container .instagram-btn i {
  font-size: 1.5rem;
  animation: superPulseInstagram 1.5s ease-in-out infinite;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.social-buttons-container .facebook-btn i {
  font-size: 1.5rem;
  animation: superFloatBlue 2.2s ease-in-out infinite;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

@keyframes superBounceGreen {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) scale(1.15) rotate(-3deg);
    filter: drop-shadow(0 0 15px rgba(0, 255, 107, 0.8));
  }
  75% {
    transform: translateY(-2px) scale(1.05) rotate(3deg);
    filter: drop-shadow(0 0 10px rgba(0, 255, 107, 0.6));
  }
}

@keyframes superPulseInstagram {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.9));
  }
  75% {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(255, 77, 106, 0.7));
  }
}

@keyframes superFloatBlue {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-3px) rotate(-4deg) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(202, 219, 220, 0.8));
  }
  66% {
    transform: translateY(-6px) rotate(4deg) scale(1.15);
    filter: drop-shadow(0 0 18px rgba(166, 189, 247, 0.9));
  }
}

/* Efectos adicionales al hover */
.social-buttons-container .primary-btn:hover i {
  animation: spinGreen 0.6s ease-in-out;
  transform: scale(1.3) !important;
}

.social-buttons-container .instagram-btn:hover i {
  animation: shakeInstagram 0.8s ease-in-out;
  transform: scale(1.3) !important;
}

.social-buttons-container .facebook-btn:hover i {
  animation: bounceBlue 0.7s ease-in-out;
  transform: scale(1.3) !important;
}

@keyframes spinGreen {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.4); }
  100% { transform: rotate(360deg) scale(1.3); }
}

@keyframes shakeInstagram {
  0%, 100% { transform: translateX(0) scale(1.3); }
  25% { transform: translateX(-3px) scale(1.4); }
  75% { transform: translateX(3px) scale(1.4); }
}

@keyframes bounceBlue {
  0%, 100% { transform: translateY(0) scale(1.3); }
  50% { transform: translateY(-8px) scale(1.5); }
}

/* Responsive para el contenedor social */
@media (max-width: 768px) {
  .social-buttons-container {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .social-buttons-container .whatsapp-btn,
  .social-buttons-container .primary-btn,
  .social-buttons-container .instagram-btn,
  .social-buttons-container .facebook-btn {
    width: 100%;
    max-width: 280px;
    min-width: 250px;
  }
}

@media (max-width: 576px) {
  .social-buttons-container {
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 20px;
  }
  
  .social-buttons-container .whatsapp-btn,
  .social-buttons-container .primary-btn,
  .social-buttons-container .instagram-btn,
  .social-buttons-container .facebook-btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Efecto de entrada para el contenedor */
.social-buttons-container {
  animation: containerFadeIn 1s ease-out;
}

@keyframes containerFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
#ivn-social-follow {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive para #ivn-social-follow - Móvil y Tablet */
@media screen and (max-width: 768px) {
    #ivn-social-follow {
        align-items: center;
        gap: 20px;
        padding: 0 20px;
        margin-top: 30px;
    }
    
    .ivn-btn-follow {
        font-size: 14px;
        padding: 12px 20px;
        min-width: 200px;
    }
    
    .ivn-btn-follow i {
        font-size: 16px;
    }
}

@media screen and (max-width: 576px) {
    #ivn-social-follow {
        gap: 25px;
        padding: 0 15px;
        display: flex;
        margin-top: 25px;
    }
    
    .ivn-btn-follow {
        font-size: 13px;
        padding: 12px 18px;
        min-width: 180px;
        width: 100%;
        max-width: 280px;
    }
}

@media screen and (max-width: 480px) {
    #ivn-social-follow {
        gap: 30px;
        padding: 0 10px;
        margin-top: 20px;
    }
    
    .ivn-btn-follow {
        padding: 10px 16px;
        min-width: 160px;
        max-width: 260px;
    }
}

/* Botones de seguimiento mejorados y unificados */
.ivn-btn-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ivn-btn-follow::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.ivn-btn-follow:hover::before {
    left: 100%;
}

.ivn-btn-follow i {
    margin-right: 0;
    font-size: 18px;
    transition: all 0.3s ease;
}

.ivn-btn-whatsapp {
    background: linear-gradient(135deg, var(--boton-verde), #00d158);
    box-shadow: 
        0 6px 20px rgba(0, 176, 80, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ivn-btn-whatsapp:hover {
    background: linear-gradient(135deg, #00d158, var(--boton-verde));
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(0, 176, 80, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.ivn-btn-whatsapp:hover i {
    transform: scale(1.1) rotate(5deg);
}

.ivn-btn-instagram {
    background: linear-gradient(135deg, #e1306c, #fd1d1d, #f77737, #fcaf45);
    box-shadow: 
        0 6px 20px rgba(225, 48, 108, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ivn-btn-instagram:hover {
    background: linear-gradient(135deg, #fd1d1d, #e1306c, #fcaf45, #f77737);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(225, 48, 108, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.ivn-btn-instagram:hover i {
    transform: scale(1.1) rotate(-5deg);
}


