/* =============================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ============================================= */
   :root {
    --primary-accent: #00dfeb;
    --secondary-accent: #00c7e0;
    --text: #2b2b2b;
    --light-bg: #f9f9f9;
    --card-bg: #ffffff;
    --primary-peach: #FF9A8B;
    --secondary-peach: #FF6A88;
    --cta: linear-gradient(135deg, #FF9A8B, #FF6A88);
    --cta-hover: linear-gradient(135deg, #FF6A88, #FF9A8B);
    --footerbg: linear-gradient(135deg, #00c3da, #1273ae);
}

/* =============================================
   ESTILOS BASE Y RESET
   ============================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   COMPONENTES REUTILIZABLES
   ============================================= */

/* Botones */
.btn-login {
    border: 1px solid var(--cta);
    color: var(--cta);
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--secondary-accent);
    color: white !important;
    border-color: var(--secondary-accent);
}

.btn-apply {
    background: var(--cta);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    border: none;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 136, 0.3);
}

.btn-pill {
    border-radius: 5px;
    padding: 8px 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #ccc;
    background-color: white;
    color: var(--text);
    flex: 1;
    text-align: center;
}

.btn-pill:hover, .btn-pill.active {
    background: var(--cta);
    color: white;
    border-color: transparent;
}

.btn-pill-group {
    display: flex;
    gap: 10px;
    margin-bottom: 0px;
}

.btn-submit {
    width: 100%;
    height: 48px;
    border-radius: 50px;
    background: var(--cta);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 136, 0.3);
}

.btn-submit-link {
    display: inline-block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50px;
    background: var(--cta);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    cursor: pointer;
}

.btn-submit-link:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 106, 136, 0.3);
    color: white;
    text-decoration: none;
}

/* Formularios */
.form-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 28px;
    position: relative;
    z-index: 1;
}

.form-title {
    color: #484848;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: #484848;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

.form-divider {
    height: 1px;
    background-color: #e6e6e6;
    margin: 20px 0;
}

.form-label {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0px;
    display: block;
}

.form-control {
    padding: 8px 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--cta);
    box-shadow: 0 0 0 0.25rem rgba(24, 140, 210, 0.25);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.input-with-icon input {
    padding-left: 40px;
}

.form-footer {
    text-align: center;
    color: #777;
    margin-top: 20px;
    font-size: 14px;
}

.form-footer a {
    color: var(--cta);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    color: var(--secondary-accent);
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #777;
    font-style: italic;
    margin-top: 20px;
    text-align: left;
}

/* Tarjetas */
.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.loan-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.review-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
    flex: 0 0 calc(25% - 15px);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.financing-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Iconos */
.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 199, 224, 0.1) 0%, rgba(0, 223, 235, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--cta);
    font-size: 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 223, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.loan-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 30px;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0,199,224,0.1) 0%, rgba(0,223,235,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    margin-right: 5px;
    color: var(--cta);
    font-size: 32px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 223, 235, 0.2);
}

/* =============================================
   ANIMACIONES Y EFECTOS
   ============================================= */

/* Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Rotaciones específicas */
[data-rotate-start] {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rotate-in {
    transform: rotate(var(--rotate-start, -10deg)) translateY(30px);
    opacity: 0;
}

.rotate-in.animate {
    transform: rotate(var(--rotate-end, 0deg)) translateY(0);
    opacity: 1;
}

/* Efectos de escala */
.scale-in {
    transform: scale(0.8) translateY(30px);
    opacity: 0;
}

.scale-in.animate {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Efectos de deslizamiento */
.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
}

.slide-in-left.animate {
    transform: translateX(0);
    opacity: 1;
}

.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
}

.slide-in-right.animate {
    transform: translateX(0);
    opacity: 1;
}

/* Floating Animation */
@keyframes floatRotate {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.floating-image {
    animation: floatRotate 8s ease-in-out infinite;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-accent);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-accent);
}

/* =============================================
   HEADER Y NAVEGACIÓN
   ============================================= */
.navbar {
    background-color: var(--card-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--cta) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--text) !important;
    margin: 0 8px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.dropdown-item.active {
    background: var(--secondary-accent);
}

