/* ========== СБРОС И БАЗОВЫЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32;
    --secondary-color: #1565C0;
    --accent-color: #FF6F00;
    --text-dark: #212121;
    --text-gray: #757575;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --success-color: #4CAF50;
    --border-color: #E0E0E0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    padding-top: 80px;
    /* Space for sticky header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
    font-weight: 600;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

/* ========== КОНТЕЙНЕР ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ========== КНОПКИ ========== */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover {
    background: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 111, 0, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ========== СЕКЦИИ ========== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== ОФФЕРЫ ========== */
.offers {
    background: var(--bg-light);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.offer-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
}

.offer-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.offer-card-popular {
    border-color: var(--accent-color);
    border-width: 3px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.offer-title {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.offer-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 32px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.offer-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

.offers-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

/* ========== КАК РАБОТАЕТ ========== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
}

.step-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.step-title {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== ПАКЕТ ========== */
.package {
    background: var(--bg-light);
}

.package-list {
    max-width: 900px;
    margin: 0 auto 50px;
}

.package-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.package-item-soon {
    background: #FFF3E0;
    border-color: var(--accent-color);
}

.package-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.package-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.package-content p {
    color: var(--text-gray);
}

/* ========== ОТЗЫВЫ ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 15px;
}

.review-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-role {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-result {
    font-weight: 600;
    color: var(--success-color);
    font-size: 18px;
}

/* ========== О КОМПАНИИ ========== */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
}

.about-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.about-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-text {
    color: var(--text-gray);
}

.about-description {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ========== КАЛЬКУЛЯТОР ========== */
.calculator {
    background: var(--bg-light);
}

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calculator-inputs {
    margin-bottom: 40px;
}

.calculator-input {
    margin-bottom: 30px;
}

.calculator-input label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.calculator-input input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    outline: none;
    border-radius: 5px;
}

.calculator-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 50%;
}

.calculator-input input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.calculator-hint {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 5px;
}

.calculator-results {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}

.calculator-results h3 {
    margin-bottom: 20px;
}

.calc-result {
    display: grid;
    grid-template-columns: 1fr 120px 80px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    column-gap: 10px;
}

.calc-result:last-child {
    border-bottom: none;
}

.calc-result-highlight {
    background: #E8F5E9;
    padding: 15px;
    margin: 10px -15px;
    border-radius: 8px;
    border-bottom: none;
}

.calc-result-highlight .calc-value {
    color: var(--success-color);
    font-size: 24px;
}

.calc-label {
    font-weight: 600;
    text-align: left;
}

.calc-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.calc-unit {
    text-align: left;
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
    padding-left: 5px;
}

/* Калькулятор: дополнительные стили */
.calc-badge {
    background: #e3f2fd;
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    margin-left: 8px;
    font-weight: 500;
}

.calc-warning {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    border: 1px solid #ef9a9a;
}

.calc-result-roi {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    padding: 15px;
    margin: 10px -15px;
    margin-bottom: -15px;
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.calc-value-highlight {
    color: var(--secondary-color);
    font-size: 26px;
}

.calc-animate {
    animation: calcPulse 0.3s ease;
}

@keyframes calcPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        color: var(--accent-color);
    }

    100% {
        transform: scale(1);
    }
}

/* Desktop Layout for Calculator */
@media (min-width: 992px) {
    .calculator-wrapper {
        max-width: 1100px;
        /* Увеличиваем ширину для 2 колонок */
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        /* Чтобы результаты не растягивались по высоте */
        gap: 40px;
    }

    .calculator-inputs {
        width: 55%;
        margin-bottom: 0;
        /* Убираем отступ снизу */
        padding-right: 20px;
        border-right: 1px solid var(--border-color);
        /* Разделитель */
    }

    .calculator-results {
        width: 40%;
        position: sticky;
        /* Липкий блок результатов при прокрутке длинных настроек */
        top: 100px;
        /* Отступ от верха (учитывая sticky header) */
    }

    /* Сдвигаем настройки вниз на десктопе, чтобы разделитель выглядел лучше */
    .calculator-settings {
        margin-top: 30px;
        padding-top: 30px;
    }
}

/* Настройки калькулятора */
.calculator-settings {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.calculator-settings h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

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

.calc-setting-hint {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 5px;
}

.calc-select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-dark);
    margin-top: 5px;
    background: white;
}

/* Toggle Switch Styles */
.calc-toggle-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.calc-toggle-label input {
    display: none;
}

.calc-toggle-slider {
    position: relative;
    width: 46px;
    height: 24px;
    background-color: #ccc;
    border-radius: 24px;
    transition: .4s;
    margin-left: 10px;
}

.calc-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

.calc-toggle-label input:checked+.calc-toggle-slider {
    background-color: var(--primary-color);
}

.calc-toggle-label input:checked+.calc-toggle-slider:before {
    transform: translateX(22px);
}

.calculator-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 30px;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 900px;
    margin: 0 auto 50px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 50px 20px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-toggle {
    position: absolute;
    right: 20px;
    font-size: 24px;
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 20px 20px;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 20px;
}

