/* ===== VARIABLES Y RESET ===== */
:root {
    --color-primary: rgb(20, 20, 28);
    --color-primary-dark: rgb(15, 15, 22);
    --color-primary-light: rgb(35, 35, 48);
    --color-secondary: #ffffff;
    --color-accent: rgb(87, 92, 110);
    --color-gray-light: #f5f5f5;
    --color-gray-medium: #e0e0e0;
    --color-gray-dark: #333333;
    --color-border: #ddd;
    --color-text: #222;
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 25%, #f0f2f7 50%, #f8f9fb 75%, #ffffff 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ===== BANNER SUPERIOR ===== */
.banner-top {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== NAVBAR MODERNO ===== */
nav {
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.95) 0%, rgba(15, 15, 22, 0.98) 25%, rgba(25, 25, 35, 0.95) 50%, rgba(20, 20, 28, 0.97) 75%, rgba(30, 30, 40, 0.96) 100%);
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo img {
    height: 40px;
    width: auto;
}

/* ===== HAMBURGER MENU MODERNO ===== */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger span:nth-child(1) {
    width: 24px;
}

.hamburger span:nth-child(2) {
    width: 20px;
}

.hamburger span:nth-child(3) {
    width: 16px;
}

/* Animación del hamburger activo */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px) scaleX(1);
    width: 24px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) scaleX(1);
    width: 24px;
}

/* Efecto hover del hamburger */
.hamburger:hover span {
    background: #fff;
}

.hamburger:hover span:nth-child(1) {
    width: 28px;
}

.hamburger:hover span:nth-child(3) {
    width: 24px;
}

/* ===== NAVBAR MENU MODERNO ===== */
.navbar-menu {
    display: flex;
    gap: 10px;
    list-style: none;
}

.navbar-menu a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(87, 92, 110, 0.8), rgba(87, 92, 110, 0.3));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-menu a:hover {
    color: #fff;
}

.navbar-menu a:hover::after {
    width: 100%;
}

/* ===== RESPONSIVE HAMBURGER MENU ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 8px;
        background: linear-gradient(180deg, rgba(20, 20, 28, 0.95) 0%, rgba(15, 15, 22, 0.97) 100%);
        backdrop-filter: blur(20px);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        list-style: none;
        border-bottom: none;
        box-shadow: none;
        z-index: 999;
    }
    
    .navbar-menu.active {
        padding: 16px 8px;
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .navbar-menu.active {
        max-height: 450px;
    }
    
    .navbar-menu li {
        animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        opacity: 0;
    }
    
    .navbar-menu.active li:nth-child(1) { animation-delay: 0.05s; }
    .navbar-menu.active li:nth-child(2) { animation-delay: 0.1s; }
    .navbar-menu.active li:nth-child(3) { animation-delay: 0.15s; }
    .navbar-menu.active li:nth-child(4) { animation-delay: 0.2s; }
    
    .navbar-menu a {
        display: block;
        padding: 14px 20px;
        color: var(--color-secondary);
        text-decoration: none;
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0.3px;
        border-bottom: none !important;
    }
    
    .navbar-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(87, 92, 110, 0.3) 0%, rgba(87, 92, 110, 0.1) 100%);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }
    
    .navbar-menu a::after {
        display: none;
    }
    
    .navbar-menu a span {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .navbar-menu a:hover {
        background: rgba(87, 92, 110, 0.2);
        padding-left: 28px;
    }
    
    .navbar-menu a:hover::before {
        transform: translateX(0);
    }
}

.navbar-menu li a {
    display: flex;
    align-items: center;      /* alineación vertical perfecta */
    gap: 10px;                /* espacio uniforme */
}

.nav-icon {
    font-size: 18px;          /* mismo tamaño */
    font-weight: normal;      /* mismo grosor */
    line-height: 1;           /* evita desalineaciones */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ===== SECCIÓN HERO ===== */
.hero-section {
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ===== IMAGEN MÓVIL ===== */
.imagen-mobile {
    display: none;
    text-align: center;
    padding: 20px;
}

.imagen-mobile-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    animation: fadeInUp 0.8s ease;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(20, 20, 28) 0%, rgb(15, 15, 22) 25%, rgb(25, 25, 35) 50%, rgb(20, 20, 28) 75%, rgb(30, 30, 40) 100%);
    color: var(--color-secondary);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgb(25, 25, 35) 0%, rgb(20, 20, 28) 25%, rgb(30, 30, 40) 50%, rgb(25, 25, 35) 75%, rgb(35, 35, 45) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: white;
}

