@keyframes consultModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes consultSelectedIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes consultSheetIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}
.consult-overlay[hidden],
.privacy-popup[hidden] {
    display: none;
}
.consult-modal:focus {
    outline: none;
}
.consult-sheet-top {
    display: none;
}
.privacy-popup:focus {
    outline: none;
}
.consult-handle {
    display: none;
}
.consult-modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #edf1ed;
    margin-bottom: 4px;
    gap: 16px;
}
.consult-modal-header > div {
    flex: 1;
    min-width: 0;
}
.consult-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin: -4px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #f3f7f4;
    color: #64736a;
    font-family: inherit;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, color .2s, transform .2s;
}
.consult-close:hover {
    background: #e7f5eb;
    color: #007d3c;
}
.consult-close:active {
    transform: scale(.94);
}
.consult-modal-label {
    display: block;
    color: #007d3c;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}
.consult-modal-header .consult-reassurance {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 12px;
    padding: 7px 10px;
    border-radius: 7px;
    background: #edf9f0;
    color: #007d3c;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}
.consult-modal-header h2 {
    margin: 0 0 5px;
    color: #17241c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.025em;
    word-break: keep-all;
}
.consult-modal-header p {
    margin: 0;
    color: #6d7770;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    word-break: keep-all;
}
.privacy-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #f3f7f2;
    color: #615b66;
    font-family: inherit;
    font-size: 24px;
    font-weight: var(--font-regular-weight, 400);
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s,color .2s,transform .2s;
}
.privacy-popup-close:hover {
    background: #eaf2e7;
    color: var(--deep-green);
}
.privacy-popup-close:active {
    transform: scale(.94);
}
.consult-scroll {
    overflow-anchor: none;
    scroll-behavior: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 20px;
    gap: 10px 12px;
    scrollbar-width: thin;
    scrollbar-color: #d5e4d0 transparent;
}
.consult-sheet-footer {
    flex-shrink: 0;
    padding: 12px 20px 16px;
    border-top: 1px solid #edf1ed;
    background: #fff;
}
.consult-scroll > * {
    flex-shrink: 0;
    grid-column: 1 / -1;
}
.consult-modal-header .consult-modal-label {
    display: none;
}
.consult-selected-option-label {
    margin: 0;
    padding: 0;
    color: #078342;
    font-size: 14px;
    font-weight: 700;
}
.consult-fieldset {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.consult-fieldset legend {
    margin-bottom: 8px;
    padding: 0;
    color: #65716b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.consult-option {
    overflow: hidden;
    border: 1px solid #dce4de;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, opacity .2s;
}
.consult-option[open] {
    border-color: #9da5a0;
}
.consult-option[open] summary::after {
    transform: translateY(-20%) rotate(225deg);
}
.consult-option[data-locked="true"] > summary {
    opacity: .45;
    cursor: not-allowed;
}
.consult-option[data-locked="true"] > summary:focus {
    outline: none;
}
.consult-option summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 10px 36px 10px 14px;
    color: #17241c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    transition: background-color .2s;
}
.consult-option summary > span {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.consult-option summary:hover {
    background: #fafcf9;
}
.consult-option summary::-webkit-details-marker {
    display: none;
}
.consult-option summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #77717c;
    border-bottom: 1.5px solid #77717c;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.consult-selected {
    margin-left: 5px;
    color: var(--deep-green);
    font-size: 14px;
    font-weight: 700;
}
.consult-option-content {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fafbfa;
}
.consult-option-content label {
    display: flex;
    flex: none;
    align-items: center;
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 14px;
    border: 0;
    border-top: 1px solid #e8ebee;
    background: transparent;
    color: #38463d;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    gap: 10px;
}
.consult-option-content label:hover {
    background: #eef5ec;
}
.consult-option-content label:has(input:checked) {
    background: #eaf8ef;
    color: #007d3c;
    font-weight: 700;
}
.consult-option-content label:has(input:focus-visible) {
    outline: 2px solid #009f49;
    outline-offset: -3px;
}
.consult-option-content input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #009f49;
    cursor: pointer;
}
.consult-recommend {
    padding: 2px 7px;
    border: 1px solid #8acda0;
    border-radius: 8px;
    color: var(--deep-green);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}
