/* ============================================================
   LANDING PAGE STYLES — Sistema de Préstamos
   Paleta: Poppins, #1e293b (oscuro), #3b82f6 (primario), #10b981 (éxito)
   ============================================================ */

/* --- VARIABLES CSS --- */
:root {
    --lp-dark: #1e293b;
    --lp-darker: #0f172a;
    --lp-primary: #3b82f6;
    --lp-primary-hover: #2563eb;
    --lp-success: #10b981;
    --lp-success-hover: #059669;
    --lp-warning: #f59e0b;
    --lp-bg: #f4f7f6;
    --lp-text: #495057;
    --lp-heading: #2c3e50;
    --lp-light: #f8fafc;
    --lp-border: #e2e8f0;
    --lp-gradient-hero: linear-gradient(135deg, #1e293b 0%, #0f172a 60%, #1a1a2e 100%);
    --lp-gradient-cta: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --lp-gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --lp-shadow: 0 10px 40px rgba(0,0,0,0.08);
    --lp-shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --lp-radius: 16px;
    --lp-radius-sm: 10px;
    --lp-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
.landing-page {
    font-family: 'Poppins', sans-serif;
    color: var(--lp-text);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
    box-sizing: border-box;
}

.landing-page h1, .landing-page h2, .landing-page h3,
.landing-page h4, .landing-page h5, .landing-page h6 {
    color: var(--lp-heading);
    font-weight: 700;
    line-height: 1.2;
}

.landing-page a {
    text-decoration: none;
    transition: var(--lp-transition);
}

.landing-page img {
    max-width: 100%;
    height: auto;
}

.landing-page section {
    position: relative;
}

/* --- NAVBAR --- */
.lp-navbar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 0 16px;
    transition: var(--lp-transition);
    background: transparent;
}

.lp-navbar.scrolled {
    top: 10px;
    padding: 0 16px;
}

.lp-navbar .navbar-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--lp-transition);
}

.lp-navbar.scrolled .navbar-container {
    background: rgba(15, 23, 42, 0.94);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.18);
    padding: 8px 24px;
}

.lp-navbar .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.lp-navbar .nav-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--lp-gradient-cta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    flex-shrink: 0;
}

.lp-navbar .nav-brand .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
}

.lp-navbar .nav-brand span {
    white-space: nowrap;
}

.lp-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-navbar .nav-links a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.92rem;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.lp-navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lp-primary);
    transition: width 0.3s ease;
}

.lp-navbar .nav-links a:hover {
    color: #fff;
}

.lp-navbar .nav-links a:hover::after {
    width: 100%;
}

.lp-navbar .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
    flex-shrink: 0;
}

.lp-navbar .btn-nav-outline {
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--lp-transition);
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.lp-navbar .btn-nav-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.lp-navbar .btn-nav-primary {
    background: var(--lp-gradient-cta);
    color: #fff;
    border: none;
    padding: 9px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--lp-transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
}

.lp-navbar .btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* --- DESKTOP DROPDOWN --- */
.lp-navbar .nav-dropdown {
    position: relative;
}

.lp-navbar .nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: var(--lp-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 10px 0 0 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.lp-navbar .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lp-navbar .nav-dropdown .dropdown-menu li {
    padding: 0;
}

.lp-navbar .nav-dropdown .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--lp-text);
    font-size: 0.9rem;
}

.lp-navbar .nav-dropdown .dropdown-menu a::after {
    display: none;
}

.lp-navbar .nav-dropdown .dropdown-menu a:hover {
    background: var(--lp-light);
    color: var(--lp-primary);
}

/* --- MOBILE NAV ACCORDION --- */
.mobile-nav-group {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
}

.mobile-nav-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.mobile-nav-toggle .nav-icon-wrapper {
    background: rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-success);
}

.mobile-nav-toggle .arrow-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.mobile-nav-group.active .arrow-icon {
    transform: rotate(180deg);
}

.mobile-nav-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 44px;
}

.mobile-nav-group.active .mobile-nav-collapse {
    margin-top: 16px;
    max-height: 250px;
}

.mobile-nav-collapse a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    font-weight: 400;
}

