@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter.var.woff2') format('woff2-variations');
    font-display: optional;
    font-weight: 100 900;
    font-style: normal;
}

:root {
    --primary-color: #2D4BFF;
    --primary-dark: #1A3AEE;
    --secondary-color: #A6D8FF;
    --accent-color: #8CFFB0;
    --text-dark: #0F172A;
    --text-light: #475569;
    --white: #FFFFFF;
    --gray-light: #F1F5F9;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
    text-rendering: optimizeSpeed;
    overflow-wrap: break-word;
    font-variant-numeric: lining-nums;
    font-feature-settings: 'cv11' 1, 'ss01' 1;
}

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

.lang-switcher {
    position: fixed;
    top: 25px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.lang-btn {
    background: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.header {
    background: var(--white);
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.header-content {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav{margin: 0 auto;}

.logo-icon {
    display: contents;
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover:after {
    width: 100%;
}

.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(45, 75, 255, 0.4);
    display: inline-flex;
    align-items: center;
    text-align: center;
    gap: 12px;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 75, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero {
    background: linear-gradient(135deg, rgb(166 216 255) 0%, rgb(140 255 176 / 90%) 100%), url(img/gory-kazah2.avif) center bottom / cover no-repeat;
    padding: 100px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
}

.hero-content {
    display: grid;
    grid-template-columns: 53% 1fr;
    gap: 80px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.3rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.1;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image {
    position: relative;
    text-align: right;
    align-self: flex-end;
    margin-bottom: -80px;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-image img {
    width: 500px;
    height: auto;
    object-fit: contain;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: opacity 0.3s ease;
}

.hero-image img[loading="lazy"] {
    opacity: 0;
}

.hero-image img[loading="lazy"].loaded {
    opacity: 1;
}

.features,
.how-to,
.offers,
.benefits,
.faq {
    padding: 80px 0;
}

.features,
.offers,
.faq {
    background: var(--gray-light);
}

.how-to,
.benefits {
    background: var(--white);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 70px;
}

.step {
    text-align: center;
    position: relative;
    padding: 40px 30px;
    background: var(--gray-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    background: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(45, 75, 255, 0.3);
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 16%;
    left: 67%;
    right: -40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    z-index: 1;
    transform: translateY(-50%);
}

.step h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-list {
    list-style: none;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
    padding: 25px;
    background: var(--gray-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.benefit-text h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-text p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.benefits-image img {
    max-width: 100%;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.faq-grid {
    max-width: 900px;
    margin: 70px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    padding: 30px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    background: var(--white);
    border: none;
    text-align: left;
    font-family: inherit;
    line-height: 1.4;
}

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

.faq-answer {
    padding: 0 35px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    padding: 0 35px 30px;
    max-height: 500px;
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 25px;
    display: block;
}

.footer-logo:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-text {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 7px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid #334155;
    color: #94a3b8;
    font-size: 1rem;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(45, 75, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 75, 255, 0.6);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

.hero-calculator {
    margin: 20px 0;
    max-width: 600px;
}

.calculator-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-bottom: 10px;
    gap: 4px;
}

.calculator-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calculator-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-slider-simple {
    position: relative;
    height: 44px;
    margin-bottom: 15px;
    user-select: none;
    -webkit-user-select: none;
}

.simple-slider {
    position: absolute;
    width: 100%;
    height: 44px;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    z-index: 3;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.simple-slider::-webkit-slider-runnable-track {
    height: 12px;
    background: transparent;
    border-radius: 6px;
}

.simple-slider::-moz-range-track {
    height: 12px;
    background: transparent;
    border-radius: 6px;
    border: none;
}

.simple-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    margin-top: -8px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.simple-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-track-simple {
    position: absolute;
    width: 100%;
    height: 12px;
    background: rgba(45, 75, 255, 0.1);
    border-radius: 6px;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    pointer-events: none;
}

.slider-progress-simple {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 6px;
    transition: width 0.3s ease;
}

.calculator-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 25px;
}

.calculator-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.calculator-btn-primary,
.calculator-btn-secondary {
    flex: 1;
    justify-content: center;
    padding: 18px 30px;
}

.calculator-hint {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
}

.calculator-hint strong {
    color: var(--primary-color);
    font-weight: 700;
}

@media (min-width: 769px) and (max-width: 1180px) {
    .container { padding: 0 24px; }
    .hero { margin-top: 0; padding: 80px 0; min-height: auto; align-items: center; }
    .logo { font-size: 22px; gap: 8px; }
    .logo-icon img { width: 28px; height: 28px; }
    .hero-image { margin-bottom: -80px; }
    .lang-switcher { top: 16px; right: 24px; }
    .lang-btn { padding: 5px 12px; font-size: 11px; }
    .header { position: relative; display: flex; flex-direction: column; padding-top: 0; }
    .header-content { flex-direction: column; align-items: center; padding: 12px 0; }
    .nav-menu { gap: 20px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
    .nav-menu a { font-size: 13px; white-space: nowrap; }
    .hero-content { gap: 16px; align-items: center; grid-template-columns: 54% 1fr; }
    .hero-text h1 { font-size: 46px; margin-bottom: 22px; line-height: 1.15; }
    .hero-text p { font-size: 1rem; margin-bottom: 0; }
    .hero-calculator { margin: 0; }
    .calculator-label { font-size: 1rem; }
    .calculator-value { font-size: 1.6rem; }
    .btn { font-size: 14px; padding: 14px 20px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 13px; }
    .hero-stats { gap: 32px; margin-top: 28px; }
    .hero-image img { width: 300px; }
    .features,
    .how-to,
    .offers,
    .benefits,
    .faq { padding: 60px 0; }
    .section-title { font-size: 2rem; margin-bottom: 18px; }
    .section-subtitle { font-size: 1.05rem; margin-bottom: 50px; }
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
    .feature-card { padding: 24px 18px; }
    .feature-card h3, .step h3 { font-size: 18px; }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .step:not(:last-child):after { left: 75%; right: -25px; }
    .benefits-content { gap: 40px; }
    .footer-content { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .logo {padding: 10px 0;font-size: 20px;}
    .header { position: relative; backdrop-filter: none; }
    .header-content {padding: 10px 0; }
    .hero { background: linear-gradient(135deg, rgb(166 216 255 / 90%) 30%, rgb(140 255 176 / 95%) 80%), url(img/bg-hero.avif) center bottom / cover no-repeat; padding: 40px 0 30px; margin-top: 0; min-height: auto; align-items: center; display: flex; }
    .hero-content { grid-template-columns: 1fr; gap: 5px; text-align: center; align-items: center; }
    .hero-text h1 { font-size: 26px; margin-bottom: 20px; line-height: 1.2; }
    .hero-text p { font-size: 1.1rem; margin-bottom: 0px; line-height: 1.6; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; margin-bottom: 30px; }
    .btn { width: 100%; max-width: 300px; justify-content: center; padding: 16px 25px; font-size: 15px; }
    .hero-stats {justify-content: center;gap: 30px;margin-top: 0;flex-wrap: wrap;}
    .stat-item { min-width: 80px; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.9rem; }
    .hero-image { order: -1; margin-bottom: 0; text-align: center; align-self: center; margin-top: 20px; min-height: 100px; display: flex; align-items: center; justify-content: center; width: 100%; }
    .hero-image img { width: 130px; height: auto; margin: 0 auto; display: block; max-width: 100%; object-fit: contain; transform: translateZ(0); border-radius: 33px; }
    .section-title { font-size: 2rem; margin-bottom: 20px; line-height: 1.3; }
    .section-subtitle { font-size: 1.1rem; margin-bottom: 50px; line-height: 1.6; }
    .features,
    .how-to,
    .offers,
    .benefits,
    .faq { padding: 60px 0; }
    .features-grid,
    .steps { grid-template-columns: 1fr; gap: 25px; margin-top: 40px; }
    .feature-card,
    .step { padding: 30px 20px; margin: 0 10px; }
    .feature-icon { width: 70px; height: 70px; font-size: 30px; margin-bottom: 20px; }
    .feature-card h3 { font-size: 1.3rem; }
    .step:not(:last-child):after { display: none; }
    .step h3 { font-size: 1.2rem; }
    .benefits-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .benefit-item { flex-direction: column; text-align: center; gap: 15px; margin-bottom: 25px; padding: 20px; margin: 0 10px 25px; }
    .benefit-icon { margin: 0 auto; }
    .benefit-text h4 { font-size: 1.2rem; }
    .benefits-image img { max-width: 90%; margin: 0 auto; }
    .faq-grid { margin-top: 40px; }
    .faq-item { margin: 0 10px 20px; }
    .faq-question { padding: 20px 25px; font-size: 1.1rem; }
    .faq-answer { padding: 0 25px; }
    .faq-item.active .faq-answer { padding: 0 25px 20px; }
    .footer { padding: 50px 0 25px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-bottom { padding-top: 30px; }
    .container { padding: 0 15px; }
    .scroll-top-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .hero-calculator { display: inline-block; margin: 20px 0; width: 100%; }
    .calculator-simple {padding: 0 20px;margin: 0 auto;}
    .calculator-header { flex-direction: column; gap: 10px; text-align: center; align-items: center; }
    .calculator-buttons { flex-direction: column; gap: 15px; }
    .calculator-btn-primary,
    .calculator-btn-secondary { min-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .hero { padding: 20px 0; }
    .hero-text h1 {font-size: 24px;}
    .hero-text p { font-size: 1rem; }
    .hero-stats { flex-direction: row; justify-content: space-around; gap: 12px; }
    .stat-item { margin-bottom: 0; min-width: 70px; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
    .section-title { font-size: 22px; }
    .section-subtitle { font-size: 1rem; }
    .features,
    .how-to,
    .offers,
    .benefits,
    .faq { padding: 50px 0; }
    .btn { font-size: 14px; padding: 14px 20px; }
    .feature-card { padding: 25px 15px; }
    .step { padding: 25px 15px; }
    .benefit-item { padding: 15px; }
    .faq-question { padding: 18px 20px; font-size: 1rem; }
    .faq-item.active .faq-answer { padding: 0 20px 18px; }
    .calculator-value { font-size: 1.5rem; }
    .calculator-label { font-size: 1rem; }
}

.calculator-slider-simple * {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

/* ==================== */
/* СТИЛИ ДЛЯ РАЗДЕЛА ОФФЕРОВ */
/* ==================== */

.offers-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 30px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 75, 255, 0.1);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(45, 75, 255, 0.2);
}


/* Остальные стили остаются без изменений */

.offers-table-container {
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    overflow-x: auto;
    position: relative;
}

.offers-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

.offers-table thead {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.offers-table th {
    padding: 15px;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    user-select: none;
    cursor: pointer;
}

.offers-table th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.offers-table th .sort-arrow {
    margin-left: 8px;
    opacity: 0.7;
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.offers-table th.sorted-asc .sort-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.offers-table th.sorted-desc .sort-arrow {
    opacity: 1;
}

.offers-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.offers-table tbody tr:hover {
    background: rgba(45, 75, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.offers-table td {
    padding: 15px;
    vertical-align: middle;
    font-size: 0.95rem;
}

.offer-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.offer-name img {
    width: auto;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.offer-name > span:first-of-type {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 100px;
    word-break: break-word;
    display: block;
    color: var(--text-dark);
}

/* ==================== */
/* УЛУЧШЕННЫЕ СТИЛИ КНОПОК "ОФОРМИТЬ" */
/* ==================== */

/* Базовая стилизация ячейки с кнопкой */
.offers-table td:last-child {
    padding: 15px;
    width: 150px;
    text-align: center;
}

/* Кнопка в таблице */
.btn-table {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    border: none;
    cursor: pointer;
    min-width: 110px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Эффект градиентного свечения */
.btn-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF8E53, #FF6B35);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-table:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-table:hover::before {
    opacity: 1;
}

/* Активное состояние */
.btn-table:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(255, 107, 53, 0.5);
}

/* Пульсация для лучших предложений */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
}

.offers-table tr.featured .btn-table {
    animation: pulse-glow 2s infinite;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.offers-table tr.featured .btn-table::before {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* ==================== */
/* МОБИЛЬНЫЕ КАРТОЧКИ ОФФЕРОВ */
/* ==================== */

/* Сетка карточек */
.offers-grid {
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* Карточка оффера */
.offer-card {
    background: var(--white);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* Заголовок карточки */
.offer-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
}

.offer-card-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    background: var(--gray-light);
    flex-shrink: 0;
}

.offer-card-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Тело карточки */
.offer-card-body {
    margin-bottom: 20px;
}

.offer-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-light);
}

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

.offer-card-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    flex: 1;
}

.offer-card-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
    flex: 1;
}

.offer-card-value strong {
    color: var(--primary-color);
    font-weight: 800;
}

/* Бейджи в карточках */
.offer-card-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 5px;
    text-align: center;
}

.badge-high-sum {
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
    color: white;
}

.badge-low-rate {
    background: linear-gradient(90deg, var(--accent-color), #6CFF9D);
    color: var(--text-dark);
}

.badge-new {
    background: linear-gradient(90deg, #FFD700, #FFEB3B);
    color: var(--text-dark);
}

/* Футер карточки */
.offer-card-footer {
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.offer-card-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #FF6B35, #FF8E53);
    color: white;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.offer-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF8E53, #FF6B35);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.offer-card-btn span {
    position: relative;
    z-index: 2;
}

.offer-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.offer-card-btn:hover::before {
    opacity: 1;
}

/* ==================== */
/* АДАПТАЦИЯ ТАБЛИЦЫ ДЛЯ МОБИЛЬНЫХ */
/* ==================== */

@media (max-width: 1024px) {
    .offer-name img {
        max-width: 100px;
    }
    
    .btn-table {
        padding: 10px 20px;
        min-width: 100px;
    }
    .offers-table th {
    padding: 14px;
    font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    /* Скрываем таблицу, показываем карточки */
    .offers-table-container {
        display: none;
    }
    
    .offers-grid {
        display: grid;
    }
    
    /* Улучшаем фильтры для мобильных */
    .offers-filters {
        overflow-x: auto;
        padding: 10px 0 15px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .offers-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    /* Оптимизация карточек для мобильных */
    .offer-card {
        padding: 18px;
    }
    
    .offer-card-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .offer-card-logo {
        width: auto;
        height: 60px;
    }
    
    .offer-card-title {
        text-align: center;
        font-size: 1rem;
    }
    
    .offer-card-row {
        padding: 8px 0;
    }
    
    .offer-card-label {
        font-size: 0.8rem;
    }
    
    .offer-card-value {
        font-size: 0.9rem;
    }
    
    .offer-card-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Бейджи внутри карточки */
    .offer-card-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    /* Компактные карточки для очень маленьких экранов */
    .offer-card-body {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .offer-card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        border-bottom: none;
        padding: 8px;
        background: var(--gray-light);
        border-radius: 8px;
    }
    
    .offer-card-label {
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .offer-card-value {
        font-size: 0.85rem;
        text-align: left;
    }
    
    .offer-card-btn {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* ==================== */
/* УЛУЧШЕННЫЕ БЕЙДЖИ В ТАБЛИЦЕ */
/* ==================== */

/* Бейджи теперь под суммой */
.offers-table td:nth-child(2) {
    position: relative;
    min-width: 140px;
    text-align: center;
}

/* Стиль суммы займа */
.offers-table td:nth-child(2) strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 800;
}

/* Бейджи под суммой (горизонтально) */
.offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 5px;
}

.offer-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-high-sum {
    background: linear-gradient(90deg, #FF6B6B, #FF8E8E);
    color: white;
}

.badge-low-rate {
    background: linear-gradient(90deg, var(--accent-color), #6CFF9D);
    color: var(--text-dark);
}

.badge-new {
    background: linear-gradient(90deg, #FFD700, #FFEB3B);
    color: var(--text-dark);
}

/* Иконки в бейджах */
.badge-high-sum::before {
    content: '🔥 ';
}

.badge-low-rate::before {
    content: '💎 ';
}

.badge-new::before {
    content: '🏆 ';
}

/* Скрытие строк */
.offer-row.hidden {
    display: none;
}

/* Индикатор сортировки */
.offers-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.offers-table th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.offers-table th.sorted-asc .sort-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.offers-table th.sorted-desc .sort-arrow {
    opacity: 1;
}

.sort-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.8em;
    margin-left: 5px;
    opacity: 0.7;
}

/* Лучшие предложения в таблице - теперь через цвет строки */
.offers-table tr.featured {
    background: linear-gradient(90deg, rgba(45, 75, 255, 0.05), rgba(140, 255, 176, 0.05));
    border-left: 4px solid var(--primary-color);
}

.offers-table tr.featured td:first-child {
    position: relative;
}

.offers-table tr.featured td:first-child::before {
    content: '★';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==================== */
/* ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ */
/* ==================== */

/* Состояние загрузки для кнопок */
.btn-table.loading,
.offer-card-btn.loading {
    position: relative;
    color: transparent;
}

.btn-table.loading::after,
.offer-card-btn.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Счетчик кликов на кнопках */
.click-counter {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #FF6B35;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 8px;
    animation: bounce 1.5s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    min-width: 16px;
    text-align: center;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Адаптация для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .offer-card-body {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .offer-card-row:nth-last-child(-n+2) {
        grid-column: span 1;
    }
    
    /* Улучшаем бейджи в таблице на планшетах */
    .offer-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* Плавное появление */
.offer-card {
    animation: fadeIn 0.5s ease forwards;
}

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

/* ==================== */
/* ОБНОВЛЕННАЯ СТРУКТУРА БЕЙДЖЕЙ */
/* ==================== */

/* Для десктопной таблицы: бейджи под суммой */
.offers-table td:nth-child(2) {
    text-align: center;
}

/* Для мобильных карточек: бейджи под названием */
.offer-card-title .offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 8px;
}

/* Адаптация для маленьких экранов */
@media (max-width: 768px) {
    .offers-table td:nth-child(2) .offer-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .offer-card-title .offer-badges {
        margin-top: 6px;
    }
    
    .offer-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        margin: 2px;
    }
    
    .offer-card-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        margin: 2px;
    }
}

@media (max-width: 480px) {
    .offer-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    
    .offer-card-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
}

/* Улучшения для мобильных устройств */
@media (max-width: 768px) {
    .offers {
        padding: 40px 0;
    }
    
    .offers .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .offers .section-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .offers-note {
        font-size: 0.9rem;
        padding: 10px;
        background: rgba(140, 255, 176, 0.1);
        border-radius: 10px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .offer-card {
        margin: 0 5px;
        padding: 15px;
    }
    
    .offer-card-body {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .offer-card-row {
        padding: 6px;
    }
    
    .offer-card-label {
        font-size: 0.7rem;
    }
    
    .offer-card-value {
        font-size: 0.8rem;
    }
}

/* Удаляем старые стили для бейджей в названии */
.offer-name .offer-badge {
    display: none;
}

.offers-table td:nth-child(2) .offer-badge {
    display: block;
    width: fit-content;
    margin: 5px auto 0;
}

/* Блок лицензий */
.licenses {
    padding: 40px 0;
    background: #f8fafc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.licenses-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #1e293b;
}

.licenses-content {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.licenses-content p {
    margin: 0 0 0.5em;
}

.licenses-hr {
    margin: 20px 0;
    border: none;
    border-top: 1px dashed #e2e8f0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Mobile navigation */
.nav-toggle {
    display: none;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1090;
    -webkit-tap-highlight-color: transparent;
}

body.nav-open .nav-overlay {
    display: block;
}

/* Sticky mobile CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* padding: 12px 16px; */
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    /* background: var(--white); */
    /* box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12); */
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-btn {
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding: 16px 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 70px 10px 12px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    body.has-sticky-cta .scroll-top-btn.visible {
        bottom: max(10px, env(safe-area-inset-bottom));
        right: 12px;
    }

    .header {
        z-index: 100;
    }

    body.nav-open .header {
        z-index: 1100;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        order: 1;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: auto;
        flex-shrink: 0;
        order: 3;
    }

    .nav-toggle-bar {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    body.nav-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    body.nav-open .nav-toggle {
        position: fixed;
        top: max(14px, env(safe-area-inset-top));
        right: max(14px, env(safe-area-inset-right));
        z-index: 1101;
        margin-left: 0;
        background: var(--white);
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 100vw);
        background: var(--white);
        z-index: 1100;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: max(60px, calc(env(safe-area-inset-top) + 44px)) 0 24px;
        display: flex;
        flex-direction: column;
    }

    body.nav-open .main-nav {
        transform: translateX(0);
    }

    body.nav-open {
        overflow: hidden;
    }

    .main-nav .lang-switcher {
        position: static;
        top: auto;
        right: auto;
        display: flex;
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin-top: auto;
        padding: 20px 24px;
        border-top: 1px solid var(--gray-light);
        z-index: auto;
    }

    .main-nav .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 8px 0;
        width: 100%;
    }

    .main-nav .nav-menu li {
        border-bottom: 1px solid var(--gray-light);
        width: 100%;
    }

    .main-nav .nav-menu a {
        display: block;
        padding: 18px 24px;
        font-size: 1.05rem;
        font-weight: 700;
        text-align: left;
        color: var(--text-dark);
    }

    .main-nav .nav-menu a:hover,
    .main-nav .nav-menu a:focus-visible {
        color: var(--primary-color);
        background: var(--gray-light);
    }

    .main-nav .nav-menu a:after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}