.dropdown-item:hover {
    background-color: rgba(0, 223, 235, 0.1);
    color: var(--cta);
}

.dropdown-divider {
    margin: 5px 0;
}

/* Mobile Menu - Left Side Offcanvas */
.offcanvas-start {
    width: 300px;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
}

.offcanvas-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--cta);
}

.mobile-menu .nav-link {
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.03);
    margin-left: 15px;
    width: calc(100% - 30px);
}

.mobile-menu .dropdown-item {
    padding: 10px 30px;
    font-size: 14px;
}

.mobile-menu-buttons {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Quita el fondo oscuro cuando el off-canvas está abierto */
.offcanvas-backdrop.fade.show {
    opacity: 0 !important;
}

.offcanvas {
    visibility: visible !important;
}

/* Los dos iconos dentro del botón */
.navbar-toggler .toggler-icon {
    font-size: 1.4rem;
    transition: opacity .25s ease;
}

.offcanvas.offcanvas-start {
    top: var(--navbar-height-px, 0px) !important;
    height: calc(100vh - var(--navbar-height-px, 0px)) !important;
}

/* =============================================
   SECCIONES PRINCIPALES
   ============================================= */

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.hero-label {
    color: #FFF;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-accent);
}

.hero-subtext {
    font-size: 18px;
    margin-bottom: 30px;
    color: #FFF;
    max-width: 500px;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 199, 224, 0.1) 0%, rgba(0, 223, 235, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 199, 224, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

.stat-card:hover::before {
    height: 8px;
}

.stat-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 223, 235, 0.1) 0%, transparent 70%);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--cta);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 106, 136, 0.3);
    cursor: pointer;
}

.stat-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.stat-title:hover {
    color: #FF6A88;
    cursor: pointer;
}

.stat-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
    transition: all 0.4s ease;
}

.stat-card:hover .stat-title::after {
    width: 100%;
}

.stat-description {
    color: #666;
    font-size: 16px;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-description {
    color: #444;
}

/* Loans Section */
.loans {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text);
}

.loan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.loan-card:hover .loan-icon {
    background: var(--cta);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.loan-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.loan-description {
    color: #666;
    margin-bottom: 20px;
}

.loan-link {
    color: #FF6A88;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

a.loan-link:hover {
    color: #FF6A88;
    text-decoration: none;
}

.loan-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.loan-link:hover i {
    transform: translateX(5px);
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: grid;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}



.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.step-description {
    color: #666;
    max-width: 250px;
    margin: 0 auto;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    color: white;
}

.trust-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.trust-description {
    margin-bottom: 30px;
    font-size: 18px;
}

.trust-button {
    background-color: var(--cta);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.trust-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.trust-image {
    text-align: center;
}

.trust-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Promise Section */
.promise {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
}

.promise-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promise-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.promise-badge {
    background-color: var(--cta);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 18px;
    margin-top: 30px;
}

/* CTA Section */
.final-cta {
    padding: 100px 0;
    background-color: var(--light-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
    border-radius: 50%;
    opacity: 0.1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.cta-button-large {
    background-color: var(--cta);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 199, 224, 0.3);
}

.cta-image {
    margin-top: 50px;
}

.cta-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background-color: var(--card-bg);
    position: relative;
}

.newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-color: var(--secondary-accent);
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.newsletter-description {
    color: #666;
    margin-bottom: 30px;
}

.newsletter-form input {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--cta);
    box-shadow: 0 0 0 0.25rem rgba(24, 140, 210, 0.25);
}

.newsletter-button {
    background-color: var(--cta);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: var(--secondary-accent);
    transform: translateY(-2px);
}

.newsletter-note {
    font-size: 12px;
    color: #999;
}

/* =============================================
   SECCIONES ESPECIALES
   ============================================= */

/* Step Process Section */
.step-process-section {
    background-color: var(--card-bg);
    padding: 80px 0;
    position: relative;
}

.process-image-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}

.step-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    min-height: 500px;
}

.step-image.active {
    opacity: 1;
}

.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/logo.png') center center no-repeat;
    background-size: 30%;
    opacity: 0.05;
    pointer-events: none;
}

.process-content-container {
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    border-radius: 0 16px 16px 0;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 15px;
}

