.quote-page {
    font-family: 'Inter', sans-serif;
}

.quote-page {
    overflow: hidden;
    background: #f7f9fc;
    color: #142033;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.quote-hero {
    padding: 110px 0 72px;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef4fb 100%);
    border-bottom: 1px solid #dbe7f6;
}

.quote-kicker {
    margin: 0 0 18px;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2e83ff;
    font-weight: 700;
}

.quote-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 650;
    letter-spacing: -0.04em;
    color: #142033;
}

.quote-description {
    margin: 0;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: #415168;
}

.quote-main {
    padding: 90px 0;
    background: #f7f9fc;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.quote-form-card,
.quote-summary-card {
    background: #ffffff;
    border: 1px solid #dbe7f6;
    border-radius: 28px;
    padding: 34px 32px;
    box-shadow: 0 18px 40px rgba(16, 42, 84, 0.08);
}

.quote-form-card h2 {
    margin: 0 0 24px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #142033;
}

.quote-form fieldset {
    margin: 0 0 28px;
    padding: 24px;
    border: 1px solid #dbe7f6;
    border-radius: 22px;
    background: #fbfdff;
}

.quote-form legend {
    padding: 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #142033;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.quote-form .input,
.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    color: #142033;
    background: #f7f9fc;
    border: 1px solid #dbe7f6;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: none;
    box-sizing: border-box;
}

.quote-form textarea {
    min-height: 140px;
    resize: vertical;
}

.quote-form label {
    display: block;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #142033;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: #2e83ff;
    box-shadow: 0 0 0 4px rgba(46, 131, 255, 0.10);
    background: #ffffff;
    outline: none;
}

.service-wrapper {
    margin-bottom: 22px;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.service-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card .card-content {
    border: 1px solid #dbe7f6;
    border-radius: 20px;
    background: #ffffff;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #142033;
}

.service-card:hover .card-content {
    border-color: #2e83ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(46, 131, 255, 0.10);
}

.service-card input:checked + .card-content {
    border-color: #2e83ff;
    background: #eef6ff;
    box-shadow: 0 0 0 3px rgba(46, 131, 255, 0.08);
}

.checkbox-row {
    margin-top: 4px;
}

.checkbox-row .input.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
}

.form-error {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff3f3;
    border: 1px solid #f0c7c7;
    color: #a33a3a;
    font-weight: 600;
}

.subsection-title {
    margin: 8px 0 18px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5e718b;
}

.quote-summary-card {
    position: sticky;
    top: 24px;
}

.section-label {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2e83ff;
}

.quote-detail-block {
    padding: 20px 0;
    border-bottom: 1px solid #e7eef8;
}

.quote-detail-block:first-of-type {
    padding-top: 0;
}

.quote-detail-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quote-detail-block h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.2;
    color: #142033;
}

.quote-detail-block p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #52627a;
}

.price-range {
    font-size: 28px;
    font-weight: 800;
    color: #142033;
    letter-spacing: -0.02em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    width: 100%;
    background: #2e83ff;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(46, 131, 255, 0.22);
}

.btn-primary:hover {
    background: #1f74f0;
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .quote-summary-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .quote-hero {
        padding: 80px 0 54px;
    }

    .quote-main {
        padding: 64px 0;
    }

    .quote-form-card,
    .quote-summary-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .quote-form fieldset {
        padding: 18px;
        border-radius: 18px;
    }

    .form-grid,
    .service-options {
        grid-template-columns: 1fr;
    }

    .price-range {
        font-size: 24px;
    }
}
