/* ===== VARIABLES CSS ===== */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --accent-blue: #3b82f6;
    --success-green: #10b981;
    --whatsapp-green: #25d366;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-gray: #e5e7eb;
    
    /* Colores específicos para garantizar consistencia */
    --hero-gradient-start: #1e3a8a;
    --hero-gradient-end: #3b82f6;
    --cta-gradient-start: #1e3a8a;
    --cta-gradient-end: #3b82f6;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ESTILOS GLOBALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--accent-blue) !important;
    transform: scale(1.05);
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.navbar-scrolled .navbar-logo {
    height: 35px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
    background: var(--light-blue);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    background: var(--light-blue);
}

.navbar-nav .nav-link.btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white) !important;
    border-radius: 8px;
    margin-left: 1rem;
}

.navbar-nav .nav-link.btn:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Botón hamburguesa personalizado */
.navbar-toggler {
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 8px 12px;
    background: transparent;
    transition: var(--transition);
}

.navbar-toggler:hover {
    background: var(--light-blue);
    border-color: var(--accent-blue);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.25);
    border-color: var(--primary-blue);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231e3a8a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== BOTONES ===== */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    border-radius: 8px;
    padding: 12px 24px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green), #22c55e);
    border: none;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #22c55e, var(--whatsapp-green));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== UTILIDADES ===== */
section {
    position: relative;
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
}

.shadow-custom {
    box-shadow: var(--shadow-xl);
}

.border-radius-custom {
    border-radius: 16px;
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.accordion-button:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: #1e3a8a; /* Fallback color */
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
    display: block;
    margin: 0 auto 3rem auto;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    max-width: 100%;
    height: auto;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* ===== SRI INFORMATION SECTION ===== */
.sri-info-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.sri-info-section .section-title {
    margin-bottom: 2rem;
}

.sri-points li,
.sri-advantages li {
    padding: 1rem 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.sri-points i,
.sri-advantages i {
    font-size: 1.25rem;
    margin-top: 0.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.sri-benefits {
    margin-top: 2rem;
}

.sri-benefits h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sri-advantages h3 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%233b82f6" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: -1;
}

/* Estilos específicos para sobrescribir Bootstrap */
.benefits-section .row {
    align-items: stretch !important;
    min-height: 500px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.benefits-section .col-lg-6 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.benefits-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 500px !important;
    width: 100% !important;
    padding: 2rem 1rem !important;
}

.benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.benefit-item:hover {
    background: var(--white);
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-blue);
}

.benefit-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefits-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    min-height: 500px !important;
    max-height: 500px !important;
    padding: 3rem 2rem !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

/* Selector ultra específico para la imagen */
.benefits-section .benefits-image img,
.benefits-section .col-lg-6 .benefits-image img {
    border-radius: 16px !important;
    box-shadow: var(--shadow-lg) !important;
    transition: var(--transition) !important;
    max-width: 80% !important;
    max-height: 380px !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover !important;
    position: relative !important;
    z-index: 3 !important;
    margin: 0 auto !important;
    display: block !important;
    align-self: center !important;
    flex-shrink: 0 !important;
    transform: none !important; /* Prevenir efectos de parallax */
}

/* Hover específico para beneficios */
.benefits-section .benefits-image img:hover {
    transform: scale(1.05) !important; /* Solo escala en hover, no parallax */
}

.benefits-image img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2) !important;
}

/* Prevenir interferencias de Bootstrap y otros frameworks */
.benefits-section .d-flex {
    align-items: center !important;
    justify-content: center !important;
}

.benefits-section .align-items-center {
    align-items: center !important;
}

.benefits-section .justify-content-center {
    justify-content: center !important;
}

/* Forzar estilos después de carga completa */
.benefits-section.loaded .benefits-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background: var(--light-gray);
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* ===== VALUE PROPOSITION ===== */
.value-proposition {
    padding: 6rem 0;
    background: var(--white);
}

.value-points {
    margin-top: 2rem;
}

.value-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition);
}

.value-point:hover {
    background: var(--light-blue);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.value-point i {
    font-size: 2rem;
    margin-top: 0.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.value-point h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.value-point p {
    color: var(--text-light);
    margin: 0;
}

.value-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.value-image img:hover {
    transform: scale(1.02);
}

/* ===== PROCESS SECTION ===== */
.process-section {
    background: var(--light-gray);
    padding: 6rem 0;
}

.process-step {
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.step-number i {
    font-size: 2rem;
    color: var(--white);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.process-step h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    margin: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 6rem 0;
    background: var(--white);
}

.accordion-item {
    border: 1px solid var(--border-gray);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-button {
    background: var(--white);
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--light-blue);
    color: var(--primary-blue);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.accordion-body {
    padding: 1.5rem 2rem;
    background: var(--light-gray);
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

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

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--white);
}

.cta-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
}

.footer-logo {
    max-width: 200px;
    height: auto;
    filter: brightness(1.3) contrast(1.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.footer-logo:hover {
    filter: brightness(1.5) contrast(1.3);
    background: rgba(255, 255, 255, 0.15);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Estilos específicos para menú móvil y tablets */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link.btn {
        margin: 1rem 0 0 0;
        display: block;
        width: 100%;
    }
    
    .hero-section {
        padding: 80px 0 40px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .value-point,
    .benefit-item {
        text-align: center;
        flex-direction: column;
    }
    
    .value-point i,
    .benefit-item i {
        margin-bottom: 1rem;
        margin-right: 0;
    }

    /* Ajustes específicos para la sección de beneficios en tablets */
    .benefits-section .row {
        align-items: center !important;
        min-height: 450px !important;
    }
    
    .benefits-content {
        min-height: 400px !important;
        padding: 1.5rem !important;
    }
    
    .benefits-image {
        margin-top: 2rem !important;
        padding: 2rem 1rem !important;
        min-height: 350px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .benefits-image img {
        max-height: 300px !important;
        max-width: 85% !important;
        width: auto !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 70px 0 30px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo {
        max-width: 220px;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .services-section,
    .benefits-section,
    .value-proposition,
    .process-section,
    .faq-section,
    .sri-info-section {
        padding: 4rem 0;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .service-card,
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .accordion-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem 1.5rem;
    }
}

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

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ===== UTILIDADES ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
}

.shadow-custom {
    box-shadow: var(--shadow-xl);
}

.border-radius-custom {
    border-radius: 16px;
}

/* ===== SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.accordion-button:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* ===== LOADING STATES ===== */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

