/* ============================================
   WONGA.COM.ES - STYLES
   Comparador de Préstamos Rápidos en España
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #E85D04;
    --primary-dark: #C44D03;
    --primary-light: #F48C37;
    --secondary: #1B4332;
    --secondary-mid: #2D6A4F;
    --secondary-light: #40916C;
    --accent: #FFBA08;
    --accent-light: #FFD23F;
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748B;
    --gray-500: #94A3B8;
    --gray-400: #CBD5E1;
    --gray-300: #E2E8F0;
    --gray-200: #F1F5F9;
    --gray-100: #F8FAFC;
    --white: #FFFFFF;
    --success: #059669;
    --success-bg: rgba(5,150,105,0.08);
    --error: #EF4444;
    --error-bg: rgba(239,68,68,0.08);
    --info: #3B82F6;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 16px -4px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 24px -6px rgba(0,0,0,0.1), 0 6px 10px -4px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 40px -8px rgba(0,0,0,0.12), 0 8px 16px -6px rgba(0,0,0,0.06);
    --transition: 0.25s ease;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--dark); line-height: 1.65; background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; width: 100%; }
html { overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); cursor: pointer; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border: none; border-radius: var(--radius); font-size: 1rem;
    font-weight: 600; cursor: pointer; transition: all var(--transition); text-align: center; line-height: 1.4;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white) !important; box-shadow: 0 4px 14px rgba(232,93,4,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,4,0.45); color: var(--white) !important; }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
    background: transparent; border: 2px solid var(--primary); color: var(--primary) !important;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white {
    background: var(--white); color: var(--primary) !important; box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); color: var(--primary) !important; }
.btn-full { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent; transition: all var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 2px; }
.logo img { height: 34px; width: auto; }
.logo-text { font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: -0.5px; }
.logo-dot { font-size: 0.75rem; font-weight: 600; color: var(--primary); opacity: 0.55; vertical-align: baseline; margin-left: 1px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links > li > a {
    display: block; padding: 8px 16px; font-weight: 600; font-size: 0.95rem;
    color: var(--gray-700); border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-links > li > a:hover { color: var(--primary); background: rgba(232,93,4,0.05); }
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: var(--white) !important; padding: 10px 24px !important; border-radius: var(--radius) !important;
    box-shadow: 0 2px 8px rgba(232,93,4,0.3);
}
.nav-cta:hover { opacity: 0.92; background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important; color: var(--white) !important; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ''; display: inline-block; width: 5px; height: 5px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin-left: 6px; margin-bottom: 2px; opacity: 0.5; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition); border: 1px solid var(--gray-300);
}
.nav-links .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
    display: block; padding: 10px 16px; font-size: 0.9rem; font-weight: 600;
    color: var(--gray-700); border-radius: var(--radius-sm); transition: all var(--transition);
}
.dropdown li a:hover { background: var(--gray-100); color: var(--primary); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile menu + overlay (hidden on desktop by default) */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9998; }
.nav-overlay.active { display: block; }
/* Mobile menu - hidden on desktop */
.mobile-menu { display: none; }
.nav-overlay { display: none; }


/* ===== HERO (Homepage) ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 100px 0 60px; overflow: hidden;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #40916C 100%);
}
.hero-bg-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.04); animation: rise 15s infinite; }
.bubble:nth-child(1) { width: 80px; height: 80px; left: 8%; animation-delay: 0s; animation-duration: 13s; }
.bubble:nth-child(2) { width: 130px; height: 130px; left: 28%; animation-delay: 2s; animation-duration: 17s; }
.bubble:nth-child(3) { width: 60px; height: 60px; left: 52%; animation-delay: 4s; animation-duration: 14s; }
.bubble:nth-child(4) { width: 160px; height: 160px; left: 73%; animation-delay: 1s; animation-duration: 19s; }
.bubble:nth-child(5) { width: 45px; height: 45px; left: 90%; animation-delay: 3s; animation-duration: 11s; }
@keyframes rise { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-120vh) scale(1.2); opacity: 0; } }

.hero-content { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-text { color: var(--white); }
.hero-trust-badge {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
    padding: 6px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
    background: rgba(46,204,113,0.15); border: 1px solid rgba(46,204,113,0.3);
    color: #7DFFA8; letter-spacing: 0.2px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.highlight { color: var(--accent); }
.hero-subtitle { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; line-height: 1.7; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255,255,255,0.12); backdrop-filter: blur(5px); border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--white); }

/* ===== PAGE HERO (Inner pages) ===== */
.page-hero {
    padding: 100px 0 32px;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 55%, #40916C 100%);
    color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 12px; line-height: 1.2; position: relative; }
.page-hero p { color: rgba(255,255,255,0.85); position: relative; }
.page-hero .subtitle { font-size: 0.95rem; opacity: 0.88; max-width: 600px; margin: 0 auto 0; line-height: 1.7; position: relative; color: rgba(255,255,255,0.85); }