.mobile-nav-collapse a:hover {
    color: #fff;
}

/* Mobile menu toggle */
.lp-navbar .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* --- HERO SECTION --- */
.lp-hero {
    min-height: 100vh;
    background: var(--lp-gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding: 145px 0 80px;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

/* Floating geometric shapes */
.lp-hero .hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: shapeFloat 20s ease-in-out infinite;
}

.lp-hero .hero-shape-1 {
    width: 300px;
    height: 300px;
    border: 3px solid #3b82f6;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.lp-hero .hero-shape-2 {
    width: 150px;
    height: 150px;
    background: #10b981;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.lp-hero .hero-shape-3 {
    width: 80px;
    height: 80px;
    border: 2px solid #f59e0b;
    bottom: 20%;
    left: 8%;
    border-radius: 30%;
    animation-delay: -10s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(90deg); }
    50% { transform: translateY(0) rotate(180deg); }
    75% { transform: translateY(30px) rotate(270deg); }
}

.lp-hero .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.lp-hero .hero-content h1 {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.15;
}

.lp-hero .hero-content h1 .text-gradient {
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero .hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.lp-hero .hero-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.lp-hero .hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}

.lp-hero .hero-feature-item i {
    color: var(--lp-success);
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    padding: 14px;
}

.lp-hero .hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-hero-primary {
    background: var(--lp-gradient-cta);
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--lp-transition);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
    color: #fff;
}

.btn-hero-secondary {
    color: rgba(255,255,255,0.8);
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    border: 1.5px solid rgba(255,255,255,0.3);
    background: transparent;
    transition: var(--lp-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.btn-hero-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* Hero Simulator Card */
.lp-hero .hero-simulator {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.lp-hero .hero-simulator h3 {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 8px;
}

.lp-hero .hero-simulator .sim-subtitle {
    color: rgba(255,255,255,0.6);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.sim-currency-toggle {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.sim-currency-btn {
    padding: 8px 28px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--lp-transition);
    font-family: 'Poppins', sans-serif;
}

.sim-currency-btn.active {
    background: var(--lp-primary);
    border-color: var(--lp-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.sim-amount-display {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--lp-radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.sim-amount-display .sim-symbol {
    color: rgba(255,255,255,0.5);
    font-size: 1.3rem;
    font-weight: 600;
}

.sim-amount-display .sim-value {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-align: right;
    flex: 1;
    margin: 0 12px;
}

.sim-amount-display .sim-currency-label {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    padding: 4px 12px;
    border-left: 1px solid rgba(255,255,255,0.15);
}

.sim-range-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
}

.sim-range-info span {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
}

.sim-slider-container {
    margin-bottom: 24px;
}

.sim-slider-container label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 8px;
}

.sim-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.15);
    outline: none;
    transition: background 0.3s;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lp-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
    transition: var(--lp-transition);
}

.sim-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.6);
}

.sim-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lp-primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

.sim-result {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--lp-radius-sm);
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.sim-result .result-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.sim-result .result-value {
    color: #60a5fa;
    font-size: 1.6rem;
    font-weight: 700;
}

.sim-result .result-detail {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    margin-top: 4px;
}

.btn-sim-submit {
    width: 100%;
    padding: 16px;
    background: var(--lp-gradient-cta);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--lp-transition);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-sim-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
    color: #fff;
}

/* --- STATS BAR --- */
.lp-stats {
    background: #fff;
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.lp-stats .stats-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    overflow: hidden;
}

.lp-stats .stat-item {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid var(--lp-border);
    transition: var(--lp-transition);
}

.lp-stats .stat-item:last-child {
    border-right: none;
}

.lp-stats .stat-item:hover {
    background: var(--lp-light);
}

.lp-stats .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
}

.lp-stats .stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--lp-primary);
}

.lp-stats .stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--lp-success);
}

.lp-stats .stat-icon.yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--lp-warning);
}

.lp-stats .stat-icon.purple {
    background: rgba(102, 16, 242, 0.1);
    color: #6610f2;
}

.lp-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lp-heading);
    margin-bottom: 4px;
}

.lp-stats .stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

/* --- SECTION HEADERS --- */
.lp-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.lp-section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 16px;
    position: relative;
}

