@charset "UTF-8";

/* ==========================================================================
   FINANDO CALCULATOR & WEBSITE STYLES
   Version: 2.0
   Author: Finando Team
   
   TABLE OF CONTENTS:
   1. CSS Variables (Colors, Sizes, Shadows)
   2. Global Resets & Base Styles
   3. Logo & Branding
   4. Hero Section (Homepage & Review Pages)
   5. Calculator Widget
   6. Offer Cards & Lender Display
   7. KPI Metrics & Statistics
   8. Buttons & Call-to-Actions
   9. Homepage Navigation Grid
   10. Review Page Elements (Pros/Cons)
   11. SEO Content Section
   12. FAQ & Accordions
   13. Footer
   14. Sticky Filter Bar
   15. Team Section
   16. Loading States & Animations
   17. Mobile Responsiveness
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES
   Define all colors, sizes, and reusable values here for easy customization
   ========================================================================== */
:root {
    /* Colors */
    --primary: #34c759;              /* Main green color */
    --primary-hover: #30d158;        /* Green hover state */
    --secondary: #2c3e50;            /* Dark blue-gray for text */
    --text-grey: #7f8c8d;            /* Light gray for secondary text */
    --bg-body: #f0f2f5;              /* Page background */
    --white: #ffffff;                /* White */
    --text-body: #424245;            /* Body text */
    --text-muted: #666;              /* Secondary/muted text */
    --bg-grey: #f8f9fa;              /* Grey section backgrounds */
    --border-light: #f0f0f0;         /* Light borders */
    --blue-link: #007aff;            /* Link blue */

    /* Sizing */
    --radius: 24px;                  /* Standard border radius */
    
    /* Shadows */
    --shadow-card: 0 8px 25px rgba(0,0,0,0.07);
    --shadow-hover: 0 15px 45px rgba(0,0,0,0.12);
}

/* ==========================================================================
   2. GLOBAL RESETS & BASE STYLES
   ========================================================================== */
body,
.site-content,
.content-area,
.inside-article,
article.post,
article.page {
    background-color: var(--bg-body) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: var(--secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.entry-content,
.site-main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

#finandoPageContext {
    background: var(--bg-body);
}

/* Hide default theme header/footer */
.site-header,
#masthead,
.site-footer,
#colophon {
    display: none !important;
}

a {
    text-decoration: none;
    transition: 0.2s ease; 
}

/* ==========================================================================
   3. HEADER, LOGO & NAVIGATION
   ========================================================================== */
.fin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 30px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.fin-top-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fin-top-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.fin-top-nav a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.fin-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 25;
    flex-direction: column;
    gap: 5px;
}

.fin-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.fin-burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.fin-burger.open span:nth-child(2) {
    opacity: 0;
}

.fin-burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.site-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.site-logo-wrapper:hover,
.site-logo-wrapper:focus,
.site-logo-wrapper:active {
    text-decoration: none !important;
}

.logo-icon-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #34c759, #30d158);
    border-radius: 14px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: white; 
    font-size: 1.6rem; 
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(52, 199, 89, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    letter-spacing: -0.5px; 
}

.logo-dot { 
    color: var(--primary); 
}

/* ==========================================================================
   4. HERO SECTION
   Large banner at top of pages with gradient background
   ========================================================================== */
.hero,
.fin-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 40%, #2980b9 100%);
    color: white;
    text-align: center;
    width: 100%;
    position: relative;
    padding: 100px 20px 100px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Hero ambient glow orbs */
.hero::before,
.fin-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41,128,185,0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after,
.fin-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52,152,219,0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Homepage hero — enhanced with grid + shapes */
.hero-enhanced {
    background: linear-gradient(135deg, #0a1628 0%, #122d4a 35%, #1a5276 65%, #2980b9 100%);
}

.hero-enhanced::before {
    top: -15%;
    right: -8%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(52,152,219,0.4) 0%, rgba(41,128,185,0.15) 40%, transparent 70%);
}

.hero-enhanced::after {
    bottom: -25%;
    left: -8%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(26,82,118,0.35) 0%, transparent 65%);
}

/* Decorative grid overlay (fades at edges) */
.hero-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
}

/* Floating circle outlines */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shapes span {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50%;
}

.hero-shapes span:nth-child(1) {
    width: 200px; height: 200px;
    top: 10%; left: 5%;
}

.hero-shapes span:nth-child(2) {
    width: 120px; height: 120px;
    top: 55%; right: 8%;
    border-color: rgba(52,152,219,0.15);
}

.hero-shapes span:nth-child(3) {
    width: 80px; height: 80px;
    bottom: 15%; left: 15%;
}

.hero-shapes span:nth-child(4) {
    width: 300px; height: 300px;
    top: -10%; right: -5%;
    border-color: rgba(52,152,219,0.12);
}

/* Hero wave transition */
.hero-wave-wrap {
    position: relative;
    margin-top: -60px;
    z-index: 2;
    line-height: 0;
}

.hero-wave-wrap svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Homepage above-fold wrapper — flex for mobile badge reordering */
.hp-above-fold {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #f0f2f5;
}

.hp-above-fold > .hero { order: 1; }
.hp-above-fold > .hero-wave-wrap { order: 2; }
.hp-above-fold > .calc-wrapper { order: 3; }
.hp-above-fold > .hp-benefits { order: 4; }
.hp-above-fold > .fin-container { order: 5; }
.hp-above-fold > #stickyFilterBar { order: 99; }

