:root {
    --brand-blue: #1B4FD8;
    --brand-blue-dark: #1440B8;
    --cta-green: #2ECC71;
    --cta-green-dark: #27AE60;
    --cta-orange: #F5A623;
    --bg-light: #F8FAFC;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --border: #E2E8F0;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header.sticky-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    text-decoration: none;
}

.logo svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(27, 85, 240, 0.32));
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text-primary);
}

.logo-name .text-blue { color: var(--brand-blue); }

.logo-tagline {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 3px;
    opacity: 0.7;
}

/* Legacy fallback */
.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--brand-blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.text-blue {
    color: var(--brand-blue);
}

.nav {
    display: flex;
    gap: 32px;
    margin: 0 auto;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--brand-blue);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.secure-badge svg {
    color: var(--cta-green);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    padding: 8px 12px;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .hamburger {
        display: block;
    }

    .nav {
        display: none;
    }

    .logo-name { font-size: 19px; }
    .logo-tagline { font-size: 9px; }
    .logo svg { width: 36px; height: 36px; }
    .header-content { height: 56px; }
    .hero { margin-top: 56px; padding-top: 80px; padding-bottom: 48px; }
    .mobile-nav { top: 56px; }
    .trust-bar { padding: 24px 0; }
    .stat-value { font-size: 24px; }
    .how-it-works, .lenders-section, .why-movinero, .testimonials, .faq-section { padding: 56px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 26px; }
    .final-cta { padding: 48px 20px; }
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: -0.2px;
}

.btn-full {
    width: 100%;
}

.btn-green {
    background: linear-gradient(135deg, #2ECC71, #22B862);
    color: white;
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35);
}

.btn-green:hover {
    background: linear-gradient(135deg, #27AE60, #1FA055);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.45);
    transform: translateY(-1px);
}

.btn-orange {
    background: var(--cta-orange);
    color: white;
}

.btn-orange:hover {
    background: #E0941A;
}

.btn-blue {
    background: var(--brand-blue);
    color: white;
}

.btn-blue:hover {
    background: var(--brand-blue-dark);
}

.btn-white {
    background: white;
    color: var(--brand-blue);
    border: 2px solid white;
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background: var(--bg-light);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #1B4FD8 0%, #1440B8 50%, #0d2d8a 100%);
    color: white;
    margin-top: 64px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content .highlight {
    color: #2ECC71;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #7DFFA8;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #2ECC71;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatars {
    display: flex;
    margin-right: 8px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: bold;
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.stars {
    font-size: 16px;
    color: #F5A623;
    letter-spacing: 2px;
}

.social-proof p {
    font-size: 13px;
    opacity: 0.7;
    margin: 0;
}

/* Calculator Card */
.calculator-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0,0,0,0.08);
}

.calc-header {
    text-align: center;
    margin-bottom: 24px;
}

.calc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(46, 204, 113, 0.1);
    color: #27AE60;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.calc-header h2 {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
}

.calc-section {
    margin-bottom: 24px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.amount, .days {
    color: var(--brand-blue);
    font-size: 24px;
    font-weight: 700;
}

.days span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 8px;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 10;
    position: relative;
    margin: 0;
    padding: 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-blue);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(27, 79, 216, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 14px rgba(27, 79, 216, 0.5);
}

.slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-blue);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(27, 79, 216, 0.4);
}

.slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--brand-blue);
    border-radius: 3px;
    pointer-events: none;
    z-index: 5;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.calc-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.summary-box {
    text-align: center;
}

.summary-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.calc-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* Trust Bar */
.trust-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 28px;
    margin-bottom: 0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
    color: var(--brand-blue);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.trust-badges {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.badge-item svg {
    flex-shrink: 0;
    color: var(--brand-blue);
}

.badge-title {
    font-weight: 700;
    margin: 0;
    font-size: 13px;
    color: var(--text-primary);
}

.badge-text {
    font-size: 12px;
    margin: 2px 0 0 0;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .calculator-card {
        padding: 20px;
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: rgba(27, 79, 216, 0.1);
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    background: white;
    padding: 32px 28px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: 0 8px 28px rgba(27, 79, 216, 0.1);
    border-color: rgba(27, 79, 216, 0.2);
    transform: translateY(-4px);
}

.step-number {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--brand-blue), #0B30C0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(27, 79, 216, 0.35);
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Lenders */
.lenders-section {
    padding: 80px 0;
    background: white;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.network-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.25s;
}

.network-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(27, 79, 216, 0.1);
    border-color: rgba(27, 79, 216, 0.25);
}

.network-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(27, 79, 216, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--brand-blue);
    transition: background 0.25s;
}