.lp-section-header h2 .highlight {
    color: var(--lp-primary);
}

.lp-section-header p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- SERVICES SECTION --- */
.lp-services {
    padding: 100px 0;
    background: #fff;
}

.lp-services .services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lp-services .service-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 40px 30px;
    transition: var(--lp-transition);
    position: relative;
    overflow: hidden;
}

.lp-services .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--lp-gradient-cta);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.lp-services .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lp-shadow-lg);
    border-color: transparent;
}

.lp-services .service-card:hover::before {
    transform: scaleX(1);
}

.lp-services .service-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.lp-services .service-icon.blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
    color: var(--lp-primary);
}

.lp-services .service-icon.green {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
    color: var(--lp-success);
}

.lp-services .service-icon.yellow {
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
    color: var(--lp-warning);
}

.lp-services .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.lp-services .service-card p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.lp-services .service-card .service-link {
    color: var(--lp-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--lp-transition);
}

.lp-services .service-card .service-link:hover {
    gap: 12px;
}

/* --- SIMULATOR SECTION --- */
.lp-simulator {
    padding: 100px 0;
    background: var(--lp-light);
}

.lp-simulator .sim-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lp-simulator .sim-info h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.lp-simulator .sim-info p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.lp-simulator .sim-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-simulator .sim-benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    color: var(--lp-text);
    font-size: 0.95rem;
}

.lp-simulator .sim-benefits li i {
    color: var(--lp-success);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.lp-simulator .sim-form-card {
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 40px;
    box-shadow: var(--lp-shadow);
    border: 1px solid var(--lp-border);
}

.lp-simulator .sim-form-card h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.sim-form-group {
    margin-bottom: 22px;
}

.sim-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: 8px;
}

.sim-form-group .sim-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--lp-light);
    transition: var(--lp-transition);
    color: var(--lp-heading);
}

.sim-form-group .sim-input:focus {
    outline: none;
    border-color: var(--lp-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sim-form-group .sim-input-row {
    display: flex;
    gap: 10px;
}

.sim-form-group .sim-input-row .sim-input {
    flex: 1;
}

.sim-form-group .sim-input-row .sim-select {
    width: 100px;
    padding: 14px 12px;
    border: 1.5px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    background: var(--lp-light);
    cursor: pointer;
}

.sim-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.sim-table th, .sim-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--lp-border);
    font-size: 0.9rem;
}

.sim-table th {
    color: #64748b;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    background: var(--lp-light);
}

.sim-table td {
    color: var(--lp-heading);
    font-weight: 500;
}

.sim-table .sim-total {
    font-weight: 700;
    color: var(--lp-primary);
    font-size: 1rem;
}

/* --- TESTIMONIALS SECTION --- */
.lp-testimonials {
    padding: 100px 0;
    background: #fff;
}

.lp-testimonials .test-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-testimonials .test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lp-testimonials .test-card {
    background: var(--lp-light);
    border-radius: var(--lp-radius);
    padding: 36px;
    transition: var(--lp-transition);
    border: 1px solid transparent;
}

.lp-testimonials .test-card:hover {
    border-color: var(--lp-border);
    box-shadow: var(--lp-shadow);
    transform: translateY(-4px);
}

.lp-testimonials .test-stars {
    color: #fbbf24;
    font-size: 0.95rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.lp-testimonials .test-quote {
    color: var(--lp-text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--lp-primary);
}

.lp-testimonials .test-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-testimonials .test-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lp-gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.lp-testimonials .test-name {
    font-weight: 600;
    color: var(--lp-heading);
    font-size: 0.95rem;
}

.lp-testimonials .test-role {
    color: #94a3b8;
    font-size: 0.8rem;
}

/* --- FAQ SECTION --- */
.lp-faq {
    padding: 100px 0;
    background: var(--lp-light);
}

.lp-faq .faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-faq .faq-item {
    background: #fff;
    border-radius: var(--lp-radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--lp-border);
    overflow: hidden;
    transition: var(--lp-transition);
}

.lp-faq .faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.lp-faq .faq-item.active {
    border-color: var(--lp-primary);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.lp-faq .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lp-heading);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    transition: var(--lp-transition);
}

