/* ===== Reset & Variables (AxiCredit-inspired) ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    /* Primary Blue (axicredit style) */
    --primary: #1E40AF;
    --primary-dark: #1e3a8a;
    --primary-deeper: #172554;
    --primary-light: #3B82F6;
    --primary-lighter: #60A5FA;
    --primary-bg: rgba(30, 64, 175, 0.06);
    --primary-border: rgba(30, 64, 175, 0.12);

    /* Gold Accent */
    --accent: #FBBF24;
    --accent-hover: #F59E0B;
    --accent-dark: #D97706;
    --accent-light: rgba(251, 191, 36, 0.1);
    --accent-border: rgba(251, 191, 36, 0.25);
    --accent-shadow: rgba(251, 191, 36, 0.45);

    /* Status */
    --green: #059669;
    --green-light: rgba(5, 150, 105, 0.1);
    --red: #DC2626;

    /* Neutrals */
    --white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #6B7280;
    --gray-600: #475569;
    --gray-700: #374151;
    --text: #111827;
    --text-light: #6B7280;
    --border: #E2E8F0;

    /* Radius */
    --radius: 16px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(30,64,175,.07);
    --shadow: 0 4px 24px rgba(30,64,175,.09);
    --shadow-lg: 0 8px 40px rgba(30,64,175,.16);

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.hidden { display: none !important; }
/* ===== Header (White/Frosted — axicredit style) ===== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 900;
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}
.logo:hover { color: var(--primary); }
.logo-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    border-radius: 10px;
}
.logo-mark.light {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}
.logo-dot { color: var(--accent); }
.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav a {
    color: var(--gray-600);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    transition: color var(--transition);
    white-space: nowrap;
}
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); }
.header-cta {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: var(--text);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 16px var(--accent-shadow);
}
.header-cta:hover {
    background: var(--accent-hover);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-shadow);
}
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu span {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}
/* ===== Hero (Blue gradient — axicredit style) ===== */
.hero {
    position: relative;
    background: var(--bg-soft);
    padding: 110px 0 60px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}
.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-lighter);
    top: -200px;
    left: -150px;
    animation: blobFloat 14s ease-in-out infinite;
}
.blob-2 {
    width: 450px;
    height: 450px;
    background: var(--accent);
    bottom: -150px;
    right: -80px;
    animation: blobFloat 17s ease-in-out infinite reverse;
}
.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    animation: blobFloat 20s ease-in-out infinite;
}


@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translateY(-2px) scale(1.05); }
    66% { transform: translateY(-2px) scale(0.95); }
}.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 48px;
    align-items: start;
    padding-top: 20px;
}
.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(28px, 3.8vw, 44px);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.15;
}
.hero h1 em {
    color: var(--accent);
    font-style: normal;
}
.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 520px;
    font-weight: 400;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.9);
    font-size: 0.82rem;
    font-weight: 700;
}
.badge-check {
    color: var(--accent);
    font-weight: 800;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
}
.btn-ghost {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.btn-ghost:hover {
    color: var(--white) !important;
    background: rgba(255,255,255,0.08);
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}
.hero-trust-icon { font-size: 14px; }
/* Hero Calculator (real calculator inside hero) */
.hero-calculator {
    display: flex;
    justify-content: flex-end;
}
.hero-calculator .calc-step {
    width: 100%;
    max-width: 440px;
}
.hero-calculator .section-header { display: none; }
.hero-calc-card {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl) !important;
    padding: 32px !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2) !important;
    max-width: 100% !important;
}
.hero-calculator .slider-value {
    color: var(--primary);
}
.hero-calculator .calc-summary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.hero-calculator .offers-list {
    max-width: 100%;
}
.hero-calculator .loading-screen {
    padding: 40px 16px;
}
.hero-calculator .calc-card {
    max-width: 100%;
}
/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--white);
    padding: 0;
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: -36px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}
.stat-item {
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-weight: 800;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}
/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 15px 40px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px var(--accent-shadow);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-shadow);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary) !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 15px 36px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    color: var(--primary) !important;
}
.btn-full { width: 100%; }
/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-tag {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid var(--primary-border);
    text-transform: uppercase;
}
.section-header h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text);
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400;
}
/* ===== Calculator Section (standalone fallback) ===== */
.calculator-section {
    padding: 80px 0;
    background: var(--bg-soft);
}
/* Hide standalone section when calc is in hero */

.calc-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid var(--border);
}
.slider-group { margin-bottom: 28px; }
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.slider-header label {
    font-weight: 800;
    color: var(--text);
    font-size: 0.88rem;
}
.slider-value {
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    cursor: pointer;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(30,64,175,.25);
    transition: transform 0.15s ease;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(30,64,175,.25);
}
.slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 600;
}
/* Calc Summary */
.calc-summary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.summary-row.small { margin-top: 8px; }
.summary-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    font-weight: 600;
}
.summary-value {
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--accent);
    letter-spacing: -0.5px;
}
.summary-value-small {
    font-weight: 700;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}
.calc-trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 600;
}
/* ===== Form ===== */
.form-summary-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: var(--text-light);
    border: 1px solid var(--border);
}
.form-summary-bar strong { color: var(--text); }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30,64,175,.08);
}
.form-group input::placeholder { color: var(--gray-400); }
.form-group input.error { border-color: var(--red); }
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}
.form-checkbox label {
    font-size: 0.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.5;
}
.form-checkbox label a { color: var(--primary); text-decoration: underline; }
form .btn-primary { margin-top: 8px; }
/* ===== Loading ===== */
.loading-screen {
    text-align: center;
    padding: 60px 20px;
    max-width: 460px;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }.loading-screen h2 { font-size: 1.3rem; color: var(--text); margin-bottom: 8px; }
.loader-subtitle { color: var(--text-light); margin-bottom: 36px; font-size: 0.88rem; }
.loader-steps { text-align: left; margin-bottom: 32px; }
.loader-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    opacity: 0.3;
    transition: opacity 0.5s ease;
}
.loader-step.active, .loader-step.done { opacity: 1; }
.loader-step-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    color: var(--gray-400);
    flex-shrink: 0;
    transition: all 0.4s ease;
}
.loader-step.active .loader-step-icon { background: var(--primary-bg); color: var(--primary); }
.loader-step.done .loader-step-icon { background: var(--green-light); color: var(--green); }
.loader-step span:last-child { font-weight: 700; font-size: 0.85rem; color: var(--text-light); }
.loader-step.active span:last-child { color: var(--text); }
.loader-step.done span:last-child { color: var(--green); }
.loader-progress {
    height: 5px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}
.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
    transition: width 0.3s ease;
}
/* ===== Offers ===== */
.offers-list {
    max-width: 680px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.offer-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.offer-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.offer-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 4px 24px var(--accent-shadow);
}
.offer-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--accent);
    color: var(--text);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.offer-logo {
    width: 84px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    flex-shrink: 0;
    padding: 6px;
    border: 1px solid var(--gray-100);
}
.offer-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.offer-logo-fallback {
    font-weight: 800;
    font-size: 0.65rem;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}
.offer-cta { flex-shrink: 0; }
.offer-cta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--white) !important;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all var(--transition);
    white-space: nowrap;
}
.offer-cta a:hover { background: var(--primary-dark); transform: translateY(-1px); }
.offer-card.recommended .offer-cta a { background: var(--accent); color: var(--text) !important; }
.offer-card.recommended .offer-cta a:hover { background: var(--accent-hover); }
/* ===== How It Works ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.step-card {
    text-align: center;
    padding: 32px 22px;
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: all var(--transition);
    flex: 1;
    max-width: 260px;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}
.step-arrow {
    padding: 0 8px;
    color: var(--gray-300);
    flex-shrink: 0;
}
.step-number {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    margin: 0 auto 16px;
}
.step-card h3 { font-size: 1rem; color: var(--text); margin-bottom: 10px; font-weight: 800; }
.step-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }
/* ===== Benefits ===== */
.benefits-section {
    padding: 80px 0;
    background: var(--bg-soft);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-border);
}
.benefit-icon {
    font-size: 1.5rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: 12px;
}
.benefit-card h3 { font-size: 1rem; color: var(--text); margin-bottom: 8px; font-weight: 800; }
.benefit-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }
/* ===== Eligibility ===== */
.eligibility-section {
    padding: 80px 0;
    background: var(--white);
}
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.elig-card {
    text-align: center;
    padding: 28px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
    transition: all var(--transition);
}
.elig-card:hover { border-color: var(--primary-border); box-shadow: var(--shadow); }
.elig-icon { font-size: 2rem; margin-bottom: 12px; }
.elig-card h3 { font-size: 0.95rem; color: var(--text); margin-bottom: 8px; font-weight: 800; }
.elig-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
/* ===== CTA Strip ===== */
.cta-strip {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
}
.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cta-strip-text h2 { color: var(--white); font-size: clamp(1.2rem, 2.5vw, 1.7rem); margin-bottom: 8px; }
.cta-strip-text p { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 480px; }
/* ===== Reviews ===== */
.reviews-section {
    padding: 80px 0;
    background: var(--bg-soft);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-lg); }
.review-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.review-text {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 400;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}
.review-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.review-name { font-weight: 800; font-size: 0.88rem; color: var(--text); }
.review-location { font-size: 0.75rem; color: var(--text-light); }
.review-verified {
    margin-left: auto;
    font-size: 0.68rem;
    color: var(--green);
    font-weight: 700;
    background: var(--green-light);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}
/* ===== FAQ ===== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text);
    transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
    width: 24px;
    text-align: center;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.8;
}
/* ===== Article / SEO Content ===== */
.article-section {
    padding: 60px 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}