.consult-option-locked {
    pointer-events: none;
    opacity: .78;
}
.consult-option-locked summary {
    cursor: default;
}
.consult-option-locked summary:hover {
    background: #ffffff;
}
.consult-selected-option {
    overflow: hidden;
    border: 1px solid #d8dee3;
    border-radius: 8px;
    background: #fff;
    animation: consultSelectedIn .25s ease-out;
}
.consult-selected-option[hidden] {
    display: none;
}
.consult-selected-option-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f7f8fa;
    gap: 12px;
}
.consult-selected-option-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.consult-selected-option-copy > span {
    min-width: 0;
    color: #17241c;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    word-break: keep-all;
}
.consult-selected-option-header button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: -6px -8px -6px 0;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #77717c;
    font-family: inherit;
    font-size: 23px;
    font-weight: var(--font-body-weight, 500);
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s,color .2s,transform .2s;
}
.consult-selected-option-header button:hover {
    background: #e8f1e5;
    color: var(--deep-green);
}
.consult-selected-option-header button:active {
    transform: scale(.9);
}
.consult-selected-option-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    border-top: 1px solid #dfe4e8;
}
.consult-selected-option-price > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 22px;
    line-height: 1.5;
}
.consult-selected-option-price span {
    color: #4f4855;
    font-size: 14px;
    font-weight: var(--font-body-weight, 500);
}
.consult-selected-option-price strong {
    min-width: 80px;
    color: #17171b;
    font-size: 18px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}