.lp-faq .faq-question:hover {
    color: var(--lp-primary);
}

.lp-faq .faq-question i {
    transition: transform 0.3s ease;
    color: var(--lp-primary);
    font-size: 0.9rem;
}

.lp-faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.lp-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.lp-faq .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.lp-faq .faq-answer p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* --- CTA SECTION --- */
.lp-cta {
    padding: 100px 0;
    background: var(--lp-gradient-hero);
    position: relative;
    overflow: hidden;
}

.lp-cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.lp-cta .cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.lp-cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.lp-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.lp-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --- FOOTER --- */
.lp-footer {
    background: var(--lp-darker);
    padding: 60px 0 0;
}

.lp-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lp-footer .footer-brand h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.lp-footer .footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.lp-footer .footer-social {
    display: flex;
    gap: 12px;
}

.lp-footer .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    transition: var(--lp-transition);
}

.lp-footer .footer-social a:hover {
    background: var(--lp-primary);
    color: #fff;
    transform: translateY(-3px);
}

.lp-footer .footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.lp-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-footer .footer-col ul li {
    margin-bottom: 12px;
}

.lp-footer .footer-col ul li a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: var(--lp-transition);
}

.lp-footer .footer-col ul li a:hover {
    color: var(--lp-primary);
    padding-left: 6px;
}

.lp-footer .footer-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.lp-footer .footer-col .contact-item i {
    color: var(--lp-primary);
    margin-top: 3px;
}

.lp-footer .footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.lp-footer .footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }

/* --- TIPO DE CAMBIO BADGE --- */
.tc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.tc-badge .tc-rate {
    font-weight: 700;
    color: #60a5fa;
}

/* --- PRECALIFICAR PAGE --- */
.lp-precalificar {
    min-height: 100vh;
    background: var(--lp-light);
    padding-top: 80px;
}

.lp-precalificar .pre-header {
    background: var(--lp-gradient-hero);
    padding: 40px 0;
    margin-bottom: 40px;
}

.lp-precalificar .pre-header .pre-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-precalificar .pre-header h1 {
    color: #fff;
    font-size: 1.8rem;
}

.lp-precalificar .pre-header p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.lp-precalificar .pre-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
}

.lp-precalificar .pre-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lp-precalificar .pre-info-card {
    background: #fff;
    border-radius: var(--lp-radius-sm);
    padding: 24px;
    border: 1px solid var(--lp-border);
}

.lp-precalificar .pre-info-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-precalificar .pre-info-card h4 i {
    color: var(--lp-primary);
}

.lp-precalificar .pre-info-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.lp-precalificar .pre-info-card.highlight {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.lp-precalificar .pre-requisitos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lp-precalificar .pre-requisitos li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--lp-text);
}

.lp-precalificar .pre-requisitos li i {
    color: var(--lp-success);
    margin-top: 3px;
    flex-shrink: 0;
}

.lp-precalificar .pre-form-card {
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 40px;
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
}

.pre-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.pre-progress .pre-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
}

.pre-progress .pre-step.active {
    color: var(--lp-primary);
}

.pre-progress .pre-step.completed {
    color: var(--lp-success);
}

.pre-progress .pre-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.pre-progress .pre-step.active .pre-step-number {
    background: var(--lp-primary);
    color: #fff;
}

.pre-progress .pre-step.completed .pre-step-number {
    background: var(--lp-success);
    color: #fff;
}

.pre-progress .pre-step-line {
    width: 60px;
    height: 3px;
    background: var(--lp-border);
    border-radius: 2px;
}

.pre-progress .pre-step-line.active {
    background: var(--lp-primary);
}

.pre-form-step {
    display: none;
}

.pre-form-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pre-form-title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.pre-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pre-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--lp-border);
}