/* Hide hero-badges on mobile (benefits section replaces) */
.hp-above-fold .hero-badges { display: none !important; }

.hp-above-fold > .hero {
    padding: 100px 20px 120px !important;
}

/* Homepage trust strip — hidden, replaced by benefits section */
.hp-trust-strip {
    display: none;
}

/* Homepage benefits — "¿Por qué usar Finando?" */
.hp-benefits {
    padding: 48px 20px 36px;
    text-align: center;
    background: #f0f2f5;
}

.hp-benefits h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.accent-bar {
    width: 48px;
    height: 4px;
    background: #2980b9;
    border-radius: 2px;
    margin: 0 auto 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.benefit-card {
    padding: 16px;
}

.benefit-icon {
    width: 62px;
    height: 62px;
    border: 2px solid #2980b9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
    stroke: #2980b9;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.benefit-card p {
    font-size: 0.92rem;
    color: #5a6a7a;
    line-height: 1.55;
    margin: 0;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* Homepage "Cómo funciona" — full-width, matches benefits design */
.hp-how-it-works {
    padding: 48px 20px 36px;
    text-align: center;
    background: #f0f2f5;
}

.hp-how-it-works h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

/* Homepage bottom CTA */
.hp-bottom-cta {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 40%, #2980b9 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    margin: 0 20px 40px;
    border-radius: 24px;
}

.hp-bottom-cta h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.hp-bottom-cta p {
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Review pages need extra bottom padding for calculator overlap */
.fin-hero {
    padding-bottom: 100px !important;
}

/* Hero Title */
.hero h1,
.fin-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

/* Hero Description */
.hero p, 
.fin-hero p {
    opacity: 0.9; 
    font-size: 1.2rem; 
    max-width: 650px; 
    margin: 0 auto; 
    line-height: 1.6;
}

/* Hero Badges (Trust indicators) */
.hero-badges {
    margin-top: 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 5;
}

.hero-badges span {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.25);
}

/* Hero Statistics Bar */
.hero-stats { 
    display: flex; 
    justify-content: center; 
    gap: 60px; 
    margin-top: 40px; 
    border-top: 1px solid rgba(255,255,255,0.15); 
    padding-top: 30px; 
}

.stat-item strong { 
    display: block; 
    font-size: 1.8rem; 
    color: white; 
    font-weight: 600; 
}

.stat-item { 
    color: rgba(255,255,255,0.8); 
}

/* City-specific badge */
.city-badge { 
    background: rgba(52, 199, 89, 0.1); 
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: var(--primary); 
    padding: 8px 16px; 
    border-radius: 12px; 
    font-size: 0.9rem; 
    font-weight: 600; 
    display: inline-block; 
    margin-bottom: 15px;
}

/* ==========================================================================
   5. CALCULATOR WIDGET
   Loan amount and duration selector with sliders
   ========================================================================== */
.calc-wrapper {
    background: var(--white); 
    border-radius: 30px; 
    padding: 40px;
    margin: -60px auto 40px; /* Overlaps hero section */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative; 
    max-width: 580px; 
    z-index: 3; 
    width: 92%;
}

.calc-row { 
    margin-bottom: 20px; 
}

/* Calculator Labels */
.calc-header { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
    font-weight: 600; 
    color: var(--text-grey); 
    font-size: 0.95rem; 
}

/* Calculator Value Display */
.calc-val { 
    color: var(--secondary); 
    font-size: 1.4rem; 
    font-weight: 700; 
    letter-spacing: -0.5px; 
}

/* Range Slider Styles */
input[type=range] { 
    -webkit-appearance: none;
    appearance: none;
    width: 100%; 
    height: 8px;
    background: #e5e5e5; 
    border-radius: 10px; 
    outline: none; 
}

/* Range Slider Thumb (Chrome/Safari) */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; 
    width: 28px; 
    height: 28px;
    background: var(--primary);
    border-radius: 50%; 
    box-shadow: 0 4px 10px rgba(52, 199, 89, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease;
}

input[type=range]:active::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 6px 15px rgba(52, 199, 89, 0.6);
}

/* Range Slider Thumb (Firefox) */
input[type=range]::-moz-range-thumb {
    width: 28px; 
    height: 28px;
    background: var(--primary);
    border-radius: 50%; 
    box-shadow: 0 4px 10px rgba(52, 199, 89, 0.4);
    cursor: pointer;
    border: none;
}

/* Client Type Toggle (New vs Repeat) */
.client-type-switch { 
    display: flex; 
    justify-content: center; 
    background: #ebebec;
    padding: 4px; 
    border-radius: 16px; 
    width: fit-content; 
    margin: 0 auto 25px; 
}

.switch-btn { 
    border: none; 
    background: transparent; 
    padding: 8px 20px; 
    border-radius: 12px; 
    cursor: pointer; 
    font-weight: 600; 
    color: #6e6e73; 
    transition: 0.2s; 
}

.switch-btn.active { 
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

/* Hub Title (for special loan types) */
.hub-title { 
    text-align: center; 
    font-size: 1.3rem; 
    font-weight: 700; 
    color: var(--secondary); 
    margin-bottom: 20px; 
}

/* ==========================================================================
   6. OFFER CARDS & LENDER DISPLAY
   Card styles for loan offers
   ========================================================================== */
.fin-container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Section Headers */
.section-label {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 50px 0 24px;
    text-align: center;
    scroll-margin-top: 20px;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 16px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3.5px;
    background: linear-gradient(90deg, #2980b9, #34c759);
    border-radius: 2px;
}

/* Individual Offer Card */
.offer-card {
    background: var(--white); 
    border-radius: var(--radius); 
    padding: 44px 40px 14px 40px;
    margin-bottom: 25px; 
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.04); 
    position: relative; 
    overflow: hidden; 
    transition: transform 0.3s ease;
    scroll-margin-top: 20px;
}

.offer-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-hover); 
    border-color: rgba(52, 199, 89, 0.3); 
}

