/* Custom CSS Premium para AVAC */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animaciones globales */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-head, .item-wrapper, .image-wrapper {
    animation: fadeInUp 0.8s ease-out both;
}

/* Retraso de animación en grillas */
.item-wrapper:nth-child(1) { animation-delay: 0.1s; }
.item-wrapper:nth-child(2) { animation-delay: 0.2s; }
.item-wrapper:nth-child(3) { animation-delay: 0.3s; }
.item-wrapper:nth-child(4) { animation-delay: 0.4s; }

/* Botones Premium */
.btn {
    transition: all 0.3s ease-in-out !important;
    position: relative;
    overflow: hidden;
    border-radius: 50px !important; /* Más redondeados */
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Formulario Moderno con Glassmorphism */
.custom-form-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 35px 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.custom-form-premium .form-control {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    transition: all 0.3s ease;
    padding: 15px 20px;
    background-color: #fafafa;
}

.custom-form-premium .form-control:focus {
    border-color: #32278e; /* Azul Mobirise/AVAC */
    box-shadow: 0 0 0 4px rgba(50, 39, 142, 0.15);
    background-color: #fff;
    outline: none;
}

/* Efecto en tarjetas de Testimonios y Beneficios */
.item-wrapper {
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.item-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Títulos con más jerarquía y sombras sutiles en backgrounds oscuros */
.mbr-parallax-background .mbr-section-title,
.mbr-parallax-background .mbr-text {
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Corrección visual para el logo JPG (fondo blanco) */
.logo-fix-blend {
    mix-blend-mode: multiply;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.logo-fix-blend:hover {
    transform: scale(1.02);
}

/* Accordion FAQs (Preguntas frecuentes) */
.card-header {
    transition: all 0.3s ease;
}
.card-header:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* --- OVERRIDES EXTREMOS PREMIUM --- */

/* Tipografía global */
body, p, li, .panel-text {
    font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .mbr-section-title, .mbr-section-subtitle, .navbar-caption {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
}

/* Gradient Text para Título Principal */
.header09 .mbr-section-title strong {
    background: linear-gradient(135deg, #ffffff 0%, #a4e1d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.3));
}

/* Floating animation para Imagen Principal */
.image-wrapper img {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); box-shadow: 0 25px 40px rgba(0,0,0,0.15); }
    100% { transform: translateY(0px); }
}

/* Pulse animation en botones principales */
.pulse-btn {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(57, 132, 122, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(57, 132, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(57, 132, 122, 0); }
}

/* Mejoras extra en Inputs */
.premium-input {
    background-color: rgba(255,255,255,0.85) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
}
.premium-input:focus {
    box-shadow: 0 0 15px rgba(50, 39, 142, 0.2) !important;
}