.step-nav-item {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #666;
    padding: 8px 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.step-nav-item.active,
.step-nav-item:hover {
    color: var(--text);
}

.step-nav-item.active::after {
    width: 100%;
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.process-description {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.process-disclaimer {
    color: #999;
    font-size: 12px;
    margin-bottom: 40px;
    font-style: italic;
}

.step-visual {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.step-number-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    filter: hue-rotate(0deg) saturate(2) brightness(0.9);
}

.step-current-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.process-cta {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    align-items: center;
}

.btn-apply-now {
    background: var(--cta);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    border: none;
    cursor: pointer;
}

.btn-apply-now:hover {
    background: var(--cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 106, 136, 0.3);
}

.process-phone {
    color: #666;
    font-size: 14px;
}

.process-phone span {
    font-weight: 600;
    color: var(--text);
}

.step-arrows {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.arrow-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.arrow-btn:hover {
    color: var(--cta);
    background-color: rgba(0, 223, 235, 0.1);
}

/* Testimonial Slider Section */
.testimonial-slider-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.testimonial-image-container {
    position: relative;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
}

.testimonial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.testimonial-image.active {
    opacity: 1;
}

.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) blur(5px);
    opacity: 0.3;
    z-index: 0;
}

.testimonial-content-container {
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
}

.testimonial-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.3;
}

.highlight-text {
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FFB703;
}

.testimonial-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.testimonial-box {
    background-color: #188cd2;
    color: white;
    padding: 40px;
    border-radius: 0 16px 16px 0;
    position: relative;
    margin-bottom: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    color: #333;
    z-index: 1;
}

.testimonial-text2 {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    color: #FFF;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 14px;
    opacity: 0.9;
}

.testimonial-disclaimer {
    color: #999;
    font-size: 12px;
    margin-top: 30px;
}

.testimonial-pagination {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 2;
}

.pagination-number {
    background: none;
    border: none;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.pagination-number::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #188cd2;
    transition: all 0.3s ease;
}

.pagination-number.active,
.pagination-number:hover {
    color: #188cd2;
}

.pagination-number.active::after {
    width: 100%;
}

.testimonial-arrows {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* CPA Collaboration Section */
.cpa-collaboration-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.cpa-content {
    padding-right: 40px;
}

.cpa-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #1A1A1A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cpa-subheading {
    color: #555555;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cpa-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #555555;
    font-size: 16px;
}

.benefit-icon {
    /* margin-right: 15px; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.benefit-item svg {
    transform: rotate(45deg);
}

.btn-signup {
    display: inline-block;
    background-color: #188cd2;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-signup:hover {
    background-color: #E6A500;
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.3);
    transform: translateY(-2px);
}

.testimonial-card {
    background-color: white;
    border-radius: 0 45px 0 0;
    padding: 40px;
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cpa-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background-color: #00c7dd;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
}

.badge-text {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.badge-number {
    font-size: 18px;
    font-weight: 800;
}

.partner-logo {
    margin-bottom: 30px;
    max-width: 200px;
    margin-left: 100px;
}

.author-info {
    position: relative;
    z-index: 1;
}

.author-name {
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 5px;
}

.author-title {
    color: #555555;
    font-size: 14px;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(#EEEEEE 1px, transparent 1px),
        linear-gradient(90deg, #EEEEEE 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.reviews-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.review-item {
    flex: 0 0 calc(33.333% - 14px);
    text-align: center;
}

.review-group {
    display: flex;
    flex: 0 0 100%;
    gap: 20px; /* Mantener el gap para escritorio */
    min-width: 0;
}

@media (max-width: 768px) {
    .review-item {
        flex: 0 0 100%;
    }
    
    .review-group {
        gap: 0; /* Eliminar gap en móvil ya que solo hay 1 elemento */
    }
    
    .reviews-track {
        gap: 0; /* Eliminar gap entre grupos en móvil */
    }
}

.review-img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.review-img:hover {
    transform: scale(1.03);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.review-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
}

.review-text {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.time-ago {
    font-size: 13px;
}

.star-icon {
    color: #FFB703;
    margin-right: 3px;
    font-size: 16px;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cta);
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    margin: 0 4px;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--cta);
    transform: scale(1.2);
}