/* Breadcrumbs */
.breadcrumb { position: relative; margin-bottom: 12px; }
.breadcrumb ol { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { font-size: 0.85rem; font-weight: 600; opacity: 0.7; }
.breadcrumb li a { opacity: 1; }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }
.breadcrumb li:last-child { opacity: 1; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.page-hero .breadcrumb span { color: var(--white); }

/* ===== CALCULATOR CARD ===== */
.calculator-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; }
.calc-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 22px 28px; color: var(--white); }
.calc-header h2 { font-size: 1.25rem; font-weight: 600; }
.calc-header p { opacity: 0.9; font-size: 0.88rem; margin-top: 2px; }
.calc-body { padding: 28px; }
.slider-group { margin-bottom: 22px; }
.slider-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 600; font-size: 0.95rem; }
.slider-value { font-size: 1.35rem; font-weight: 600; color: var(--primary); }
.slider {
    -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
    background: var(--gray-200); border-radius: 4px; outline: none; cursor: pointer;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 26px; height: 26px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%; cursor: pointer; box-shadow: 0 2px 8px rgba(232,93,4,0.4);
}
.slider::-moz-range-thumb {
    width: 26px; height: 26px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%; cursor: pointer; border: none; box-shadow: 0 2px 8px rgba(232,93,4,0.4);
}
.slider-range { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--gray-500); margin-top: 5px; }
.calc-summary { background: var(--gray-100); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.92rem; color: var(--gray-700); }
.summary-row.total { border-top: 2px solid var(--gray-300); margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 1.05rem; color: var(--dark); }
.calc-free-label { text-align: center; font-size: 0.85rem; font-weight: 700; color: #16A34A; background: rgba(46,204,113,0.1); padding: 8px; border-radius: var(--radius-sm); margin-bottom: 12px; }
.calc-disclaimer { text-align: center; font-size: 0.73rem; color: var(--gray-500); margin-top: 10px; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--white); padding: 28px 0; border-bottom: 1px solid var(--gray-300); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-number { display: block; font-size: 1.8rem; font-weight: 600; color: var(--primary); margin-bottom: 2px; }
.stat-label { font-size: 0.85rem; color: var(--gray-600); font-weight: 600; }

/* ===== PARTNERS ===== */
.partners { padding: 28px 0; background: var(--gray-100); }
.partners-title { text-align: center; font-size: 0.82rem; color: var(--gray-500); font-weight: 600; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1.5px; }
.partners-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; }
.partner-logo {
    padding: 10px 22px; background: var(--white); border-radius: var(--radius-sm); font-weight: 600;
    font-size: 0.95rem; color: var(--gray-600); box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--gray-400); transition: all var(--transition);
}
.partner-logo:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--primary); border-color: var(--primary-light); }

/* ===== SECTION STYLES ===== */
.section { padding: 56px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: linear-gradient(135deg, #1B4332, #2D6A4F); color: var(--white); }
.section-cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); text-align: center; }
.section-title { text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 8px; line-height: 1.25; color: var(--dark); }
.section-title.light { color: var(--white); }
.section-subtitle { text-align: center; color: var(--gray-600); font-size: 0.95rem; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-subtitle.light { color: rgba(255,255,255,0.8); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.8); }
.section-cta .section-title { color: var(--white); }
.section-cta .section-subtitle { color: rgba(255,255,255,0.8); }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 20px; }
.step {
    text-align: center; flex: 1; max-width: 300px; padding: 32px 24px;
    background: var(--white); border-radius: var(--radius-lg); position: relative;
    transition: all var(--transition); border: 1.5px solid var(--gray-400); box-shadow: var(--shadow-sm);
}
.section-alt .step { background: var(--white); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-500); }
.step-number {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px; background: var(--primary); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.85rem;
}
.step-icon { font-size: 2.2rem; margin: 8px 0 14px; }
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.step p { font-size: 0.9rem; color: var(--gray-600); }
.step-arrow { display: flex; align-items: center; font-size: 1.4rem; color: var(--primary); padding-top: 55px; }

/* ===== BENEFITS GRID ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
    background: var(--white); padding: 28px 24px; border-radius: var(--radius-lg);
    border: 1.5px solid var(--gray-400); transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.benefit-icon { font-size: 2rem; margin-bottom: 14px; }
.benefit-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.benefit-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ===== APPLICATION FORM ===== */
.form-wrapper { max-width: 520px; margin: 0 auto; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-xl); }
.form-calc-summary {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--gray-100); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px;
}
.form-calc-item { display: flex; align-items: center; gap: 6px; font-size: 0.92rem; color: var(--gray-700); }
.form-calc-item strong { color: var(--primary); font-size: 1.02rem; }
.btn-modify {
    background: none; border: 1px solid var(--primary); color: var(--primary);
    padding: 6px 14px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
    transition: all var(--transition);
}
.btn-modify:hover { background: var(--primary); color: var(--white); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 5px; color: var(--dark); }
.required { color: var(--error); font-weight: 700; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%; padding: 13px 16px; border: 2px solid var(--gray-300); border-radius: var(--radius);
    font-family: var(--font); font-size: 0.95rem; color: var(--dark); transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); }
