

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-header a {
    font-size: 16px;
}

h3 {
    margin-bottom: 1.5vh;
    font-size: 24px;
    color: #2c3e50;
}

.questions-column {
    flex: 1;
    min-width: 400px;
    background: #ededed;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(0, 0, 0, 0.4);
    width: 65vw;
}

.contact-column {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.questions-column p {
    margin: 0 0 12px 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 20px;
}

.options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-label {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background: #fdfdfd;
    transition: all 0.2s ease;
    font-weight: 400;
    position: relative;
    overflow: hidden;
}

.option-label:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.option-label input[type="radio"] {
    display: none;
}


.option-label span {
    display: block;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

.option-label:has(input[type="radio"]:checked) {
    background: #1385ff;
    color: white;
    border-color: #005ec3;
}

.price-control {
    margin-top: 10px;
}

.price-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #007bff 0%, #007bff 50%, #e0e0e0 50%, #e0e0e0 100%);
    outline: none;
    -webkit-appearance: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,123,255,0.3);
    border: 2px solid white;
    transition: transform 0.2s ease;
}

.price-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* для Firefox */
.price-slider input[type="range"]::-moz-range-track {
    background: linear-gradient(to right, #007bff 0%, #007bff 50%, #e0e0e0 50%, #e0e0e0 100%);
    border-radius: 3px;
    height: 6px;
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,123,255,0.3);
    border: 2px solid white;
}

.price-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    margin: 10px 0;
}

.contact-column {
    background: #fff;
    padding: 20px;
}

.contact-column label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #2c3e50;
}

.contact-column input[type="text"],
.contact-column input[type="email"],
.contact-column input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
}

.contact-column input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 1.1em;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    width: 100%;
    margin-top: 25px;
    font-weight: 600;
    transition: background 0.2s;
}

button:hover {
    background: #0056b3;
}

.check-privacy {
    margin-top: 15px;
}

.form-columns {
    max-width: 95vw;
    display: flex;
    gap: 2vw;
    align-items: center;
}

@media (min-width: 768px) {
    .form-columns {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .form-columns {
        flex-direction: column;
        gap: 20px;
    }

    .questions-column,
    .contact-column {
        width: 100%;
        min-width: auto;
    }

    .option-label {
        min-width: 80px;
        font-size: 0.9em;
        padding: 10px 8px;
    }

    .price-value {
        font-size: 1.1em;
    }

    button {
        padding: 12px 20px;
        font-size: 1em;
    }
}