/* Brands Section */
.brands-section {
    padding: 60px 0;
    background-color: var(--light-bg);
    overflow: visible;
    position: relative;
}

.brands-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    width: 200%; /* Ahora contiene 10 items (5 + 5 duplicados) */
    animation: slide 40s linear infinite;
}

.brand-item {
    flex: 0 0 10%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.brand-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.brand-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brands-track:hover {
    animation-play-state: paused;
}

/* =============================================
   SECCIONES NUEVAS DEL INDEX
   ============================================= */

/* Key Benefits Section */
.key-benefits-section {
    background: linear-gradient(135deg, var(--secondary-accent) 0%, var(--primary-accent) 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.benefits-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 60px;
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.benefit-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* What You Can Do With Funding Section */
.funding-uses-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.funding-heading {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: var(--text);
    margin-bottom: 20px;
}

.funding-subheading {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.funding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.funding-visual {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.funding-image {
    width: 100%;
    height: auto;
    display: block;
}

.funding-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.funding-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 30px;
    text-align: center;
}

.funding-checklist {
    list-style: none;
    padding: 0;
}

.funding-checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555;
    font-size: 16px;
}

.funding-checklist i {
    color: #4CAF50;
    margin-right: 15px;
    font-size: 18px;
    background: rgba(76, 175, 80, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fast Funding Process Section */
.funding-process-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.process-heading {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--text);
    line-height: 1.2;
}

.process-steps {
    margin-bottom: 40px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-number-1 {
    background-color: var(--primary-accent);
}

.step-number-2 {
    background-color: var(--secondary-accent);
}

.step-number-3 {
    background: var(--cta);
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 8px;
}

.step-description {
    color: var(--light-gray);
    line-height: 1.6;
}

.process-cta-btn {
    display: inline-block;
    background: var(--cta);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 106, 136, 0.3);
}

.process-cta-btn:hover {
    background: var(--cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 106, 136, 0.4);
}

.process-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.circle-element {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 199, 224, 0.3);
    z-index: 0;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: 50px;
}

.circle-2 {
    width: 120px;
    height: 120px;
    bottom: 30px;
    left: 20px;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 0;
}

.phone-screen {
    position: relative;
    z-index: 2;
}

/* Financing Section */
.financing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0,199,224,0.05) 0%, rgba(0,223,235,0.05) 100%);
    position: relative;
}

.financing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
    transition: all 0.4s ease;
}

.financing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 199, 224, 0.15);
}

.financing-card:hover::before {
    height: 6px;
}

.financing-card:hover .card-icon {
    background: var(--cta);
    color: white;
    transform: scale(1.05);
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
    transition: all 0.4s ease;
}

.financing-card:hover .card-title::after {
    width: 80px;
}

.card-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
}

.benefits-list li i {
    color: #00c7e0;
    margin-right: 12px;
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

.btn-apply-financing {
    display: inline-block;
    background: var(--cta);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-apply-financing:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 106, 136, 0.3);
    color: white;
}

.card-header {
    display: flex;
    align-items: center;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--footerbg);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
    color: white !important;
    text-decoration: none;
}

.footer-about {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    background-color: #0f6193;
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 12px;
}

/* =============================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   ============================================= */

/* Mobile Navbar Layout */
@media (max-width: 991.98px) {
    .navbar-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-toggler {
        order: 1;
        border: none;
        padding: 0;
        font-size: 24px;
        width: 30px;
    }

    .navbar-brand {
        order: 2;
        margin: 0 auto;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .navbar-apply {
        order: 3;
    }

    .desktop-menu {
        display: none;
    }

    /* Mobile Hero Layout */
    .hero {
        padding: 120px 0 100px !important;
    }

    .hero-mobile-order {
        display: flex;
        flex-direction: column;
    }

    .hero-content-mobile {
        order: 2;
    }

    .hero-form-mobile {
        order: 1;
        margin-bottom: 40px;
    }

    /* Stats Section */
    .stats {
        padding: 60px 0;
    }

    .stat-card {
        margin-bottom: 20px;
    }

    /* Reviews Section */
    .review-item {
        flex: 0 0 48%;
        margin-bottom: 15px;
    }

    .review-card {
        flex: 0 0 calc(50% - 10px);
        min-height: 220px;
    }

    .review-group {
        padding: 0 5px;
    }

    /* Brands Section */
    .brands-section {
        padding: 50px 0;
        overflow: hidden;
    }
    
    .brand-item {
        flex: 0 0 25%;
    }
}

/* Desktop Navbar Layout */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-apply {
        display: none;
    }

    .desktop-menu {
        display: flex;
    }

    #mobileMenu.offcanvas {
        visibility: hidden !important;
        transform: translateX(-100%) !important;
    }

    /* Por si quedase backdrop colgado */
    .offcanvas-backdrop {
        display: none !important;
    }
}