.article-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}
.article-main h2 {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 24px;
}
.article-main h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin: 28px 0 12px;
    font-weight: 800;
}
.article-main p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.article-main ul {
    margin: 12px 0 20px 20px;
}
.article-main li {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}
.article-main li strong { color: var(--text); }
.article-sidebar, .sidebar-sticky {
    position: sticky;
    top: 88px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.sidebar-card h4 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}
.sidebar-fact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
}
.fact-icon { color: var(--green); font-size: 0.85rem; }
.sidebar-cta { margin-top: 20px; }
/* ===== Representative Example ===== */
.example-section {
    padding: 32px 0;
    background: var(--bg-soft);
}
.example-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
}
.example-box h3 {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 800;
}
.example-box p {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.7;
}
/* ===== Footer ===== */
.footer {
    background: var(--text);
    padding: 60px 0 0;
    color: rgba(255,255,255,0.55);
    border-top: 2px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { margin-bottom: 16px; }
.footer-brand .logo { color: var(--white); }
.footer-brand .logo-dot { color: var(--accent); }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
.footer-col h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.8rem; margin-bottom: 8px; }
.footer-disclaimer {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.28);
    max-width: 800px;
    margin: 8px auto 0;
    line-height: 1.7;
}
/* ===== Breadcrumb (for sub-pages) ===== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.8rem;
    color: var(--text-light);
}
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb span { margin: 0 8px; color: var(--gray-400); }
/* ===== Page Content (sub-pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary-deeper));
    padding: 100px 0 50px;
    text-align: center;
}
.page-hero h1 {
    color: var(--white);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    margin-bottom: 16px;
}
.page-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.page-content {
    padding: 60px 0;
}
.page-content h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 36px 0 16px;
}
.page-content h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin: 28px 0 12px;
}
.page-content p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.page-content ul, .page-content ol {
    margin: 12px 0 20px 24px;
}
.page-content li {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}
.page-content li strong { color: var(--text); }
/* Content cards grid for sub-pages */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}
.content-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
}
.content-card:hover { box-shadow: var(--shadow); border-color: var(--primary-border); }
.content-card h3 { font-size: 1rem; margin: 12px 0 8px; }
.content-card p { font-size: 0.85rem; }
/* Comparison table for sub-pages */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.88rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.comparison-table th {
    background: var(--primary);
    color: var(--white);
    padding: 14px 20px;
    text-align: left;
    font-weight: 800;
    font-size: 0.82rem;
}
.comparison-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-light);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) { background: var(--bg-soft); }
.comparison-table td strong { color: var(--text); }
/* Horizontāls ritinājums tabulai uz mobilā */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .comparison-table { min-width: 640px; }
/* Ieteicamā rinda salīdzinājuma tabulā */
.comparison-table tr.is-recommended td { background: var(--green-light); }
.table-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}
/* Blog cards for blog.html */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-body { padding: 24px; }
.blog-card-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.blog-card-tag.green { background: var(--green-light); color: var(--green); }
.blog-card-tag.purple { background: rgba(139,92,246,0.1); color: #7C3AED; }
.blog-card h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 800;
    line-height: 1.3;
}
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 600;
}
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 12px;
}
.blog-card-link:hover { color: var(--primary-dark); }


/* ===== Responsive ===== */
@media (max-width: 1024px) {.hero-grid { grid-template-columns: 1fr; gap: 40px; }
.hero-calculator { justify-content: center; }
.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.article-grid { grid-template-columns: 1fr; }
.article-sidebar, .sidebar-sticky { position: static; }

}

@media (max-width: 768px) {.nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 14px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
.nav.open { display: flex; }
.header-cta { display: none; }
.mobile-menu { display: flex; }
.hero { padding: 32px 0 44px; min-height: auto; }
.hero h1 { font-size: 1.5rem; }
.hero-subtitle { font-size: 0.88rem; }
.hero-actions { flex-direction: column; align-items: stretch; }
.btn-ghost { text-align: center; }
.hero-calculator { max-width: 100%; }
.hero-calculator .calc-step { max-width: 100%; }
.hero-calc-card { padding: 24px !important; }
.stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
.stat-item { padding: 20px 12px; }
.stat-item:nth-child(2) { border-right: none; }
.calc-card { padding: 24px; }
.form-row { grid-template-columns: 1fr; }
.form-summary-bar { flex-wrap: wrap; gap: 10px; }
.steps-grid { flex-direction: column; gap: 12px; }
.step-arrow { transform: rotate(90deg); padding: 4px 0; }
.step-card { max-width: 100%; }
.benefits-grid { grid-template-columns: 1fr; gap: 12px; }
.eligibility-grid { grid-template-columns: 1fr; gap: 10px; }
.reviews-grid { grid-template-columns: 1fr; gap: 12px; }
.content-grid { grid-template-columns: 1fr; }
.blog-grid { grid-template-columns: 1fr; }
.cta-strip-inner { flex-direction: column; text-align: center; }
.cta-strip-text p { margin: 0 auto; }
.footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
.calc-trust-row { flex-direction: column; gap: 6px; }
.offer-card { flex-wrap: wrap; gap: 12px; padding: 16px; }
.offer-cta { order: 3; flex-basis: 100%; }
.offer-cta a { width: 100%; justify-content: center; }
.page-hero { padding: 90px 0 40px; }

}

@media (max-width: 480px) {.stats-grid { grid-template-columns: 1fr 1fr; }
.footer-grid { grid-template-columns: 1fr; }
.slider-value { font-size: 1.2rem; }
.summary-value { font-size: 1.3rem; }

}/* ===== THEME OVERRIDE (Bold Contrast) — applied site-wide ===== */
/* ============================================================
   THEME 5 — "Bold Contrast" (đen/vàng chanh, hiện đại táo bạo)
   Tương phản mạnh, viền dày, khối đặc, nổi bật khác biệt đối thủ.
   ============================================================ */