/* Lender Header */
.lender-header-top { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    margin-bottom: 20px; 
    width: 100%; 
}

/* Lender Logo Box - ENHANCED for prominence */
.logo-box {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    padding: 18px 26px;
    border-radius: 14px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Logo Box with Image — no box, just the logo */
.logo-box.logo-box-img {
    background: none;
    box-shadow: none;
    padding: 22px 14px 16px;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box.logo-box-img:hover {
    transform: none;
    box-shadow: none;
}

.logo-box.logo-box-img img {
    max-height: 62px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Rating Badge */
.rating { 
    background: #fff9c4; 
    color: #f57f17; 
    font-weight: 700; 
    padding: 6px 12px; 
    border-radius: 10px; 
    font-size: 0.9rem; 
}

/* Special Tag Ribbon (e.g., "Tip", "Akce") - LEFT SIDE */
.ribbon { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: auto; 
    background: var(--blue-link);
    color: white; 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    padding: 6px 16px; 
    border-bottom-right-radius: 16px; 
    border-bottom-left-radius: 0; 
    z-index: 2; 
}

/* Rating Badge - RIGHT SIDE */
.rating-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #f9ca24 0%, #f0932b 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 8px 14px;
    border-bottom-left-radius: 16px;
    box-shadow: 0 4px 12px rgba(249, 202, 36, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
}

.rating-number {
    font-size: 1rem;
    font-weight: 800;
    margin-right: 2px;
}

/* Top tier offers styling adjustments */
#listTop .rating, 
#listFiltered .rating { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    z-index: 2; 
}

#listTop .lender-header-top, 
#listFiltered .lender-header-top { 
    display: block !important; 
    text-align: center; 
    margin-top: 15px; 
    margin-bottom: 30px; 
}

#listTop .logo-box, 
#listFiltered .logo-box { 
    display: inline-block; 
}

/* Review Page Card Centering */
.review-card-centered {
    text-align: center !important;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.review-card-centered .lender-header-top {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px;
    margin-bottom: 30px;
}

.review-card-centered .rating {
    position: static !important;
    display: inline-block;
    margin-top: 5px;
}

.review-card-centered .stats-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ==========================================================================
   7. KPI METRICS & STATISTICS
   Display key loan information (amount, interest, RPSN)
   ========================================================================== */
.kpi-container { 
    margin: 18px 0 12px 0;
}

/* KPI Grid Layout */
.kpi-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 15px; 
}

/* Individual KPI Chip */
.kpi-chip { 
    background: var(--bg-grey);
    padding: 15px; 
    border-radius: 16px; 
    text-align: center; 
    border: 1px solid #edf2f7; 
}

/* Primary KPI (Total Amount) - ENHANCED for prominence */
.kpi-chip.primary { 
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #34c759; 
    padding: 22px; 
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.15);
    position: relative;
}

/* KPI Label */
.kpi-label { 
    font-size: 0.7rem; 
    color: var(--text-grey); 
    text-transform: uppercase; 
    margin-bottom: 6px; 
    font-weight: 600; 
    letter-spacing: 0.5px; 
}

/* KPI Value */
.kpi-value { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--secondary); 
}

.kpi-value.green { 
    color: var(--primary); 
}

/* Primary KPI value - ENHANCED */
.kpi-chip.primary .kpi-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #16a34a;
    letter-spacing: -0.5px;
}

.kpi-chip.primary .kpi-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   8. BUTTONS & CALL-TO-ACTIONS
   Primary and secondary button styles
   ========================================================================== */
.btn-area { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    margin: 16px 0 8px 0; 
}

/* Primary Button (Main CTA) - MAXIMUM CONVERSION FOCUS */
.btn-main,
.btn-calc-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 20px;
    border-radius: 14px;
    color: white !important;
    background: linear-gradient(180deg, #34c759 0%, #28a745 100%);
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 14px rgba(52, 199, 89, 0.35);
    transition: all 0.2s ease;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.btn-main::before,
.btn-calc-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    pointer-events: none;
}

.btn-main:hover,
.btn-calc-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 199, 89, 0.45);
    background: linear-gradient(180deg, #3dd665 0%, #2dba4e 100%);
}

.btn-main:active,
.btn-calc-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
}

.btn-main-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.btn-sub-text { 
    font-size: 0.9rem; 
    opacity: 1; 
    font-weight: 700; 
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
    letter-spacing: 0.3px;
}

/* Secondary Button (Review Link) */
.btn-review { 
    text-align: center; 
    font-size: 0.9rem; 
    color: var(--text-grey); 
    text-decoration: none; 
    padding: 5px 0; 
    display: block; 
}