.btn-secondary:hover {
    background-color: rgb(100, 105, 130);
    transform: translateY(-3px);
}

/* ===== SECCIÓN SIMULADOR E IMAGEN ===== */
.simulador-imagen-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
    align-items: center;
}

/* ===== TARJETA SIMULADOR ===== */
.simulador-card {
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.95) 0%, rgba(15, 15, 22, 0.98) 25%, rgba(25, 25, 35, 0.95) 50%, rgba(20, 20, 28, 0.97) 75%, rgba(30, 30, 40, 0.96) 100%);
    color: var(--color-secondary);
    padding: 25px;
    border-radius: 24px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.simulador-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.simulador-input-group {
    margin-bottom: 18px;
}

.simulador-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
}

.simulador-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.simulador-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.simulador-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.simulador-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.simulador-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.monto-display {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 12px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.plazo-buttons {
    display: flex;
    gap: 8px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-plazo {
    flex: 1;
    min-width: 70px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-secondary);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-plazo:hover,
.btn-plazo.active {
    background: var(--color-accent);
    border-color: var(--color-secondary);
    transform: scale(1.05);
}

.total-pagar {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 12px 0;
}

.total-pagar-label {
    font-size: 12px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.total-pagar-valor {
    font-size: 22px;
    font-weight: bold;
}

.restricciones {
    text-align: center;
    font-size: 11px;
    margin-top: 10px;
    opacity: 0.8;
    font-style: italic;
}

.btn-solicitar-simulador {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 8px;
    text-align: center !important;
}



/* ===== IMAGEN PROMOCIONAL ===== */
.imagen-promocional-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: 520px;
}

.imagen-promocional {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    animation: fadeInUp 0.8s ease;
}

/* ===== SECCIÓN DESCRIPCIÓN ===== */
.seccion-promocion {
    text-align: center;
    padding: 60px 20px 20px;
}

.seccion-titulo-promocion {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

/* ===== TARJETAS DE CARACTERÍSTICAS ===== */
.caracteristicas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.caracteristica-card {
    background: linear-gradient(135deg, var(--color-gray-light) 0%, #f0f0f0 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.caracteristica-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.caracteristica-card h3 {
    color: #000000;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.caracteristica-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== SECCIÓN ESTADÍSTICAS ===== */
.estadisticas-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef5 100%);
    padding: 60px 20px;
    margin-top: 60px;
}

.estadisticas-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.estadistica-item {
    padding: 30px;
}

.estadistica-numero {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    animation: countUp 2s ease-out forwards;
}

.estadistica-descrip {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ===== SECCIÓN CÓMO TRAMITAR CRÉDITO ===== */
.seccion-tramite {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 25%, #f0f2f7 50%, #f8f9fb 75%, #ffffff 100%);
    background-attachment: fixed;
}

.seccion-tramite-titulo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.pasos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.paso-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.paso-item:nth-child(1) { animation-delay: 0.1s; }
.paso-item:nth-child(2) { animation-delay: 0.2s; }
.paso-item:nth-child(3) { animation-delay: 0.3s; }
.paso-item:nth-child(4) { animation-delay: 0.4s; }

.paso-numero {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.95) 0%, rgba(15, 15, 22, 0.98) 25%, rgba(25, 25, 35, 0.95) 50%, rgba(20, 20, 28, 0.97) 75%, rgba(30, 30, 40, 0.96) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    transition: var(--transition);
}

.paso-item:hover .paso-numero {
    transform: scale(1.1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}

.paso-titulo {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.paso-descripcion {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== RESPONSIVE PASOS ===== */
@media (max-width: 768px) {
    .pasos-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .seccion-tramite-titulo {
        font-size: 28px;
    }
    
    .paso-numero {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .paso-titulo {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .pasos-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .seccion-tramite-titulo {
        font-size: 24px;
    }
    
    .paso-numero {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .paso-titulo {
        font-size: 16px;
    }
    
    .paso-descripcion {
        font-size: 12px;
    }
}

/* ===== SECCIÓN USOS DEL CRÉDITO ===== */
.seccion-usos {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 25%, #f0f2f7 50%, #f8f9fb 75%, #ffffff 100%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.usos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto 60px;
    flex-wrap: wrap;
    width: 100%;
    order: -1;
}

.seccion-usos-titulo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
    max-width: 100%;
}

.seccion-usos-descripcion {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.uso-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeInScale 0.6s ease forwards;
    opacity: 0;
}

.uso-item:nth-child(1) { animation-delay: 0.2s; }
.uso-item:nth-child(2) { animation-delay: 1.2s; }
.uso-item:nth-child(3) { animation-delay: 2.2s; }

.uso-circulo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.95) 0%, rgba(15, 15, 22, 0.98) 25%, rgba(25, 25, 35, 0.95) 50%, rgba(20, 20, 28, 0.97) 75%, rgba(30, 30, 40, 0.96) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.uso-circulo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.uso-item:hover .uso-circulo {
    transform: scale(1.1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6);
}

.uso-label {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    font-family: var(--font-heading);
}

/* ===== RESPONSIVE USOS ===== */
@media (max-width: 768px) {
    .seccion-usos-titulo {
        font-size: 28px;
    }
    
    .seccion-usos-descripcion {
        font-size: 14px;
    }
    
    .usos-container {
        gap: 40px;
        margin-bottom: 20px;
    }
    
    .uso-circulo {
        width: 100px;
        height: 100px;
    }
    
    .uso-label {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .seccion-usos-titulo {
        font-size: 24px;
    }
    
    .usos-container {
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .uso-circulo {
        width: 80px;
        height: 80px;
    }
    
    .uso-label {
        font-size: 14px;
    }
}

/* ===== SECCIÓN PREGUNTAS FRECUENTES ===== */
.seccion-faq {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 25%, #f0f2f7 50%, #f8f9fb 75%, #ffffff 100%);
    background-attachment: fixed;
}

.seccion-faq-titulo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

.faq-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f7 100%);
    user-select: none;
}

.faq-header:hover {
    background: linear-gradient(135deg, #f0f2f7 0%, #e8eef5 100%);
}

.faq-pregunta {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    font-family: var(--font-heading);
}

.faq-icon {
    font-size: 24px;
    color: var(--color-primary);
    font-weight: bold;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.active .faq-respuesta {
    max-height: 1000px;
}

.faq-respuesta {
    padding: 0 20px;
}

.faq-item.active .faq-respuesta {
    padding: 20px;
}

.faq-respuesta p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 14px;
}

.faq-respuesta ul {
    color: #666;
    line-height: 1.8;
    margin-left: 20px;
    font-size: 14px;
}

.faq-respuesta li {
    margin-bottom: 10px;
}

.faq-respuesta strong {
    color: #000000;
    font-weight: 600;
}

/* ===== SECCIÓN TESTIMONIOS ===== */
.seccion-testimonios {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef5 100%);
}

.seccion-testimonios-titulo {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.testimonios-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonio-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transition: var(--transition);
}

.testimonio-card:nth-child(1) { animation-delay: 0.1s; }
.testimonio-card:nth-child(2) { animation-delay: 0.2s; }
.testimonio-card:nth-child(3) { animation-delay: 0.3s; }
.testimonio-card:nth-child(4) { animation-delay: 0.4s; }

.testimonio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonio-imagen {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--color-primary);
}

.testimonio-nombre {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.testimonio-texto {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE FAQ Y TESTIMONIOS ===== */
@media (max-width: 1024px) {
    .testimonios-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .seccion-faq-titulo,
    .seccion-testimonios-titulo {
        font-size: 28px;
    }
    
    .faq-pregunta {
        font-size: 14px;
    }
    
    .testimonios-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonio-imagen {
        width: 70px;
        height: 70px;
    }
    
    .testimonio-nombre {
        font-size: 16px;
    }
    
    .testimonio-texto {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .seccion-faq-titulo,
    .seccion-testimonios-titulo {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .faq-container {
        gap: 15px;
    }
    
    .testimonio-card {
        padding: 15px;
    }
    
    .testimonios-container {
        grid-template-columns: 1fr;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .simulador-imagen-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .imagen-mobile {
        display: block;
    }
    
    .imagen-promocional-container {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .navbar-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: linear-gradient(135deg, rgba(20, 20, 28, 0.98) 0%, rgba(15, 15, 22, 0.99) 100%);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
    }
    
    .navbar-menu.active {
        max-height: 300px;
    }
    
    .navbar-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: none;
    }
    
    .navbar-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .simulador-card {
        padding: 25px;
    }
    
    .plazo-buttons {
        gap: 8px;
    }
    
    .btn-plazo {
        min-width: 70px;
        font-size: 11px;
    }
    
    .banner-top {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .seccion-titulo-promocion {
        font-size: 28px;
    }
    
    .caracteristicas-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .simulador-card {
        padding: 20px;
    }
    
    .navbar-menu {
        gap: 10px;
    }
    
    .estadistica-numero {
        font-size: 36px;
    }
    
    .estadistica-descrip {
        font-size: 14px;
    }
}