/* ========== CTA ========== */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta .section-title {
    color: white;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.cta-card {
    background: white;
    color: var(--text-dark);
    padding: 40px;
    border-radius: 12px;
}

.cta-card h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.cta-card .btn {
    width: 100%;
    margin-bottom: 15px;
}

.cta-note {
    font-size: 14px;
    color: var(--text-gray);
}

.cta-guarantees {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
}

/* ========== FOOTER ========== */
.footer {
    background: #1A1A1A;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col p,
.footer-col a {
    color: #BDBDBD;
    line-height: 1.8;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #757575;
}

/* ========== МОДАЛЬНЫЕ ОКНА ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-gray);
}

.modal-close:hover {
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    margin-top: 5px;
}

.form-success {
    background: #E8F5E9;
    color: var(--success-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-error {
    background: #FFEBEE;
    color: #D32F2F;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    body {
        font-size: 16px;
    }

    section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .offers-grid,
    .reviews-grid,
    .about-grid,
    .cta-cards {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calculator-wrapper {
        padding: 25px;
    }

    .calc-result {
        flex-direction: column;
        gap: 5px;
    }

    .modal {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* ========== reCAPTCHA ========== */
.recaptcha-notice {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: var(--text-gray);
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: var(--primary-color);
}

/* Скрываем стандартный бейдж reCAPTCHA (по правилам Google, можно скрыть если есть текстовое уведомление) */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ========== ФОРМА ========== */
.form-error {
    background: #FFEBEE;
    color: #D32F2F;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.form-error a {
    color: #D32F2F;
    font-weight: 600;
}

/* Стили для select */
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========== STICKY HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.header-nav a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

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

.header-contacts {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.header-phone {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.phone-icon {
    font-size: 16px;
}

.header-telegram {
    background: linear-gradient(135deg, #0088cc, #00a0e3);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-telegram:hover {
    background: linear-gradient(135deg, #006da3, #0088cc);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* ========== HERO FORM ========== */
.hero-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 30px 35px;
    max-width: 500px;
    margin: 50px auto 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: white;
    text-align: center;
}

.hero-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-form input[type="text"],
.hero-form input[type="tel"] {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s;
}

.hero-form input[type="text"]:focus,
.hero-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.2);
}

.hero-form .btn {
    width: 100%;
    font-size: 18px;
    padding: 16px 24px;
    margin-top: 5px;
}

.hero-form-note {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 15px;
    text-align: center;
    color: white;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
    background: var(--bg-white);
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    font-size: 26px;
}

.badge-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

/* ========== FLOATING CTA ========== */
.floating-cta {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.floating-call {
    background: linear-gradient(135deg, var(--primary-color), #43a047);
}

.floating-telegram {
    background: linear-gradient(135deg, #0088cc, #00a0e3);
}

.floating-icon {
    font-size: 20px;
}

.floating-text {
    font-size: 15px;
}

/* ========== RESPONSIVE: HEADER ========== */
@media (max-width: 992px) {
    .header-nav {
        display: none;
    }

    .header-container {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .site-header {
        padding: 10px 0;
    }

    .logo img {
        height: 36px;
    }

    .header-phone {
        font-size: 14px;
    }

    .phone-icon {
        display: none;
    }

    .header-telegram {
        padding: 8px 14px;
        font-size: 13px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
        /* Povysh layer above menu */
    }

    /* Active Mobile Menu */
    .header-nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 1001;
        padding-top: 80px;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
    }

    .header-nav.active a {
        font-size: 20px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    body.no-scroll {
        overflow: hidden;
    }

    /* Hero Form Mobile */
    .hero-form {
        margin: 30px 15px 0;
        padding: 25px 20px;
        max-width: 100%;
    }

    .hero-form h3 {
        font-size: 18px;
    }

    .hero-form input[type="text"],
    .hero-form input[type="tel"] {
        padding: 14px 16px;
    }

    .hero-form .btn {
        font-size: 16px;
        padding: 14px 20px;
    }

    /* Trust Badges Mobile */
    .trust-badges {
        padding: 20px 0;
    }

    .badges-grid {
        gap: 20px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 15px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .badge-item {
        flex-shrink: 0;
    }

    .badge-icon {
        font-size: 22px;
    }

    .badge-text {
        font-size: 13px;
    }

    /* Floating CTA Mobile - Full Width Bottom Bar */
    .floating-cta {
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        gap: 0;
        border-radius: 0;
    }

    .floating-btn {
        flex: 1;
        justify-content: center;
        border-radius: 0;
        padding: 18px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .floating-btn:hover {
        transform: none;
    }

    .floating-icon {
        font-size: 18px;
    }

    .floating-text {
        font-size: 14px;
    }

    /* Add bottom padding to body for floating CTA */
    .footer {
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    .header-phone {
        display: none;
    }

    .header-contacts {
        gap: 10px;
    }

    .badges-grid {
        gap: 15px;
    }

    /* Calculator Mobile Optimizations */
    .calculator-wrapper {
        padding: 15px 10px;
        /* Еще меньше отступы */
    }

    .calc-result {
        grid-template-columns: 1fr auto auto;
        /* Flexible widths to prevent overflow */
        gap: 4px;
    }

    .calc-value {
        min-width: 60px;
        /* Уменьшаем мин. ширину */
        text-align: right;
        font-size: 17px;
        /* Чуть меньше шрифт */
    }

    .calc-unit {
        width: 25px;
        /* Компактнее */
        font-size: 13px;
        padding-left: 2px;
    }

    .calc-label {
        font-size: 13px;
        padding-right: 5px;
        /* Зазор справа от текста */
    }
}