
        /* Контейнер */
        .calculator-box {
            /*max-width: 56rem;*/
            margin: 0 auto;
            background: #ffffff;
            border: 1px solid #e2e9f0;
            border-radius: 1.5rem;
            padding: 2.5rem;
            position: relative;
            box-shadow:
                0 4px 16px rgba(0, 50, 100, 0.06),
                0 12px 40px rgba(0, 50, 100, 0.08);
            font-size: 16px;
        }

        /* Заголовки */
        h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 1.5rem 0 1rem 0;
    color: #0b3b4f;
    line-height: 1.3;}

        .main-heading {
            font-family: 'Orbitron', 'Segoe UI', monospace;
            font-size: 2.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, #007aff 0%, #00b4a0 50%, #f5a623 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
            margin-bottom: 0.5rem;
            letter-spacing: 0.05em;
            position: relative;
            padding-bottom: 1.2rem;
        }

        .main-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 25%;
            width: 50%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #007aff, transparent);
            border-radius: 2px;
        }

        .sub-heading {
            text-align: center;
            color: #5a6b7f;
            font-size: 1.1rem;
            margin-bottom: 3rem;
            font-weight: 400;
            line-height: 1.6;
            max-width: 36rem;
            margin-left: auto;
            margin-right: auto;
        }

        /* Формула */
        .formula-display {
            background: #f8fafc;
            border: 2px solid #e2e9f0;
            border-radius: 0.75rem;
            padding: 1.8rem;
            margin: 2.5rem 0;
            font-family: 'JetBrains Mono', 'Consolas', monospace;
            font-size: 1.3rem;
            color: #007aff;
            text-align: center;
            position: relative;
            overflow: hidden;
            line-height: 1.6;
        }

        .formula-display::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg,
                transparent,
                rgba(0, 122, 255, 0.06),
                transparent);
            animation: shine 8s infinite linear;
        }

        @keyframes shine {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Секции */
        .calculation-section {
            margin-bottom: 3.5rem;
            padding-bottom: 2.5rem;
            border-bottom: 1px solid #edf1f6;
            position: relative;
        }

        .calculation-section:last-of-type {
            border-bottom: none;
            margin-bottom: 2rem;
        }

        .section-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.5rem;
            color: #1e2a3a;
            margin-bottom: 2rem;
            position: relative;
            display: inline-block;
            padding-left: 1.2rem;
        }

        .section-title::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: #007aff;
            font-size: 1.8rem;
            line-height: 1;
        }

        /* Группы ввода */
        .input-container {
            margin-bottom: 2.2rem;
        }

        .input-label {
            display: block;
            color: #5a6b7f;
            margin-bottom: 0.8rem;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        .input-label span {
            color: #007aff;
            font-size: 0.9rem;
            margin-left: 0.5rem;
            opacity: 0.8;
            text-transform: none;
            letter-spacing: 0;
        }

        /* Числовые инпуты */
        .numeric-input {
            width: 100%;
            padding: 1rem 1.2rem;
            background: #ffffff;
            border: 2px solid #dce3ec;
            border-radius: 0.75rem;
            color: #1e2a3a;
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
            box-shadow: 0 2px 6px rgba(0, 50, 100, 0.04);
        }

        .numeric-input:focus {
            border-color: #007aff;
            box-shadow:
                0 0 0 3px rgba(0, 122, 255, 0.12),
                0 4px 12px rgba(0, 50, 100, 0.08);
            transform: translateY(-1px);
        }

        .numeric-input:hover:not(:focus) {
            border-color: #b8c5d6;
        }

        .numeric-input::placeholder {
            color: #a8b5c7;
        }

        /* Сетки полей */
        .input-grid-2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
        }

        .input-grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
        }

        /* Радио кнопки */
        .radio-array {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.2rem;
            margin-top: 1rem;
        }

        .radio-element {
            position: relative;
        }

        .radio-element input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .radio-visual {
            display: block;
            padding: 1.2rem 1.5rem;
            background: #ffffff;
            border: 2px solid #e2e9f0;
            border-radius: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .radio-visual::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: #007aff;
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .radio-element input[type="radio"]:checked + .radio-visual {
            background: #f0f7ff;
            border-color: #007aff;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 122, 255, 0.12);
        }

        .radio-element input[type="radio"]:checked + .radio-visual::before {
            transform: scaleY(1);
        }

        .radio-element:hover .radio-visual {
            border-color: #b8c5d6;
        }

        .radio-title {
            font-weight: 700;
            color: #1e2a3a;
            margin-bottom: 0.3rem;
            font-size: 1.05rem;
        }

        .radio-desc {
            color: #5a6b7f;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        /* Чекбоксы */
        .checkbox-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1.2rem;
            margin-top: 1rem;
        }

        .checkbox-element {
            position: relative;
        }

        .checkbox-element input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .checkbox-visual {
            display: flex;
            align-items: center;
            padding: 1rem 1.2rem;
            background: #ffffff;
            border: 2px solid #e2e9f0;
            border-radius: 0.75rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .checkbox-element input[type="checkbox"]:checked + .checkbox-visual {
            background: #fffaf0;
            border-color: #f5a623;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(245, 166, 35, 0.12);
        }

        .checkbox-mark {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            border: 2px solid #c8d3e0;
            border-radius: 4px;
            margin-right: 1rem;
            position: relative;
            transition: all 0.3s ease;
            background: #ffffff;
        }

        .checkbox-element input[type="checkbox"]:checked + .checkbox-visual .checkbox-mark {
            background: #f5a623;
            border-color: #f5a623;
        }

        .checkbox-mark::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            color: #ffffff;
            font-weight: bold;
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .checkbox-element input[type="checkbox"]:checked + .checkbox-visual .checkbox-mark::after {
            transform: translate(-50%, -50%) scale(1);
        }

        .checkbox-text {
            color: #1e2a3a;
            font-weight: 600;
            line-height: 1.4;
        }

        .checkbox-value {
            display: block;
            color: #5a6b7f;
            font-size: 0.85rem;
            font-family: 'JetBrains Mono', monospace;
            margin-top: 0.2rem;
            font-weight: 400;
        }

        /* Скрытая секция бассейна */
        .pool-params {
            display: none;
            margin-top: 1.5rem;
            padding: 1.5rem;
            background: #f0f7ff;
            border: 2px dashed #b8d4f0;
            border-radius: 0.75rem;
            animation: fadeIn 0.4s ease;
        }

        .pool-params.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .pool-params-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.1rem;
            color: #007aff;
            margin-bottom: 1.2rem;
        }

        /* Кнопка расчета */
        .calculate-trigger {
            display: block;
            width: 100%;
            padding: 1.5rem;
            background: linear-gradient(135deg, #007aff 0%, #00b4a0 100%);
            border: none;
            border-radius: 0.75rem;
            color: #ffffff;
            font-family: 'Orbitron', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            margin: 3.5rem 0;
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
        }

        .calculate-trigger::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.25),
                transparent);
            transition: left 0.7s ease;
        }

        .calculate-trigger:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(0, 122, 255, 0.35);
        }

        .calculate-trigger:hover::before {
            left: 100%;
        }

        .calculate-trigger:active {
            transform: translateY(-1px);
        }

        /* Результаты */
        .result-panel {
            background: #f8fafc;
            border: 2px solid #d4e6f7;
            border-radius: 1rem;
            padding: 2.5rem;
            margin-top: 2rem;
            display: none;
            animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .result-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.8rem;
            color: #1e2a3a;
            text-align: center;
            margin-bottom: 2rem;
            position: relative;
        }

        .result-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #007aff, #00b4a0, #f5a623);
            border-radius: 2px;
        }

        .total-result {
            font-size: 3.5rem;
            font-weight: 700;
            text-align: center;
            margin: 2rem 0 0.5rem;
            font-family: 'Orbitron', monospace;
            background: linear-gradient(135deg, #007aff, #00b4a0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }

        .total-result-label {
            text-align: center;
            color: #5a6b7f;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 2rem;
            font-weight: 600;
        }

        .result-breakdown {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .breakdown-item {
            text-align: center;
            padding: 1.5rem 1rem;
            background: #ffffff;
            border-radius: 0.75rem;
            border: 1px solid #e2e9f0;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 50, 100, 0.04);
        }

        .breakdown-item:hover {
            transform: translateY(-5px);
            border-color: #b8d4f0;
            box-shadow: 0 8px 20px rgba(0, 122, 255, 0.08);
        }

        .breakdown-label {
            color: #5a6b7f;
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 600;
        }

        .breakdown-value {
            font-family: 'JetBrains Mono', monospace;
            font-size: 1.6rem;
            font-weight: 700;
            color: #007aff;
        }

        /* Рекомендация типа осушителя */
        .recommendation-box {
            margin-top: 2rem;
            padding: 1.5rem;
            border-radius: 0.75rem;
            background: #f0f7ff;
            border-left: 4px solid #007aff;
            color: #1e2a3a;
            line-height: 1.6;
        }

        .recommendation-box.warning {
            background: #fffaf0;
            border-left-color: #f5a623;
        }

        .recommendation-box.danger {
            background: #fff5f5;
            border-left-color: #e74c3c;
        }

        .recommendation-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
            color: #007aff;
        }

        .recommendation-box.warning .recommendation-title {
            color: #d68910;
        }

        .recommendation-box.danger .recommendation-title {
            color: #c0392b;
        }

        /* Подсказки */
        .input-hint {
            display: block;
            color: #6b7c91;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            padding: 0.8rem 1rem;
            background: #f8fafc;
            border-left: 3px solid #c8d3e0;
            border-radius: 0 4px 4px 0;
            line-height: 1.5;
        }

        .input-hint.warning {
            border-left-color: #f5a623;
            background: #fffaf0;
        }

        /* Текстовый блок SEO */
        .info-block {
            margin-top: 4rem;
            padding-top: 3rem;
            border-top: 1px solid #edf1f6;
            line-height: 1.3;
        }

        .info-block h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.6rem;
            color: #1e2a3a;
            margin-bottom: 1.5rem;
        }

        .info-block h3 {
            font-size: 1.2rem;
            color: #0e4069;
            margin: 2rem 0 1rem;
        }

        .info-block p {
            color: #5a6b7f;
            margin-bottom: 1rem;
        }

        .info-block ul {
            list-style: none;
            margin: 1rem 0;
        }

        .info-block li {
            color: #5a6b7f;
            padding-left: 1.5rem;
            position: relative;
            margin-bottom: 0.6rem;
        }

        .info-block li::before {
            content: '◆';
            position: absolute;
            left: 0;
            color: #007aff;
            font-size: 0.7rem;
            top: 0.4rem;
        }

        /* Футер */
        .calculator-footer {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #edf1f6;
            color: #8896a8;
            font-size: 0.9rem;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .calculator-box {
                padding: 1.5rem;
                border-radius: 1rem;
            }

            .main-heading {
                font-size: 2rem;
                padding-bottom: 0.8rem;
            }

            .sub-heading {
                font-size: 1rem;
                margin-bottom: 2rem;
            }

            .formula-display {
                font-size: 0.95rem;
                padding: 1.2rem;
                margin: 1.5rem 0;
            }

            .radio-array,
            .checkbox-grid,
            .input-grid-2,
            .input-grid-3 {
                grid-template-columns: 1fr;
            }

            .result-breakdown {
                grid-template-columns: 1fr;
            }

            .total-result {
                font-size: 2.5rem;
            }

            .calculate-trigger {
                padding: 1.2rem;
                font-size: 1.05rem;
                margin: 2.5rem 0;
            }
            /* Кнопка-ссылка на каталог осушителей */
.catalog-cta {
    display: none;
    margin-top: 2rem;
    text-align: center;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.catalog-cta.visible {
    display: block;
}

.catalog-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.1rem 2.2rem;
    background: linear-gradient(135deg, #007aff 0%, #00b4a0 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.22);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.catalog-cta-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent);
    transition: left 0.7s ease;
}

.catalog-cta-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 122, 255, 0.32);
}

.catalog-cta-link:hover::before {
    left: 100%;
}

.catalog-cta-link:active {
    transform: translateY(-1px);
}

.catalog-cta-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.catalog-cta-link:hover .catalog-cta-arrow {
    transform: translateX(5px);
}

.catalog-cta-note {
    display: block;
    margin-top: 0.9rem;
    color: #5a6b7f;
    font-size: 0.9rem;
}