.form-group.error input, .form-group.error textarea { border-color: var(--error); }
.form-group textarea { resize: vertical; min-height: 120px; }
.phone-input { display: flex; align-items: stretch; }
.phone-prefix {
    display: flex; align-items: center; padding: 0 14px; background: var(--gray-100);
    border: 2px solid var(--gray-300); border-right: none; border-radius: var(--radius) 0 0 var(--radius);
    font-weight: 600; color: var(--gray-700); font-size: 0.92rem;
}
.phone-input input { border-radius: 0 var(--radius) var(--radius) 0 !important; }
.error-msg { display: none; color: var(--error); font-size: 0.78rem; font-weight: 600; margin-top: 4px; }
.form-group.error .error-msg, .error-msg.show { display: block; }
.form-checks { margin-bottom: 16px; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px;
    cursor: pointer; font-size: 0.82rem; color: var(--gray-700); line-height: 1.5;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkmark {
    flex-shrink: 0; width: 20px; height: 20px; border: 2px solid var(--gray-300);
    border-radius: 5px; margin-top: 1px; position: relative; transition: all var(--transition);
}
.checkbox-label input:checked + .checkmark { background: var(--primary); border-color: var(--primary); }
.checkbox-label input:checked + .checkmark::after {
    content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
    border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checkbox-label a { color: var(--primary); font-weight: 600; }
.checkbox-label a:hover { text-decoration: underline; }
.form-security {
    display: flex; justify-content: center; gap: 20px; margin-top: 16px; padding-top: 16px;
    border-top: 1px solid var(--gray-200); font-size: 0.78rem; color: var(--gray-500); font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.rating-summary { text-align: center; margin-bottom: 40px; }
.stars { font-size: 1.6rem; color: var(--accent); letter-spacing: 3px; }
.rating-text { font-size: 0.92rem; color: var(--gray-600); font-weight: 600; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 28px;
    border: 1.5px solid var(--gray-400); transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.section-alt .testimonial-card { background: var(--white); }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card > p { font-size: 0.92rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.85rem;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author > div > span { font-size: 0.78rem; color: var(--gray-500); }
.verified { margin-left: auto; font-size: 0.72rem !important; color: var(--success) !important; font-weight: 600; }

/* ===== FAQ ===== */
/* FAQ - consistent max-width with content */
.faq-list { max-width: 100%; margin: 0 auto; }
.faq-item {
    background: var(--white); border-radius: var(--radius); margin-bottom: 10px;
    border: 1.5px solid var(--gray-400); overflow: hidden; transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.section-alt .faq-item { background: var(--white); }
.faq-item:hover { border-color: var(--gray-500); box-shadow: var(--shadow); }
.faq-item.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary-light), var(--shadow); }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 18px 24px; background: none; border: none; font-size: 0.92rem; font-weight: 600;
    color: var(--dark); text-align: left; transition: color var(--transition); gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    width: 28px; height: 28px; min-width: 28px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--gray-100); color: var(--primary); font-size: 1.1rem;
    font-weight: 400; transition: all var(--transition);
}
.faq-item.active .faq-icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p, .faq-answer ul { padding: 0 24px 18px; color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; }
.faq-answer ul { padding-top: 0; list-style: none; }
.faq-answer ul li { margin-bottom: 4px; padding-left: 18px; position: relative; }
.faq-answer ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

/* ===== CONTENT PAGE LAYOUT ===== */
/* Content pages - centered layout */
.content-section { padding: 28px 0 40px; }
.content-section > .container { max-width: 820px; }

/* FAQ, grids inside content sections - match content width */
.section .faq-list,
.section-alt .faq-list,
.content-section .faq-list { max-width: 820px; margin: 0 auto; }
.content-section .benefits-grid { grid-template-columns: repeat(2, 1fr); }
.content-section .steps-grid { flex-wrap: wrap; }
.content-section .testimonials-grid { grid-template-columns: 1fr; }
.content-body { max-width: 100%; margin: 0 auto; }
.content-body h2 { font-size: 1.4rem; font-weight: 700; margin: 28px 0 12px; color: var(--dark); line-height: 1.3; }
.content-body h3 { font-size: 1.15rem; font-weight: 600; margin: 22px 0 8px; color: var(--dark); }
.content-body p { margin-bottom: 16px; color: var(--gray-700); font-size: 0.95rem; line-height: 1.75; }
.content-body ul, .content-body ol { margin-bottom: 16px; padding-left: 24px; }
.content-body ul { list-style: none; padding-left: 0; }
.content-body ul li { padding: 6px 0 6px 24px; position: relative; color: var(--gray-700); font-size: 0.92rem; }
.content-body ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--primary); border-radius: 50%; }
.content-body ol li { padding: 4px 0; color: var(--gray-700); font-size: 0.92rem; }
.content-body a { color: var(--primary); font-weight: 600; }
.content-body a:hover { text-decoration: underline; }
.content-body strong { color: var(--dark); }