.btn-pre-back {
    background: none;
    border: none;
    color: var(--lp-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    transition: var(--lp-transition);
}

.btn-pre-back:hover {
    gap: 10px;
}

.btn-pre-next,
.btn-pre-submit {
    background: var(--lp-gradient-cta);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: var(--lp-transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-pre-next:hover,
.btn-pre-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Tasa info box */
.sim-tasa-info {
    background: rgba(59,130,246, 0.06);
    border: 1px solid rgba(59,130,246, 0.15);
    border-radius: var(--lp-radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #64748b;
}

.sim-tasa-info i {
    color: var(--lp-primary);
}

/* Radio group */
.pre-radio-group {
    display: flex;
    gap: 12px;
}

.pre-radio-option {
    flex: 1;
    position: relative;
}

.pre-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.pre-radio-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: 1.5px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--lp-transition);
    background: var(--lp-light);
}

.pre-radio-option input[type="radio"]:checked + label {
    border-color: var(--lp-primary);
    background: rgba(59,130,246,0.05);
    color: var(--lp-primary);
}

/* Checkbox styled */
.pre-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

.pre-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--lp-primary);
}

.pre-checkbox a {
    color: var(--lp-primary);
    font-weight: 500;
}

/* --- REGISTRO CLIENTE PAGE --- */
.lp-registro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-light);
    padding: 40px 20px;
}

.lp-registro .registro-card {
    background: #fff;
    border-radius: var(--lp-radius);
    box-shadow: var(--lp-shadow-lg);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
}

.lp-registro .registro-header {
    background: var(--lp-gradient-hero);
    padding: 36px;
    text-align: center;
}

.lp-registro .registro-header h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.lp-registro .registro-header p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.lp-registro .registro-body {
    padding: 36px;
}

/* --- LOGIN PAGE REDESIGN --- */
.lp-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.lp-login .login-visual {
    background: var(--lp-gradient-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.lp-login .login-visual::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.lp-login .login-visual .visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 400px;
}

.lp-login .login-visual .visual-icon {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.lp-login .login-visual h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.lp-login .login-visual p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.7;
}

.lp-login .login-form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: #fff;
}

.lp-login .login-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.lp-login .login-form-wrapper .login-header {
    text-align: center;
    margin-bottom: 36px;
}

.lp-login .login-form-wrapper .login-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.lp-login .login-form-wrapper .login-header p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Login tabs */
.login-tabs {
    display: flex;
    background: var(--lp-light);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 32px;
}

.login-tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #94a3b8;
    cursor: pointer;
    transition: var(--lp-transition);
    font-family: 'Poppins', sans-serif;
}

.login-tab-btn.active {
    background: var(--lp-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-form-panel {
    display: none;
}

.login-form-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lp-heading);
    margin-bottom: 8px;
}

.login-form-group .login-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--lp-light);
    transition: var(--lp-transition);
    color: var(--lp-heading);
}

.login-form-group .login-input:focus {
    outline: none;
    border-color: var(--lp-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: var(--lp-gradient-cta);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: var(--lp-transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    margin-top: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.login-back-link {
    text-align: center;
    margin-top: 24px;
}

.login-back-link a {
    color: var(--lp-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.login-back-link a:hover {
    text-decoration: underline;
}

.login-register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.login-register-link a {
    color: var(--lp-primary);
    font-weight: 600;
}

/* --- MI CUENTA (CLIENT PORTAL) --- */
.mi-cuenta-navbar {
    background: var(--lp-darker);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.mi-cuenta-navbar .mc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mi-cuenta-navbar .mc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.mi-cuenta-navbar .mc-brand i {
    color: var(--lp-primary);
}

.mi-cuenta-navbar .mc-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mi-cuenta-navbar .mc-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--lp-transition);
}

.mi-cuenta-navbar .mc-nav a:hover {
    color: #fff;
}

.mi-cuenta-navbar .mc-nav a.active {
    color: var(--lp-primary);
}

.mi-cuenta-navbar .mc-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.mi-cuenta-navbar .mc-user .mc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.mi-cuenta-content {
    background: var(--lp-bg);
    min-height: calc(100vh - 62px);
    padding: 30px 0;
}

.mi-cuenta-content .mc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mc-welcome {
    margin-bottom: 30px;
}

.mc-welcome h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.mc-welcome p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.mc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mc-stat-card {
    background: #fff;
    border-radius: var(--lp-radius);
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid var(--lp-border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--lp-transition);
}

.mc-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow);
}

.mc-stat-card .mc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.mc-stat-card .mc-icon.blue { background: rgba(59,130,246,0.1); color: var(--lp-primary); }
.mc-stat-card .mc-icon.green { background: rgba(16,185,129,0.1); color: var(--lp-success); }
.mc-stat-card .mc-icon.yellow { background: rgba(245,158,11,0.1); color: var(--lp-warning); }
.mc-stat-card .mc-icon.purple { background: rgba(102,16,242,0.1); color: #6610f2; }

.mc-stat-card .mc-stat-info h4 {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 4px;
}

.mc-stat-card .mc-stat-info .mc-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-heading);
}

.mc-data-card {
    background: #fff;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    margin-bottom: 24px;
    overflow: hidden;
}

.mc-data-card .mc-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--lp-border);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--lp-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-data-card .mc-card-header i {
    color: var(--lp-primary);
}