:root {
    /* Fintech: xanh dương tin cậy + navy đậm */
    --primary: #1B4DFF;
    --primary-dark: #0F3AD6;
    --primary-deeper: #0A2A9E;
    --primary-light: #4B72FF;
    --primary-lighter: #8AA5FF;
    --primary-bg: rgba(27, 77, 255, 0.06);
    --primary-border: rgba(27, 77, 255, 0.22);

    /* Accent = chính xanh dương (thay lime) */
    --accent: #1B4DFF;
    --accent-hover: #0F3AD6;
    --accent-dark: #0A2A9E;
    --accent-light: rgba(27, 77, 255, 0.10);
    --accent-border: rgba(27, 77, 255, 0.35);
    --accent-shadow: rgba(27, 77, 255, 0.28);

    --green: #16A34A;
    --green-light: rgba(22, 163, 74, 0.10);

    --white: #FFFFFF;
    --bg-soft: #F5F7FA;
    --gray-100: #E8ECF2;
    --text: #0A1F44;
    --text-light: #5A6B87;
    --border: #DDE3ED;

    --radius: 14px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Bóng mềm (blur) — bỏ hẳn kiểu offset cứng */
    --shadow-sm: 0 1px 3px rgba(10, 31, 68, 0.08);
    --shadow: 0 4px 16px rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 10px 32px rgba(10, 31, 68, 0.12);
}
body { font-family: 'Plus Jakarta Sans', sans-serif; }
h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -0.5px; text-transform: none; }
/* Hero: nền kem + khối đen viền dày */
.hero { background: #F4F4F0; border-bottom: 1px solid var(--border); }
.hero-blob.blob-1 { background: radial-gradient(circle, rgba(27,77,255,.55), transparent 70%); }
.hero-blob.blob-2 { background: radial-gradient(circle, rgba(17,17,17,.10), transparent 70%); }
.hero-blob.blob-3 { background: radial-gradient(circle, rgba(27,77,255,.4), transparent 70%); }
.hero-tag { background: var(--text); color: #fff; border:none; border-radius: 6px; }
/* Hero text: nền kem sáng -> chữ đậm (fix chữ trắng bị mất) */
.hero h1 { color: var(--text); }
.hero h1 em { color: var(--primary); font-style: normal; background: none; padding: 0; border-radius: 0; }
.hero-subtitle { color: var(--text-light); }
.hero-badge { background: var(--white); border: 1px solid var(--border); color: var(--text); }
.hero-badge .badge-check { color: var(--accent-dark); }
.hero-trust { color: var(--text-light); }
.hero-trust-icon { color: var(--text); }
.page-hero { background: var(--text); }
.page-hero h1 { color:#fff; }
/* Buttons: neo-brutalist — viền dày + đổ bóng cứng */
.btn-primary { background: var(--accent); color: var(--text) !important; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--white); border: 1px solid var(--border); color: var(--text) !important; border-radius: var(--radius-md); }
.btn-ghost:hover { background: var(--text); color: #fff !important; }
.header-cta { background: var(--text); color: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); }
.header-cta:hover { background: var(--accent); color: var(--text); }
.section-tag { background: var(--text); color: #fff; border-radius: 6px; letter-spacing: 1px; }
/* Cards: viền đen dày + bóng cứng */
.benefit-card, .step-card, .content-card, .review-card, .calc-card, .sidebar-card, .blog-card {
    border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.benefit-card:hover, .step-card:hover, .content-card:hover, .blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.step-number { background: var(--text); color: #fff; }
/* Stats bar đen */
.stats-bar { background: var(--text); }
.stat-number { color: #7DA0FF; }
.stat-label { color: rgba(255,255,255,.7); }
/* Bảng so sánh: viền dày, header đen */
.comparison-table { border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow); overflow:hidden; }
.comparison-table th { background: var(--text); color: #fff; letter-spacing:.5px; }
.comparison-table td { border-bottom: 1px solid var(--gray-100); }
.comparison-table tr.is-recommended td { background: var(--accent-light); }
.table-badge { background: var(--text); color: #fff; border-radius: 4px; }
/* Offer card */
.offer-card { border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.offer-card.recommended { box-shadow: var(--shadow); }
.offer-badge { background: var(--text); color: #fff; border-radius: 4px; }
.offer-cta a { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--accent); color: var(--text) !important; }
.offer-cta a:hover { background: var(--text); color: #fff !important; }
.cta-strip { background: var(--text); border-top: 2px solid var(--accent); }
/* ============================================================
   POPUP / MODAL (Pieteikums -> Loading -> Offers)
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px 28px 28px;
    transform: translateY(24px) scale(0.98);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.28s ease;
}
.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
}
.modal-close:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
/* Khi đang loading -> khóa: ẩn nút X, chặn đóng */
.modal-overlay.locked .modal-close { display: none; }
.modal-step { animation: modalFade 0.3s ease; }
.modal-step.hidden { display: none; }

@keyframes modalFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}/* Modal-specific: section-header gọn hơn trong popup */
.modal-box .section-header { text-align: left; margin-bottom: 18px; }
.modal-box .section-header h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.modal-box .section-header p { font-size: 0.9rem; margin-top: 6px; }
.modal-box .calc-card { padding: 0; border: none; box-shadow: none; background: transparent; }
.modal-box .loading-screen { padding: 20px 0; text-align: center; }
.modal-box .offers-list { max-height: 60vh; overflow-y: auto; padding: 4px; margin: 0 -4px 20px; }
/* Khóa scroll trang nền khi popup mở */
body.modal-open { overflow: hidden; }
/* ===== Form: obligātie lauki + palīdzības teksts ===== */
.form-group label .req { color: var(--accent-dark, #0A2A9E); font-weight: 800; margin-left: 2px; }
.field-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.4;
}
.form-group input.error + .field-hint, .form-group input.error ~ .field-hint { color: #DC2626; }
.form-checkbox.error label { color: #DC2626; }
.form-checkbox.error input { outline: 2px solid #DC2626; outline-offset: 2px; }
/* ===== Tālruņa lauks ar fiksētu +371 prefiksu ===== */
.phone-input {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.phone-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(17,17,17,.08);
}
.phone-input.error { border-color: var(--red); }
.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--bg-soft);
    border-right: 1.5px solid var(--border);
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--text);
    white-space: nowrap;
    user-select: none;
}
/* Input iekšpusē — bez robežas/ēnas, jo tās nes ietinums */
.phone-input input#phone {
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    flex: 1;
    min-width: 0;
}
/* ============================================================
   ICON SISTĒMA (inline SVG, Lucide-stils)
   <i data-icon="..."> -> .icon ar SVG iekšpusē
   ============================================================ */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    vertical-align: middle;
    color: inherit;
}
.icon svg {
    width: 1em;
    height: 1em;
    display: block;
    stroke: currentColor;
}
/* Noklusējuma izmērs mazajām inline ikonām */
.icon { font-size: 1rem; }
/* Krāsu palīgi */
.icon-accent { color: var(--accent-dark); }
/* ---- Konteksti (izmērs mantojas caur font-size vai tiešu w/h) ---- */

/* Hero "check" badges */
.badge-check { color: var(--accent-dark); }
.badge-check .icon, .badge-check svg { width: 16px; height: 16px; }
/* Hero trust rinda (lock) */
.hero-trust-icon { display: inline-flex; }
.hero-trust-icon svg { width: 15px; height: 15px; }
/* Footer badges (lock/shield/bank) */
.footer-badge .icon svg { width: 14px; height: 14px; }
/* "Fakti" saraksti (check) */
.fact-icon { color: var(--green); display: inline-flex; }
.fact-icon svg { width: 16px; height: 16px; }
.sidebar-fact .fact-icon svg { width: 16px; height: 16px; }
/* Lielās kartes ikonas (benefit / eligibility) */
.benefit-icon { color: var(--primary); }
.benefit-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.elig-icon {
    color: var(--primary);
    display: inline-flex;
    width: 52px; height: 52px;
    margin: 0 auto 12px;
    align-items: center; justify-content: center;
    background: var(--primary-bg);
    border-radius: 14px;
}
.elig-icon svg { width: 26px; height: 26px; }
/* Atsauksmju zvaigznes */
.review-stars { color: var(--accent-dark); display: inline-flex; gap: 2px; }
.review-stars .icon svg { width: 16px; height: 16px; }
.review-stars svg { fill: var(--accent); }
.review-verified { display: inline-flex; align-items: center; gap: 4px; }
.review-verified .icon svg { width: 13px; height: 13px; }
/* Pogas / saites ar bultiņu — jau ir inline <svg>, netiek skarts */

/* Kontaktu / info ikonas (mail, phone, pin { width: 18px; height: 18px; }
/* Nodrošina, ka ikona iekšā tumšos blokos ir gaiša (mantojas no vecāka color) */
.footer .icon, .stats-bar .icon, .cta-strip .icon, .page-hero .icon { color: currentColor; }
/* ---- Inline ikonas ar tekstu: līdzinājums + atstarpe ---- */
.calc-trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.calc-trust-row .icon svg { width: 13px; height: 13px; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust { display: inline-flex; align-items: center; gap: 8px; }
/* Kontaktu/info rindas, kur ikona pirms teksta */
.sidebar-fact { display: flex; align-items: center; gap: 10px; }
.sidebar-fact .fact-icon { flex-shrink: 0; }
/* ============================================================
   DIZAINA UZLABOJUMS — apakšlapas + blogs (Bold / theme-5)
   Profesionālāks izkārtojums, tabulas, tipogrāfija, ritms.
   ============================================================ */

/* ---------- 1. Page hero (apakšlapas) ---------- */
.page-hero {
    position: relative;
    background: var(--text);
    padding: 120px 0 64px;
    overflow: hidden;
    border-bottom: 2px solid var(--accent);
}
/* smalks punktu raksts + lime spīdums */
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}
.page-hero::after {
    content: "";
    position: absolute;
    top: -120px; right: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(27,77,255,.22), transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.page-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}
/* ---------- 2. Breadcrumb ---------- */
.breadcrumb {
    padding: 18px 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
}
.breadcrumb a { color: var(--text); font-weight: 700; }
.breadcrumb a:hover { color: var(--accent-dark); }
/* ---------- 3. Page content: tipogrāfija + ritms ---------- */
.page-content { padding: 72px 0; }
.page-content h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    margin: 48px 0 18px;
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 16px;
}
/* lime "akcenta josla" pie H2 */
.page-content h2::before {
    content: "";
    position: absolute; left: 0; top: 6px; bottom: 6px;
    width: 5px; border-radius: 3px;
    background: var(--accent);
}
.page-content h3 { font-size: 1.2rem; margin: 32px 0 12px; letter-spacing: -0.3px; }
.page-content p { font-size: 0.98rem; line-height: 1.85; margin-bottom: 18px; color: var(--text-light); }
.page-content > .container > p:first-of-type { font-size: 1.08rem; color: var(--text); }
/* Sarakstu punkti ar lime marķieri */
.page-content ul { list-style: none; margin: 16px 0 24px; padding: 0; }
.page-content ul li {
    position: relative;
    padding-left: 28px;
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text-light);
}
.page-content ul li::before {
    content: "";
    position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px;
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 2px;
    transform: rotate(45deg);
}
.page-content ol { margin: 16px 0 24px 20px; }
.page-content ol li { padding-left: 6px; margin-bottom: 12px; font-size: 0.98rem; line-height: 1.8; color: var(--text-light); }
.page-content ol li::marker { font-weight: 800; color: var(--text); }
/* ---------- 4. Kartes (theme-5 stils: melna robeža + ciets ēnojums) ---------- */
.content-card, .example-box, .sidebar-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    background: var(--white);
}
.content-card { padding: 26px 24px; transition: transform var(--transition), box-shadow var(--transition); }
.content-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--text); }
.content-card h3 { margin: 4px 0 8px; }
.content-grid { gap: 24px; margin: 36px 0; }
.example-box { padding: 28px 30px; position: relative; }
.example-box::before {
    content: "PIEMĒRS";
    position: absolute; top: -11px; left: 24px;
    background: var(--accent); color: var(--text);
    font-size: 0.62rem; font-weight: 800; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 5px; border: 1px solid var(--border);
}
.example-box h3 { margin-top: 6px; }
.example-section { padding: 20px 0 60px; }
.sidebar-card { padding: 26px 24px; }
.sidebar-card h4 { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
/* ---------- 5. Tabulas (profesionālākas) ---------- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    font-size: 0.9rem;
}
.comparison-table th {
    background: var(--text);
    color: #fff;
    padding: 15px 18px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.comparison-table th:last-child { border-right: none; }
.comparison-table td { padding: 14px 18px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.comparison-table tbody tr { transition: background var(--transition); }
.comparison-table tbody tr:hover td { background: rgba(27,77,255,0.10); }
.comparison-table tr:nth-child(even) td { background: var(--bg-soft); }
.comparison-table tr:nth-child(even):hover td { background: rgba(27,77,255,0.10); }
.comparison-table tr.is-recommended td {
    background: var(--accent-light);
    box-shadow: inset 4px 0 0 var(--accent);
    font-weight: 600;
}
.comparison-table tr.is-recommended:hover td { background: rgba(27,77,255,0.22); }
.table-badge {
    background: var(--text); color: #fff;
    border-radius: 5px; padding: 2px 8px;
    font-size: 0.58rem; font-weight: 800; letter-spacing: 0.5px;
}
.table-scroll { margin: 28px 0; border-radius: var(--radius-md); }
.table-scroll .comparison-table { min-width: 680px; }
/* ---------- 6. FAQ (kartes stils, nevis plika līnija) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item.active { box-shadow: var(--shadow); }
.faq-question {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 18px 20px;
    gap: 16px;
}
.faq-question:hover { color: var(--accent-dark); }
.faq-icon {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: var(--text);
    border: 1px solid var(--border); border-radius: 7px;
    font-size: 1rem; font-weight: 800; line-height: 1;
    transition: transform var(--transition);
}
.faq-answer { padding: 0 20px; }
.faq-item.active .faq-answer { padding-bottom: 18px; }
.faq-answer p { font-size: 0.92rem; line-height: 1.75; color: var(--text-light); }
/* ---------- 7. Article layout (service + legal lapas) ---------- */
.article-section { padding: 56px 0 72px; }
.article-main { max-width: 760px; }
.article-main h2 { font-size: 1.6rem; margin: 40px 0 16px; letter-spacing: -0.5px; }
.article-main h3 { font-size: 1.2rem; margin: 30px 0 12px; }
.article-main p { font-size: 1rem; line-height: 1.85; color: var(--text-light); margin-bottom: 18px; }
.article-main ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.article-main ul li {
    position: relative; padding-left: 28px; margin-bottom: 12px;
    font-size: 1rem; line-height: 1.8; color: var(--text-light);
}
.article-main ul li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; background: var(--accent);
    border: 1px solid var(--border); border-radius: 2px; transform: rotate(45deg);
}
/* Steps-grid rakstā (guide lapas): vertikāls 2-kolonnu režģis, nevis horizontāla josla */
.article-main .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
    justify-content: stretch;
    margin: 24px 0 32px;
    max-width: none;
}
.article-main .step-card {
    max-width: none;
    text-align: left;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
}
.article-main .step-card .step-number { margin: 0 0 14px; }
.article-main .step-card h3 { font-size: 1.05rem; }
.article-main .step-card p { font-size: 0.92rem; max-width: none; margin-bottom: 0; }
@media (max-width: 620px) {
    .article-main .steps-grid { grid-template-columns: 1fr; }
}
/* ---------- 8. Sīkas detaļas ---------- */
.section-tag { font-size: 0.68rem; letter-spacing: 1px; }
/* Tabulas "KOPĀ" rinda + article platuma ierobežojums + detaļas */
.comparison-table tr.row-total td {
    background: var(--gray-100);
    font-weight: 700;
    border-top: 2px solid var(--text);
}
.comparison-table tr.row-total:hover td { background: var(--gray-100); }
/* Lasāms rindas garums garajam tekstam */
.article-main p, .article-main ul, .article-main ol, .article-content p, .article-content ul, .article-content ol { max-width: 68ch; }
/* Piemēra teksts nedaudz lielāks */
.example-box p { font-size: 0.86rem; line-height: 1.7; }
/* 5-karšu režģis plūst vienmērīgi (nav bāreņa) */
.content-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Sidebar saites ar lime hover */
.sidebar-link {
    display: block;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--accent-dark); background: var(--accent-light); border-radius: 6px; padding-left: 6px; }
