* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body {
    background: white; /* Базовый фон, но секции будут перекрывать */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

/* Каждая секция на всю ширину */
.section {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Внутренний контейнер для контента */
.content-container {
    max-width: 1400px;
    width: 100%;
    padding: 3rem 2rem;
}

/* Секция 1 - белый фон */
.section-1 {
    background: white;
}

/* Секция 2 - градиентный фон */
.section-2 {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
}

/* Секция 3 - белый фон */
.section-3 {
    background: white;
}

/* Секция 4 - градиентный фон */
.section-4 {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
}

/* Заголовки секций */
.section-title {
    color: #1a2980;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
}

/* Для заголовков на градиентном фоне */
.section-2 .section-title,
.section-4 .section-title {
    color: white;
}

/* Шапка (секция 1) */
.header {
    text-align: center;
}

.header h1 {
    color: #1a2980;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Карточки тарифов (секция 2) */
.tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tariff-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tariff-card:hover {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.3);
    border-color: #1a2980;
}
.tariff-card.selected {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-color: #1a2980;
    box-shadow: 0 0 0 3px #26d0ce80;
}

.tariff-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.tariff-title {
    color: #1a2980;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.tariff-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.tariff-features {
    list-style: none;
}
.tariff-features li {
    color: #1a2980;
    padding: 0.4rem 0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tariff-features li:before {
    content: "✓";
    color: #26d0ce;
    font-weight: 700;
}
.tariff-price {
    margin-top: 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a2980;
}
.tariff-price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

/* Блок параметров (секция 3) */
.params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Круговой ползунок */
.knob-container {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.knob-label {
    color: #1a2980;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.knob-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}
.knob-canvas {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.knob-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 20;
}
.knob-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 20;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s;
}
.knob-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.knob-value {
    color: #1a2980;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}
.knob-unit {
    color: #64748b;
    font-size: 0.9rem;
}
.knob-input {
    width: 100%;
    height: 10px;
    border-radius: 20px;
    -webkit-appearance: none;
    margin: 8px 0;
    background: linear-gradient(to right, #e2e8f0, #26d0ce);
    outline: none;
}
.knob-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: white;
    border: 3px solid #1a2980;
    border-radius: 50%;
    cursor: pointer;
}

/* Ползунки размеров */
.size-container {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    padding: 1.5rem;
}
.size-title {
    color: #1a2980;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}
.size-slider-group {
    margin-bottom: 1.2rem;
}
.size-header {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    margin-bottom: 0.3rem;
}
.size-value {
    color: #1a2980;
    font-weight: 600;
}
.size-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, #1a2980, #26d0ce);
    border-radius: 20px;
}
.size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: white;
    border: 3px solid #1a2980;
    border-radius: 50%;
    cursor: pointer;
}

/* Предупреждение о высоте */
.height-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 1rem;
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #856404;
    font-weight: 500;
}
.height-warning.hidden {
    display: none;
}
.warning-icon {
    font-size: 1.5rem;
}

/* Блок расчёта */
.total-block {
    grid-column: span 2;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border: 2px solid #1a2980;
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}
.total-label {
    color: #64748b;
    font-size: 1.2rem;
}
.total-price {
    color: #1a2980;
    font-size: 3rem;
    font-weight: 800;
}
.total-price span {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
}
.badge {
    background: #26d0ce;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid #e2e8f0;
}

/* Форма заявки (секция 4) */
.selected-params {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    border: 2px solid #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.param-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.param-label {
    color: #ffffff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.param-value {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.form-field {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 22px;
    font-size: 0.95rem;
    width: 100%;
    height: 50px;
    line-height: 46px;
    color: #ffffff;
}
.form-field:focus {
    border-color: rgba(255, 255, 255, 0.1);
    outline: 1px solid #26d0ce80;
}
.form-field.full-width {
    grid-column: span 2;
}
textarea.form-field {
    height: auto;
    padding: 1rem 1.3rem;
    line-height: 1.4;
    resize: vertical;
}
.btn-gradient {
    background: linear-gradient(135deg, #1a2980, #26d0ce);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 50px;
    line-height: 46px;
    white-space: nowrap;
    grid-column: span 2;
}
.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(26, 41, 128, 0.5);
    border-color: white;
}

@media (max-width: 900px) {
    .tariff-grid {
        grid-template-columns: 1fr;
    }
    .params-grid {
        grid-template-columns: 1fr;
    }
    .total-block {
        grid-column: 1;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-field.full-width,
    .btn-gradient {
        grid-column: 1;
    }
    .content-container {
        padding: 2rem 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}