/* Tablet and Mobile General */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .funding-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-visual {
        order: -1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .process-image-container {
        border-radius: 16px 16px 0 0;
        height: 500px;
    }

    .step-image {
        min-height: 300px;
    }

    .process-content-container {
        border-radius: 0 0 16px 16px;
        padding: 30px;
    }

    .testimonial-image-container {
        min-height: 400px;
        border-radius: 16px 16px 0 0;
    }

    .testimonial-content-container {
        border-radius: 0 0 16px 16px;
        padding: 40px;
    }

    .testimonial-title {
        font-size: 28px;
    }

    .testimonial-box {
        min-height: 250px;
        border-radius: 0 8px 8px 0;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .cpa-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .cpa-heading {
        font-size: 28px;
    }

    .testimonial-card {
        min-height: 350px;
        border-radius: 0 30px 0 0;
    }

    .review-group {
        flex-wrap: wrap;
    }

    .review-card {
        flex: 0 0 calc(50% - 12px);
    }

    .brand-item {
        flex: 0 0 25%;
    }
}

/* Mobile Small */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 32px;
    }

    .loans-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        margin-top: 30px;
    }

    .testimonial-title {
        font-size: 24px;
    }

    .testimonial-subtitle {
        font-size: 16px;
    }

    .testimonial-box {
        padding: 30px;
    }

    .cpa-heading {
        font-size: 24px;
    }

    .cpa-subheading {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 30px;
    }

    .cpa-badge {
        width: 100px;
        height: 100px;
        left: -15px;
    }

    .badge-text {
        font-size: 8px;
    }

    .badge-number {
        font-size: 16px;
    }

    .review-group {
        flex-wrap: nowrap;
        gap: 16px;
    }

    .review-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .reviews-section {
        padding: 40px 16px;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .step-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-nav-item {
        font-size: 14px;
        padding: 5px 0;
    }

    .process-title {
        font-size: 24px;
    }

    .btn-apply-now {
        width: 100%;
        text-align: center;
    }

    .key-benefits-section {
        padding: 60px 0;
    }

    .benefits-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .funding-uses-section {
        padding: 60px 0;
    }

    .funding-heading {
        font-size: 28px;
    }

    .funding-card {
        padding: 30px;
    }

    .funding-process-section {
        padding: 60px 0;
    }

    .process-heading {
        font-size: 28px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .process-cta-btn {
        width: 100%;
        text-align: center;
    }

    .review-item {
        flex: 0 0 98%;
    }

    .review-card {
        flex: 0 0 100%;
        min-height: auto;
    }

    .brands-section {
        padding: 40px 0;
    }
    
    .brand-item {
        flex: 0 0 33.333%;
        padding: 0 8px;
    }
    
    .brand-logo {
        height: 130px;
        padding: 20px;
    }
    
    .brand-logo img {
        max-height: 80px;
        max-width: 100%;
    }

    .financing-section {
        padding: 60px 0;
    }
    
    .financing-card {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}

/* Extra Small Mobile */
@media (max-width: 576px) {
    .benefits-heading,
    .funding-heading,
    .process-heading {
        font-size: 24px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .process-heading {
        font-size: 24px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .circle-1 {
        width: 150px;
        height: 150px;
    }

    .circle-2 {
        width: 80px;
        height: 80px;
    }

    .circle-3 {
        width: 60px;
        height: 60px;
    }

    .review-group {
        flex-wrap: nowrap;
        gap: 0;
        padding: 0;
        justify-content: center;
    }
  
    .review-card {
        flex: 0 0 100% !important;
        max-width: 100%;
        margin: 0 auto;
    }

    .brands-section {
        padding: 30px 0;
    }
    
    .brand-item {
        flex: 0 0 50%;
        padding: 0 5px;
    }
    
    .brand-logo {
        height: 70px;
        padding: 10px;
    }
    
    .brand-logo img {
        max-height: 40px;
    }
    
    .brands-section .container {
        padding-left: 5px;
        padding-right: 5px;
        overflow: visible;
    }

    .financing-card {
        padding: 25px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .btn-apply-financing {
        padding: 10px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .brand-item {
        flex: 0 0 50%;
        padding: 0 3px;
    }
    
    .brand-logo {
        height: 65px;
        padding: 6px;
    }
    
    .brand-logo img {
        max-height: 35px;
    }
    
    .brands-section .container {
        padding-left: 5px;
        padding-right: 5px;
    }
}


        /* Estilos únicos para la sección de financiamiento */
        .financing-section-custom {
            padding: 80px 0;
            background-color: #f9f9f9;
        }

        .financing-title-custom {
            text-align: center;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 2.5rem;
            color: #2b2b2b;
            margin-bottom: 50px;
        }

        /* CONTENEDOR PRINCIPAL CORREGIDO */
        .financing-cards-container-custom {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
        }

        /* TARJETA INDIVIDUAL - AHORA CON FLEX-BASIS */
        .financing-card-custom {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            padding: 30px;
            transition: all 0.3s ease;
            flex: 1 1 350px;
            /* Flex-grow, flex-shrink, flex-basis */
            max-width: 380px;
            display: flex;
            flex-direction: column;
            min-height: 480px;
            overflow: hidden;
        }

        .financing-card-custom:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .card-header-custom {
            text-align: center;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
        }

        .card-icon-custom {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--secondary-accent), var(--primary-accent));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: white;
            font-size: 28px;
            transition: all 0.3s ease;
        }

        .financing-card-custom:hover .card-icon-custom {
            background: var(--cta);
            transform: rotate(10deg) scale(1.1);
        }

        .card-title-custom {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text);
        }

        .card-subtitle-custom {
            color: #666;
            font-size: 16px;
            margin-bottom: 20px;
        }

        .card-description-custom {
            color: #666;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .benefits-list-custom {
            list-style: none;
            padding: 0;
            margin-bottom: 30px;
            flex-grow: 1;
        }

        .benefits-list-custom li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            color: #555;
            font-size: 15px;
        }

        .benefits-list-custom i {
            color: #00c7e0;
            margin-right: 10px;
            margin-top: 3px;
            flex-shrink: 0;
        }

        .btn-apply-financing-custom {
            display: block;
            width: 100%;
            background: var(--cta);
            color: white;
            text-align: center;
            padding: 14px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            margin-top: auto;
        }

        .btn-apply-financing-custom:hover {
            background: var(--cta-hover);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 106, 136, 0.3);
            color: white;
        }

        /* RESPONSIVE CORREGIDO */
        @media (min-width: 992px) {
            .financing-cards-container-custom {
                display: flex;
                flex-wrap: nowrap;
                /* Evita que se rompa en desktop */
                justify-content: space-between;
                gap: 30px;
            }

            .financing-card-custom {
                flex: 1;
                /* Todas las tarjetas igual de anchas */
                max-width: none;
                /* Remueve el límite máximo */
            }
        }

        @media (max-width: 991px) and (min-width: 768px) {
            .financing-cards-container-custom {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }

            .financing-card-custom {
                min-height: 450px;
            }
        }

        @media (max-width: 767px) {
            .financing-section-custom {
                padding: 60px 0;
            }

            .financing-title-custom {
                font-size: 2rem;
            }

            .financing-cards-container-custom {
                display: flex;
                flex-direction: column;
                gap: 25px;
            }

            .financing-card-custom {
                min-height: 420px;
                padding: 25px;
            }

            .card-title-custom {
                font-size: 22px;
            }
        }


        @media (max-width: 767px) {
    .financing-card-custom {
        flex: 1 1 100%;   /* ocupa todo el ancho */
        max-width: 100%;  /* evita que se corte */
        min-height: auto; /* opcional, si quieres que la altura se ajuste */
    }
}


@media (max-width: 767px) {
    .funding-process-section {
        text-align: center; /* centra todo el texto */
    }

    .funding-process-section .process-item {
        display: flex;
        flex-direction: column; /* ícono arriba, texto abajo */
        align-items: center;    /* centra horizontalmente */
        justify-content: center;
    }

    .funding-process-section .process-icon {
        margin: 0 auto 10px auto; /* centra el ícono */
    }

    .funding-process-section .process-text {
        text-align: center; /* asegura que el texto quede alineado */
    }

    
    .process-steps {
        display: flex;
        flex-direction: column; /* ícono arriba, texto abajo */
        text-align: center;
        align-items: center;    /* centra horizontalmente */
        margin-bottom: 20px;
    }

    .process-step{
        display: flex;
        text-align: center;
        justify-content: center;
    }

    .step-number{
        display: flex;
        text-align: center;
        justify-content: center;
    }

    .step-number-icon {
        margin-left:auto;
        margin-right: auto;

    }

}



@media (max-width: 768px) {
    /* Centrar las benefit-card en móvil */
    .benefits-grid {
        justify-items: center;
    }
    
    .benefit-card {
        margin: 0 auto;
        text-align: center;
        max-width: 320px;
    }
    
    /* Centrar los process-step en móvil */
    .process-steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 30px;
    }
    
    .process-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    
    .step-number {
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-number-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    /* Centrar las benefit-card en móvil */
    .benefits-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    
    .benefit-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Centrar los benefit-icon en móvil */
    .benefit-icon {
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}


@media (max-width: 768px) {
    /* TU CSS ACTUAL - NO CAMBIAR */
    .brands-section .brand-item {
        flex: 0 0 13.333%;
        padding: 0 12px;
    }
    
    .brands-section .brand-logo {
        height: 130px;
        padding: 20px;
    }
    
    .brands-section .brand-logo img {
        max-height: 80px;
        max-width: 100%;
    }

    /* AGREGAR ESTO: */
    .brands-track {
        animation: slideMobile 30s linear infinite !important;
    }
    
    @keyframes slideMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-66.666%); /* Mueve 2/3 del track */
        }
    }
}