/* ============================================================
   OFFER CARD v2 — logotips nes zīmolu (bez teksta nosaukuma)
   ============================================================ */
.offer-card {
    padding: 18px 20px;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--text);
}
.offer-card.recommended {
    border-color: var(--text);
    box-shadow: var(--shadow);
    background: linear-gradient(0deg, rgba(27,77,255,0.07), rgba(27,77,255,0.07)), var(--white);
}
.offer-badge {
    top: -12px;
    left: 16px;
    background: var(--accent);
    color: var(--text);
    border: 1px solid var(--border);
    font-size: 0.62rem;
    padding: 3px 12px;
    border-radius: 6px;
}
/* Lielāks logo — tas tagad ir vienīgā zīmola identitāte kartē */
.offer-logo {
    width: 108px;
    height: 54px;
    padding: 8px 12px;
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-radius: 8px;
}
.offer-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.offer-logo-fallback { font-size: 0.72rem; font-weight: 800; color: var(--text); letter-spacing: 0; text-transform: none; }
/* Detaļas: GPL + termiņš kā vienoti čipi { gap: 8px; flex-wrap: wrap; }


/* Mobilais: logo + detaļas vienā rindā, maksājums + poga zem tām */
@media (max-width: 768px) {.offer-card { flex-wrap: wrap; gap: 12px; padding: 16px; }
.offer-logo { width: 96px; height: 48px; }
.offer-cta { order: 3; flex-basis: 100%; }
.offer-cta a { width: 100%; justify-content: center; }

}/* ============================================================
   LOADING v2 — 3 sekunžu atpakaļskaitīšana ar gredzenu
   ============================================================ */
.loader-countdown {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
}
.loader-countdown svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* sāk no augšas */
}
.loader-countdown circle { fill: none; stroke-width: 8; }
.ring-track { stroke: var(--gray-100); }
.ring-fill {
    stroke: var(--accent);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.06s linear;
}
.countdown-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
}
/* ============================================================
   OFFER CARD v3 — dati atsevišķās šūnās (mini-tabula)
   ============================================================ */
.offer-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 22px;
}
.offer-logo { flex-shrink: 0; width: 112px; height: 56px; }
/* Šūnu bloks: GPL | Termiņš | Mēnesī */
.offer-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    min-width: 0;
}
.offer-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 10px 14px;
    border-right: 2px solid var(--text);
    min-width: 0;
}
.offer-stat:last-child { border-right: none; }
.offer-stat-label {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-light);
    white-space: nowrap;
}
.offer-stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.1;
    white-space: nowrap;
}
.offer-stat.highlight { background: var(--accent-light); }
.offer-stat.highlight .offer-stat-value { font-size: 1.2rem; }
/* CTA pilnā platumā */
.offer-cta { width: 100%; }
.offer-cta a { width: 100%; justify-content: center; padding: 12px 20px; font-size: 0.88rem; }
/* Platāks popup piedāvājumu solī */
.modal-box { transition: transform 0.28s cubic-bezier(0.2,0.8,0.2,1), opacity 0.28s ease, max-width 0.25s ease; }
.modal-box.wide { max-width: 680px; }


/* Mobilais: logo virs šūnām, šūnas pilnā platumā */
@media (max-width: 560px) {.offer-logo { margin: 0 auto; }
.offer-stat { padding: 8px 10px; }
.offer-stat-value { font-size: 0.95rem; }
.offer-stat.highlight .offer-stat-value { font-size: 1.05rem; }

}/* ============================================================
   MODAL FLOW v2 — forma / ielāde / piedāvājumi (pulēts + bez scrollbar)
   ============================================================ */

/* ---- Paslēpjam ritjoslas (saglabājot ritināšanu) ---- */
.modal-overlay, .modal-box .offers-list {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* vecais Edge */
}
.modal-overlay::-webkit-scrollbar, .modal-box .offers-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* ---- FORMA (step2) ---- */
.modal-box .section-header { margin-bottom: 20px; }
.modal-box .section-header h2 { font-size: 1.45rem; }
.modal-box .section-header p { font-size: 0.86rem; color: var(--text-light); }
/* Kopsavilkuma josla -> divi izteiksmīgi čipi */
.modal-box .form-summary-bar {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 18px;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
}
.modal-box .form-summary-bar strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: var(--text);
    margin-left: 4px;
}
/* Lauki: melnas 2px robežas + lime fokuss (theme-5) */
.modal-box .form-group label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text);
    margin-bottom: 6px;
    display: block;
}
.modal-box .form-group input, .modal-box .form-group select {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 0.92rem;
    font-weight: 600;
}
.modal-box .form-group input:focus, .modal-box .form-group select:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(27,77,255,0.5);
}
.modal-box .form-group input.error, .modal-box .phone-input.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }
.modal-box .phone-input {
    border: 1px solid var(--border);
    border-radius: 8px;
}
.modal-box .phone-input:focus-within {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(27,77,255,0.5);
}
.modal-box .phone-prefix {
    background: var(--text);
    color: #fff;
    border-right: none;
    font-weight: 800;
}
.modal-box .form-row { gap: 14px; }
.modal-box .field-hint { font-size: 0.7rem; }
/* Checkbox */
.modal-box .form-checkbox { gap: 10px; margin-bottom: 12px; }
.modal-box .form-checkbox input[type="checkbox"] {
    width: 17px; height: 17px;
    accent-color: var(--text);
    margin-top: 2px;
    flex-shrink: 0;
}
.modal-box .form-checkbox label { font-size: 0.8rem; line-height: 1.5; color: var(--text-light); }
.modal-box .form-checkbox label a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
/* ---- IELĀDE (step3) ---- */
.modal-box .loading-screen { padding: 26px 10px 10px; max-width: 420px; }
.modal-box .loading-screen h2 { font-size: 1.25rem; margin-bottom: 6px; }
.modal-box .loader-subtitle { margin-bottom: 26px; font-size: 0.84rem; }
.modal-box .loader-steps { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.modal-box .loader-step {
    padding: 10px 14px;
    border: 2px solid var(--gray-100);
    border-radius: 10px;
    border-bottom: 2px solid var(--gray-100);
    opacity: 0.45;
    transition: all 0.4s ease;
    background: var(--white);
}
.modal-box .loader-step.active {
    opacity: 1;
    border-color: var(--text);
    box-shadow: var(--shadow);
}
.modal-box .loader-step.done {
    opacity: 1;
    border-color: var(--text);
    background: var(--accent-light);
}
.modal-box .loader-step-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--gray-400);
}
.modal-box .loader-step.active .loader-step-icon { background: var(--text); color: #fff; }
.modal-box .loader-step.done .loader-step-icon { background: var(--accent); color: var(--text); }
.modal-box .loader-step span:last-child { font-size: 0.84rem; }
.modal-box .loader-step.done span:last-child { color: var(--text); }
.modal-box .loader-progress {
    height: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}
.modal-box .loader-progress-bar {
    background: var(--accent);
    border-radius: 0;
}
/* ---- PIEDĀVĀJUMI (step4) ---- */
.modal-box #step4 .section-header { text-align: center; margin-bottom: 18px; }
.modal-box #step4 .section-header p strong { color: var(--accent-dark); font-family: 'Plus Jakarta Sans', sans-serif; }
.modal-box .offers-list { gap: 18px; padding: 8px 6px; margin: 0 -6px 18px; max-height: 62vh; }
.modal-box #backToStart { border: 1px solid var(--border); border-radius: 8px; font-weight: 700; }
.modal-box #backToStart:hover { background: var(--bg-soft); }
/* ============================================================
   OFFER CARD v4 — bagātāki dati: maksājums, 4 šūnas, priekšrocības, kopsumma
   ============================================================ */
.offer-card { gap: 14px; padding: 20px 22px 18px; }
/* Galva: logo + personalizētais maksājums */
.offer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.offer-monthly { text-align: right; }
.offer-monthly-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.offer-monthly-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    line-height: 1;
}
.offer-monthly-value small {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0;
    margin-left: 2px;
}
/* 4 datu šūnas: Summa | Termiņš | GPL no | Vecums */
.offer-stats { grid-template-columns: repeat(4, 1fr); }
.offer-stat { padding: 9px 12px; }
.offer-stat-value { font-size: 0.92rem; }
.offer-stat.highlight { background: transparent; }
/* Priekšrocību saraksts (2 kolonnas) */
.offer-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}
.offer-features li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-light);
}
.offer-features li .icon {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px; height: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent);
    border: none;
    border-radius: 5px;
    color: #fff;
}
.offer-features li .icon svg { width: 10px; height: 10px; stroke-width: 3; }
/* Kāja: kopsumma + poga */
.offer-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    border-top: 2px solid var(--gray-100);
}
.offer-total { font-size: 0.75rem; color: var(--text-light); line-height: 1.4; }
.offer-total strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.92rem; color: var(--text); }
.offer-total em { display: block; font-style: normal; font-size: 0.68rem; color: var(--gray-400); }
.offer-foot .offer-cta { width: auto; flex-shrink: 0; }
.offer-foot .offer-cta a { width: auto; padding: 11px 26px; }


