/* Configuración de Fuentes */
body {
    font-family: 'Inter', sans-serif;
}

/* 
   Reemplazamos Playfair Display (Serif) por Montserrat (Sans Serif similar a Museo Sans).
   Mantenemos la clase .font-serif apuntando a esta nueva fuente para compatibilidad 
   con el HTML existente, aunque visualmente ya no sea serif.
*/
h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Montserrat', sans-serif;
}

/* --- NAVBAR TRANSITIONS --- */
#main-nav {
    background-color: transparent; /* Estado inicial transparente */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Estado Inicial (Texto blanco sobre fondo oscuro/transparente) */
#main-nav .nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
#main-nav .nav-link:hover {
    color: #ffffff;
}
#main-nav .mobile-menu-icon {
    color: white;
}

/* Lógica de Logos - Base */
.logo-white {
    display: block; /* Visible por defecto en transparente */
    transition: opacity 0.3s ease;
}
.logo-dark {
    display: none; /* Oculto por defecto */
    transition: opacity 0.3s ease;
}

/* Estado Scrolled (Fondo Blanco + Sombra) */
#main-nav.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding-top: 0.75rem; /* Ajuste opcional para compactar al hacer scroll */
    padding-bottom: 0.75rem;
}

/* Ajustes de texto en modo Scrolled */
#main-nav.scrolled .nav-link {
    color: #4b5563; /* gray-600 */
    text-shadow: none;
}
#main-nav.scrolled .nav-link:hover {
    color: #00b0d0; /* brand-500 */
}
#main-nav.scrolled .mobile-menu-icon {
    color: #4b5563; /* gray-600 */
}

/* Intercambio de logos en Scrolled */
#main-nav.scrolled .logo-white {
    display: none;
}
#main-nav.scrolled .logo-dark {
    display: block;
}

/* --- SWIPER CUSTOMIZATION --- */

/* Ajustes Overlay Degradado */
.hero-gradient {
    /* 
       Estilo específico solicitado: Overlay Coral a Azul 
       Aumentado al 85% de opacidad para mayor visibilidad del color
    */
    background: linear-gradient(45deg, rgb(238 124 84 / 85%), rgb(7 195 255 / 85%));
    z-index: 1; /* Aseguramos que quede sobre la imagen base */
}

/* Flechas de Navegación */
.swiper-button-next, .swiper-button-prev {
    color: white !important; /* Blanco por defecto */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #00b0d0 !important; /* brand-500 al hover */
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 2rem !important;
}

/* Paginación (Bullets) */
.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5 !important;
    width: 0.75rem !important;
    height: 0.75rem !important;
    transition: all 0.3s ease !important;
}
.swiper-pagination-bullet-active {
    background: #00b0d0 !important; /* brand-500 */
    opacity: 1 !important;
    width: 2rem !important; /* Efecto alargado */
    border-radius: 0.5rem !important;
}

/* ====== FORM UX ====== */

.form-loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

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

/* Alertas limpias */
#alert-area .alert {
  margin-top: 15px;
  font-size: 14px;
}