.lop-quote {
    --lop-quote-ink: #182749;
    --lop-quote-muted: #405270;
    --lop-quote-accent: #286b2a;
    --lop-quote-accent-hover: #1e5720;
    --lop-quote-blue: #28337c;
    --lop-quote-line: #d4dfe8;
    --lop-quote-field-line: #a2b1c1;
    --lop-quote-gutter: clamp(1rem, 4vw, 4.5rem);
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #f4f8fb;
    color: var(--lop-quote-ink);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
}

.lop-quote:not([open]) {
    display: none;
}

.lop-quote[open] {
    display: flex;
    flex-direction: column;
}

.lop-quote::backdrop {
    background: rgb(14 28 62 / 62%);
}

html.lop-quote-open {
    overflow: hidden;
}

#main .lop-quote-service-cta {
    display: inline-block;
    padding: .72rem 1.1rem;
    border-radius: .5rem;
    background: #0e6e34;
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}

#main .lop-quote-service-cta:hover {
    background: #0a5427;
    color: #fff;
}

#main .lop-quote-service-cta:focus-visible {
    outline: 2px solid #28337c;
    outline-offset: 3px;
}

.lop-quote *, .lop-quote *::before, .lop-quote *::after {
    box-sizing: border-box;
}

.lop-quote__header {
    position: relative;
    z-index: 1;
    flex: none;
    padding-inline: var(--lop-quote-gutter);
    padding-block-start: env(safe-area-inset-top, 0px);
    border-bottom: 1px solid var(--lop-quote-line);
    background: #fff;
}

.lop-quote__header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: clamp(.45rem, 2vw, 1.75rem);
    max-width: 80rem;
    min-height: 4.875rem;
    margin-inline: auto;
}

.lop-quote__logo {
    display: block;
    width: min(100%, 13.75rem);
    height: auto;
}

.lop-quote__contacts {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
    gap: .25rem clamp(.4rem, 1.6vw, 1.25rem);
}

.lop-quote .lop-quote__channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 2.75rem;
    margin: 0;
    padding-inline: .35rem;
    border-radius: .45rem;
    color: var(--lop-quote-blue);
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.lop-quote .lop-quote__channel--whatsapp {
    color: var(--lop-quote-accent);
}

.lop-quote .lop-quote__channel:hover {
    background: #f1f6fa;
    text-decoration: underline;
    text-underline-offset: .15em;
}

.lop-quote__channel svg {
    flex: none;
}

.lop-quote__number {
    margin-inline-start: .1rem;
    font-variant-numeric: tabular-nums;
}

.lop-quote__short-label {
    display: none;
}

.lop-quote .lop-quote__close {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
    border: 1px solid #d4dfe8;
    border-radius: 50%;
    background: #fff;
    color: var(--lop-quote-blue);
    cursor: pointer;
}

.lop-quote .lop-quote__close:hover {
    border-color: #b1bfd0;
    background: #edf4f8;
}

.lop-quote :where(a, button, input, textarea, select, summary):focus-visible {
    outline: 2px solid #28337c;
    outline-offset: 3px;
}

.lop-quote__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding: clamp(1.75rem, 5vw, 4.5rem) var(--lop-quote-gutter) max(2.5rem, env(safe-area-inset-bottom, 0px));
    background: radial-gradient(ellipse at 6% 12%, #e6f0fa 0, transparent 58%), #f4f8fb;
}

.lop-quote__layout {
    display: grid;
    grid-template-columns: minmax(15rem, .9fr) minmax(0, 1.65fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5.25rem);
    max-width: 73rem;
    margin-inline: auto;
}

.lop-quote__intro {
    padding-block-start: clamp(.25rem, 1.5vw, 1.1rem);
}

.lop-quote__intro::before {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin-block-end: 1.2rem;
    border-radius: 1.5px;
    background: var(--lop-quote-accent);
    content: "";
}

.lop-quote .lop-quote__intro h2 {
    max-width: 13ch;
    margin: 0 0 1.1rem;
    color: var(--lop-quote-ink);
    font: inherit;
    font-size: clamp(2.05rem, 4.55vw, 4rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.035em;
    outline: none;
}

.lop-quote .lop-quote__intro p {
    max-width: 36ch;
    margin: 0;
    color: var(--lop-quote-muted);
    font-size: clamp(1rem, 1.35vw, 1.125rem);
    line-height: 1.65;
}

.lop-quote__form-panel {
    min-width: 0;
    padding: clamp(1.15rem, 3.2vw, 2.45rem);
    border: 1px solid var(--lop-quote-line);
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 1.1rem 3.2rem rgb(24 39 73 / 7%);
}

.lop-quote__form-panel :where(.wpcf7, .wpcf7-form, .lop-quote-form) {
    margin: 0;
}

.lop-quote-form :where(p, label) {
    margin: 0;
}

.lop-quote-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(.9rem, 1.7vw, 1.2rem) clamp(.85rem, 1.7vw, 1.2rem);
}

.lop-quote-form__field {
    min-width: 0;
}

.lop-quote-form__field--wide,
.lop-quote-form__attachments,
.lop-quote-form__privacy,
.lop-quote-form__actions {
    grid-column: 1 / -1;
}

.lop-quote-form__label,
.lop-quote-form__field > label {
    display: block;
    margin-block-end: .35rem;
    color: var(--lop-quote-ink);
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.35;
}