/* Mobilais */
@media (max-width: 560px) {.offer-head { flex-direction: row; }
.offer-logo { margin: 0; }
.offer-stats { grid-template-columns: 1fr 1fr; }
.offer-stat:nth-child(2) { border-right: none; }
.offer-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.offer-features { grid-template-columns: 1fr; }
.offer-foot { flex-direction: column; align-items: stretch; gap: 10px; }
.offer-foot .offer-cta a { width: 100%; justify-content: center; }

}/* ============================================================
   LOGO v2 — "Cycle" (pārkreditācijas cikla bultiņas)
   Lime flīze ar melnu rāmi + cietu ēnu; ikona manto currentColor.
   ============================================================ */
.logo-mark {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border: none;
    border-radius: 11px;
    color: #fff;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; display: block; }
.logo:hover .logo-mark { transform: translateY(-2px); box-shadow: var(--shadow); transition: all var(--transition); }
/* Tumšajā footer — tā pati lime flīze, ēna lime toņos lai izceltos uz melna */
.logo-mark.light {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}
/* ============================================================
   MOBILE FIXES — statistika, tabulas, hero atstarpes, modālis
   ============================================================ */

/* 1. Statistikas kartīte: melna ar lime skaitļiem (bija balta -> balti
   uzraksti nebija redzami). Saskaņots ar theme-5. */
.stats-grid {
    background: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.stat-item { border-right: 1px solid rgba(255,255,255,0.12); }
.stat-label { color: rgba(255,255,255,0.65); }

@media (max-width: 768px) {/* 2x2 režģī apakšējā rinda atdalīta */
    .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }

}

/* 2. Tabulas mobilajā: norāde, ka tabulu var vilkt horizontāli */
@media (max-width: 768px) {.table-scroll::before {
        content: "↔ Velc tabulu, lai redzētu visas kolonnas";
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        color: var(--text-light);
        margin-bottom: 8px;
    }

}

/* 3. Hero atstarpes mobilajā (vēlākie bloki bija pārrakstījuši media rules) */
@media (max-width: 768px) {.page-hero { padding: 96px 0 44px; }
.page-hero h1 { font-size: 1.65rem; letter-spacing: -0.5px; }
.page-hero p { font-size: 0.92rem; }
/* Blog hero — inline <style> lapās uzvar cascade, tāpēc !important */
    .article-hero, .blog-hero { padding-top: 104px !important; padding-bottom: 44px !important; }
.page-content { padding: 44px 0; }
.page-content h2 { margin: 36px 0 14px; }
.article-section { padding: 40px 0 56px; }

}

/* 4. Modālis kompaktāks uz maziem telefoniem */
@media (max-width: 480px) {.modal-overlay { padding: 14px 10px; }
.modal-box { padding: 26px 18px 22px; }
.modal-box.wide { max-width: 100%; }
.modal-box .section-header h2 { font-size: 1.25rem; }
.modal-box .offers-list { max-height: 66vh; }
.offer-card { padding: 18px 14px; gap: 12px; }
.offer-monthly-value { font-size: 1.45rem; }
.offer-features { gap: 5px; }
.comparison-table { font-size: 0.82rem; }
.comparison-table th, .comparison-table td { padding: 11px 14px; }

}/* 5. Sīkumi: garās e-pasta/URL rindas nelauž konteinerus */
.footer-col a, .offer-total, .field-hint { overflow-wrap: anywhere; }
/* ============================================================
   NAV + FOOTER SEO uzlabojumi
   ============================================================ */

/* Aktīvās lapas iezīmēšana navigācijā (aria-current) */
.nav a[aria-current="page"] {
    color: var(--text);
    box-shadow: inset 0 -3px 0 var(--accent);
    padding-bottom: 2px;
}
/* 8 saites galvenē — ciešāks solis, lai ietilptu līdz 1200px */
.nav { gap: 18px; }
.nav a { font-size: 0.8rem; }

@media (max-width: 1200px) {.nav { gap: 13px; }
.nav a { font-size: 0.76rem; }

}
/* Planšetēm (769–1024px) 8 saites neietilpst — burger agrāk */
@media (max-width: 1024px) {.nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 14px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }
.nav.open { display: flex; }
.nav a { font-size: 0.9rem; }
.nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 10px; padding-bottom: 0; }
.mobile-menu { display: flex; }

}/* Footer: adrese + juridiskā rinda */
.footer-address {
    font-style: normal;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-top: 4px;
}
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 12px;
}
.footer-legal p { margin: 0; font-size: 0.8rem; }
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
}
.footer-legal-links a { color: rgba(255,255,255,0.6); }
.footer-legal-links a:hover { color: var(--accent); }
.footer-legal-links span { color: rgba(255,255,255,0.25); }

@media (max-width: 640px) {.footer-legal { flex-direction: column; align-items: flex-start; }

}/* FIX: galvenes CTA teksts bija melns uz melna (bāzes !important uzvarēja) */
.header-cta { color: var(--accent) !important; }
.header-cta:hover { color: var(--text) !important; }


/* ============================================================
   FORMU LAUKI vienotā theme stilā (kontaktu forma u.c. ārpus modāļa)
   ============================================================ */
.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
}
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(27,77,255,0.5);
}

/* ============================================================
   MOBILAIS MENU v2 — pilnekrāna melns panelis (theme-5)
   ============================================================ */