@media (max-width: 480px) {
    .brands-section {
        padding: 30px 0;
    }
    
    .brand-item {
        flex: 0 0 50%; /* Mantener 2 por fila */
        padding: 0 10px;
    }
    
    .brand-logo {
        height: 120px;
        padding: 18px;
    }
    
    .brand-logo img {
        max-height: 70px;
    }
    
    .brands-track {
        animation: slide 20s linear infinite !important; /* Más rápido en pantallas pequeñas */
    }
}



/* Para móvil - más rápido y menos marcas visibles */
@media (max-width: 768px) {
    .brands-track {
        width: calc(200% * 2.5); /* 5 items × 2 repeticiones × 50% width */
        animation: slide 25s linear infinite !important;
    }
    
    .brand-item {
        flex: 0 0 50%; /* 2 items por fila = 50% cada uno */
        padding: 0 12px;
    }
    
   @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%); /* Mueve 50% = 5 items (una repetición completa) */
        }
    }
}

/* Animación más rápida para móvil */
@keyframes slide-mobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}





/* Video Section Styles */
.video-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.video-content {
    padding-right: 40px;
}

.video-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.video-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.video-benefits {
    margin-bottom: 30px;
}

.benefit-item {
    margin-bottom: 15px;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: white;
    font-size: 12px;
}

.video-container {
    position: relative;
}

.video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,199,224,0.1) 0%, rgba(0,223,235,0.1) 100%);
    pointer-events: none;
    border-radius: 12px;
}

/* Responsive adjustments for video section */
@media (max-width: 992px) {
    .video-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .video-description {
        font-size: 1.1rem;
    }
    
    .benefit-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-title {
        font-size: 1.8rem;
    }
    
    .video-description {
        font-size: 1rem;
    }
}

.link_mensaje {
    color: #393939;          /* color inicial */
    text-decoration: underline; /* subrayado */
    transition: color 0.3s ease; /* transición suave */
}

.link_mensaje:hover {
    color: #ff7488; /* cambia a amarillo o el color que definas */
}