.quote-page {
    min-height: calc(100vh - 5.45rem);
    padding: 1.5rem 1.25rem 3rem;
    background: #f6f4f1;
}

.quote-sheet {
    width: min(52rem, 100%);
    margin: 0 auto;
}

.quote-sheet__intro h1 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quote-sheet__intro p,
.quote-sheet > ul {
    margin: 0 0 1rem;
    line-height: 1.45;
}

.quote-sheet > ul {
    padding-left: 1.1rem;
    color: var(--color-red);
    font-weight: 700;
}

.quote-sheet fieldset {
    margin: 0 0 0.9rem;
    padding: 1rem 1.1rem 1.15rem;
    border: 0;
    border-radius: 1.25rem;
    background: #fff;
}

.quote-sheet legend {
    padding: 0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.quote-grid__wide {
    grid-column: 1 / -1;
}

.quote-sheet label {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.quote-sheet input[type="text"],
.quote-sheet input[type="date"],
.quote-sheet textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d9d3cb;
    border-radius: 0.7rem;
    background: #fff;
    color: #1c1c1c;
    font: inherit;
    font-size: 0.95rem;
}

.quote-sheet textarea {
    resize: vertical;
}

.quote-sheet input:focus,
.quote-sheet textarea:focus {
    outline: 2px solid var(--color-red);
    outline-offset: 1px;
}

.quote-sheet ul {
    margin: 0.3rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--color-red);
    font-size: 0.8rem;
    font-weight: 700;
}

.quote-sheet .help,
.quote-sheet [id$="_help"] {
    margin: 0.3rem 0 0;
    color: #5c564e;
    font-size: 0.78rem;
    font-weight: 600;
}

.quote-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.quote-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.quote-choice label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    margin: 0;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d9d3cb;
    border-radius: 0.7rem;
    background: #fff;
    color: #1c1c1c;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.quote-choice label:hover {
    border-color: #1c1c1c;
}

.quote-choice input:checked + label {
    border-color: var(--color-red);
    background: #fff5f4;
    color: var(--color-red);
    box-shadow: inset 0 0 0 1px var(--color-red);
}

.quote-choice input:focus-visible + label {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

.quote-sheet__actions {
    display: flex;
    justify-content: flex-end;
}

.quote-sheet__actions button {
    padding: 0.85rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--color-red);
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.quote-sheet__actions button:hover {
    background: #d80e06;
}

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