@media (max-width: 1024px) {
    /* Panelis: pilnekrāna zem galvenes. position:absolute (nevis fixed) —
       galvenes backdrop-filter izveido containing block, kas fixed saplacinātu. */
    .nav {
        display: flex !important;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        z-index: 890;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 18px 22px 28px;
        background:
            radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 22px 22px,
            radial-gradient(circle at 85% 10%, rgba(27,77,255,0.14), transparent 45%),
            var(--text);
        border-bottom: none;
        box-shadow: none;
        overflow-y: auto;
        /* animācija: paslēpts pēc noklusējuma */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    .nav.open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    /* Saites: lielas, baltas, ar atdalītāju un bultiņu */
    .nav a {
        position: relative;
        display: flex;
        align-items: center;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 1.15rem;
        font-weight: 800;
        letter-spacing: -0.3px;
        color: #fff;
        padding: 16px 34px 16px 2px;
        border-bottom: 1px solid rgba(255,255,255,0.09);
        /* pakāpeniskā ienākšana */
        opacity: 0;
        transform: translateX(-14px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
    }
    .nav.open a { opacity: 1; transform: translateX(0); }
    .nav.open a:nth-child(1) { transition-delay: 0.05s; }
    .nav.open a:nth-child(2) { transition-delay: 0.09s; }
    .nav.open a:nth-child(3) { transition-delay: 0.13s; }
    .nav.open a:nth-child(4) { transition-delay: 0.17s; }
    .nav.open a:nth-child(5) { transition-delay: 0.21s; }
    .nav.open a:nth-child(6) { transition-delay: 0.25s; }
    .nav.open a:nth-child(7) { transition-delay: 0.29s; }
    .nav.open a:nth-child(8) { transition-delay: 0.33s; }

    /* Bultiņa labajā pusē */
    .nav a::after {
        content: "";
        position: absolute;
        right: 8px;
        top: 50%;
        width: 9px;
        height: 9px;
        border-right: 2.5px solid rgba(255,255,255,0.35);
        border-bottom: 2.5px solid rgba(255,255,255,0.35);
        transform: translateY(-50%) rotate(-45deg);
        transition: border-color 0.2s ease, right 0.2s ease;
    }
    .nav a:hover { color: var(--accent); }
    .nav a:hover::after { border-color: var(--accent); right: 4px; }

    /* Aktīvā lapa: lime + lime josla kreisajā pusē */
    .nav a[aria-current="page"] {
        color: var(--accent);
        box-shadow: none;
        padding-left: 14px;
    }
    .nav a[aria-current="page"]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        width: 4px;
        border-radius: 3px;
        background: var(--accent);
    }
    .nav a[aria-current="page"]::after { border-color: var(--accent); }

    /* Bloķē fona ritināšanu, kad menu atvērts */
    body.nav-open { overflow: hidden; }
}

/* Mobile: bỏ CTA header (đã có nút to trong hero), giữ TÊN website */
@media (max-width: 768px) {
    .header-cta { display: none !important; }
    .logo-text { display: inline !important; }
}

/* ============================================================
   Body-text nặng — Plus Jakarta Sans có đủ weight 400-800 thật,
   không còn fake-bold. (Block giữ lại để đảm bảo font đồng nhất.)
   ============================================================ */
.section-tag,
.hero-tag,
.badge-check,
.stat-number,
.slider-header label,
.slider-value,
.summary-value,
.step-number,
.step-card h3,
.benefit-card h3,
.elig-card h3,
.review-avatar,
.review-name,
.faq-question,
.example-box h3,
.footer-col h4,
.comparison-table th,
.table-badge,
.blog-card-tag,
.blog-card h3,
.offer-badge,
.offer-logo-fallback,
.offer-cta a,
.offer-stat-label,
.offer-monthly-label,
.btn-primary,
.btn-white,
.header-cta,
.phone-prefix,
.modal-box .form-group label,
.modal-box .phone-prefix,
.form-group label .req,
.page-content ol li::marker,
.logo,
.logo-mark,
.example-box::before,
.faq-icon {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ============================================================
   BẢNG SO SÁNH — thiết kế lại chuyên nghiệp
   Vấn đề cũ: .btn-primary (nút hero cỡ lớn) nhét vào ô bảng →
   choán chỗ, xấu, khoảng trống lệch. Nút giờ compact vừa ô.
   ============================================================ */

/* Nút CTA trong ô bảng: compact, không choán chỗ */
.comparison-table td .btn-primary,
.comparison-table td a.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 108px;
    padding: 9px 18px;
    font-size: 0.82rem;
    font-weight: 800;
    border-radius: 8px;
    box-shadow: var(--shadow);
    white-space: nowrap;
}
.comparison-table td .btn-primary::after {
    content: "→";
    font-size: 0.9em;
    transition: transform var(--transition);
}
.comparison-table td .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.comparison-table td .btn-primary:hover::after { transform: translateX(2px); }

/* --- Tên aizdevējs (link trong bảng bất kỳ): không gạch chân, hover lime --- */
.comparison-table td a:not(.btn-primary) {
    color: var(--text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition);
}
.comparison-table td a:not(.btn-primary):hover { border-bottom-color: var(--accent-dark); }

/* ============================================================
   .rank-table — CHỈ bảng xếp hạng listicle (Vieta/Aizdevējs/Kāpēc/GPL/CTA).
   Không áp lên các bảng comparison khác (2-7 cột đủ kiểu).
   ============================================================ */
.rank-table th:first-child,
.rank-table td:first-child { width: 60px; text-align: center; }
.rank-table th:nth-child(2),
.rank-table td:nth-child(2) { width: 132px; white-space: nowrap; }
.rank-table th:nth-child(4),
.rank-table td:nth-child(4) { width: 96px; white-space: nowrap; text-align: center; }
.rank-table th:last-child,
.rank-table td:last-child { width: 152px; text-align: center; }

/* Cột lý do co giãn nhận phần rộng còn lại */
.rank-table td:nth-child(3),
.rank-table th:nth-child(3) { color: var(--text-light); line-height: 1.5; width: auto; }

/* Số hạng #1..#5 lớn, đậm */
.rank-table td:first-child strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    color: var(--text);
}
/* Cột GPL đậm để dễ quét mắt */
.rank-table td:nth-child(4) {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text);
}
/* Hàng #1: badge "TOP" lime dưới số hạng */
.rank-table tr.is-recommended td:first-child strong::after {
    content: "TOP";
    display: block;
    margin: 3px auto 0;
    width: 36px;
    padding: 1px 0;
    font-size: 0.5rem;
    letter-spacing: 0.5px;
    font-weight: 800;
    color: var(--text);
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 4px;
}


/* ============================================================
   BLOG & PAGE — tinh chỉnh bố cục, callout, phân cấp heading
   ============================================================ */

/* H3 trong bài: phân cấp bằng khoảng cách + màu, KHÔNG dùng bullet
   (bullet chỉ hợp list item, không hợp heading). */
.page-content > .container > h3,
.article-main > h3 {
    margin-top: 36px;
    color: var(--text);
}

/* Callout — biến thể theo ngữ nghĩa (mặc định vẫn "PIEMĒRS") */
.example-box.is-rating::before { content: "VĒRTĒJUMS"; }
.example-box.is-warning::before { content: "UZMANIES"; background: #FFE08A; }
.example-box.is-tip::before { content: "PADOMS"; }
.example-box.is-warning {
    border-color: var(--text);
    background: #FFFBEB;
}

/* Info-box (callout nội dung) — viền trái lime, không quá gắt */
.info-box {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}
.info-box strong { color: var(--text); }

/* Khoảng cách giữa bảng và văn bản kế tiếp cho thoáng */
.page-content .table-scroll,
.article-main .table-scroll { margin: 26px 0 32px; }

/* Đoạn mở đầu bài (đoạn đầu sau hero) hơi lớn để "dẫn" người đọc */
.page-content > .container > p:first-of-type {
    font-size: 1.06rem;
    color: var(--text);
    line-height: 1.8;
}

/* ============================================================
   LOGO OFFER trong khung trắng — trang review + bảng
   ============================================================ */

/* Khung logo review (đầu bài): logo lớn trong hộp trắng bo góc */
.review-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 84px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}
.review-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Logo nhỏ trong ô bảng (cột Aizdevējs) — khung trắng gọn */
.table-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 34px;
    padding: 4px 8px;
    background: #fff;
    border: 1.5px solid var(--gray-100);
    border-radius: 6px;
    vertical-align: middle;
}
.table-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Ô có logo: logo trên, tên dưới — gọn, căn trái */
.comparison-table td .cell-lender {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}
.comparison-table td .cell-lender strong { font-size: 0.92rem; line-height: 1.2; }
.comparison-table td .cell-lender-txt { display: flex; flex-direction: column; gap: 2px; }
.comparison-table td .cell-lender-txt span { color: var(--text-light); }
/* Cột Aizdevējs rộng hơn khi có logo */
.rank-table th:nth-child(2),
.rank-table td:nth-child(2) { width: 148px; white-space: normal; }

/* ============================================================
   FINTECH BLUE — chữ trắng trên nền accent (xanh dương)
   Trước đây accent = lime sáng đi với chữ đen; giờ accent = xanh
   đậm nên chữ phải TRẮNG mới đọc được.
   ============================================================ */
