.paneovr-commerce-quote-page .site-content,
.paneovr-commerce-quote-page #primary,
.paneovr-commerce-quote-page .entry-content {
    overflow: visible;
}

.paneovr-commerce-quote-page .entry-content {
    margin-block-start: 0;
}

.paneovr-quote {
    --paneovr-blue: #204a73;
    --paneovr-blue-deep: #0b233a;
    --paneovr-blue-soft: #edf4fa;
    --paneovr-ink: #102c46;
    --paneovr-muted: #64788b;
    --paneovr-line: #d7e1ea;
    --paneovr-surface: #ffffff;
    --paneovr-shadow: 0 20px 55px rgba(11, 35, 58, 0.12);
    width: min(1180px, calc(100% - 32px));
    margin: clamp(18px, 3vw, 42px) auto clamp(50px, 8vw, 96px);
    color: var(--paneovr-ink);
    font: inherit;
}

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

.paneovr-quote__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.7fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
    padding: clamp(30px, 5vw, 64px);
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.14), transparent 32%),
        linear-gradient(130deg, var(--paneovr-blue) 0%, var(--paneovr-blue-deep) 78%);
    box-shadow: var(--paneovr-shadow);
}

.paneovr-quote__hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -155px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.paneovr-quote__intro,
.paneovr-quote__contact {
    position: relative;
    z-index: 1;
}

.paneovr-quote__eyebrow {
    margin: 0 0 10px;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.35;
    text-transform: uppercase;
}

.paneovr-quote__intro h1 {
    margin: 0;
    max-width: 750px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4.15rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.paneovr-quote__intro > p:last-child {
    max-width: 710px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.7;
}

.paneovr-quote__contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 30px rgba(4, 18, 31, 0.13);
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
    line-height: 1.55;
    backdrop-filter: blur(12px);
}

.paneovr-quote__contact > strong {
    margin-bottom: 9px;
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.paneovr-quote__contact .paneovr-quote__company {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 750;
}

.paneovr-quote__contact a {
    width: fit-content;
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.42);
    text-underline-offset: 3px;
}

.paneovr-quote__contact a:first-of-type {
    margin-top: 9px;
}

.paneovr-quote__content {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: start;
    margin-top: clamp(22px, 3vw, 34px);
}

.paneovr-quote__configuration,
.paneovr-quote__form-card {
    border: 1px solid var(--paneovr-line);
    border-radius: 24px;
    background: var(--paneovr-surface);
    box-shadow: var(--paneovr-shadow);
}

.paneovr-quote__configuration {
    position: sticky;
    top: 28px;
    padding: clamp(24px, 3vw, 34px);
}

.paneovr-quote__configuration-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--paneovr-line);
}

.paneovr-quote__configuration .paneovr-quote__eyebrow {
    color: var(--paneovr-blue);
}

.paneovr-quote__configuration h2,
.paneovr-quote__form-card h2,
.paneovr-quote__success h2 {
    margin: 0;
    color: var(--paneovr-blue-deep);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.15;
}

.paneovr-quote__configuration-header a {
    flex: 0 0 auto;
    padding-top: 2px;
    color: var(--paneovr-blue);
    font-size: 0.88rem;
    font-weight: 700;
    text-underline-offset: 3px;
}

.paneovr-quote__facts {
    display: grid;
    gap: 0;
    margin: 20px 0 0;
}

.paneovr-quote__facts > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #ebf0f4;
}

.paneovr-quote__facts dt {
    color: var(--paneovr-muted);
}

.paneovr-quote__facts dd {
    margin: 0;
    color: var(--paneovr-blue-deep);
    font-weight: 750;
    text-align: right;
}

.paneovr-quote__price {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 22px;
    padding: 18px;
    border-radius: 16px;
    background: var(--paneovr-blue-soft);
}

.paneovr-quote__price span {
    color: var(--paneovr-muted);
    font-size: 0.9rem;
}

.paneovr-quote__price strong {
    color: var(--paneovr-blue-deep);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1;
    white-space: nowrap;
}