.btn-review:hover { 
    color: var(--secondary); 
    text-decoration: underline; 
}

/* Load More Button */
.btn-load-more { 
    background: var(--primary); 
    color: white; 
    border: none; 
    padding: 12px 32px; 
    border-radius: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
}

.btn-load-more:hover { 
    background: var(--primary-hover); 
    transform: scale(1.02); 
}

/* Calculation Example Box */
.calc-example { 
    font-size: 0.85rem; 
    color: var(--text-grey); 
    margin-top: 12px; 
    line-height: 1.5; 
    padding: 12px; 
    background: var(--bg-grey); 
    border-radius: 12px; 
}

.example-note { 
    display: block; 
    margin-top: 8px; 
    font-size: 0.75rem; 
    opacity: 0.8; 
}

/* Representative Example Accordion */
.representative-accordion { 
    margin-top: 10px; 
    margin-bottom: 0;
    border-top: 1px solid #eee; 
    padding-top: 10px;
    padding-bottom: 0;
}

.accordion-header { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.85rem; 
    font-weight: 600; 
    cursor: pointer; 
    color: var(--text-grey); 
}

.accordion-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: 0.3s; 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    margin-top: 5px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.accordion-content.open { 
    max-height: 150px;
    padding-bottom: 4px;
}

/* ==========================================================================
   9. HOMEPAGE NAVIGATION GRID
   Category cards on homepage
   ========================================================================== */
.fin-nav-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
    margin-top: 20px; 
    position: relative; 
    z-index: 10; 
}

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

/* Navigation Card */
.nav-card {
    background: white; 
    border-radius: var(--radius); 
    padding: 40px 30px;
    text-decoration: none; 
    color: var(--secondary);
    box-shadow: var(--shadow-card); 
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; 
    flex-direction: column; 
    align-items: flex-start;
}

.nav-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-hover); 
    border-color: var(--primary); 
}

.card-icon { 
    width: 60px; 
    height: 60px; 
    border-radius: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
    margin-bottom: 25px; 
}

.nav-card .card-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.nav-card p { 
    font-size: 1rem; 
    color: var(--text-grey); 
    line-height: 1.6; 
    margin-bottom: 20px; 
    flex-grow: 1; 
}

.card-link {
    font-weight: 600;
    color: var(--blue-link);
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.card-link:hover {
    opacity: 0.7;
}

/* ==========================================================================
   10. REVIEW PAGE ELEMENTS
   Pros/cons, features, statistics grids
   ========================================================================== */
   
/* Generic Section Styling */
.fin-section { 
    padding: 50px 20px; 
    scroll-margin-top: 20px;
}

.fin-section.grey {
    background: #f8f9fa;
    margin-top: 30px;
    border-radius: 20px;
    margin-left: 12px;
    margin-right: 12px;
}

.fin-section.white {
    background: #ffffff;
    padding-bottom: 30px;
    border-radius: 20px;
    margin: 12px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

/* Steps Grid (How it works) */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2980b9 0%, #1a5276 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(41,128,185,0.25);
}

.steps-grid .step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 8px 0;
}

/* Lender pills (homepage "a quien comparamos") */
.lender-pill {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.lender-pill:hover {
    border-color: #2980b9;
    box-shadow: 0 4px 12px rgba(41,128,185,0.12);
    transform: translateY(-1px);
}

/* Features List */
.features-list {
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 25px; 
}

.feat-box { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    padding: 30px; 
    border-radius: 20px; 
    background: white; 
    box-shadow: var(--shadow-card); 
    border: 1px solid rgba(0,0,0,0.04); 
}

.feat-text strong { 
    display: block; 
    font-size: 1.1rem; 
    color: var(--secondary); 
    margin-bottom: 5px; 
}

/* Stats/Features/Review Grids */
.stats-grid, 
.features-grid, 
.review-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 25px; 
    margin-bottom: 30px; 
}

/* Pros & Cons Boxes */
.pro-box, 
.con-box, 
.feature-item { 
    padding: 30px; 
    border-radius: 24px; 
    border: 1px solid rgba(0,0,0,0.05); 
}

.pro-box { 
    background: #f2fcf5; 
    border-color: rgba(52, 199, 89, 0.2); 
}

.con-box { 
    background: #fff5f5; 
    border-color: rgba(255, 59, 48, 0.2); 
}

.feature-item { 
    background: var(--bg-grey); 
    padding-bottom: 40px; 
}