/* Info box */
.info-box {
    background: var(--gray-100); border-left: 4px solid var(--primary);
    padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 14px 0;
}
.info-box.success { background: var(--success-bg); border-left-color: var(--success); }
.info-box.warning { background: #FEF3C7; border-left-color: var(--accent); }
.info-box p { margin-bottom: 0; font-size: 0.92rem; color: var(--gray-700); }
.info-box strong { color: var(--dark); }

/* Article meta */
.article-meta {
    display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
    margin: 0 0 16px; padding: 10px 0; font-size: 0.82rem; color: var(--gray-500); font-weight: 600;
    border-bottom: 1px solid var(--gray-300);
}
.page-hero .article-meta { color: rgba(255,255,255,0.7); border-bottom: none; padding: 0; margin: 12px 0 0; }
.article-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== COMPARISON TABLE ===== */
.table-wrapper { overflow-x: auto; margin: 16px 0; border-radius: var(--radius); border: 1.5px solid var(--gray-400); max-width: 100%; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table { table-layout: auto; width: 100%; }
.compare-table thead { background: var(--secondary); color: var(--white); }
.compare-table thead tr { background: var(--secondary); }
.compare-table th { padding: 14px 16px; text-align: left; font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-300); color: var(--gray-700); }
.compare-table td img { height: 26px; min-width: 70px; object-fit: contain; }
.compare-table tbody tr:hover { background: var(--gray-100); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.table-badge {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600;
}
.table-badge.free { background: var(--success-bg); color: var(--success); }
.table-badge.fast { background: rgba(59,130,246,0.1); color: var(--info); }

/* ===== CTA BANNER (inline) ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-mid));
    padding: 40px 32px; border-radius: var(--radius-lg); text-align: center;
    color: var(--white); margin: 28px 0;
}
.cta-banner h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.cta-banner p { opacity: 0.85; margin-bottom: 20px; font-size: 0.95rem; color: var(--white); }
.cta-banner .btn { background: var(--white); color: var(--primary) !important; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.cta-banner .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); color: var(--primary) !important; }
.cta-banner .btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white) !important; box-shadow: 0 4px 14px rgba(232,93,4,0.35); }
.section-cta .cta-banner { background: transparent; padding: 0; margin: 0; box-shadow: none; }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1.5px solid var(--gray-400); transition: all var(--transition); box-shadow: var(--shadow-sm);
    position: relative; cursor: pointer;
}
.blog-card-body h3 a::after, .blog-card-body h2 a::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img {
    height: 180px; background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.blog-card-body { padding: 22px; }
.blog-card-tag {
    display: inline-block; padding: 3px 12px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    background: rgba(232,93,4,0.08); color: var(--primary); margin-bottom: 10px;
}
.blog-card-body h3, .blog-card-body h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; line-height: 1.35; }
.blog-card-body h3 a, .blog-card-body h2 a { color: var(--dark); }
.blog-card-body h3 a:hover, .blog-card-body h2 a:hover { color: var(--primary); }
.blog-card-body p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 14px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--gray-500); font-weight: 600; }

/* ===== AUTHOR BOX (E-E-A-T) ===== */
.author-box {
    display: flex; gap: 16px; align-items: flex-start; padding: 18px;
    background: var(--gray-100); border-radius: var(--radius-lg); margin: 24px 0;
    border: 1.5px solid var(--gray-400);
}
.author-box-avatar {
    width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0;
    object-fit: contain;
}
.author-box h4 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; color: var(--dark); }
.author-box strong { color: var(--dark); }
.author-box h3 { color: var(--dark); }
.author-box .author-role { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.author-box p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 0; }

/* ===== BOTTOM CTA SECTION ===== */
.section-cta h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 700; margin-bottom: 10px; color: var(--white); }
.section-cta p { opacity: 0.9; font-size: 0.98rem; margin-bottom: 24px; color: var(--white); max-width: 500px; margin-left: auto; margin-right: auto; }
.section-cta .cta-banner h2 { color: var(--white); }
.section-cta .cta-banner p { color: var(--white); }

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); color: var(--white); padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: flex; align-items: center; gap: 2px; margin-bottom: 14px; }
.footer-logo img { height: 30px; width: auto; }
.footer-logo .logo-text { color: var(--white); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; }
.footer-logo .logo-dot { color: var(--white); font-size: 0.7rem; font-weight: 600; opacity: 0.5; margin-left: 1px; }
.footer-col > p { color: var(--gray-500); font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--white); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--gray-500); font-size: 0.88rem; font-weight: 500; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-badges { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.footer-badge {
    display: flex; align-items: center; gap: 4px; padding: 6px 12px;
    background: rgba(255,255,255,0.05); border-radius: 6px; font-size: 0.75rem;
    color: var(--gray-500); font-weight: 600; border: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--gray-500); }