.paneovr-quote__renewal,
.paneovr-quote__tax-note {
    margin: 15px 0 0;
    color: var(--paneovr-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.paneovr-quote__tax-note {
    margin-top: 7px;
}

.paneovr-quote__form-card {
    padding: clamp(26px, 4vw, 48px);
}

.paneovr-quote__form-intro {
    margin: 12px 0 28px;
    color: var(--paneovr-muted);
    line-height: 1.65;
}

.paneovr-quote__form {
    display: grid;
    gap: 22px;
}

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

.paneovr-quote__field {
    display: grid;
    gap: 8px;
}

.paneovr-quote__field label {
    color: var(--paneovr-blue-deep);
    font-size: 0.92rem;
    font-weight: 750;
}

.paneovr-quote__field label span {
    color: #b42318;
}

.paneovr-quote__field input,
.paneovr-quote__field textarea {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #bdcad6;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    color: var(--paneovr-blue-deep);
    font: inherit;
    line-height: 1.45;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.paneovr-quote__field textarea {
    min-height: 148px;
    resize: vertical;
}

.paneovr-quote__field input:focus,
.paneovr-quote__field textarea:focus {
    border-color: var(--paneovr-blue);
    outline: 2px solid var(--paneovr-blue);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(32, 74, 115, 0.13);
}

.paneovr-quote__field ::placeholder {
    color: #5b7084;
    opacity: 1;
}

.paneovr-quote__privacy {
    margin: -3px 0 0;
    color: var(--paneovr-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.paneovr-quote__privacy-details {
    margin: -5px 0 2px;
    color: var(--paneovr-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.paneovr-quote__privacy-details summary {
    color: var(--paneovr-blue);
    font-weight: 700;
    cursor: pointer;
    text-underline-offset: 2px;
}

.paneovr-quote__privacy-details summary:hover {
    text-decoration: underline;
}

.paneovr-quote__privacy-details summary:focus-visible {
    outline: 2px solid var(--paneovr-blue);
    outline-offset: 3px;
}

.paneovr-quote__privacy-details p {
    max-width: 78ch;
    margin: 8px 0 0;
}

.paneovr-quote__submit {
    display: inline-flex;
    width: fit-content;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 0;
    border-radius: 12px;
    background: var(--paneovr-blue);
    box-shadow: 0 10px 24px rgba(32, 74, 115, 0.2);
    color: #fff !important;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.paneovr-quote__submit:hover {
    background: var(--paneovr-blue-deep);
    box-shadow: 0 13px 28px rgba(11, 35, 58, 0.24);
    color: #fff !important;
    transform: translateY(-1px);
}

.paneovr-quote__submit:focus-visible {
    outline: 3px solid var(--paneovr-blue-deep);
    outline-offset: 3px;
}

.paneovr-quote__errors {
    margin: 0 0 24px;
    padding: 15px 18px;
    border: 1px solid #f1bbb7;
    border-radius: 12px;
    background: #fff4f3;
    color: #7a271a;
}

.paneovr-quote__errors ul {
    margin: 0;
    padding-left: 20px;
}

.paneovr-quote__success {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    min-height: 230px;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid #a6d8bf;
    border-radius: 18px;
    background: #edf9f3;
}

.paneovr-quote__success > span {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #16794c;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

.paneovr-quote__success p {
    margin: 12px 0 0;
    color: #315c49;
    line-height: 1.65;
}

.paneovr-quote__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.paneovr-quote--invalid {
    max-width: 760px;
}

@media (max-width: 900px) {
    .paneovr-quote__hero,
    .paneovr-quote__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .paneovr-quote__contact {
        max-width: 480px;
    }

    .paneovr-quote__configuration {
        position: static;
    }
}

@media (max-width: 600px) {
    .paneovr-quote {
        width: min(100% - 24px, 1180px);
        margin-top: 12px;
    }

    .paneovr-quote__hero,
    .paneovr-quote__configuration,
    .paneovr-quote__form-card {
        border-radius: 19px;
    }

    .paneovr-quote__hero {
        padding: 26px 22px;
    }

    .paneovr-quote__contact {
        padding: 19px;
    }

    .paneovr-quote__field-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .paneovr-quote__configuration-header {
        display: grid;
    }

    .paneovr-quote__price {
        align-items: flex-start;
        flex-direction: column;
    }

    .paneovr-quote__submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .paneovr-quote *,
    .paneovr-quote *::before,
    .paneovr-quote *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    .paneovr-quote__hero,
    .paneovr-quote__configuration,
    .paneovr-quote__form-card,
    .paneovr-quote__contact,
    .paneovr-quote__field input,
    .paneovr-quote__field textarea {
        border: 1px solid CanvasText;
    }

    .paneovr-quote__submit {
        border: 1px solid ButtonText;
    }

    .paneovr-quote__field input:focus,
    .paneovr-quote__field textarea:focus,
    .paneovr-quote__privacy-details summary:focus-visible,
    .paneovr-quote__submit:focus-visible {
        outline: 3px solid Highlight;
        outline-offset: 2px;
    }
}