/* Box Titles */
.box-title, 
.feature-title { 
    font-size: 1.2rem; 
    font-weight: 700; 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.pro-box .box-title { 
    color: var(--primary-hover); 
}

.con-box .box-title { 
    color: #c0392b; 
}

/* Review Lists */
.review-list, 
.check-list { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 10px 0; 
}

.review-list li, 
.check-list li { 
    position: relative; 
    padding-left: 30px; 
    margin-bottom: 12px; 
    color: var(--text-body);
    line-height: 1.6; 
}

.review-list li::before, 
.check-list li::before { 
    position: absolute; 
    left: 0; 
    top: 2px; 
    font-weight: 700; 
}

.pro-box .review-list li::before, 
.check-list li::before { 
    content: "\2713"; 
    color: var(--primary); 
}

.con-box .review-list li::before { 
    content: "\2715"; 
    color: #ff3b30; 
}

/* ==========================================================================
   11. ARTICLE CONTENT
   Long-form content area below cards
   ========================================================================== */
.content-section { 
    background: white; 
    width: 100%; 
    padding: 50px 20px; 
    margin-top: 50px; 
    border-top: 1px solid var(--border-light); 
    text-align: left;
    scroll-margin-top: 20px;
}

.content-body { 
    max-width: 800px; 
    margin: 0 auto; 
}

.content-body h2 { 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin-bottom: 25px; 
    color: var(--secondary); 
}

.content-body h3 { 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-top: 40px; 
    margin-bottom: 15px; 
    color: var(--secondary); 
}

.content-body p { 
    color: var(--text-body);
    line-height: 1.7; 
    margin-bottom: 20px; 
    font-size: 1rem; 
}

/* ==========================================================================
   12. FAQ & ACCORDIONS
   Expandable question/answer sections
   ========================================================================== */
.faq-wrapper { 
    margin-top: 40px; 
}

.faq-item { 
    border-bottom: 1px solid #eee; 
}

.faq-q {
    padding: 20px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    color: var(--secondary);
    transition: color 0.2s ease;
}

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

.faq-a { 
    display: none; 
    padding-bottom: 20px; 
    color: var(--text-body);
}

.faq-a.open { 
    display: block; 
}

/* ==========================================================================
   13. FOOTER
   Site-wide footer with links and legal text
   ========================================================================== */
.fin-footer {
    background: #fff;
    border-top: 1px solid var(--border-light);
    padding: 60px 20px 100px;
    text-align: center;
}

.footer-links {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links a {
    color: var(--text-grey);
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-muted);
}

.legal-box {
    font-size: 0.75rem;
    color: #a1a1a6;
    margin-top: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   14. STICKY FILTER BAR
   Fixed bottom bar showing selected filters
   ========================================================================== */
#stickyFilterBar {
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.1); 
    padding: 12px 20px;
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    z-index: 999;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    transform: translateY(100%); 
    transition: 0.3s;
}

#stickyFilterBar.visible { 
    transform: translateY(0); 
}

.sticky-left { 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    flex: 1;
    text-align: center;
}

.sticky-label { 
    font-size:0.7rem; 
    color:var(--text-grey); 
    text-transform:uppercase; 
    font-weight: 600; 
}

.sf-val { 
    font-weight: 700; 
    color: var(--secondary); 
    font-size: 1.1rem; 
}