.btn-primary,
.btn-primary:hover,
.offer-cta a,
.offer-card.recommended .offer-cta a,
.header-cta,
.header-cta:hover,
.hero-tag,
.section-tag,
.table-badge,
.blog-card-tag,
.offer-badge,
.faq-icon,
.modal-box .loader-step.done .loader-step-icon,
.modal-box .loader-progress-bar,
.rank-table tr.is-recommended td:first-child strong::after,
.example-box::before,
.example-box.is-rating::before,
.example-box.is-tip::before {
    color: #fff !important;
}
/* Các badge/nhãn nền accent: nền xanh đậm + chữ trắng */
.hero-tag, .section-tag, .table-badge, .blog-card-tag,
.offer-badge, .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
}
/* Icon tick trong trust-badge: chỉ màu xanh, KHÔNG nền */
.badge-check {
    background: none !important;
    border: none !important;
    color: var(--primary) !important;
}
/* Nút xanh: bỏ viền xám (thừa trên nền xanh), giữ bóng mềm */
.btn-primary, .offer-cta a, .header-cta {
    border: none;
}
/* Badge cảnh báo giữ nền vàng + chữ đậm (ngoại lệ) */
.example-box.is-warning::before { color: var(--text) !important; background: #F5B700; }

/* Slider value (số "36 mēneši" trên nền cream): xanh thương hiệu */
.slider-value { color: var(--primary) !important; }
/* Hộp "€161"/"9.9%" trên nền xanh sáng: chữ TRẮNG cho rõ */
.calc-summary .summary-value, .calc-summary .summary-value-small { color: #fff !important; }

/* Highlight H1: gạch chân xanh tinh tế thay vì nền chói */
.hero h1 em {
    background: linear-gradient(transparent 62%, rgba(27,77,255,0.18) 62%);
    padding: 0 2px;
}

/* ============================================================
   LENDER CARD — danh sách offer kiểu thẻ ngang (thay bảng cũ)
   ============================================================ */
.lender-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 8px; }
.lender-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
}
.lender-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.lender-card.is-top {
    border: 2px solid var(--primary);
    position: relative;
}
.lender-card.is-top::before {
    content: "IETEICAMS";
    position: absolute; top: -11px; left: 26px;
    background: var(--primary); color: #fff;
    font-size: 0.62rem; font-weight: 800; letter-spacing: 0.5px;
    padding: 3px 11px; border-radius: 20px;
}
.lender-logo {
    width: 116px; height: 54px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; padding: 8px 12px;
}
.lender-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lender-info { flex: 1; min-width: 0; }
.lender-name { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.lender-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.lender-stat { display: flex; flex-direction: column; gap: 1px; }
.lender-stat .v { font-size: 0.95rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.lender-stat .k { font-size: 0.68rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.3px; }
.lender-usp { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; line-height: 1.4; }
.lender-cta { flex: none; display: flex; flex-direction: column; gap: 8px; width: 156px; }
.lender-cta .btn { background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem; text-align: center; padding: 11px 16px; border-radius: 10px; text-decoration: none; transition: background var(--transition); }
.lender-cta .btn:hover { background: var(--primary-dark); }
.lender-cta .lnk { color: var(--primary); font-weight: 600; font-size: 0.78rem; text-align: center; text-decoration: none; }
.lender-cta .lnk:hover { text-decoration: underline; }

/* Mobile: xếp dọc */
@media (max-width: 860px) {
    .lender-card { flex-direction: column; align-items: stretch; gap: 16px; text-align: left; }
    .lender-logo { width: 120px; height: 48px; }
    .lender-stats { gap: 18px; }
    .lender-cta { width: 100%; flex-direction: row; }
    .lender-cta .btn { flex: 1; }
    .lender-cta .lnk { align-self: center; white-space: nowrap; padding: 0 8px; }
}

/* Grid mô tả aizdevēju (5 thẻ): 3 cột → hàng cuối 2 thẻ vẫn cân, không lẻ 1 */
.aizdeveji-desc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0 8px;
}
@media (max-width: 900px) { .aizdeveji-desc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .aizdeveji-desc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CHECKLIST — <li> có icon check ở đầu: ẩn marker kim cương
   (tránh double bullet: kim cương + tick), style tick xanh đẹp
   ============================================================ */
.page-content ul li:has(> i[data-icon]),
.article-main ul li:has(> i[data-icon]) {
    padding-left: 30px;
    list-style: none;
}
.page-content ul li:has(> i[data-icon])::before,
.article-main ul li:has(> i[data-icon])::before {
    display: none;
}
.page-content ul li > i[data-icon],
.article-main ul li > i[data-icon] {
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex: none;
}
.page-content ul li > i[data-icon] svg,
.article-main ul li > i[data-icon] svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.6;
}

/* ============================================================
   CTA BOX — box kêu gọi hành động cuối bài: căn giữa, nhãn riêng
   ============================================================ */
.example-box.is-cta {
    text-align: center;
    background: linear-gradient(180deg, var(--primary-bg), transparent);
    border-color: var(--primary-border);
}
.example-box.is-cta::before { content: "SĀC TAGAD"; }
.example-box.is-cta h3 {
    font-size: 1.35rem;
    margin: 8px 0 10px;
}
.example-box.is-cta p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.example-box.is-cta p:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* ============================================================
   HERO CĂN GIỮA — badges + nút cũng center theo tiêu đề/mô tả
   ============================================================ */
.hero-centered .hero-badges,
.hero-centered .hero-actions {
    justify-content: center;
}
.hero-centered .hero-badges { flex-wrap: wrap; }

/* ============================================================
   PROS / CONS — box ưu điểm / nhược điểm (trang review)
   ============================================================ */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0 8px;
}
@media (max-width: 720px) { .pros-cons { grid-template-columns: 1fr; } }

.pros-cons .pc-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 26px;
    background: #fff;
}
.pros-cons .pc-pros { background: rgba(22,163,74,0.05); border-color: rgba(22,163,74,0.25); }
.pros-cons .pc-cons { background: rgba(90,107,135,0.05); border-color: var(--border); }