.footer-disclaimer { margin-top: 12px; font-size: 0.72rem !important; color: var(--gray-600) !important; line-height: 1.65; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.active { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(15,23,42,0.65); backdrop-filter: blur(6px); }
.modal-card {
    position: relative; z-index: 1; background: var(--white); border-radius: 20px;
    width: 92%; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.08);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-x {
    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; line-height: 1;
}
.modal-x:hover { background: rgba(255,255,255,0.35); }

/* --- Form Modal --- */
.form-modal { max-width: 460px; overflow: hidden; }
.form-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 26px 28px 22px; text-align: center; color: var(--white);
}
.form-header-sub { font-size: 0.75rem; opacity: 0.8; margin-bottom: 4px; letter-spacing: 0.5px; }
.form-header h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.form-pills { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pill { padding: 5px 14px; background: rgba(255,255,255,0.18); border-radius: 20px; font-size: 0.85rem; font-weight: 600; color: var(--white); }
.pill-free { background: rgba(46,204,113,0.18); color: #86efac; }
.form-body { padding: 22px 28px 28px; }
.btn-cta-orange {
    width: 100%; background: linear-gradient(135deg, #F5A623, #D4870A); color: white !important; border: none;
    border-radius: 12px; padding: 15px 20px; font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all 0.25s; font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-cta-orange:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,166,35,0.4); }
.skip-link { display: block; text-align: center; margin-top: 14px; font-size: 0.85rem; color: var(--gray-500); font-weight: 600; }
.skip-link:hover { color: var(--primary); }
.form-trust { display: flex; justify-content: center; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-200); font-size: 0.75rem; color: var(--gray-500); font-weight: 600; }

/* --- Loading Modal --- */
.loading-card { max-width: 380px; padding: 40px 36px 32px; text-align: center; }
.ring-wrap { position: relative; width: 80px; height: 80px; margin: 0 auto 20px; }
.ring-svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.ring-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: var(--dark); }
#ringFill { transition: stroke-dashoffset 0.08s linear; }
.loading-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 18px; }
.load-bar { height: 4px; background: var(--gray-200); border-radius: 2px; overflow: hidden; margin-bottom: 20px; }
.load-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), #2ECC71); border-radius: 2px; transition: width 0.08s linear; }
.load-steps { text-align: left; }
.load-step { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.85rem; color: var(--gray-400); font-weight: 600; transition: color 0.3s; }
.load-step.active { color: var(--dark); }
.load-step.done { color: #16A34A; }
.ls-dot {
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gray-300);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; font-size: 0.65rem; color: transparent;
}
.load-step.active .ls-dot { border-color: var(--primary); background: rgba(232,93,4,0.08); box-shadow: 0 0 0 3px rgba(232,93,4,0.1); }
.load-step.done .ls-dot { border-color: #16A34A; background: #16A34A; color: white; }
.load-step.done .ls-dot::after { content: '\2713'; }

/* --- Offers Modal --- */
.offers-card { max-width: 560px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; }
.offers-head { flex-shrink: 0; }
.offers-body { padding: 20px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.offers-note { flex-shrink: 0; }
.offers-head { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 28px 28px 22px; text-align: center; color: var(--white); }
.offers-badge { display: inline-block; font-size: 0.75rem; font-weight: 600; background: rgba(255,255,255,0.18); padding: 5px 14px; border-radius: 20px; margin-bottom: 10px; }
.offers-head h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.offers-head p { font-size: 0.88rem; opacity: 0.85; }
.offers-note { padding: 0 20px 16px; font-size: 0.68rem; color: var(--gray-500); text-align: center; }

/* Offer Cards */
.offer-card {
    border: 2px solid var(--gray-400); border-radius: 16px; overflow: hidden;
    margin-bottom: 14px; transition: all 0.25s; animation: cardIn 0.4s ease both;
    box-shadow: var(--shadow-sm);
}
.offer-card:nth-child(1) { animation-delay: .08s; }
.offer-card:nth-child(2) { animation-delay: .18s; }
.offer-card:nth-child(3) { animation-delay: .28s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.offer-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.offer-card.recommended { border-color: #2ECC71; box-shadow: 0 4px 20px rgba(46,204,113,0.15); }

/* Rank bar */
.offer-rank { display: flex; align-items: center; justify-content: space-between; padding: 7px 16px; font-size: 0.72rem; font-weight: 700; color: white; }
.rank-gold { background: linear-gradient(90deg, #F5A623, #D4870A); }
.rank-silver { background: linear-gradient(90deg, #64748B, #475569); }
.offer-free-tag { background: white; color: #16A34A; font-size: 0.62rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

/* Offer body */
.offer-inner { padding: 18px; }
.offer-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.offer-logo { height: 52px; width: 120px; object-fit: contain; border-radius: 10px; border: 1.5px solid var(--gray-300); padding: 8px; background: white; }
.offer-promo { display: inline-block; font-size: 0.78rem; font-weight: 600; color: #16A34A; background: rgba(46,204,113,0.08); border: 1px solid rgba(46,204,113,0.2); padding: 5px 12px; border-radius: 8px; white-space: nowrap; }
.offer-usp { font-size: 0.82rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 12px; }
.offer-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.offer-tae-green { color: var(--success) !important; }
.offer-spec { text-align: center; padding: 8px 6px; background: var(--gray-100); border-radius: 10px; border: 1px solid var(--gray-300); }
.offer-spec-label { display: block; font-size: 0.62rem; color: var(--gray-500); text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.offer-spec-value { font-size: 0.88rem; font-weight: 700; color: var(--dark); }

/* Offer CTA */
.offer-btn {
    display: block; width: 100%; padding: 13px; border-radius: 12px; font-size: 0.95rem;
    font-weight: 700; text-align: center; text-decoration: none; transition: all 0.2s;
    border: none; cursor: pointer; font-family: inherit; letter-spacing: -0.2px;
}
.offer-btn-green { background: linear-gradient(135deg, #2ECC71, #22B862); color: white !important; box-shadow: 0 4px 14px rgba(46,204,113,0.35); }
.offer-btn-green:hover { background: linear-gradient(135deg, #27AE60, #1FA055); color: white !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(46,204,113,0.45); }
.offer-btn-outline { background: none; border: 2px solid var(--primary); color: var(--primary) !important; }
.offer-btn-outline:hover { background: var(--primary); color: white !important; }
.offer-disclaimer { font-size: 0.62rem; color: var(--gray-500); line-height: 1.5; margin-top: 8px; }

/* ===== CONTACT GRID ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card {
    padding: 24px; background: var(--gray-100); border-radius: var(--radius-lg);
    display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px;
    border: 1.5px solid var(--gray-400);
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-info-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; color: var(--dark); }
.contact-info-card p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 0; }

/* ===== ABOUT / TEAM ===== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { text-align: center; padding: 28px 20px; }
.value-card .benefit-icon { font-size: 2.5rem; }
.value-card h3 { font-size: 1.05rem; font-weight: 600; margin: 12px 0 8px; color: var(--dark); }
.value-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 36px; }
    .hero { padding: 100px 0 50px; }
    .hero-text { text-align: center; }
    .hero-badges { justify-content: center; }
    .calculator-card { max-width: 480px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Mobile: hide desktop nav, show burger + mobile menu */
    .burger { display: flex; }
    .nav-container { height: 60px; }
    .logo img { height: 32px; }
    .logo-text { font-size: 1.4rem; }
    .nav-links { display: none !important; }

    .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9998; }
    .nav-overlay.active { display: block; }

    .mobile-menu {
        display: block; position: fixed; top: 0; right: -300px; bottom: 0; width: 280px;
        background: var(--white); z-index: 9999; overflow-y: auto;
        padding: 64px 0 32px; transition: right 0.3s ease;
        box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    }
    .mobile-menu.active { right: 0; }
    .mobile-menu ul { list-style: none; padding: 0; margin: 0; }
    .mobile-menu > ul > li > a {
        display: flex; align-items: center; justify-content: space-between;
        padding: 15px 20px; font-size: 0.95rem; font-weight: 600;
        color: var(--dark); border-bottom: 1px solid var(--gray-300);
        text-decoration: none;
    }
    .mobile-menu > ul > li > a:hover { color: var(--primary); background: var(--gray-100); }
    .mobile-menu .has-dropdown > a::after {
        content: ''; display: inline-block; width: 6px; height: 6px;
        border-right: 2px solid var(--gray-500); border-bottom: 2px solid var(--gray-500);
        transform: rotate(45deg); transition: transform 0.2s; flex-shrink: 0;
    }
    .mobile-menu .has-dropdown.open > a::after { transform: rotate(225deg); }
    .mobile-menu .has-dropdown.open > a { color: var(--primary); }
    .mobile-menu .dropdown {
        position: static !important; opacity: 1 !important; visibility: visible !important;
        transform: none !important; box-shadow: none !important; border: none !important;
        padding: 0 !important; min-width: 0 !important; border-radius: 0 !important;
        max-height: 0; overflow: hidden; background: var(--gray-100); transition: max-height 0.3s ease;
    }
    .mobile-menu .has-dropdown:hover .dropdown { max-height: 0; }
    .mobile-menu .has-dropdown.open .dropdown { max-height: 500px; }
    .mobile-menu .dropdown li a {
        display: block; padding: 12px 20px 12px 36px; font-size: 0.88rem;
        color: var(--gray-700); border-bottom: 1px solid var(--gray-200); text-decoration: none;
    }
    .mobile-menu .dropdown li:last-child a { border-bottom: none; }
    .mobile-menu .dropdown li a:hover { color: var(--primary); }
    .mobile-menu .nav-cta {
        display: block; margin: 20px; padding: 14px; text-align: center;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: var(--white) !important; border-radius: var(--radius); font-weight: 600;
        font-size: 0.95rem; text-decoration: none; border-bottom: none;
    }

    /* Sections */
    .section { padding: 36px 0; }
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 28px; }

    /* Grids */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding: 0; }
    .benefits-grid, .testimonials-grid, .blog-grid, .values-grid { grid-template-columns: 1fr; }
    .content-section .benefits-grid { grid-template-columns: 1fr; }

    /* Tables - prevent overflow */
    .table-wrapper { margin: 12px -14px; border-radius: 0; border-left: none; border-right: none; }
    .compare-table { font-size: 0.75rem; }
    .compare-table th, .compare-table td { padding: 8px 8px; white-space: nowrap; }
    .compare-table img { height: 18px !important; min-width: 50px; }
    .btn-sm { padding: 6px 10px; font-size: 0.72rem; white-space: nowrap; }

    /* Form */
    .form-card { padding: 24px; }
    .form-calc-summary { flex-wrap: wrap; gap: 8px; }
    .contact-grid { grid-template-columns: 1fr; }

    /* Author */
    .author-box { flex-direction: column; text-align: center; align-items: center; }

    /* Footer */
    .footer { padding: 32px 0 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-col:first-child { grid-column: 1 / -1; text-align: center; }
    .footer-col:first-child .footer-logo { justify-content: center; }
    .footer-col:first-child p { text-align: center; }
    .footer-badges { justify-content: center; }
    .footer-col h4 { font-size: 0.85rem; margin-bottom: 10px; }
    .footer-col ul li { margin-bottom: 5px; }
    .footer-col ul li a { font-size: 0.82rem; }
    .footer-bottom { padding: 16px 0; }
    .footer-disclaimer { font-size: 0.68rem !important; }

    /* Modals */
    .modal-card { width: 95%; }
    .form-modal { max-width: 100%; }
    .form-header { padding: 20px 20px 16px; }
    .form-body { padding: 18px 20px 22px; }
    .form-pills { gap: 6px; }
    .pill { font-size: 0.78rem; padding: 4px 12px; }
    .loading-card { max-width: 100%; padding: 32px 24px 28px; }
    .offers-card { max-width: 100%; }
    .offers-head { padding: 22px 18px 18px; }
    .offers-head h2 { font-size: 1.05rem; }
    .offers-body { padding: 14px; }

    /* Offer cards mobile */
    .offer-inner { padding: 14px; }
    .offer-logo { height: 42px; width: 100px; }
    .offer-specs { grid-template-columns: repeat(4, 1fr); gap: 5px; }
    .offer-spec { padding: 6px 4px; }
    .offer-spec-label { font-size: 0.58rem; }
    .offer-spec-value { font-size: 0.8rem; }
    .offer-btn { padding: 11px; font-size: 0.88rem; }
    .offer-disclaimer { font-size: 0.58rem; }
    .offer-rank { padding: 6px 12px; font-size: 0.68rem; }

    /* Partners */
    .partners-logos { gap: 8px; }
    .partner-logo { padding: 8px 14px; }
    .partner-logo img { height: 22px !important; }

    /* Page hero */
    .page-hero { padding: 76px 0 24px; }
    .page-hero h1 { font-size: 1.3rem; margin-bottom: 8px; }
    .page-hero .subtitle { font-size: 0.85rem; }
    .breadcrumb li { font-size: 0.75rem; }
    .breadcrumb { margin-bottom: 12px; }
    .article-meta { font-size: 0.78rem; gap: 12px; }

    /* Hero homepage */
    .hero { padding: 76px 0 32px; }
    .hero-content { gap: 24px; }
    .hero h1 { font-size: 1.4rem; }
    .hero-subtitle { font-size: 0.88rem; }
    .hero-badges { gap: 6px; }
    .badge { font-size: 0.75rem; padding: 5px 10px; }
    .calculator-card { max-width: 100%; }
    .calc-body { padding: 20px; }

    /* Prevent all overflow */
    .section, .content-section, .page-hero, .hero, .stats-bar, .partners, .footer { overflow: hidden; }
    .info-box { word-wrap: break-word; overflow-wrap: break-word; }
    .cta-banner { word-wrap: break-word; }

    /* Form security badges wrap */
    .form-security { flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 0.72rem; }
    .form-trust { flex-wrap: wrap; }

    /* Slider text overflow */
    .slider-label { font-size: 0.88rem; }
    .slider-value { font-size: 1.15rem; }
    .summary-row { font-size: 0.85rem; }
    .summary-row.total { font-size: 0.95rem; }
    .calc-free-label { font-size: 0.78rem; padding: 6px; }
}

@media (max-width: 480px) {
    .container, .container-narrow { padding: 0 14px; }
    .hero h1 { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.92rem; }
    .hero-badges { gap: 6px; }
    .badge { font-size: 0.75rem; padding: 6px 10px; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.78rem; }
    .section { padding: 28px 0; }
    .page-hero { padding: 68px 0 20px; }
    .page-hero h1 { font-size: 1.15rem; line-height: 1.3; }
    .page-hero .subtitle { font-size: 0.82rem; }
    .breadcrumb li { font-size: 0.72rem; }

    /* Calculator */
    .calc-body { padding: 18px; }
    .slider-value { font-size: 1.15rem; }
    .calc-header { padding: 16px 18px; }
    .calc-header h2 { font-size: 1.05rem; }

    /* Table - full bleed on small screens */
    .table-wrapper { margin-left: -14px; margin-right: -14px; border-radius: 0; border-left: none; border-right: none; }
    .compare-table th, .compare-table td { padding: 6px 6px; font-size: 0.7rem; }
    .compare-table img { height: 16px !important; min-width: 40px; }
    .btn-sm { padding: 5px 8px; font-size: 0.68rem; }

    /* FAQ */
    .faq-question { padding: 14px 16px; font-size: 0.85rem; }
    .faq-icon { width: 24px; height: 24px; min-width: 24px; font-size: 0.9rem; }
    .faq-answer p, .faq-answer ul { padding: 0 16px 14px; font-size: 0.85rem; }

    /* Blog cards */
    .blog-card-img { height: 140px; }
    .blog-card-body { padding: 16px; }
    .blog-card-body h3, .blog-card-body h2 { font-size: 0.95rem; }

    /* Steps */
    .step { padding: 24px 18px; }
    .step-icon { font-size: 1.8rem; }

    /* CTA sections */
    .section-cta { padding: 32px 0; }
    .section-cta h2 { font-size: 1.1rem; }
    .section-cta p { font-size: 0.88rem; }
    .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
    .btn { padding: 11px 20px; font-size: 0.88rem; }

    /* Footer 480 */
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-col { text-align: center; }
    .footer-col:first-child { text-align: center; }

    /* Nav 480 */
    .nav-container { height: 56px; }
    .logo img { height: 28px; }
    .logo-text { font-size: 1.25rem; }
    .burger span { width: 20px; height: 2px; }
    .mobile-menu { padding-top: 56px; }

    /* Modals 480 */
    .modal-overlay { padding: 10px; }
    .modal-card { width: 100%; border-radius: 14px; }
    .form-modal { max-width: 100%; }
    .form-header { padding: 16px 16px 12px; }
    .form-header h2 { font-size: 1rem; }
    .form-header-sub { font-size: 0.68rem; }
    .form-body { padding: 14px 16px 18px; }
    .form-group { margin-bottom: 12px; }
    .form-group label { font-size: 0.82rem; }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"] { padding: 10px 12px; font-size: 0.88rem; }
    .phone-prefix { padding: 0 10px; font-size: 0.85rem; }
    .checkbox-label { font-size: 0.75rem; }
    .checkmark { width: 18px; height: 18px; }
    .form-trust { gap: 8px; font-size: 0.65rem; flex-wrap: wrap; justify-content: center; }
    .skip-link { font-size: 0.78rem; }
    .btn-cta-orange { padding: 12px 16px; font-size: 0.9rem; }
    .loading-card { padding: 28px 20px 24px; }
    .loading-card h3 { font-size: 0.95rem; }
    .ring-wrap { width: 60px; height: 60px; }
    .ring-svg { width: 60px; height: 60px; }
    .ring-pct { font-size: 0.9rem; }
    .load-step { font-size: 0.78rem; }
    .ls-dot { width: 18px; height: 18px; min-width: 18px; font-size: 0.55rem; }
    .offers-card { max-width: 100%; }
    .offers-head { padding: 16px 14px 12px; }
    .offers-head h2 { font-size: 0.95rem; }
    .offers-head p { font-size: 0.8rem; }
    .offers-badge { font-size: 0.68rem; padding: 4px 10px; }
    .offers-body { padding: 10px; }
    .offer-inner { padding: 12px; }
    .offer-logo { height: 36px; width: 85px; }
    .offer-promo { font-size: 0.7rem; padding: 3px 8px; }
    .offer-usp { font-size: 0.78rem; }
    .offer-specs { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .offer-spec { padding: 5px 3px; }
    .offer-spec-label { font-size: 0.55rem; }
    .offer-spec-value { font-size: 0.75rem; }
    .offer-btn { padding: 10px; font-size: 0.85rem; }
    .offer-rank { padding: 5px 10px; font-size: 0.65rem; }
    .offer-free-tag { font-size: 0.58rem; padding: 2px 6px; }
    .offer-disclaimer { font-size: 0.55rem; }
    .offers-note { font-size: 0.6rem; padding: 0 10px 12px; }

    /* Lender review pages */
    .offer-specs { grid-template-columns: 1fr 1fr; }

    /* Content */
    .content-body h2 { font-size: 1.2rem; margin: 28px 0 12px; }
    .content-body h3 { font-size: 1.05rem; margin: 22px 0 8px; }
    .content-body p { font-size: 0.9rem; }
    .info-box { padding: 14px 16px; }
    .cta-banner { padding: 20px 14px; border-radius: var(--radius); margin: 16px 0; }
    .cta-banner h3 { font-size: 0.95rem; }
    .cta-banner p { font-size: 0.82rem; }

    /* Prevent text overflow everywhere */
    .content-body, .info-box, .cta-banner, .author-box, .benefit-card, .step, .testimonial-card {
        word-wrap: break-word; overflow-wrap: break-word;
    }

    /* Contact cards */
    .contact-info-card { padding: 14px; }
    .contact-icon { font-size: 1.1rem; }
    .contact-info-card h3 { font-size: 0.9rem; }
    .contact-info-card p { font-size: 0.82rem; }

    /* Partners on small screens */
    .partners { padding: 16px 0; }
    .partners-title { font-size: 0.68rem; margin-bottom: 10px; }
    .partner-logo { padding: 6px 10px; }
    .partner-logo img { height: 18px !important; }

    /* Stats */
    .stats-bar { padding: 16px 0; }
    .stat-number { font-size: 1.2rem; }
    .stat-label { font-size: 0.72rem; }

    /* Disclaimer text */
    .calc-disclaimer { font-size: 0.65rem; }
    .footer-disclaimer { font-size: 0.62rem !important; line-height: 1.5 !important; }

    /* Author box 480 */
    .author-box { padding: 14px; gap: 12px; }
    .author-box-avatar { width: 48px; height: 48px; font-size: 1rem; }
    .author-box h4 { font-size: 0.9rem; }
    .author-box p { font-size: 0.82rem; }

    /* Contact 480 */
    .contact-info-card { padding: 16px; gap: 12px; }
    .contact-icon { font-size: 1.2rem; }

    /* Benefit cards 480 */
    .benefit-card { padding: 20px 16px; }
    .benefit-icon { font-size: 1.6rem; margin-bottom: 8px; }
    .benefit-card h3 { font-size: 0.95rem; }
    .benefit-card p { font-size: 0.85rem; }

    /* Testimonials 480 */
    .testimonial-card { padding: 18px; }
    .testimonial-card > p { font-size: 0.85rem; }
    .testimonial-author { gap: 8px; }
    .author-avatar { width: 36px; height: 36px; font-size: 0.75rem; }

    /* Stats 480 */
    .stats-bar { padding: 20px 0; }
    .stats-grid { gap: 12px; }

    /* Partners 480 */
    .partners { padding: 20px 0; }
    .partners-title { font-size: 0.72rem; margin-bottom: 14px; }
}