.network-card:hover .network-icon {
    background: rgba(27, 79, 216, 0.12);
}

.network-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.network-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .network-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .network-grid {
        grid-template-columns: 1fr;
    }
}

.lenders-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px 20px;
    background: var(--border);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.lender-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background 0.3s;
}

.lender-row:last-child {
    border-bottom: none;
}

.lender-row:hover {
    background: var(--bg-light);
}

.lender-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lender-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.lender-info h4 {
    margin: 0;
    font-size: 14px;
}

.lender-badges {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.badge-small {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(27, 79, 216, 0.1);
    color: var(--brand-blue);
}

.badge-small.green {
    background: rgba(46, 204, 113, 0.1);
    color: var(--cta-green);
}

.table-cell {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .table-header {
        display: none;
    }

    .lender-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Why Movinero */
.why-movinero {
    padding: 80px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: white;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.benefit-card:hover {
    border-color: rgba(27, 79, 216, 0.2);
    box-shadow: 0 8px 24px rgba(27, 79, 216, 0.08);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(27, 79, 216, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--brand-blue);
    flex-shrink: 0;
    transition: background 0.25s;
}

.benefit-card:hover .benefit-icon {
    background: rgba(27, 79, 216, 0.12);
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

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

.testimonial {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.testimonial:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: rgba(27,79,216,0.15);
}

.testimonial:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: space-between;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 13px;
    margin: 0;
}

.testimonial-location {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 2px 0 0 0;
}

.stars {
    letter-spacing: 2px;
    color: #F5A623;
}

.testimonial h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.testimonial p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    font-style: italic;
}

.testimonial-loan {
    display: inline-block;
    background: rgba(46, 204, 113, 0.1);
    color: var(--cta-green);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-item.open .faq-question {
    background: rgba(27, 79, 216, 0.05);
    color: var(--brand-blue);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #0F2B6E 0%, #1B4FD8 50%, #1565C0 100%);
    color: white;
    padding: 72px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.final-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.final-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-footer {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 12px;
}

/* Ejemplo Representativo */
.ejemplo-section {
    padding: 48px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.ejemplo-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.ejemplo-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.ejemplo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ejemplo-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.ejemplo-item-header {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: white;
}

.ejemplo-item-header.green { background: #16A34A; }
.ejemplo-item-header.blue { background: var(--brand-blue); }
.ejemplo-item-header.orange { background: var(--cta-orange); }

.ejemplo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ejemplo-table tr {
    border-bottom: 1px solid var(--border);
}

.ejemplo-table tr:last-child {
    border-bottom: none;
}

.ejemplo-table td, .ejemplo-table th {
    padding: 8px 14px;
    vertical-align: middle;
}

.ejemplo-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-light);
}

.ejemplo-table td:last-child {
    text-align: right;
}

.ejemplo-table td strong.green { color: #16A34A; }

.ejemplo-table .total-row {
    background: var(--bg-light);
    font-weight: 700;
}

.ejemplo-note {
    font-size: 11px;
    color: var(--text-secondary);
    padding: 8px 14px;
    line-height: 1.4;
    border-top: 1px solid var(--border);
    background: #FAFAFA;
}

@media (max-width: 768px) {
    .ejemplo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ejemplo-card {
        padding: 20px;
    }
}

/* ─── Footer ─────────────────────────────────────────── */
.footer {
    background: #0F172A;
    color: #64748B;
}

/* Footer Main */
.footer-main {
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Brand column */
.footer-brand-col {}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #F1F5F9;
}

.footer-logo-name span { color: #2ECC71; }

.footer-logo-tagline {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #475569;
    margin-top: 3px;
}

.footer-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fbadge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    white-space: nowrap;
}

/* Nav columns */
.footer-nav-col h5 {
    color: #E2E8F0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-nav-col ul {
    list-style: none;
}

.footer-nav-col li {
    margin-bottom: 10px;
}

.footer-nav-col a {
    color: #64748B;
    font-size: 13.5px;
    transition: color 0.18s;
}

.footer-nav-col a:hover {
    color: #F1F5F9;
}

/* Disclaimer */
.footer-disclaimer {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-disclaimer p {
    font-size: 11px;
    color: #334155;
    line-height: 1.8;
}

.footer-disclaimer strong {
    color: #475569;
}

/* Bottom bar */
.footer-bottom {
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-inner > p {
    font-size: 12px;
    color: #334155;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #334155;
    transition: color 0.18s;
}

.footer-bottom-links a:hover {
    color: #94A3B8;
}

/* Footer responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
    }
    .footer-desc { max-width: 100%; }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-bottom-links { gap: 14px; }
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Single-column Form Modal */
.modal-form {
    position: relative;
    background: white;
    border-radius: 20px;
    width: 92%;
    max-width: 460px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: white;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.modal-form-header {
    background: linear-gradient(135deg, var(--brand-blue), #0d2d8a);
    padding: 26px 28px 22px;
    text-align: center;
    color: white;
}

.mfh-loan-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mfh-amount-pill,
.mfh-days-pill {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.mfh-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.mfh-free-tag {
    background: rgba(46, 204, 113, 0.18);
    color: #86efac;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.modal-form-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: white;
}

.modal-form-header p {
    font-size: 13px;
    opacity: 0.85;
    margin: 0 0 14px;
    color: white;
}

.mfh-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
}

.modal-form-body {
    padding: 22px 28px 28px;
}

.form-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.form-pill {
    background: rgba(27, 79, 216, 0.08);
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(27, 79, 216, 0.15);
}

.form-group,
.form-field {
    margin-bottom: 14px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.form-input.has-icon {
    padding-left: 36px;
}

.form-checks {
    margin-bottom: 16px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.check-input {
    display: none;
}

.check-box {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.2s;
}

.check-input:checked + .check-box {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.check-text {
    flex: 1;
}

.check-text a {
    color: var(--brand-blue);
    text-decoration: underline;
}

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    flex-wrap: wrap;
}

.form-bottom a {
    color: var(--brand-blue);
    text-decoration: underline;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.25s;
    font-family: inherit;
    color: var(--text-primary);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(27, 79, 216, 0.12);
}

.form-phone {
    display: flex;
    gap: 0;
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-phone .form-input {
    border-radius: 0 10px 10px 0;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checkbox {
    margin-top: 3px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--brand-blue);
}

.form-checkbox label {
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.4;
}

.form-checkbox a {
    color: var(--brand-blue);
    text-decoration: underline;
}

.btn-form-cta {
    width: 100%;
    background: linear-gradient(135deg, #F5A623, #D4870A);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    margin-bottom: 12px;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}

.btn-form-cta:hover {
    background: #e0941a;
    transform: translateY(-1px);
}

.btn-form-cta:active {
    transform: translateY(0);
}

.form-skip-link {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--brand-blue);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.form-skip-link:hover {
    color: var(--brand-blue-dark);
}

@media (max-width: 700px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-left {
        border-radius: 20px 20px 0 0;
        padding: 24px 20px;
    }

    .modal-right {
        border-radius: 0 0 20px 20px;
        padding: 24px 20px;
    }

    .modal-content-wide {
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 20px;
    }
}

/* Loading V2 */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loading-modal-v2 {
    background: white;
    border-radius: 24px;
    padding: 40px 36px 32px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    animation: loadFadeIn 0.3s ease;
}

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

/* Circular progress ring */
.loading-icon-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.loading-ring-svg {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.loading-ring-fill {
    stroke-dasharray: 213.6;
    stroke-dashoffset: 213.6;
    transition: stroke-dashoffset 0.1s linear;
}

.loading-ring-percent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.loading-modal-v2 h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Steps checklist */
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.loading-step.active {
    color: var(--text-primary);
    font-weight: 600;
}

.loading-step.done {
    color: #16A34A;
    font-weight: 600;
}

.ls-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 11px;
}

.loading-step.active .ls-dot {
    border-color: var(--brand-blue);
    background: rgba(27, 79, 216, 0.1);
    box-shadow: 0 0 0 3px rgba(27, 79, 216, 0.1);
}

.loading-step.done .ls-dot {
    border-color: #16A34A;
    background: #16A34A;
    color: white;
}

.loading-step.done .ls-dot::after {
    content: '✓';
}

/* Progress bar */
.loading-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.loading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-blue), var(--cta-green));
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Trust line */
.loading-trust {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.loading-modal h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.loading-modal p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.loading-progress {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-container {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue), var(--cta-green));
    animation: progress 2s ease-in-out forwards;
}

@keyframes progress {
    0% { width: 0%; }
    30% { width: 45%; }
    70% { width: 75%; }
    100% { width: 100%; }
}

.lender-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.lender-check {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.2s;
}

.loading-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.loading-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Results Page */
.results-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    min-height: 100vh;
    padding: 80px 20px 40px;
    background: white;
    overflow-y: auto;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}


.offer-content {
    padding: 20px;
}


.offer-lender {
    display: flex;
    align-items: center;
    gap: 12px;
}


.offer-info h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.offer-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.offer-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
}

.summary {
    text-align: center;
}

.summary-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.summary-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.offer-footer svg {
    color: var(--cta-green);
}


.results-footer {
    text-align: center;
}

/* Modal Results */
.modal-results {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.modal-results-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.modal-results-content {
    position: relative;
    background: var(--bg-light);
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-results-content::-webkit-scrollbar {
    display: none;
}

.modal-results-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: white;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-results-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.modal-results-header {
    background: linear-gradient(135deg, var(--brand-blue), #0d2d8a);
    color: white;
    padding: 28px 28px 24px;
    text-align: center;
}

.results-badge-top {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.18);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.modal-results-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.modal-results-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

.offers-list {
    padding: 20px 20px 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ─── Offer Cards (wonga style) ─── */
.offer-card {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--border);
    overflow: hidden;
    transition: all 0.25s;
}
.offer-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.offer-card.offer-top {
    border-color: #16A34A;
    box-shadow: 0 4px 20px rgba(22,163,74,0.15);
}

/* Rank bar */
.offer-rank {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    border-radius: 14px 14px 0 0;
}
.rank-gold { background: linear-gradient(90deg, #F5A623, #D4870A); }
.rank-slate { background: linear-gradient(90deg, #64748B, #475569); }

.rank-tag {
    background: white;
    color: #16A34A;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
}

/* Card inner */
.offer-inner {
    padding: 20px 18px 14px;
}

/* Logo + pill row */
.offer-logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.offer-logo-box {
    display: inline-block;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    background: white;
}
.offer-logo-box img {
    height: 36px;
    max-width: 130px;
    display: block;
    object-fit: contain;
}
.offer-logo-fb {
    height: 44px;
    width: 100px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

/* Promo pill */
.offer-pill {
    background: rgba(46,204,113,0.1);
    color: #16A34A;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 6px;
    border: 1px solid rgba(46,204,113,0.2);
    white-space: nowrap;
}

.offer-txt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 14px;
}

/* 4-column specs grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.offer-cell {
    text-align: center;
    padding: 10px 6px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
}
.offer-cell-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.offer-cell-val {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}
.offer-tae {
    color: #16A34A;
}

/* CTA buttons */
.offer-cta {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}
.offer-cta-fill {
    background: linear-gradient(135deg, #2ECC71, #22B862);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(46,204,113,0.35);
}
.offer-cta-fill:hover {
    background: linear-gradient(135deg, #27AE60, #1FA055);
    color: white;
    transform: translateY(-1px);
}
.offer-cta-outline {
    background: white;
    color: #F5A623;
    border: 2px solid #F5A623;
}
.offer-cta-outline:hover {
    background: rgba(245,166,35,0.06);
    color: #D4870A;
}

/* Legal note */
.offer-legal {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    opacity: 0.6;
}

/* Mobile offer cards */
@media (max-width: 640px) {
    .offer-inner { padding: 16px 14px 12px; }
    .offer-rank { padding: 7px 12px; font-size: 12px; }
    .offer-logo-box { padding: 6px 10px; margin-bottom: 8px; }
    .offer-logo-box img { height: 30px; max-width: 100px; }
    .offer-pill { font-size: 12px; padding: 4px 10px; margin-bottom: 8px; }
    .offer-txt { font-size: 13px; margin-bottom: 10px; }
    .offer-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 14px; }
    .offer-cell { padding: 8px 6px; border-radius: 10px; }
    .offer-cell-label { font-size: 10px; margin-bottom: 4px; }
    .offer-cell-val { font-size: 13px; }
    .offer-cta { font-size: 15px; padding: 13px; }
    .offer-legal { font-size: 10px; }
}


.btn-modify {
    display: block;
    width: calc(100% - 40px);
    margin: 4px 20px 20px;
    padding: 13px 16px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-modify:hover {
    background: var(--bg-light);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

/* ===== GLOBAL MOBILE HELPERS ===== */
img { max-width: 100%; height: auto; }
table { max-width: 100%; }

/* ===== MOBILE ≤640px ===== */
@media (max-width: 640px) {
    /* Container padding */
    .container { padding: 0 16px; }

    /* Hero */
    .hero { padding-top: 72px; padding-bottom: 40px; margin-top: 56px; }
    .hero-content h1 { font-size: 26px; line-height: 1.25; margin-bottom: 16px; }
    .hero-content p { font-size: 15px; margin-bottom: 20px; }
    .badge { font-size: 12px; padding: 6px 12px; margin-bottom: 16px; }
    .features { gap: 8px; margin-bottom: 20px; }
    .feature-pill { font-size: 12px; padding: 5px 10px; }
    .social-proof { flex-direction: column; align-items: flex-start; gap: 8px; }
    .social-proof p { font-size: 12px; }

    /* Calculator */
    .calculator-card { padding: 20px; border-radius: 16px; }
    .calc-header h2 { font-size: 18px; }
    .calc-badge { font-size: 11px; }
    .amount, .days { font-size: 20px; }
    .calc-summary { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
    .summary-value { font-size: 16px; }
    .summary-label { font-size: 11px; }
    .calc-footer { font-size: 11px; }
    .btn-lg { padding: 14px 20px; font-size: 15px; }

    /* Trust bar */
    .trust-bar { padding: 20px 0; }
    .trust-stats { gap: 12px; padding-bottom: 20px; }
    .stat-value { font-size: 22px; }
    .stat-label { font-size: 12px; }
    .trust-badges { gap: 12px; padding-top: 16px; }
    .badge-item { gap: 8px; }
    .badge-title { font-size: 12px; }
    .badge-text { font-size: 11px; }

    /* Sections */
    .how-it-works, .lenders-section, .why-movinero, .testimonials, .faq-section { padding: 48px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: 22px; line-height: 1.3; }
    .section-header p { font-size: 14px; }

    /* Steps */
    .step { padding: 24px 20px; }
    .step-number { width: 44px; height: 44px; font-size: 18px; margin-bottom: 14px; }
    .step h3 { font-size: 15px; }
    .step p { font-size: 13px; }

    /* Network cards */
    .network-card { padding: 20px 16px; }
    .network-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 12px; }
    .network-card h3 { font-size: 14px; }
    .network-card p { font-size: 12px; }

    /* Benefit cards */
    .benefit-card { padding: 20px; }
    .benefit-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
    .benefit-card h3 { font-size: 15px; }
    .benefit-card p { font-size: 13px; }

    /* Testimonials */
    .testimonial { padding: 18px; }
    .testimonial-header { gap: 8px; }
    .testimonial-avatar { width: 36px; height: 36px; font-size: 11px; }
    .testimonial-name { font-size: 13px; }
    .testimonial h4 { font-size: 13px; }
    .testimonial p { font-size: 12px; }

    /* FAQ */
    .faq-question { font-size: 13px; padding: 14px 16px; }
    .faq-question svg { width: 16px; height: 16px; }
    .faq-answer p, .faq-answer li { font-size: 13px; }
    .faq-answer p { padding: 12px 16px; }

    /* Final CTA */
    .final-cta { padding: 40px 16px; }
    .final-cta h2 { font-size: 22px; }
    .final-cta p { font-size: 14px; }

    /* Ejemplo */
    .ejemplo-card { padding: 16px; }
    .ejemplo-title { font-size: 14px; }
    .ejemplo-table td, .ejemplo-table th { padding: 6px 10px; font-size: 12px; }

    /* Footer */
    .footer-main { padding: 36px 0 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-logo-name { font-size: 18px; }
    .footer-logo-tagline { font-size: 8px; }
    .footer-desc { font-size: 12px; margin-bottom: 14px; }
    .fbadge { font-size: 10px; padding: 4px 8px; }
    .footer-nav-col h5 { font-size: 10px; margin-bottom: 10px; }
    .footer-nav-col a { font-size: 12px; }
    .footer-nav-col li { margin-bottom: 7px; }
    .footer-disclaimer { padding: 16px 0; }
    .footer-disclaimer p { font-size: 10px; line-height: 1.6; }
    .footer-bottom { padding: 14px 0; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-bottom-inner > p { font-size: 11px; }
    .footer-bottom-links { gap: 12px; }
    .footer-bottom-links a { font-size: 11px; }

    /* Modals — centered on mobile */
    .modal { padding: 12px; align-items: center; }
    .modal-form { border-radius: 16px; max-width: 100%; width: 100%; max-height: 90vh; overflow-y: auto; }
    .modal-form-header { padding: 18px 16px 14px; }
    .modal-form-header h2 { font-size: 17px; }
    .modal-form-header p { font-size: 12px; }
    .mfh-loan-summary { gap: 6px; }
    .mfh-amount-pill, .mfh-days-pill { font-size: 13px; padding: 4px 10px; }
    .mfh-trust-row { font-size: 10px; gap: 8px; }
    .modal-form-body { padding: 16px 16px 24px; }
    .form-label { font-size: 12px; }
    .form-input { font-size: 14px; padding: 10px 12px; }
    .form-input.has-icon { padding-left: 36px; }
    .check-text { font-size: 11px; }
    .btn-form-cta { padding: 13px; font-size: 15px; }
    .form-bottom { font-size: 11px; }

    /* Results modal — centered */
    .modal-results { align-items: center; padding: 12px; }
    .modal-results-content { border-radius: 16px; max-width: 100%; max-height: 90vh; }
    .modal-results-header { padding: 18px 16px 14px; }
    .modal-results-header h2 { font-size: 17px; }
    .modal-results-header p { font-size: 12px; }
    .results-badge-top { font-size: 11px; padding: 4px 10px; }
    .offers-list { padding: 12px 12px 4px; gap: 10px; }
    .btn-modify { width: calc(100% - 24px); margin: 4px 12px 16px; font-size: 13px; padding: 11px; }


/* ===== EXTRA SMALL (< 380px) ===== */
@media (max-width: 380px) {
    .hero-content h1 { font-size: 22px; }
    .hero-content p { font-size: 13px; }
    .badge { font-size: 10px; padding: 5px 10px; }
    .feature-pill { font-size: 10px; }
    .calculator-card { padding: 16px; }
    .calc-header h2 { font-size: 16px; }
    .amount, .days { font-size: 18px; }
    .calc-summary { grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 10px; }
    .summary-value { font-size: 14px; }
    .section-header h2 { font-size: 20px; }

/* ===== TABLET LANDSCAPE ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-grid { gap: 32px; }
    .hero-content h1 { font-size: 36px; }
    .section-header h2 { font-size: 30px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .network-grid { grid-template-columns: repeat(2, 1fr); }
}