.pros-cons .pc-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.pros-cons .pc-title .pc-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 8px; flex: none;
}
.pros-cons .pc-pros .pc-ico { background: var(--green); color: #fff; }
.pros-cons .pc-cons .pc-ico { background: var(--text-light); color: #fff; }

.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons ul li {
    position: relative;
    padding: 8px 0 8px 30px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}
.pros-cons ul li::before {
    content: "";
    position: absolute; left: 0; top: 0.7em;
    width: 16px; height: 16px;
    background-color: transparent;
    border: none;
    transform: none;
    border-radius: 0;
    background-repeat: no-repeat; background-position: center; background-size: contain;
}
.pros-cons .pc-pros ul li::before {
    /* dấu tick xanh lá */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.pros-cons .pc-cons ul li::before {
    /* dấu × xám */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B87' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

/* ============================================================
   PODIUM LIST — bảng offer kiểu thẻ nổi + huy chương số hạng
   (Mẫu 2 — thay rank-table cũ)
   ============================================================ */
.podium-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 8px; }
.podium-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 24px;
    transition: box-shadow var(--transition), transform var(--transition);
}
.podium-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.podium-card.is-top {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(27,77,255,0.12);
}
/* Huy chương số hạng tròn */
.podium-medal {
    width: 40px; height: 40px; flex: none;
    border-radius: 50%;
    background: var(--soft);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 1rem; color: var(--text);
}
.podium-card.is-top .podium-medal { background: var(--primary); color: #fff; border-color: var(--primary); }
/* Logo trong khung trắng */
.podium-logo {
    width: 100px; height: 44px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; padding: 6px 10px;
}
.podium-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Nội dung giữa */
.podium-mid { flex: 1; min-width: 0; }
.podium-name { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.podium-name a { color: inherit; text-decoration: none; }
.podium-name a:hover { color: var(--primary); }
.podium-why { font-size: 0.88rem; color: var(--text-light); margin-top: 3px; line-height: 1.4; }
/* Ô GPL */
.podium-gpl { text-align: center; flex: none; }
.podium-gpl .n { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); white-space: nowrap; }
.podium-gpl .l { font-size: 0.62rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.4px; }
/* Nút CTA */
.podium-btn {
    flex: none;
    background: var(--primary); color: #fff;
    font-weight: 700; font-size: 0.88rem;
    padding: 11px 22px; border-radius: 10px;
    text-decoration: none; white-space: nowrap;
    transition: background var(--transition);
}
.podium-btn:hover { background: var(--primary-dark); }

/* Mobile: xếp dọc gọn */
@media (max-width: 820px) {
    .podium-card { flex-wrap: wrap; gap: 14px 16px; padding: 18px; }
    .podium-mid { flex: 1 1 100%; order: 2; }
    .podium-medal { order: 1; }
    .podium-logo { order: 1; }
    .podium-gpl { order: 3; margin-left: auto; }
    .podium-btn { order: 3; }
}
@media (max-width: 480px) {
    .podium-btn { flex: 1 1 100%; text-align: center; order: 4; }
    .podium-gpl { margin-left: 0; }
}

/* ============================================================
   MOBILE — touch target đủ lớn (chuẩn 44px), khoảng cách chạm
   ============================================================ */
@media (max-width: 768px) {
    /* Hamburger: vùng chạm 44x44 */
    .mobile-menu {
        width: 44px; height: 44px;
        padding: 0;
        align-items: center;
        justify-content: center;
    }
    /* CTA header: cao đủ chạm */
    .header-cta {
        padding: 11px 16px !important;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
    }
    /* Link footer: mỗi link 1 dòng + padding dọc dễ chạm */
    .footer-col a {
        display: block;
        padding: 7px 0;
        margin-bottom: 0;
    }
    /* Link legal (footer-links) là hàng ngang — giữ inline */
    .footer-links a { display: inline-block; padding: 4px 0; }
    /* Ô calculator: nội dung không sát mép */
    .summary-box, .calc-summary, [class*="summary"] {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ============================================================
   FIX OVERFLOW NGANG — article-main (grid item) tràn trên mobile
   Grid item mặc định min-width:auto → nội dung dài đẩy cột rộng ra.
   ============================================================ */
/* min-width:0 cho phép grid item co dưới min-content (chống overflow),
   KHÔNG đụng max-width để giữ nguyên bố cục desktop. */
.article-main, .article-content, .article-sidebar, .sidebar-sticky { min-width: 0; }
.article-main, .article-content { overflow-wrap: break-word; word-wrap: break-word; }
.article-main .table-scroll, .page-content .table-scroll,
.article-content .table-scroll { overflow-x: auto; }

@media (max-width: 768px) {
    /* Blob trang trí không tạo scroll ngang */
    .hero-bg, .page-hero::before, .page-hero::after { overflow: hidden; }
}

/* ============================================================
   HERO MOBILE — thiết kế lại: badges dạng chip gọn, spacing tối ưu
   ============================================================ */
@media (max-width: 768px) {
    /* Badges: chip nhỏ vừa nội dung, wrap 2 hàng, căn trái — không full-width */
    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 26px;
    }
    .hero-badge {
        justify-content: center;
        width: auto;
        flex: 0 0 auto;
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 7px;
    }
    /* Highlight H1: gạch chân đậm hơn chút cho rõ, không nền chói */
    .hero h1 { line-height: 1.2; margin-bottom: 14px; }
    .hero h1 em {
        background: linear-gradient(transparent 68%, rgba(27,77,255,0.22) 68%);
        padding: 0 1px;
    }
    /* Nút CTA: khoảng cách gọn hơn */
    .hero-actions { gap: 12px; margin-bottom: 22px; }
    /* Subtitle thoáng vừa phải */
    .hero-subtitle { margin-bottom: 24px; line-height: 1.6; }
}
/* Màn hình rất nhỏ: badges vẫn chip, không ép cột */
@media (max-width: 380px) {
    .hero-badge { font-size: 0.76rem; padding: 7px 12px; }
}

/* ============================================================
   FOOTER MOBILE — thiết kế lại: brand full-width, 4 cột link 2×2
   ============================================================ */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
    /* Brand (logo + mô tả + badges) chiếm cả 2 cột, trên cùng */
    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 4px;
    }
    /* Tiêu đề cột gọn hơn, link dễ chạm */
    .footer-col h4 { margin-bottom: 12px; }
    .footer-col a { font-size: 0.85rem; }
    /* Trust badges wrap gọn */
    .footer-brand .trust-badges, .footer-brand [class*="badge"] { flex-wrap: wrap; }
}
/* Màn rất nhỏ (<360px): 4 cột về 1 cột cho dễ đọc */
@media (max-width: 359px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   FIX: box .calc-summary (nền xanh) — mọi text bên trong TRẮNG
   (box CTA "Izmanto kalkulatoru" + hộp kết quả €161)
   ============================================================ */
.calc-summary { color: #fff; }
.calc-summary p, .calc-summary span, .calc-summary strong,
.calc-summary .summary-label { color: #fff; }
/* Nút trong box CTA nền xanh: nền trắng chữ xanh cho nổi */
.calc-summary .btn-primary {
    background: #fff;
    color: var(--primary) !important;
}
.calc-summary .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* ============================================================
   HERO CALC PREVIEW — card xem trước calculator (hero atrie/các trang)
   ============================================================ */
.hero-calc-preview { display: flex; justify-content: center; align-items: flex-start; }
.preview-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 26px 28px;
}
.preview-header {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-light);
    padding-bottom: 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
}
.preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    font-size: 0.95rem;
}
.preview-row span { color: var(--text-light); }
.preview-row strong { color: var(--text); font-weight: 700; }
.preview-divider { height: 1px; background: var(--border); margin: 6px 0; }
.preview-row.highlight {
    background: var(--primary-bg);
    margin: 4px -14px;
    padding: 12px 14px;
    border-radius: 10px;
}
.preview-row.highlight strong { color: var(--primary); font-size: 1.05rem; }
.preview-savings {
    font-size: 0.82rem;
    color: var(--text-light);
    text-align: center;
    padding: 12px 0 4px;
}
.preview-savings strong { color: var(--green); }
.preview-btn {
    display: block;
    margin-top: 16px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    padding: 13px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition);
}
.preview-btn:hover { background: var(--primary-dark); }
@media (max-width: 768px) {
    .hero-calc-preview { display: none; } /* mobile: ẩn preview, đã có calculator thật */
}

/* ============================================================
   NÚT SUBMIT trong form popup — text + icon cân đối, không vỡ dòng
   ============================================================ */
.btn-submit {
    gap: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    line-height: 1.2;
    min-height: 54px;
    flex-wrap: nowrap;
}
.btn-submit span {
    white-space: nowrap;
}
.btn-submit svg {
    flex: none;
}
/* Màn hình nhỏ: chữ co nhẹ để luôn 1 dòng */
@media (max-width: 400px) {
    .btn-submit { font-size: 0.92rem; padding: 14px 16px; }
}

/* ============================================================
   COMPARISON TABLE — thiết kế lại đẹp hơn (giữ mọi cột)
   Tinh chỉnh: header mềm, hàng #1 nhấn tinh tế (bỏ viền xanh thô),
   spacing thoáng, hover mượt, logo cell gọn.
   ============================================================ */
.table-scroll {
    margin: 28px 0;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(10,31,68,0.06);
    overflow-x: auto;
    background: #fff;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0.9rem;
    overflow: visible;
}
/* Header: navy, chữ nhạt, không viền dọc thô */
.comparison-table thead th {
    background: var(--navy, #0A1F44);
    color: #fff;
    padding: 16px 18px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border: none !important;
    white-space: nowrap;
}
.comparison-table thead th:first-child { border-top-left-radius: 0; }
/* Cell: đường kẻ ngang mảnh, KHÔNG kẻ dọc */
.comparison-table tbody td {
    padding: 16px 18px;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    vertical-align: middle;
    color: var(--text-light);
}
.comparison-table tbody tr:last-child td { border-bottom: none !important; }
.comparison-table tbody td strong { color: var(--text); font-weight: 700; }
.comparison-table tbody td:first-child { color: var(--text); }
/* Zebra nhẹ + hover mượt */
.comparison-table tbody tr:nth-child(even) td { background: #FAFBFD; }
.comparison-table tbody tr:hover td { background: rgba(27,77,255,0.05); }
.comparison-table tbody tr:nth-child(even):hover td { background: rgba(27,77,255,0.05); }
/* Hàng #1 recommended: nền xanh rất nhạt + thanh trái tinh tế, KHÔNG viền dọc thô */
.comparison-table tbody tr.is-recommended td {
    background: rgba(27,77,255,0.06) !important;
    box-shadow: none !important;
    font-weight: 600;
}
.comparison-table tbody tr.is-recommended td:first-child {
    box-shadow: inset 3px 0 0 var(--primary) !important;
}
.comparison-table tbody tr.is-recommended:hover td { background: rgba(27,77,255,0.10) !important; }
/* Logo cell trong bảng gọn hơn */
.comparison-table .table-logo {
    width: 108px; height: 44px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 6px 10px;
    border-radius: 8px;
}
/* Nút CTA cột cuối: text xanh + mũi tên (không phải nút to) */
.comparison-table td .btn-primary {
    background: none !important;
    color: var(--primary) !important;
    box-shadow: none !important;
    padding: 6px 0 !important;
    font-weight: 700;
    font-size: 0.86rem;
    white-space: nowrap;
}
.comparison-table td .btn-primary:hover { text-decoration: underline; transform: none; }

/* ============================================================
   LOGO OFFER — tăng kích thước cho rõ ràng hơn (các chỗ đang bé)
   ============================================================ */
/* Logo trong bảng comparison — to hơn */
.table-logo { width: 108px !important; height: 44px !important; padding: 6px 10px !important; }
/* Logo trong lender-card (trang aizdeveji) */
.lender-logo { width: 134px !important; height: 62px !important; }
/* Logo trong Podium card (listicle) */
.podium-logo { width: 124px !important; height: 56px !important; }
/* Logo trong offer card popup */
.offer-logo { width: 124px !important; height: 62px !important; }
/* Mobile: giữ tỉ lệ vừa phải, không quá to */
@media (max-width: 768px) {
    .table-logo { width: 96px !important; height: 38px !important; }
    .lender-logo { width: 124px !important; height: 52px !important; }
    .podium-logo { width: 110px !important; height: 48px !important; }
    .offer-logo { width: 108px !important; height: 52px !important; }
}
/* Ảnh logo fill container (attribute width HTML không giới hạn) */
.table-logo img, .lender-logo img, .podium-logo img, .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: none;
    max-height: none;
}

/* ============================================================
   MOBILE MENU — CTA + trust ở cuối menu (ẩn trên desktop)
   ============================================================ */
.nav-mobile-extra { display: none; }
@media (max-width: 1024px) {
    .nav-mobile-extra {
        display: block;
        margin-top: auto;
        padding-top: 20px;
    }
    /* Nút CTA nổi bật cuối menu */
    .nav-cta {
        display: block !important;
        background: var(--primary) !important;
        color: #fff !important;
        font-weight: 700;
        font-size: 1rem;
        text-align: center;
        padding: 15px 20px !important;
        border-radius: 12px;
        text-decoration: none;
        box-shadow: none !important;
        margin-bottom: 18px;
    }
    .nav-cta:hover { background: var(--primary-dark) !important; }
    /* Trust badges dưới CTA */
    .nav-trust {
        display: flex;
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
    }
    .nav-trust span {
        font-size: 0.72rem;
        color: rgba(255,255,255,0.6);
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    .nav-trust span::before {
        content: "";
        width: 5px; height: 5px;
        border-radius: 50%;
        background: rgba(255,255,255,0.4);
    }
    /* Menu panel dùng flex-column để đẩy CTA xuống đáy */
    .nav.open {
        display: flex;
        flex-direction: column;
    }
}

/* ============================================================
   FOOTER MOBILE — thiết kế lại: gọn, dễ đọc, tinh tế hơn
   ============================================================ */
/* Link footer sáng hơn (trước 0.45 quá mờ) — cả desktop + mobile */
.footer-col a { color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: #fff; }

@media (max-width: 768px) {
    .footer { padding-top: 36px; }
    /* Brand gọn: mô tả ngắn hơn, badges wrap đẹp */
    .footer-brand p { font-size: 0.86rem; max-width: 100%; margin-bottom: 18px; }
    .footer-badges { gap: 8px; flex-wrap: wrap; }
    .footer-badge { font-size: 0.72rem; padding: 6px 12px; }
    /* Cột link: tiêu đề rõ + link dễ chạm + sáng */
    .footer-col h4 {
        font-size: 0.78rem;
        margin-bottom: 14px;
        color: #fff;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-col a {
        color: rgba(255,255,255,0.75);
        font-size: 0.9rem;
        padding: 8px 0;
    }
    .footer-col a:active { color: var(--accent); }
    /* Địa chỉ sáng hơn */
    .footer-address { color: rgba(255,255,255,0.7); font-size: 0.86rem; }
    /* Bottom: copyright + legal xếp dọc gọn, căn giữa */
    .footer-bottom { margin-top: 8px; padding-top: 20px; }
    .footer-legal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    .footer-legal p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 6px;
    }
    .footer-legal-links a { color: rgba(255,255,255,0.7); font-size: 0.82rem; }
    /* Disclaimer: nhỏ gọn, dễ đọc, căn giữa */
    .footer-disclaimer {
        font-size: 0.72rem;
        line-height: 1.6;
        color: rgba(255,255,255,0.45);
        text-align: center;
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
}
/* Email trong footer không vỡ chữ giữa dòng */
@media (max-width: 768px) {
    .footer-col a[href^="mailto"] {
        font-size: 0.8rem;
        letter-spacing: -0.2px;
        overflow-wrap: anywhere;
    }
}