.sf-btn {
    background: var(--primary);
    border-radius: 99px;
    padding: 10px 24px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.sf-btn:hover {
    background: var(--primary-hover);
}

/* ==========================================================================
   15. TEAM SECTION
   Team member cards with photos
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--border-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: var(--secondary);
}

.member-role {
    display: block;
    color: #3498db;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.team-member p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ==========================================================================
   16. LOADING STATES & ANIMATIONS
   Skeleton loaders and fade-in effects
   ========================================================================== */
   
/* Fade In Animation */
.fade-in {
    animation: none;
}

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

/* Skeleton Loading Cards */
.loading-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.skeleton-card {
    background: #f6f7f8;
    background-image: linear-gradient(
        90deg,
        #f6f7f8 0px,
        #edeef1 40px,
        #f6f7f8 80px
    );
    background-size: 600px;
    animation: shine 1.6s infinite linear;
    border-radius: 12px;
    height: 200px;
    width: 100%;
}

@keyframes shine {
    0% { background-position: -100px; }
    40%, 100% { background-position: 600px; }
}

.loading-container.hidden {
    display: none;
}

/* ==========================================================================
   17. MOBILE RESPONSIVENESS
   Breakpoints and mobile adjustments - OPTIMIZED FOR 90% MOBILE TRAFFIC
   ========================================================================== */
   
/* Mobile Phones (< 600px) */
@media (max-width: 600px) {
    
    /* Header + burger menu */
    .fin-header {
        padding: 12px 15px;
    }

    .fin-burger {
        display: flex;
    }

    .fin-top-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 25, 35, 0.97);
        flex-direction: column;
        padding: 10px 20px 20px;
        gap: 0;
        backdrop-filter: blur(10px);
    }

    .fin-top-nav.open {
        display: flex;
    }

    .fin-top-nav a {
        padding: 14px 10px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .fin-top-nav a:last-child {
        border-bottom: none;
    }

    /* Hero - Homepage - Optimized spacing */
    .hero {
        padding-top: 120px !important;
        padding-bottom: 120px !important;
        text-align: center;
    }

    .hp-above-fold > .hero {
        padding-top: 120px !important;
        padding-bottom: 110px !important;
    }

    /* Hide trust strip on mobile */
    .hp-trust-strip {
        display: none;
    }

    .hero-wave-wrap svg {
        height: 40px;
    }

    .hero-wave-wrap {
        margin-top: -40px;
    }

    .hp-bottom-cta {
        padding: 40px 18px;
        margin: 0 12px 30px;
        border-radius: 20px;
    }

    .hp-bottom-cta h2 {
        font-size: 1.3rem;
    }

    /* Hero - Review pages - Optimized spacing */
    .fin-hero { 
        padding-top: 90px !important;
        padding-bottom: 70px !important; 
        text-align: center; 
    }

    /* Hero title size */
    .hero h1,
    .fin-hero h1 {
        font-size: 2.4rem;
        font-weight: 800;
        line-height: 1.08;
        margin-bottom: 14px;
        letter-spacing: -0.5px;
    }

    /* Hero badges - compact wrap on mobile */
    .hero-badges {
        gap: 6px;
        font-size: 0.72rem !important;
        flex-wrap: wrap;
        margin-top: 14px;
        margin-bottom: 15px !important;
        justify-content: center;
        position: relative;
        z-index: 5;
    }

    .hero-badges span {
        padding: 5px 10px;
        border-radius: 16px;
    }

    /* Calculator - Optimized overlap and spacing */
    .calc-wrapper { 
        padding: 25px 20px; 
        margin-top: -70px; 
        border-radius: 24px;
        width: 90%;
    }
    
    /* Navigation container */
    .fin-nav-container { 
        margin-top: 10px; 
        padding: 0 16px;
    }
    
    /* Cards and navigation - REDUCED margins for less scrolling */
    .offer-card { 
        padding: 28px 18px 10px 18px !important; 
        margin-bottom: 15px !important;
        border-radius: 20px; 
    }
    
    .nav-card {
        padding: 28px 20px !important; 
        margin-bottom: 15px !important;
        border-radius: 20px;
    }
    
    /* All grids become single column - REDUCED gaps */
    .fin-nav-grid { 
        grid-template-columns: 1fr; 
        gap: 18px;
    }
    
    .steps-grid, 
    .stats-grid, 
    .features-grid, 
    .review-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    
    .features-list { 
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* KPI grid - TIGHTER spacing */
    .kpi-row { 
        grid-template-columns: 1fr 1fr 1fr !important; 
        gap: 6px;
    }
    
    .kpi-chip { 
        padding: 10px 6px; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 65px;
        border-radius: 12px;
    }
    
    .kpi-label { 
        font-size: 0.6rem; 
        margin-bottom: 6px; 
        line-height: 1.2;
        letter-spacing: 0.3px;
    }
    
    .kpi-value { 
        font-size: 0.85rem !important; 
        line-height: 1.2;
    }
    
    .kpi-chip.primary { 
        padding: 18px 16px; 
        margin-bottom: 10px; 
        min-height: auto;
        border-width: 2px;
        box-shadow: 0 4px 12px rgba(52, 199, 89, 0.2);
    }
    
    .kpi-chip.primary .kpi-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
        font-weight: 700;
    }
    
    .kpi-chip.primary .kpi-value { 
        font-size: 1.35rem !important;
        font-weight: 800;
        letter-spacing: -0.3px;
    }
    
    /* Logo boxes - PROMINENT on mobile */
    .logo-box {
        font-size: 1.15rem;
        min-width: 100px;
        padding: 12px 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        letter-spacing: 0.3px;
    }
    
    /* Offer card header spacing */
    .lender-header-top {
        margin-bottom: 16px;
    }

    /* Override list context header spacing on mobile (ID selector at line 561 wins otherwise) */
    #listTop .lender-header-top,
    #listFiltered .lender-header-top {
        margin-top: 18px;
        margin-bottom: 18px;
    }
    
    /* Rating badges - optimized for mobile */
    .rating-badge {
        font-size: 0.8rem;
        padding: 6px 10px;
        border-bottom-left-radius: 12px;
    }
    
    .rating-number {
        font-size: 0.9rem;
    }
    
    .rating-stars {
        font-size: 0.75rem;
        gap: 1px;
    }
    
    /* Ribbon (left corner) */
    .ribbon {
        font-size: 0.65rem;
        padding: 5px 12px;
        border-bottom-right-radius: 12px;
    }
    
    /* Buttons - MAXIMUM CONVERSION on mobile */
    .btn-main,
    .btn-calc-primary {
        padding: 16px 16px;
        border-radius: 12px;
    }

    .btn-main-text {
        font-size: 1.05rem;
        font-weight: 700;
    }

    .btn-sub-text {
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    /* Card spacing - compress for mobile */
    .kpi-container {
        margin: 14px 0 10px 0;
    }
    
    .btn-area {
        margin: 12px 0 6px 0;
        gap: 10px;
    }
    
    .calc-example {
        margin-top: 10px;
        padding: 10px;
        line-height: 1.4;
        font-size: 0.8rem;
    }
    
    .representative-accordion {
        margin-top: 8px;
        padding-top: 8px;
    }
    
    /* Load more button */
    .btn-load-more {
        width: 100%;
        margin-top: 20px;
        padding: 12px 32px;
    }
    
    /* Navigation card elements */
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        margin-bottom: 20px;
        border-radius: 18px;
    }
    
    .nav-card .card-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .nav-card p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    /* Review boxes - tighter spacing */
    .pro-box, 
    .con-box, 
    .feature-item {
        padding: 24px 20px;
        border-radius: 20px;
    }
    
    .box-title, 
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .review-list li, 
    .check-list li {
        font-size: 0.9rem;
        padding-left: 26px;
        margin-bottom: 10px;
    }
    
    /* Section labels - reduced spacing */
    .section-label {
        font-size: 1.5rem;
        margin: 45px 0 18px;
        scroll-margin-top: 15px;
        padding-bottom: 12px;
    }
    
    /* Section padding - mobile optimized */
    .fin-section {
        padding: 35px 16px;
        scroll-margin-top: 15px;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }
    
    /* SEO section - mobile spacing */
    .content-section {
        padding: 35px 16px;
        margin-top: 35px;
        scroll-margin-top: 15px;
    }
    
    .content-body h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    
    .content-body h2:first-child {
        margin-top: 0;
    }
    
    .content-body h3 {
        font-size: 1.2rem;
        margin-top: 30px;
        margin-bottom: 12px;
    }
    
    /* Container padding - tighter */
    .fin-container {
        padding: 0 16px !important;
    }
    
    /* Hero statistics */
    .hero-stats { 
        gap: 25px; 
    }
    
    .stat-item strong { 
        font-size: 1.3rem; 
    }
    
    /* Sticky filter bar - optimized */
    #stickyFilterBar {
        padding: 10px 16px;
    }
    
    .sticky-label {
        font-size: 0.65rem;
    }
    
    .sf-val {
        font-size: 1rem;
    }
    
    .sf-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    /* Footer - optimized padding */
    .fin-footer { 
        padding: 50px 20px 90px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        margin: 0 10px;
    }
    
    .legal-box {
        font-size: 0.7rem;
        margin-top: 30px;
    }
    
    /* Feature items */
    .feature-item { 
        padding-bottom: 30px; 
    }
    
    /* Steps grid elements */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 16px;
    }
    
    /* Feature boxes */
    .feat-box {
        padding: 24px 20px;
        gap: 16px;
    }
    
    .feat-text strong {
        font-size: 1rem;
    }
}