.consult-selected-option-price > div:last-child strong {
    color: #078342;
}
.consult-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.consult-field > label {
    color: #17241c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}
.consult-field > label > span[aria-hidden="true"] {
    color: #05bc59;
}
.consult-field > input {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #dce4de;
    border-radius: 8px;
    background: #fff;
    color: #17241c;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.consult-field > input:hover {
    border-color: #a9cfb5;
}
.consult-field > input:focus {
    border-color: #05bc59;
    box-shadow: 0 0 0 4px rgba(5, 188, 89, .09);
}
.consult-field > input::placeholder {
    color: #5d6970;
    font-size: 16px;
}
.consult-field > input[aria-invalid="true"] {
    border-color: #d92d20;
    background: #fff8f7;
}
.consult-request-field {
    gap: 9px;
}
.consult-request-field > label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.consult-optional {
    color: #5d6970;
    font-size: 14px;
    font-weight: var(--font-body-weight, 500);
}
.consult-request-field > textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    height: 56px;
    padding: 8px 12px;
    border: 1px solid #dce4de;
    border-radius: 8px;
    background: #fff;
    color: #17241c;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}
.consult-request-field > textarea:hover {
    border-color: #a9cfb5;
}
.consult-request-field > textarea:focus {
    border-color: #05bc59;
    box-shadow: 0 0 0 4px rgba(5, 188, 89, .09);
}
.consult-request-field > textarea::placeholder {
    color: #5d6970;
    font-size: 16px;
}
.consult-request-hint {
    display: none;
    margin: 0;
    color: #5d6970;
    font-size: 14px;
    line-height: 1.5;
    word-break: keep-all;
}
.consult-privacy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.privacy-popup-body h3 {
    margin: 24px 0 12px;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 600;
}
.privacy-popup-body h3:first-child {
    margin-top: 0;
}
.consult-privacy-agree {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #514a56;
    font-size: 15px;
    font-weight: var(--font-body-weight, 500);
    line-height: 1.5;
    cursor: pointer;
}
.consult-privacy-agree input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #009f49;
    cursor: pointer;
}
.consult-privacy-detail-btn {
    flex-shrink: 0;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--deep-green);
    font-family: inherit;
    font-size: 15px;
    font-weight: var(--font-heading-weight, 600);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.consult-privacy:has(input[aria-invalid="true"]) {
    border-color: #d92d20;
}
.consult-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--cta-background);
    color: #fff;
    font-family: inherit;
    font-size: var(--cta-font-size);
    font-weight: var(--cta-font-weight);
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(5, 188, 89, .08);
    transition: background-color .2s, transform .2s, box-shadow .2s;
}
.consult-submit:hover {
    background: var(--cta-hover-background);
    box-shadow: 0 6px 16px rgba(5, 188, 89, .18);
}
.consult-submit:active {
    transform: scale(.985);
}
.consult-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.consult-phone-actions,
.consult-busy-icon,
.consult-phone-form-intro {
    display: none;
}
.consult-modal[data-phone="true"] .consult-modal-header {
    position: relative;
    padding: 20px;
    margin: 0;
    border: 0;
    background: linear-gradient(150deg, #edf7f0, #f8fbf9);
    text-align: left;
}
.consult-modal[data-phone="true"] .consult-modal-header h2 {
    display: none;
}
.consult-modal[data-phone="true"] .consult-close {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
}
.consult-modal[data-phone="true"] .consult-reassurance {
    display: none;
}
.consult-modal[data-phone="true"] .consult-description-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    padding: 0;
}
.consult-modal[data-phone="true"] .consult-busy-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e3f1e8;
    color: #237747;
}
.consult-modal[data-phone="true"] #consultDescription {
    white-space: pre-line;
    margin: 0;
    color: #24382d;
    max-width: 280px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    word-break: keep-all;
}
.consult-modal[data-phone="true"] .consult-phone-form-intro {
    display: block;
    padding: 4px 0 6px;
}
.consult-phone-form-intro strong {
    color: #676968;
    font-size: 16px;
    line-height: 1.5;
}
.consult-phone-form-intro p {
    margin: 4px 0 0;
    color: #65736b;
    font-size: 12px;
    line-height: 1.5;
}
.consult-modal[data-phone="true"] .consult-phone-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.consult-phone-action {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    padding: 12px 16px;
    border: 1px solid #dce5df;
    border-radius: 12px;
    background: #ffffff;
    color: #26352d;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}
.consult-action-icon {
    grid-column: 1;
    grid-row: 1;
    box-sizing: content-box;
    padding: 10px;
    border-radius: 50%;
    background: #edf4ef;
    color: #00a64a;
}
.consult-phone-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-weight: 600;
}
.consult-modal[data-phone="true"] .consult-submit {
    min-height: 54px;
    border-radius: 12px;
    font-size: var(--cta-font-size);
    background: var(--cta-background);
    box-shadow: none;
}
.consult-modal[data-phone="true"] .consult-submit:hover {
    background: var(--cta-hover-background);
}
.consult-modal[data-phone="true"] .consult-sheet-footer {
    border-top: 1px solid #e2eae5;
    background: #f7f9f8;
}
.consult-phone-action span {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px 6px;
}
.consult-phone-action small {
    padding: 3px 6px;
    border-radius: 4px;
    background: #f0f3f1;
    color: #56635b;
    font-size: 14px;
    font-weight: 500;
}
.consult-phone-action strong {
    flex-shrink: 0;
    color: #26352d;
    font-size: 16px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.consult-phone-action:hover {
    background: #f9fcfa;
    border-color: #03c75a;
}
.consult-phone-action:active {
    background: #eaf2ed;
}
.consult-phone-action:focus-visible {
    outline: 2px solid #078342;
    outline-offset: 2px;
}
.consult-modal[data-phone="true"] .consult-request-field {
    display: none;
}
.consult-modal[data-phone="true"] .consult-field > label {
    font-size: 16px;
}
.consult-modal[data-phone="true"] .consult-field > input {
    min-height: 50px;
    font-size: 16px;
}
.consult-modal[data-phone="true"] .consult-privacy-agree,
.consult-modal[data-phone="true"] .consult-privacy-detail-btn {
    font-size: 14px;
}
body.consult-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}
.privacy-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 25, 20,.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.privacy-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    border-bottom: 1px solid #e8f0e6;
}
.privacy-popup-header h2 {
    margin: 7px 0 0;
    color: #17241c;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -.045em;
    font-weight: 800;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: pretty;
}
.privacy-popup-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px 22px;
    color: #4f4855;
    font-size: 14px;
    font-weight: var(--font-body-weight, 500);
    line-height: 1.7;
}
.privacy-popup-body dl {
    display: grid;
    grid-template-columns: 105px minmax(0,1fr);
    gap: 16px 12px;
    margin: 0;
}
.privacy-popup-body dt {
    color: #17171b;
    font-weight: 700;
}
.privacy-popup-body dd {
    margin: 0;
    color: #4f4855;
    overflow-wrap: anywhere;
}
.privacy-popup-body p {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid #edf3eb;
    color: #5e5863;
    font-size: 14px;
    font-weight: var(--font-body-weight, 500);
}
.privacy-popup-footer {
    padding: 0 22px 22px;
}
.privacy-popup-footer button {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border: 0;
    border-radius: 7px;
    background: #009f49;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s,transform .2s;
}
.privacy-popup-footer button:hover {
    background: #007a39;
}
.privacy-popup-footer button:active {
    transform: scale(.985);
}
.consult-error {
    margin: 6px 0 0;
    color: #d92d20;
    font-size: 14px;
    font-weight: var(--font-body-weight, 500);
    line-height: 1.5;
}
.consult-error[hidden] {
    display: none;
}
.consult-modal :is(button, input, summary):focus-visible,
.privacy-popup :is(button, input):focus-visible {
    outline: 2px solid #5ceb8c;
    outline-offset: 3px;
}
.consult-fieldset[hidden],
.consult-result[hidden] {
    display: none;
}
.consult-result-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: min(100%, 420px);
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 32px 24px 24px;
    border: 1px solid #cce6d6;
    border-radius: 8px;
    background: #fff;
    color: #17241c;
    text-align: center;
    box-shadow: 0 12px 40px rgba(23, 40, 63, .16);
    animation: consultModalIn .25s ease-out;
}
.consult-result-panel:focus {
    outline: none;
}
.consult-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e8f8ee;
    color: #008c43;
}
.consult-result-copy {
    min-width: 0;
}
.consult-result-copy strong {
    display: block;
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}
.consult-result p {
    margin: 0;
    color: #627168;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    word-break: keep-all;
}
.consult-result-confirm {
    width: 100%;
    min-height: 48px;
    flex-shrink: 0;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: #05bc59;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.consult-result-confirm:hover {
    background: #00a94e;
}
.consult-result button:focus-visible {
    outline: 2px solid #008c43;
    outline-offset: 2px;
}
.consult-result-handle {
    display: none;
}
.consult-overlay {
    overscroll-behavior: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 25, 20,.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    top: var(--consult-viewport-top, 0px);
    bottom: auto;
    height: var(--consult-viewport-height, 100dvh);
}
.privacy-popup {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    top: var(--consult-viewport-top, 0px);
    bottom: auto;
    height: var(--consult-viewport-height, 100dvh);
}
.consult-result {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 25, 20, .55);
    overscroll-behavior: none;
    top: var(--consult-viewport-top, 0px);
    bottom: auto;
    height: var(--consult-viewport-height, 100dvh);
}
.consult-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e7ede8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(10, 22, 16, .18);
    animation: consultModalIn .28s cubic-bezier(.22, 1, .36, 1);
    max-height: calc(var(--consult-viewport-height, 100dvh) - 24px);
}
.consult-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    gap: 0;
    flex: 1;
}
.privacy-popup-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    border: 1px solid #e8f0e6;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0,.16);
    animation: consultModalIn .25s cubic-bezier(.22,1,.36,1);
    max-height: 100%;
}
@media (min-width: 769px) {
    .consult-modal {
        border-radius: 16px;
        max-height: calc(var(--consult-viewport-height, 100dvh) - 48px);
    }
    .consult-modal-header {
        padding: 24px 24px 20px;
        margin: 0;
    }
    .consult-modal[data-phone="true"] .consult-modal-header {
        padding: 24px 60px 24px 24px;
    }
    .consult-modal[data-phone="true"] #consultDescription {
        max-width: none;
    }
    .consult-scroll {
        padding: 20px 24px;
        gap: 16px;
    }
    .consult-field {
        gap: 6px;
    }
    .consult-field > input {
        height: 50px;
    }
    .consult-sheet-footer {
        padding: 16px 24px 24px;
    }
    .consult-modal[data-phone="true"] .consult-close {
        top: 20px;
        right: 20px;
    }
}
@media (max-width: 768px) {
    .consult-close {
        display: none;
    }
    .consult-sheet-top {
        position: relative;
        display: block;
        flex-shrink: 0;
        height: 28px;
        border-radius: 22px 22px 0 0;
        background: #fff;
        touch-action: none;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }
    .consult-handle {
        position: absolute;
        top: 11px;
        left: 50%;
        display: block;
        width: 42px;
        height: 5px;
        margin: 0;
        border-radius: 999px;
        background: #bfc5c1;
        transform: translateX(-50%);
        pointer-events: none;
    }
    .consult-handle::after {
        content: none;
    }
    .consult-sheet-top:active {
        cursor: grabbing;
    }
    .consult-scroll {
        padding: 14px 20px;
        gap: 14px;
        -webkit-overflow-scrolling: touch;
    }
    .consult-sheet-footer {
        padding: 12px 20px max(16px, env(safe-area-inset-bottom, 0px));
    }
    .consult-handle:active {
        cursor: grabbing;
    }
    .consult-modal-header {
        margin: 0;
        padding: 10px 20px 14px;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
    }
    .consult-modal-header h2 {
        margin: 0 0 6px;
        color: #24352b;
        font-size: 22px;
        line-height: 1.4;
    }
    .consult-modal-header p {
        line-height: 1.4;
    }
    .consult-modal.consult-input-active {
        max-height: 100%;
    }
    .consult-input-active .consult-modal-header {
        padding: 4px 20px 8px;
    }
    .consult-input-active .consult-modal-header h2 {
        margin: 0;
        font-size: 18px;
    }
    .consult-input-active .consult-modal-header p,
    .consult-input-active .consult-reassurance {
        display: none;
    }
    .consult-input-active .consult-scroll {
        padding-block: 12px;
        gap: 12px;
    }
    .consult-modal[data-phone="true"].consult-input-active .consult-modal-header,
    .consult-modal[data-phone="true"].consult-input-active .consult-phone-form-intro,
    .consult-modal[data-phone="true"].consult-input-active .consult-phone-actions {
        display: none;
    }
    .consult-modal[data-phone="true"].consult-input-active .consult-sheet-footer {
        padding-top: 8px;
        padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    }
    .consult-option summary {
        min-height: 48px;
        font-size: 16px;
    }
    .consult-option-content label {
        min-height: 48px;
    }
    .consult-selected-option-header {
        padding: 16px;
    }
    .consult-selected-option-price {
        padding: 12px;
    }
    .consult-selected-option-price strong {
        font-size: 20px;
    }
    .privacy-popup-header {
        padding: 18px;
    }
    .privacy-popup-body {
        padding: 20px 18px;
    }
    .privacy-popup-footer {
        padding: 0 18px 18px;
    }
    .consult-request-field {
        flex: none;
        min-height: 0;
    }
    .consult-request-field > textarea {
        flex: none;
        min-height: 88px;
        height: 88px;
        padding: 12px;
    }
    .consult-overlay {
        align-items: flex-end;
        padding: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .privacy-popup {
        padding: 16px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .consult-modal {
        max-width: none;
        height: auto;
        max-height: 86%;
        border: 0;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -12px 40px rgba(10, 22, 16, .14);
        animation: consultSheetIn .18s cubic-bezier(.22, 1, .36, 1);
    }
    .consult-result {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        align-items: flex-end;
        padding: 0;
    }
    .consult-result-panel {
        width: 100%;
        border: 0;
        border-radius: 22px 22px 0 0;
        padding: 0 24px calc(20px + env(safe-area-inset-bottom, 0px));
        animation: consultSheetIn .18s cubic-bezier(.22, 1, .36, 1);
    }
    .consult-result-handle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% + 48px);
        min-height: 44px;
        flex-shrink: 0;
        touch-action: none;
        user-select: none;
    }
    .consult-result-handle span {
        width: 42px;
        height: 5px;
        border-radius: 99px;
        background: #bfc5c1;
        pointer-events: none;
    }
    .consult-field > input {
        height: 52px;
    }
    .consult-privacy {
        flex-wrap: wrap;
        gap: 0 8px;
    }
}
@media (max-width: 380px) {
    .consult-modal-header h2 {
        font-size: 20px;
        overflow-wrap: break-word;
        text-wrap: pretty;
    }
    .consult-selected-option-price strong {
        font-size: 18px;
    }
    .privacy-popup-body dl {
        grid-template-columns: 90px minmax(0,1fr);
        gap: 12px 10px;
    }
    .consult-scroll,
    .consult-modal-header,
    .consult-sheet-footer {
        padding-right: 16px;
        padding-left: 16px;
    }
}
@media (max-height: 600px) {
    .consult-modal-header {
        padding-top: 10px;
        padding-bottom: 8px;
    }
    .consult-scroll {
        gap: 8px 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .consult-sheet-top {
        height: 24px;
    }
    .consult-field > input {
        height: 44px;
    }
    .consult-option summary {
        min-height: 44px;
        padding-top: 9px;
        padding-bottom: 9px;
    }
    .consult-request-field {
        min-height: 0;
    }
    .consult-request-field > textarea {
        min-height: 64px;
        height: 64px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .consult-modal,
    .privacy-popup-panel,
    .consult-selected-option {
        animation: none;
    }
    .privacy-popup-close,
    .consult-option,
    .consult-option summary,
    .consult-option-content label,
    .consult-selected-option-header button,
    .consult-field > input,
    .consult-submit,
    .privacy-popup-footer button {
        transition: none;
    }
    .consult-result-panel {
        animation: none;
    }
}