
.quote-form .title {text-align: center; background-color: var(--c-primary); padding: 18px;}
.quote-form .title :first-child {font-size: var(--fs-md, 26px); color: #fff;}
.quote {padding: 28px 20px 50px; background-color: var(--_c-bg-gray);}
.quote form {gap: 7px;}
.quote form > label {font-size: var(--fs-base, 16px); margin-top: 3px;}
.quote form > label span {display: none;}
.quote form :where(input:not([type="radio"]), textarea) {padding: 12px 15px;}
.quote form textarea {height: 130px;}
.quote form > :nth-child(n+3):nth-child(-n+4) {display: none;}
.quote form > :nth-child(5) {display: block;}
.quote form > :is(:nth-child(7), :nth-child(9)) {width: 100%;}
.quote form > :is(:nth-child(6), :nth-child(8)) {width: 100%; order: 4;}
.quote form > :nth-child(13),
.quote form > :nth-child(12) {width: calc(70% - 6px);}
.quote form > :nth-child(15),
.quote form > :nth-child(14) {width: calc(30% - 6px); text-align: center;}
.quote form .group {flex-wrap: wrap; gap: 10px 6px;}
.quote form .group label {width: calc(50% - 3px); font-size: var(--fs-base, 16px); background-color: #fff;}
.quote form > p {width: calc(55% - 5px);}
.quote form > p,
.quote form > p a {font-size: calc(var(--fs-2xs, 12px) - 3px); line-height: 1.5;}
.quote form .btn__primary {align-self: center; width: calc(45% - 5px); max-width: 150px;}

@media only screen and (max-width: 991px) {
    .quote-form {max-width: 550px; margin-inline: auto;}
    .quote {padding: 20px 15px 30px;}
}

@media only screen and (max-width: 575px) {
    .quote-form .title {padding: 12px;}
    .quote {padding: 15px;}
    .quote form :where(input:not([type="radio"]), textarea) {padding: 10px 12px;}
    .quote form > label {margin: 0;}
    .quote form .group label {padding: 10px;}
}

@media only screen and (max-width: 475px) {
    .quote form > :nth-child(12), .quote form > :nth-child(11),
    .quote form > :nth-child(14), .quote form > :nth-child(13) {width: calc(50% - 6px); text-align: start;}
    .quote form .group label {width: 100%;}
    .quote form > p {width: 100%;}
    .quote form .btn__primary {width: 100%; max-width: 100%; margin-top: 6px;}
}