.lop-quote .lop-quote-form__hint {
    display: block;
    margin-block: .35rem 0;
    color: var(--lop-quote-muted);
    font-size: .85rem;
    line-height: 1.5;
}

.lop-quote .lop-quote-form .wpcf7-form-control-wrap {
    display: block;
}

.lop-quote .lop-quote-form :is(input:not([type=checkbox], [type=radio], [type=hidden], [type=submit], [type=file]), select, textarea) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 2.875rem;
    margin: 0;
    padding: .62rem .75rem;
    border: 1px solid var(--lop-quote-field-line);
    border-radius: .5rem;
    background-color: #fff;
    color: var(--lop-quote-ink);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: none;
}

.lop-quote .lop-quote-form textarea {
    min-height: 6.25rem;
    resize: vertical;
}

.lop-quote .lop-quote-form ::placeholder {
    color: #5a6c84;
    opacity: 1;
}

.lop-quote-form__attachments {
    display: grid;
    gap: .65rem;
    min-width: 0;
    margin: 0;
    padding: .85rem 1rem;
    border: 1px dashed #9baebf;
    border-radius: .65rem;
    background: #f5f9fc;
}

.lop-quote-form__attachments legend {
    padding-inline: .3rem;
    color: var(--lop-quote-ink);
    font-weight: 650;
}

.lop-quote .lop-quote-form input[type=file] {
    display: block;
    width: 100%;
    max-width: 100%;
    color: var(--lop-quote-muted);
    font-family: inherit;
    font-size: .875rem;
}

.lop-quote .lop-quote-form input[type=file]::file-selector-button {
    min-height: 2.55rem;
    margin-inline-end: .55rem;
    padding: .32rem .65rem;
    border: 1px solid #a9b9c9;
    border-radius: .4rem;
    background: #fff;
    color: var(--lop-quote-blue);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.lop-quote .lop-quote-form input[type=file]::file-selector-button:hover {
    background: #eaf1fa;
}

.lop-quote-form__privacy {
    color: var(--lop-quote-muted);
    font-size: .875rem;
    line-height: 1.5;
}

.lop-quote .lop-quote-form__privacy .wpcf7-list-item {
    margin: 0;
}

.lop-quote .lop-quote-form__privacy :is(label, .wpcf7-list-item) {
    display: inline-flex;
    align-items: baseline;
    gap: .55rem;
}

.lop-quote .lop-quote-form input[type=checkbox] {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: var(--lop-quote-accent);
}

.lop-quote .lop-quote-form__privacy a {
    color: var(--lop-quote-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .14em;
}

.lop-quote-form__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem .65rem;
    margin-block-start: .2rem;
}

.lop-quote .lop-quote-form :is(button[type=submit], input[type=submit]) {
    display: inline-block;
    width: auto;
    min-height: 2.875rem;
    max-width: 100%;
    padding: .65rem 1.25rem;
    border: 1px solid var(--lop-quote-accent);
    border-radius: .5rem;
    background: var(--lop-quote-accent);
    color: #fff;
    font: inherit;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
}

.lop-quote .lop-quote-form :is(button[type=submit], input[type=submit]):hover {
    border-color: var(--lop-quote-accent-hover);
    background: var(--lop-quote-accent-hover);
}

.lop-quote .lop-quote-form :is(button[type=submit], input[type=submit]):disabled {
    cursor: not-allowed;
    opacity: .72;
}

.lop-quote .lop-quote-form .wpcf7-spinner {
    margin: 0;
}

.lop-quote .wpcf7-form-control[aria-invalid=true]:not([type=checkbox], [type=radio]) {
    border-color: #a72a30;
}

.lop-quote .wpcf7-not-valid-tip {
    margin-block-start: .35rem;
    color: #9d2731;
    font-size: .88rem;
    line-height: 1.45;
}

.lop-quote .wpcf7 form .wpcf7-response-output {
    margin: 1.15rem 0 0;
    padding: .75rem .95rem;
    border: 1px solid #9daec1;
    border-radius: .55rem;
    background: #f4f8fb;
    color: var(--lop-quote-ink);
    font-size: .9375rem;
    line-height: 1.45;
    scroll-margin-block: 1rem;
}

.lop-quote .wpcf7 form.sent .wpcf7-response-output {
    border-color: #7aa481;
    background: #eaf5eb;
    color: #205427;
}

.lop-quote .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output {
    border-color: #bc7a7e;
    background: #fcf0f0;
    color: #812b35;
}

@media (max-width: 54rem) {
    .lop-quote__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.4rem;
        max-width: 46rem;
    }

    .lop-quote .lop-quote__intro h2 {
        max-width: 23ch;
        margin-block-end: .7rem;
    }

    .lop-quote .lop-quote__intro p {
        max-width: 55ch;
    }
}

@media (max-width: 47rem) {
    .lop-quote__address,
    .lop-quote__number {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .lop-quote__short-label {
        display: inline;
    }
}

@media (max-width: 36rem) {
    .lop-quote__header-inner {
        min-height: 4rem;
    }

    .lop-quote__body {
        padding-block-start: 1.35rem;
    }

    .lop-quote__intro::before {
        margin-block-end: .75rem;
    }

    .lop-quote .lop-quote__channel {
        gap: .3rem;
        font-size: .75rem;
    }

    .lop-quote-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 23rem) {
    .lop-quote .lop-quote__channel {
        width: 2.75rem;
        padding-inline: 0;
    }

    .lop-quote__channel > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
}