.mc-data-card .mc-card-body {
    padding: 20px 24px;
}

/* Alert box for login page */
.lp-alert {
    padding: 14px 18px;
    border-radius: var(--lp-radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.lp-alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.lp-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .lp-hero .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .lp-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-stats .stat-item:nth-child(2) {
        border-right: none;
    }

    .lp-services .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-simulator .sim-container {
        grid-template-columns: 1fr;
    }

    .lp-testimonials .test-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .lp-login {
        grid-template-columns: 1fr;
    }

    .lp-login .login-visual {
        display: none;
    }

    .lp-precalificar .pre-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lp-navbar .nav-links,
    .lp-navbar .nav-actions .btn-nav-outline {
        display: none;
    }

    .lp-navbar .menu-toggle {
        display: block;
    }

    .lp-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .lp-hero .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .lp-hero .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .lp-hero .hero-features {
        margin-bottom: 24px;
    }

    .lp-hero .hero-feature-item {
        font-size: 0.85rem;
    }

    .lp-hero .hero-feature-item i {
        width: 22px;
        height: 22px;
        padding: 8px;
        font-size: 0.9rem;
    }

    .lp-hero .hero-cta-group {
        flex-direction: column;
    }

    .lp-stats .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-services .services-grid {
        grid-template-columns: 1fr;
    }

    .lp-testimonials .test-grid {
        grid-template-columns: 1fr;
    }

    .lp-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .lp-section-header h2 {
        font-size: 1.8rem;
    }

    .lp-cta h2 {
        font-size: 1.8rem;
    }

    .lp-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pre-form-row {
        grid-template-columns: 1fr;
    }

    .lp-login .login-form-side {
        padding: 30px 20px;
    }

    .lp-precalificar .pre-form-card {
        padding: 24px;
    }

    .mc-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lp-hero .hero-simulator {
        padding: 24px;
    }

    .sim-amount-display .sim-value {
        font-size: 1.5rem;
    }

    .lp-stats .stats-grid {
        grid-template-columns: 1fr;
    }

    .lp-stats .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--lp-border);
    }

    .lp-stats .stat-item:last-child {
        border-bottom: none;
    }

    .pre-progress {
        flex-wrap: wrap;
    }

    .sim-currency-toggle {
        flex-wrap: wrap;
    }
}

/* Mobile nav overlay */
.lp-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 1200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.lp-mobile-nav.open {
    display: flex;
}

.lp-mobile-nav a {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--lp-transition);
}

.lp-mobile-nav a:hover {
    color: var(--lp-primary);
}

.lp-mobile-nav .mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* --- MODALS --- */
.lp-modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lp-modal-content {
    background-color: #ffffff;
    margin: 5% auto; 
    padding: 30px 40px;
    border: 1px solid var(--lp-border);
    width: 90%;
    max-width: 600px;
    border-radius: var(--lp-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lp-modal-close {
    color: #64748b;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--lp-transition);
    line-height: 1;
}

.lp-modal-close:hover,
.lp-modal-close:focus {
    color: var(--lp-heading);
    text-decoration: none;
}

.lp-modal-content h2 {
    color: var(--lp-heading);
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lp-light);
}

.lp-modal-body p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.95rem;
    text-align: justify;
}

.lp-modal-body strong {
    color: var(--lp-heading);
}
