:root {
    /* PALETTE: Emerald & Slate */
    --clr-primary: #10B981;       
    --clr-primary-dark: #059669;  
    --clr-accent: #3b82f6;        
    --clr-dark: #0F172A;          
    --clr-text: #334155;          
    --clr-bg: #F8FAFC;            
    --clr-white: #FFFFFF;
    
    /* Variables */
    --rad-card: 16px;             
    --rad-btn: 10px;
    
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 30px rgba(16, 185, 129, 0.15);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: 'Outfit', sans-serif; 
    background-color: var(--clr-bg); 
    color: var(--clr-text); 
    line-height: 1.5; 
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
ul { list-style: none; }
button { font-family: inherit; }

/* UTILS */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.full-w { width: 100%; }

/* ANIMATIONS */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* BUTTONS */
.btn-primary { 
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    background: var(--clr-primary); color: #fff;
    font-weight: 700; border-radius: var(--rad-btn);
    padding: 16px 28px; cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: 0.3s;
}
.btn-primary:hover { background: var(--clr-primary-dark); transform: translateY(-2px); }
.pulse-btn { animation: pulse-green 2s infinite; }

/* HEADER */
.site-navbar { background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid #e2e8f0; height: 74px; display: flex; align-items: center; position: relative; top: 0; z-index: 100; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.brand-logo { display: flex; align-items: center; gap: 10px; color: var(--clr-dark); font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.brand-icon { color: var(--clr-primary); display: flex; background: #ecfdf5; padding: 6px; border-radius: 8px; }

.menu-links nav { display: flex; gap: 32px; }
.link-item { font-size: 15px; font-weight: 500; color: var(--clr-text); position: relative; }
.link-item:hover { color: var(--clr-primary); }

.menu-toggler { display: none; border: none; background: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.menu-toggler span { display: block; width: 24px; height: 2px; background: var(--clr-dark); transition: 0.3s; }

/* HERO */
.intro-section { padding: 60px 0 80px; }
.intro-grid { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; }

/* Hero Text */
.trust-badges { display: flex; gap: 15px; margin-bottom: 24px; flex-wrap: wrap; }
.badge-item { background: #fff; border: 1px solid #e2e8f0; color: #475569; padding: 8px 14px; border-radius: 30px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.bi-icon { font-size: 16px; }

.intro-content h1 { font-size: 56px; line-height: 1.1; color: var(--clr-dark); margin-bottom: 24px; font-weight: 800; letter-spacing: -1.5px; }
.highlight { color: var(--clr-primary); }
.intro-desc { font-size: 18px; color: #64748b; margin-bottom: 40px; max-width: 480px; line-height: 1.6; }

.features-row { display: flex; gap: 30px; align-items: center; }
.feat-box { display: flex; align-items: center; gap: 12px; }
.fb-icon { width: 44px; height: 44px; background: #f1f5f9; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.fb-txt { display: flex; flex-direction: column; }
.fb-txt strong { font-size: 16px; color: var(--clr-dark); }
.fb-txt span { font-size: 12px; color: #94a3b8; }
.feat-sep { height: 40px; width: 1px; background: #e2e8f0; }

/* --- CALCULATOR REDESIGN --- */
.loan-calculator {
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid #fff;
    transition: 0.3s;
}
.calc-glow:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Tabs */
.calc-tabs { display: flex; background: #f1f5f9; padding: 4px; border-radius: 12px; margin-bottom: 30px; }
.tab-btn { flex: 1; border: none; background: transparent; padding: 10px; border-radius: 9px; font-size: 14px; font-weight: 600; color: #64748b; cursor: pointer; transition: 0.3s; }
.tab-btn.active { background: #fff; color: var(--clr-dark); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* Display */
.calc-display-area { text-align: center; margin-bottom: 30px; }
.cl-label { font-size: 12px; text-transform: uppercase; font-weight: 700; color: #94a3b8; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.cl-value-wrap { display: flex; justify-content: center; align-items: flex-start; gap: 5px; }
.cl-value { font-size: 48px; font-weight: 800; color: var(--clr-dark); line-height: 1; letter-spacing: -1px; }
.cl-currency { font-size: 24px; font-weight: 600; color: #cbd5e1; margin-top: 6px; }

/* Slider */
.calc-control { margin-bottom: 35px; position: relative; }
.range-wrap { position: relative; height: 12px; }
.calc-input {
    width: 100%; -webkit-appearance: none; height: 12px; border-radius: 6px; background: #e2e8f0; outline: none; cursor: pointer;
}
.calc-input::-webkit-slider-thumb {
    -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%;
    background: #fff; border: 2px solid var(--clr-primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.2s; margin-top: -2px;
}
.calc-input::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); }

.range-limits { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #94a3b8; font-weight: 600; }

/* Stats Grid */
.calc-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.cs-item { background: #f8fafc; padding: 15px; border-radius: 12px; border: 1px solid #f1f5f9; }
.cs-item.wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; }

.cs-lbl { font-size: 11px; text-transform: uppercase; color: #94a3b8; display: block; margin-bottom: 4px; font-weight: 700; }
.cs-val { font-size: 16px; font-weight: 800; color: var(--clr-dark); }
.cs-val.accent { color: var(--clr-primary); }
.cs-val.success { color: var(--clr-primary-dark); }

/* Probability Bar */
.prob-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.prob-track { width: 100%; height: 6px; background: #e2e8f0; border-radius: 3px; overflow: hidden; }
.prob-fill { height: 100%; background: var(--clr-primary); border-radius: 3px; transition: width 0.5s ease; }

/* Summary */
.calc-summary { margin-bottom: 20px; border-top: 1px dashed #e2e8f0; padding-top: 20px; }
.cs-row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.cs-row span { color: #64748b; }
.cs-row strong { color: var(--clr-dark); font-size: 18px; }

.calc-disclaimer { margin-top: 20px; text-align: center; font-size: 12px; color: #cbd5e1; display: flex; align-items: center; justify-content: center; gap: 6px; }
.lock-icon { font-size: 14px; }

/* --- OFFERS LIST --- */
.offers-area { padding: 0px 0; background: #f8fafc; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.section-header h2 { font-size: 36px; color: var(--clr-dark); margin-bottom: 15px; font-weight: 800; }
.section-header p { color: #64748b; font-size: 18px; }

.offers-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.offer-unit {
    background: #fff; border-radius: 24px;
    padding: 24px; position: relative;
    /* 3D Border Effect */
    border: 1px solid #fff;
    border-bottom: 4px solid #e2e8f0; 
    
    transition: all 0.25s ease-out;
    display: flex; flex-direction: column;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    overflow: hidden; 
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Hover Effect: Press down */
.offer-unit:hover { 
    border-bottom-color: var(--clr-primary); 
    transform: translateY(-4px); 
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.2); 
}

/* Stylish Corner Badge */
.offer-tag {
    position: absolute; top: 0; right: 0;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%); 
    color: #fff;
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
    padding: 8px 16px;
    border-bottom-left-radius: 18px;
    box-shadow: -2px 2px 10px rgba(16, 185, 129, 0.2);
    z-index: 5;
}
.offer-tag::before { content: '★ '; color: #fff; margin-right: 2px; }

/* Card Top Section */
.offer-top { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 25px; margin-top: 10px; padding-right: 5px; 
}

.offer-logo { 
    height: 40px; width: 120px; 
    display: flex; align-items: center; 
    /* COLORED LOGO (Removed grayscale) */
    opacity: 1; 
    transition: 0.3s ease;
}
.offer-logo img { max-height: 100%; max-width: 100%; object-fit: contain; object-position: left; }

.offer-sum { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.offer-sum small { 
    font-size: 10px; color: #94a3b8; text-transform: uppercase; font-weight: 700; 
    background: #f1f5f9; padding: 2px 6px; border-radius: 4px; margin-bottom: 4px;
}
.offer-sum span { font-size: 20px; font-weight: 800; color: var(--clr-dark); letter-spacing: -0.5px; }

/* Parameters Grid (More Volume / Chips) */
.offer-params { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; 
    margin-bottom: 24px;
    /* Inset look container */
    background: #F8FAFC; 
    border-radius: 16px; 
    padding: 8px;
    border: 1px solid #F1F5F9;
}
.op-col { 
    /* Chip Look */
    background: #fff; 
    padding: 10px 14px; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* Slight lift */
    transition: 0.3s;
    text-align: center;
}
.offer-unit:hover .op-col { border-color: #cbd5e1; transform: translateY(-1px); }

.op-col span { 
    font-size: 9px; color: #64748b; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; 
    display: block; 
}
.op-col strong { font-size: 14px; color: var(--clr-dark); font-weight: 800; }

/* Action Button (COLORED & FILLED) */
.btn-outline { 
    display: flex; justify-content: center; align-items: center; gap: 8px;
    width: 100%; padding: 16px;
    
    /* Filled Style */
    background: var(--clr-primary);
    color: #fff;
    border: none;
    font-weight: 700; font-size: 15px;
    border-radius: 14px; 
    
    /* Shadow */
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-outline::after { content: '→'; transition: 0.3s; opacity: 0.7; transform: translateX(0); font-weight: 800; }

.btn-outline:hover { 
    background: var(--clr-primary-dark); 
    color: #fff; 
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); 
    transform: translateY(-2px);
}
.btn-outline:hover::after { opacity: 1; transform: translateX(4px); }

/* STEPS */
.process-block { padding: 100px 0; }
.process-container { background: #fff; border: 1px solid #f1f5f9; border-radius: 30px; padding: 60px; box-shadow: var(--shadow-soft); }
.process-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; margin-top: 50px; }

.ps-item { text-align: center; }
.ps-icon-box { 
    width: 80px; height: 80px; margin: 0 auto 25px; 
    background: #ecfdf5; border-radius: 50%; color: var(--clr-primary);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.ps-icon-box::after { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border: 1px solid #d1fae5; border-radius: 50%; }

.ps-item h3 { font-size: 20px; margin-bottom: 12px; color: var(--clr-dark); font-weight: 800; }
.ps-item p { font-size: 15px; color: #64748b; line-height: 1.6; }

/* FAQ */
.faq-section { padding: 0 0 100px; }
.narrow { max-width: 800px; }
.acc-item { border-bottom: 1px solid #f1f5f9; }
.acc-head { padding: 25px 0; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; color: var(--clr-dark); font-size: 18px; }
.acc-body { display: none; padding-bottom: 25px; color: #64748b; line-height: 1.6; font-size: 16px; }
.acc-item.active .acc-body { display: block; }
.acc-item.active .arr { transform: rotate(180deg); color: var(--clr-primary); }
.arr { transition: 0.3s; color: #cbd5e1; font-weight: 400; }

/* LEGAL TEXT (Detailed for Ads) */
.info-block { padding: 60px 0; background: #fff; border-top: 1px solid #f1f5f9; font-size: 12px; color: #94a3b8; line-height: 1.6; }
.info-text-area h3 { font-size: 14px; margin-bottom: 20px; color: #64748b; font-weight: 700; text-transform: uppercase; }
.info-text-area p { margin-bottom: 12px; }

/* Grid for Legal Text */
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* FOOTER */
.site-footer { background: var(--clr-dark); color: #94a3b8; padding: 80px 0 40px; }
.footer-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }

.ft-logo { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 15px; }
.ft-nav, .ft-contacts { display: flex; flex-direction: column; gap: 15px; }
.ft-nav h4, .ft-contacts h4 { color: #fff; font-size: 18px; margin-bottom: 5px; font-weight: 700; }
.ft-nav a { transition: 0.2s; }
.ft-nav a:hover { color: var(--clr-primary); transform: translateX(5px); }
.ft-phone { color: #fff; font-weight: 700; font-size: 20px; }

.footer-copy { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; font-size: 13px; opacity: 0.4; }

/* ADSENSE MOBILE */
.ad-wrapper-mob {
    grid-column: 1 / -1; width: 100%; min-height: 250px; background: #f8fafc;
    display: none; 
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .intro-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .intro-content { margin-bottom: 0; }
    .trust-badges, .features-row { justify-content: center; }
    
    /* MOBILE CALCULATOR WIDTH FIX */
    .loan-calculator { 
        max-width: 500px; 
        margin: 0 auto; 
        width: 100%; /* Force 100% width */
        padding: 20px; /* Reduced padding (same as offer cards) */
    }
    
    .menu-links { position: absolute; top: 74px; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 30px; border-bottom: 1px solid #e2e8f0; display: none; box-shadow: var(--shadow-soft); }
    .menu-links.show { display: flex; }
    .menu-links nav { flex-direction: column; align-items: center; gap: 20px; }
    .menu-toggler { display: flex; }
    
    /* MOBILE OFFERS: CLEAN & SPACIOUS 2 COLUMNS PER ROW */
    .offers-list { 
        display: grid !important; 
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
        gap: 14px 8px !important; 
        max-width: 100% !important; 
        margin: 0 auto; 
        width: 100%; 
    }
    
    .ad-wrapper-mob {
        grid-column: span 2 !important;
        width: 100% !important;
        margin: 8px 0 !important;
        display: block;
    }

    .offer-unit {
        width: 100% !important;
        padding: 22px 8px 12px !important;
        border-radius: 16px !important;
        min-width: 0 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-bottom: 3px solid #e2e8f0 !important;
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: visible !important;
    }

    .offer-tag {
        position: absolute !important;
        top: -9px !important;
        right: 8px !important;
        background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
        color: #fff !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        padding: 3px 8px !important;
        border-radius: 9999px !important;
        box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25) !important;
        z-index: 5 !important;
        white-space: nowrap !important;
        max-width: calc(100% - 16px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .offer-unit.is-applied .card-applied-indicator {
        display: inline-flex !important;
        position: absolute !important;
        top: -9px !important;
        right: 8px !important;
        padding: 3px 8px !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        border-radius: 9999px !important;
        box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3) !important;
        background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
        color: #FFFFFF !important;
        z-index: 6 !important;
        white-space: nowrap !important;
        max-width: calc(100% - 16px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        height: auto !important;
    }

    .offer-unit.is-applied .offer-tag {
        display: none !important;
    }

    .offer-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 8px !important;
        margin-top: 8px !important;
        padding: 0 !important;
        gap: 4px !important;
    }

    .offer-logo {
        height: 32px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .offer-logo img {
        max-height: 30px !important;
        max-width: 110px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .offer-sum {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .offer-sum small {
        font-size: 8.5px !important;
        padding: 1px 6px !important;
        margin-bottom: 2px !important;
        border-radius: 4px !important;
        color: #64748b !important;
        background: #f1f5f9 !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
    }

    .offer-sum span {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #0F172A !important;
        line-height: 1.2 !important;
        letter-spacing: -0.3px !important;
    }

    .offer-params {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        margin-bottom: 10px !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
    }

    .op-col {
        width: 100% !important;
        min-height: 26px !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        box-sizing: border-box !important;
    }

    .op-col span {
        font-size: 9px !important;
        margin-bottom: 0 !important;
        color: #64748B !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
    }

    .op-col strong {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        color: #0F172A !important;
    }

    .offer-promo-note {
        display: none !important;
    }

    .btn-outline {
        padding: 10px 8px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        gap: 4px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: var(--clr-primary) !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
        text-decoration: none !important;
        margin-top: auto !important;
    }

    .action-subtext {
        font-size: 9px !important;
        margin-top: 4px !important;
        text-align: center !important;
        display: block !important;
        color: #94A3B8 !important;
    }

    .process-steps { grid-template-columns: 1fr; gap: 30px; }
    
    .ad-wrapper-mob { display: block; }
}

@media (max-width: 768px) {
    .legal-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 380px) {
    .offers-list {
        gap: 12px 6px !important;
    }
    .offer-unit {
        padding: 20px 6px 10px !important;
        border-radius: 14px !important;
    }
    .offer-top {
        margin-top: 6px !important;
        margin-bottom: 6px !important;
    }
    .offer-logo {
        height: 30px !important;
        width: 100% !important;
    }
    .offer-logo img {
        max-height: 28px !important;
        max-width: 100px !important;
    }
    .offer-sum span {
        font-size: 14.5px !important;
    }
    .op-col {
        padding: 3px 6px !important;
        min-height: 24px !important;
    }
    .op-col span {
        font-size: 8.5px !important;
    }
    .op-col strong {
        font-size: 10.5px !important;
    }
    .btn-outline {
        padding: 8px 6px !important;
        font-size: 11.5px !important;
    }
    .action-subtext {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .intro-content h1 { font-size: 38px; }
    .calc-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cs-item.wide { grid-column: span 2; }
    .footer-row { grid-template-columns: 1fr; text-align: center; }
    .ft-contacts { align-items: center; }
    .section-header h2 { font-size: 28px; }
}

/* --- SEO TEXT BLOCK --- */
.seo-text-section {
    background-color: #ffffff;
    padding: 80px 0;
    border-top: 1px solid #e5e7eb; /* Легкая граница сверху для отделения */
}

/* Ограничиваем ширину текста, чтобы не растягивался на весь экран (лучше читать) */
.seo-container {
    max-width: 800px;
    margin: 0 auto;
}

.seo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #111827; /* Почти черный для заголовка */
    margin-bottom: 24px;
    line-height: 1.3;
}

.seo-content {
    font-size: 17px;
    line-height: 1.75;
    color: #4b5563; /* Приятный серый цвет, не режет глаза */
}

.seo-content p {
    margin-bottom: 20px;
}

/* Стили для заголовков внутри самого текста, если они будут */
.seo-content h2, 
.seo-content h3 {
    color: #1f2937;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 22px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .seo-text-section {
        padding: 50px 0;
    }
    .seo-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    .seo-content {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* ==========================================================================
   Multi-Application Interactive Tracker («Вероятность получения денег»)
   ========================================================================== */
.multi-apply-tracker {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(16, 185, 129, 0.04);
    padding: 14px 18px;
    margin: 16px auto 0 auto;
    max-width: 580px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    text-align: left;
}

.multi-apply-tracker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    opacity: 0.9;
}

.multi-apply-tracker.is-completed {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 8px 24px -2px rgba(16, 185, 129, 0.18), 0 2px 8px rgba(16, 185, 129, 0.08);
}

.mat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.mat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.mat-badge-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.mat-status-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
}

.mat-status-percent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
    font-weight: 800;
    font-size: 11.5px;
    border-radius: 9999px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.multi-apply-tracker.is-completed .mat-status-percent {
    background: #10B981;
    color: #FFFFFF;
    border-color: #059669;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.mat-counter-pill {
    font-size: 12px;
    font-weight: 700;
    color: #64748B;
    background: #F8FAFC;
    padding: 3px 10px;
    border-radius: 9999px;
    white-space: nowrap;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.mat-count-num {
    color: #059669;
    font-weight: 800;
}

.mat-progress-wrapper {
    position: relative;
    margin: 8px 0 6px 0;
}

.mat-progress-track {
    height: 7px;
    background: #E2E8F0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.mat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    border-radius: 9999px;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mat-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 6px;
    width: 100%;
}

.mat-step {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
    transition: all 0.3s ease;
}

.mat-step:nth-child(1) {
    justify-content: flex-start;
}

.mat-step:nth-child(2) {
    justify-content: center;
}

.mat-step:nth-child(3) {
    justify-content: flex-end;
}

.mat-step-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #475569;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mat-step.is-done .mat-step-circle {
    background: #10B981;
    color: #FFFFFF;
}

.mat-step.is-done .mat-step-text {
    color: #059669;
    font-weight: 700;
}

.mat-footer {
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid #F1F5F9;
}

.mat-hint {
    font-size: 11px !important;
    line-height: 1.35 !important;
    color: #64748B !important;
    margin: 0 !important;
    text-align: center !important;
    transition: color 0.3s ease;
}

.multi-apply-tracker.is-completed .mat-hint {
    color: #047857 !important;
    font-weight: 600 !important;
}

@media (max-width: 600px) {
    .section-header h2 {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }
    .section-header p {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }
    .multi-apply-tracker {
        padding: 10px 12px;
        margin: 10px auto 0 auto;
        border-radius: 14px;
    }
    .mat-header {
        gap: 4px;
        margin-bottom: 6px;
    }
    .mat-status-title {
        font-size: 11.5px;
    }
    .mat-status-percent {
        font-size: 10.5px;
        padding: 2px 6px;
    }
    .mat-counter-pill {
        font-size: 10.5px;
        padding: 2px 7px;
    }
    .mat-step {
        font-size: 9.5px;
        gap: 3px;
    }
    .mat-step-circle {
        width: 14px;
        height: 14px;
        font-size: 8.5px;
    }
    .mat-hint {
        font-size: 10.5px !important;
        line-height: 1.3 !important;
        color: #64748B !important;
    }
}

/* Offer Card Applied States */
.card-applied-indicator {
    display: none;
}

/* Hide original tag so there is NO overlap */
.offer-unit.is-applied .offer-tag {
    display: none !important;
}

@media (min-width: 1025px) {
    .offer-unit.is-applied .card-applied-indicator {
        display: inline-flex !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
        color: #FFFFFF !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        padding: 8px 16px !important;
        border-bottom-left-radius: 18px !important;
        box-shadow: -2px 2px 10px rgba(5, 150, 105, 0.25) !important;
        z-index: 6 !important;
        white-space: nowrap !important;
    }
}

.offer-unit.is-applied {
    background: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    box-shadow: none !important;
}

.offer-unit.is-applied .offer-top,
.offer-unit.is-applied .offer-params,
.offer-unit.is-applied .btn-outline {
    opacity: 0.7;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.offer-unit.is-applied:hover .offer-top,
.offer-unit.is-applied:hover .offer-params,
.offer-unit.is-applied:hover .btn-outline {
    opacity: 0.95;
    filter: grayscale(0%);
}

/* ==========================================================================
   Slim Sticky Top Progress Bar (Active when scrolled)
   ========================================================================== */
.sticky-tracker-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 995;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    cursor: pointer;
    user-select: none;
    padding-top: env(safe-area-inset-top, 0px);
}

.sticky-tracker-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.stb-shell {
    max-width: 600px;
    margin: 0 auto;
    padding: 7px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stb-row-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.stb-row-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1.2;
}

.stb-action-tip {
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.stb-status {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.stb-icon {
    font-size: 13px;
    line-height: 1;
}

.stb-label {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
}

.stb-badge {
    display: inline-block;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 9999px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.stb-progress-track {
    flex: 1;
    min-width: 50px;
    max-width: 140px;
    height: 5px;
    background: #E2E8F0;
    border-radius: 9999px;
    overflow: hidden;
}

.stb-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981, #059669);
    border-radius: 9999px;
    transition: width 0.35s ease;
}

.stb-counter {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 700;
    color: #0F172A;
    background: #F1F5F9;
    padding: 2.5px 8px;
    border-radius: 9999px;
    white-space: nowrap;
}

.stb-arrow {
    display: flex;
    align-items: center;
    color: #94A3B8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.sticky-tracker-bar:hover .stb-arrow {
    color: #059669;
    transform: translateY(-2px);
}

/* ==========================================================================
   Sticky Top-3 Offers Dock (Bottom, dynamic showcase retention)
   ========================================================================== */
.sticky-top3-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.sticky-top3-dock.is-visible:not(.is-dismissed) {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.s3d-shell {
    max-width: 540px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid #CBD5E1;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.12);
    border-radius: 20px 20px 0 0;
    padding: 7px 12px calc(9px + env(safe-area-inset-bottom, 0px));
}

.s3d-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding: 0 4px;
}

.s3d-title-box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.s3d-fire {
    font-size: 11px;
    line-height: 1;
}

.s3d-title {
    font-size: 11px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.s3d-close-btn {
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.s3d-close-btn:hover {
    color: #475569;
    background: #F1F5F9;
}

.s3d-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.s3d-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 6px 5px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 74px;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.s3d-item:hover {
    border-color: #4F46E5;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.15);
}

.s3d-item:active {
    transform: scale(0.97);
}

.s3d-logo-box {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
}

.s3d-logo-img {
    max-height: 22px;
    max-width: 92%;
    object-fit: contain;
    display: block;
}

.s3d-logo-txt {
    font-size: 11px;
    font-weight: 800;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.s3d-meta-pill {
    font-size: 9.5px;
    font-weight: 700;
    color: #B45309;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 9999px;
    padding: 1px 5px;
    line-height: 1.2;
    margin: 3px 0 4px;
    white-space: nowrap;
}

.s3d-btn {
    width: 100%;
    height: 24px;
    padding: 0;
    background: linear-gradient(135deg, #4F46E5 0%, #2563EB 100%);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
    text-decoration: none;
}

.s3d-btn:hover {
    background: #4338CA;
    color: #FFFFFF;
}

.s3d-btn:active {
    transform: scale(0.96);
}

.s3d-btn .s3d-applied-text {
    display: none;
}

/* Applied state for dock items */
.s3d-item.is-applied {
    background: #ECFDF5;
    border-color: #A7F3D0;
    cursor: pointer;
}

.s3d-item.is-applied:hover {
    border-color: #059669;
    background: #E6FBF0;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.s3d-item.is-applied .s3d-btn {
    background: #059669;
}

.s3d-item.is-applied .s3d-btn:hover {
    background: #047857;
}

.s3d-item.is-applied .s3d-btn .s3d-btn-text {
    display: none;
}

.s3d-item.is-applied .s3d-btn .s3d-applied-text {
    display: inline;
}

.s3d-item.is-applied .s3d-meta-pill {
    background: #D1FAE5;
    border-color: #6EE7B7;
    color: #065F46;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .multi-apply-tracker {
        padding: 12px 14px;
        margin-top: 14px;
        border-radius: 16px;
    }
    .mat-status-title {
        font-size: 13px;
    }
    .mat-status-percent {
        font-size: 12px;
        padding: 2px 7px;
    }
    .mat-counter-pill {
        font-size: 11.5px;
        padding: 3px 8px;
    }
    .mat-step {
        font-size: 11.5px;
        gap: 4px;
    }
    .mat-hint {
        font-size: 12px;
        line-height: 1.35;
    }
}

@media (max-width: 400px) {
    .stb-label {
        display: none;
    }
    .stb-shell {
        padding: 6px 10px 5px;
        gap: 3px;
    }
    .stb-counter {
        font-size: 10px;
        padding: 2px 6px;
    }
    .stb-badge {
        font-size: 9.5px;
        padding: 1.5px 6px;
    }
    .stb-action-tip {
        font-size: 11px;
    }
    .s3d-grid {
        gap: 5px;
    }
    .s3d-logo-box {
        height: 20px;
    }
    .s3d-logo-img {
        max-height: 18px;
    }
    .s3d-meta-pill {
        font-size: 8.5px;
        padding: 1px 4px;
    }
}