/* Extra Small Phones (< 360px) - Additional optimizations */
@media (max-width: 360px) {
    .hero h1,
    .fin-hero h1 {
        font-size: 1.8rem !important;
        font-weight: 800;
        line-height: 1.1;
    }
    
    .calc-wrapper {
        padding: 20px 16px;
        width: 94%;
        margin-top: -60px;
    }
    
    .offer-card {
        padding: 24px 16px 8px 16px !important;
    }
    
    .nav-card {
        padding: 24px 18px !important;
    }
    
    .kpi-row {
        gap: 5px !important;
    }
    
    .kpi-chip {
        padding: 9px 5px;
        min-height: 60px;
    }
    
    .kpi-label {
        font-size: 0.55rem;
    }
    
    .kpi-value {
        font-size: 0.8rem !important;
    }
    
    .btn-main,
    .btn-calc-primary {
        padding: 14px 14px;
        border-radius: 12px;
    }

    .btn-main-text {
        font-size: 1rem;
        font-weight: 700;
    }

    .btn-sub-text {
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    /* Compress card spacing */
    .kpi-container {
        margin: 12px 0 8px 0;
    }
    
    .btn-area {
        margin: 10px 0 5px 0;
    }
    
    .calc-example {
        margin-top: 8px;
        padding: 8px;
        font-size: 0.75rem;
    }
    
    .logo-box {
        min-width: 85px;
        padding: 10px 14px;
        font-size: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    
    .kpi-chip.primary .kpi-value {
        font-size: 1.2rem !important;
        font-weight: 800;
    }
    
    .hero-badges {
        font-size: 0.75rem !important;
        gap: 6px;
    }
    
    .fin-container {
        padding: 0 12px !important;
    }
}

/* Tablets and Desktop (> 600px) */
@media (min-width: 601px) {
    .features-grid, 
    .review-grid, 
    .stats-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

/* Tablet Override (< 768px) */
@media (max-width: 768px) {
    .hero { 
        padding-bottom: 60px !important; 
    }
    
    .fin-container { 
        padding: 0 20px !important;
    }
}

/* ==========================================================================
   18. DESKTOP OPTIMIZATION (> 768px)
   Enhanced desktop experience for 10% traffic
   ========================================================================== */
@media (min-width: 769px) {
    
    /* Smoother hover effects */
    .offer-card {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    
    .offer-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }
    
    .nav-card {
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .nav-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    }
    
    /* Button hover improvements - MAXIMUM CONVERSION */
    .btn-main,
    .btn-calc-primary {
        padding: 20px 22px;
        border-radius: 14px;
    }

    .btn-main-text {
        font-size: 1.2rem;
        font-weight: 700;
    }

    .btn-sub-text {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .btn-main:hover,
    .btn-calc-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(52, 199, 89, 0.45);
    }

    .btn-main:active,
    .btn-calc-primary:active {
        transform: translateY(-1px);
    }
    
    /* Compress card spacing on desktop */
    .kpi-container {
        margin: 20px 0 14px 0;
    }
    
    .btn-area {
        margin: 18px 0 10px 0;
    }
    
    .calc-example {
        margin-top: 14px;
    }
    
    /* Logo box desktop enhancement */
    .logo-box {
        font-size: 1.45rem;
        padding: 15px 24px;
        min-width: 140px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }
    
    /* Primary KPI desktop enhancement */
    .kpi-chip.primary {
        padding: 24px 20px;
        box-shadow: 0 6px 16px rgba(52, 199, 89, 0.2);
    }
    
    .kpi-chip.primary .kpi-value {
        font-size: 1.75rem;
    }
    
    .btn-load-more:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
    }
    
    /* Calculator subtle improvements */
    .calc-wrapper {
        padding: 45px;
        max-width: 600px;
    }

    /* Benefits grid — 3 columns on tablet+ */
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .hp-benefits h2,
    .hp-how-it-works h2 {
        font-size: 1.9rem;
    }

    /* Optimized container width */
    .fin-container {
        max-width: 920px;
    }
    
    /* Better section spacing */
    .fin-section {
        padding: 60px 30px;
    }
    
    .content-section {
        padding: 60px 30px;
        margin-top: 60px;
    }
    
    /* Section headers */
    .section-label {
        margin: 50px 0 28px;
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 45px;
    }
    
    /* Offer cards - better spacing */
    .offer-card {
        margin-bottom: 28px;
        padding: 46px 42px 10px 42px;
    }
    
    /* Navigation grid - optimal width */
    .fin-nav-grid {
        gap: 32px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .nav-card {
        padding: 42px 35px;
    }
    
    /* KPI improvements */
    .kpi-row {
        gap: 18px;
    }
    
    .kpi-chip {
        padding: 18px 16px;
        border-radius: 18px;
    }
    
    /* Hero statistics better spacing */
    .hero-stats {
        gap: 80px;
        margin-top: 45px;
        padding-top: 35px;
    }
    
    /* Better typography */
    .content-body h2 {
        font-size: 2rem;
        margin-bottom: 28px;
    }
    
    .content-body h3 {
        font-size: 1.5rem;
        margin-top: 45px;
        margin-bottom: 18px;
    }
    
    .content-body p {
        font-size: 1.05rem;
        line-height: 1.75;
        margin-bottom: 22px;
    }
}

/* Large Desktop Optimization (> 1200px) */
@media (min-width: 1201px) {
    
    .fin-container {
        max-width: 860px;
    }

    .fin-nav-grid {
        max-width: 1280px;
    }
    
    .calc-wrapper {
        max-width: 640px;
        padding: 50px;
    }
    
    .hero,
    .fin-hero {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .offer-card {
        padding: 48px 45px 10px 45px;
    }

    .nav-card {
        padding: 45px 40px;
    }
    
    /* Better grid layouts */
    .stats-grid,
    .features-grid,
    .review-grid {
        gap: 35px;
    }
    
    .steps-grid {
        gap: 50px;
    }

    /* Desktop split — homepage only (H1 left, calc right) */
    .hp-split > .hero {
        padding: 290px 18% 375px !important;
        text-align: left;
        align-items: flex-start;
        justify-content: center;
    }

    .hp-split > .hero h1 {
        max-width: 56%;
        text-align: left;
        font-size: 5.1rem;
        font-weight: 800;
        line-height: 1.04;
        margin-bottom: 24px;
    }

    .hp-split .hero-wave-wrap {
        margin-top: -300px;
    }

    .hp-split .hero-wave-wrap svg {
        height: 300px;
    }

    .hp-split .calc-wrapper {
        position: relative;
        z-index: 10;
        margin-top: -770px;
        margin-left: auto;
        margin-right: 20%;
        margin-bottom: 270px;
        max-width: 460px;
        transform: scale(1.1);
        transform-origin: top center;
    }

    /* Benefits + How-it-works — desktop */
    .hp-benefits,
    .hp-how-it-works {
        padding: 55px 40px 42px;
    }

    .hp-benefits h2,
    .hp-how-it-works h2 {
        font-size: 2.1rem;
    }

    /* Section label — desktop prominence */
    .section-label {
        font-size: 2.2rem;
        margin: 55px 0 30px;
        padding-bottom: 18px;
    }

    .section-label::after {
        width: 70px;
        height: 4px;
    }

    /* More breathing room after offer cards */
    .hp-above-fold + .fin-section,
    .hp-above-fold + .content-section,
    .hp-above-fold + .fin-nav-container {
        padding-top: 70px;
    }

    /* White section card — equalize visual spacing on desktop */
    .fin-section.white {
        padding-bottom: 60px;
        margin: 20px 20px 5px;
    }

    /* Bottom CTA desktop */
    .hp-bottom-cta {
        padding: 70px 40px;
        margin: 0 20px 40px;
    }

    .hp-bottom-cta h2 {
        font-size: 2rem;
    }
}


/* ==========================================================================
   18. PERFORMANCE OPTIMIZATIONS
   CLS prevention using visibility/opacity
   ========================================================================== */

/* Prevent font loading flash */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CLS Fix: Skeleton cards with loading animation */
#loadingState {
    position: relative;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#loadingState.hidden {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton-card {
    pointer-events: none;
    user-select: none;
}

/* Fade in content to prevent sudden appearance */
#listFiltered {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#listFiltered.loaded {
    opacity: 1;
}

/* Prevent card animation from causing CLS */
.offer-card {
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

/* Disable animations that cause CLS */

/* Prevent VIP card from shifting */
.offer-card.vip {
    transform: translateZ(0);
}


/* Stabilize body and entry-content to prevent shifts from plugins */
body {
    min-height: 100vh;
}

.entry-content {
    position: relative;
}

/* Prevent cookie banner from causing layout shifts */
#cookie-law-info-bar,
.cli-modal-backdrop {
    position: fixed !important;
    z-index: 9999 !important;
}

/* Reserve space for offer cards container to prevent shift */
.hp-above-fold > .fin-container {
    min-height: 400px;
    transition: none; /* Disable transitions that cause shifts */
}

/* Prevent breadcrumbs from shifting */
.fin-breadcrumbs,
.breadcrumbs {
    min-height: 30px;
}

/* Prevent GTM from causing forced reflows - REMOVED contain:layout as it breaks sticky bar */