/* Homepage-only owner HERO. All copy stays real HTML, not part of the artwork. */
.hero.hero-integrated {
    padding: 20px 0 30px;
}
.hero-integrated .hero-layout {
    display: block;
}
.owner-hero-scene {
    position: relative;
    width: min(1840px, calc(100% - 48px));
    margin-inline: auto;
}
.owner-hero-visual,
.owner-hero-visual picture {
    display: block;
    margin: 0;
}
.owner-hero-visual {
    position: relative;
    isolation: isolate;
}
.owner-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    width: 49%;
    background: linear-gradient(90deg, #0e1e28e6 0%, #0e1e28bd 85%, #0e1e2800 100%);
    border-radius: 10px 0 0 10px;
    pointer-events: none;
}
.owner-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    border-radius: 10px;
}
.hero-integrated .hero-copy {
    position: absolute;
    z-index: 1;
    left: 4%;
    top: 7%;
    display: block;
    width: 39%;
    max-width: none;
    margin: 0;
    padding: 0;
    color: #fff;
}
.hero-integrated .hero-copy .eyebrow {
    margin-bottom: 20px;
    color: #edf5fa;
    font-size: 10px;
}
.hero-integrated .hero-copy .brand-dot {
    background: #8ecde9;
}
.hero-integrated h1 {
    color: #fff;
    font-size: clamp(42px, 3.55vw, 64px);
    line-height: 1.07;
    letter-spacing: -.055em;
    text-shadow: 0 2px 12px #091c2826;
}
.hero-integrated h1 span {
    color: #fff;
}
.hero-integrated .hero-description {
    max-width: 380px;
    margin-top: 24px;
    color: #f2f6f8;
    font-size: 15px;
    line-height: 1.7;
}
.hero-integrated .hero-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 48px;
    max-width: 100%;
    margin-top: 26px;
    padding: 13px 17px;
    border: 0;
    border-radius: 4px;
    background: #fff;
    color: #17577f;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
}
.hero-integrated .hero-link:hover {
    background: #eaf4fa;
    color: #153f5a;
}
.hero-integrated .hero-link .icon {
    flex-shrink: 0;
}
.hero-integrated .quote-card {
    position: absolute;
    z-index: 2;
    left: 68%;
    top: 19%;
    width: 27.5%;
    height: 74%;
    padding: 2px 4px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #b6bfc4 transparent;
    scroll-padding: 12px;
}
.hero-integrated .quote-heading .eyebrow {
    display: none;
}
.hero-integrated .quote-heading {
    padding-left: clamp(10px, .8vw, 16px);
}
.hero-integrated .quote-heading h2 {
    font-size: clamp(21px, 1.7vw, 28px);
    line-height: 1.17;
}
.hero-integrated .quote-heading > p:last-child {
    margin-top: 8px;
    color: #52606a;
    line-height: 1.5;
}
.hero-integrated .form-progress {
    margin: 17px 0;
    padding-bottom: 12px;
    border-color: #cbd0d1;
}
.hero-integrated .field {
    margin-bottom: 13px;
}
.hero-integrated .field label,
.hero-integrated .project-choice legend {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.5;
}
.hero-integrated .field input:not([type=file]),
.hero-integrated .field select,
.hero-integrated .field textarea {
    min-height: 44px;
    padding: 10px 11px;
    font-size: 14px;
    background-color: #ffffffc9;
}
.hero-integrated .field-row {
    gap: 12px;
}
.hero-integrated .project-choice {
    margin-bottom: 16px;
}
.hero-integrated .choice {
    min-height: 44px;
    padding: 11px 9px;
    background: #ffffff80;
}
.hero-integrated .choice:has(input:checked) {
    background: #f2f8fc;
}
.hero-integrated .next-step,
.hero-integrated .submit-button {
    min-height: 46px;
    padding: 12px 10px;
    font-size: 12px;
}
.hero-integrated .step-note {
    margin-top: 8px;
    color: #52606a;
}
.hero-integrated .form-trust {
    margin-top: 14px;
    padding-top: 12px;
    color: #52606a;
    border-color: #cbd0d1;
}
.hero-integrated .required-note {
    margin-top: 5px;
}
.hero-integrated .progress-step:not(.active),
.hero-integrated .optional,
.hero-integrated .required-note,
.hero-integrated .optional-details summary span {
    color: #56636c;
}
.hero-integrated .back-step {
    min-height: 44px;
}
.hero-integrated .optional-details summary {
    display: list-item;
    list-style-position: inside;
    min-height: 44px;
    padding-block: 10px;
    font-size: 12px;
}
.hero-integrated .optional-details {
    padding: 0;
    border-color: #cbd0d1;
}
.hero-integrated .optional-details[open] summary {
    margin-bottom: 12px;
}
.hero-integrated .privacy-check {
    font-size: 11px;
    line-height: 1.6;
}
.hero-integrated .privacy-check input {
    flex-shrink: 0;
}
.owner-hero-caption {
    width: min(1840px, calc(100% - 48px));
    margin: 10px auto 0;
    color: #5b666c;
    font-size: 11px;
    line-height: 1.7;
}
.owner-hero-caption span {
    color: #637078;
    margin-left: 8px;
}
@media (min-width: 1680px) {
    .hero-integrated .quote-card {
        top: 20%;
        height: 70%;
        padding: 8px 9px;
    }
    .hero-integrated .field {
        margin-bottom: 17px;
    }
    .hero-integrated .form-progress {
        margin-block: 22px;
    }
}
/* Portrait composition: all intro text fits in the sky, above the owner's face. */
@media (max-width: 1359px) {
    .owner-hero-scene,
    .owner-hero-caption {
        max-width: 900px;
    }
    .owner-hero-image {
        aspect-ratio: 941 / 1672;
    }
    .owner-hero-visual::after {
        inset: 0 0 auto;
        width: 100%;
        height: 24%;
        background: linear-gradient(180deg, #faf9f5fa 0%, #faf9f5e0 78%, #faf9f500 100%);
        border-radius: 10px 10px 0 0;
    }
    .hero-integrated .hero-copy {
        top: 3%;
        width: 92%;
        color: #1a2b35;
    }
    .hero-integrated .hero-copy .eyebrow {
        color: #344d5b;
        margin-bottom: 14px;
    }
    .hero-integrated h1 {
        font-size: clamp(34px, 4.3vw, 52px);
        color: #1a2b35;
        text-shadow: none;
    }
    .hero-integrated h1 span {
        color: #1a5a83;
    }
    .hero-integrated .hero-description {
        max-width: 620px;
        margin-top: 15px;
        color: #344d5b;
        font-size: 14px;
    }
    .hero-integrated .hero-link {
        margin-top: 14px;
        background: #1d5e89;
        color: #fff;
    }
    .hero-integrated .hero-link:hover {
        background: #174b6d;
        color: #fff;
    }
    .hero-integrated .quote-card {
        left: 48%;
        top: 31.2%;
        width: 46%;
        height: 44%;
    }
    .hero-integrated .quote-heading {
        padding-left: 8%;
    }
    .hero-integrated .quote-heading h2 {
        font-size: 23px;
    }
}
/* Phone: headline in the sky, useful copy/CTA in the artwork's otherwise blank
   panel. The full-size live form remains below, with no unreadable mini-fields. */
@media (max-width: 759px) {
    .hero.hero-integrated {
        padding: 12px 0 26px;
    }
    .owner-hero-scene {
        width: calc(100% - 40px);
        max-width: 500px;
    }
    .owner-hero-image {
        border-radius: 8px 8px 0 0;
    }
    .owner-hero-visual::after {
        height: 22%;
        border-radius: 8px 8px 0 0;
    }
    .hero-integrated .hero-copy {
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }
    .hero-integrated .hero-copy .eyebrow {
        position: absolute;
        left: 5%;
        top: 3%;
        width: 90%;
        margin: 0;
        font-size: 8px;
        letter-spacing: .085em;
    }
    .hero-integrated h1 {
        position: absolute;
        left: 5%;
        top: 7%;
        width: 90%;
        font-size: clamp(24px, 6.9vw, 34px);
        line-height: 1.05;
        letter-spacing: -.055em;
    }
    .hero-integrated .hero-description {
        position: absolute;
        left: 50%;
        top: 40%;
        width: 42%;
        max-width: none;
        margin: 0;
        font-size: clamp(12px, 3.1vw, 15px);
        line-height: 1.6;
        color: #253c49;
    }
    .hero-integrated .hero-link {
        position: absolute;
        left: 50%;
        top: 61%;
        width: 42%;
        min-height: 48px;
        margin: 0;
        padding: 11px 9px;
        gap: 7px;
        font-size: 11px;
        line-height: 1.5;
        pointer-events: auto;
    }
    .hero-integrated .hero-link .icon {
        width: 16px;
        height: 16px;
    }
    .hero-integrated .quote-card {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        padding: 28px 22px 24px;
        overflow: visible;
        background: #f0eeec;
        border-radius: 0 0 8px 8px;
    }
    .hero-integrated .quote-heading {
        padding-left: 0;
    }
    .hero-integrated .quote-heading h2 {
        font-size: clamp(23px, 5.7vw, 29px);
    }
    .hero-integrated .quote-heading > p:last-child {
        font-size: 13px;
    }
    .hero-integrated .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hero-integrated .field {
        margin-bottom: 18px;
    }
    .hero-integrated .field input:not([type=file]),
    .hero-integrated .field select,
    .hero-integrated .field textarea {
        min-height: 48px;
        font-size: 16px;
        padding: 11px 12px;
    }
    .hero-integrated .field label,
    .hero-integrated .project-choice legend {
        font-size: 12px;
    }
    .hero-integrated .form-progress {
        margin-block: 21px;
    }
    .hero-integrated .choice {
        min-height: 48px;
        font-size: 12px;
    }
    .hero-integrated .choice .icon {
        display: none;
    }
    .hero-integrated .next-step,
    .hero-integrated .submit-button {
        min-height: 52px;
        font-size: 12px;
    }
    .hero-integrated .form-trust {
        margin-top: 21px;
        padding-top: 16px;
    }
    .hero-integrated .optional-details summary {
        min-height: 48px;
    }
    .owner-hero-caption {
        width: calc(100% - 40px);
        max-width: 500px;
        margin-top: 12px;
        font-size: 10px;
    }
    .owner-hero-caption span {
        display: block;
        margin-left: 0;
    }
}
@media (max-width: 359px) {
    .hero-integrated .hero-link .icon {
        display: none;
    }
    .hero-integrated .quote-card {
        padding-inline: 16px;
    }
    .hero-integrated .choice-row {
        gap: 8px;
    }
    .hero-integrated .choice {
        padding-inline: 8px;
    }
}

/* Only the phone wizard: same DOM fields and backend, less content per view. */
.hero-integrated .compact-panel,
.hero-integrated .compact-nav {
    display: contents;
}
@media (max-width: 759px) {
    .owner-hero-scene {
        width: calc(100% - 16px);
    }
    .owner-hero-visual::after {
        height: 18%;
    }
    .hero-integrated .hero-description,
    .hero-integrated .hero-link {
        display: none;
    }
    .hero-integrated .quote-card {
        position: absolute;
        left: 33%;
        top: 24%;
        width: 62%;
        height: 57%;
        padding: 2px 3px;
        border-radius: 0;
        background: transparent;
        overflow: auto;
    }
    .compact-mobile .quote-heading {
        padding-left: 0;
    }
    .compact-mobile .quote-heading h2 {
        font-size: 18px;
        line-height: 1.15;
    }
    .compact-mobile .quote-heading > p,
    .compact-mobile .form-progress,
    .compact-mobile .step-note,
    .compact-mobile .form-trust,
    .compact-mobile .required-note {
        display: none;
    }
    .compact-mobile .compact-progress {
        margin: 4px 0 9px;
        color: #4c5c65;
        font-size: 10px;
        line-height: 1.5;
    }
    .compact-mobile .field {
        margin-bottom: 5px;
    }
    .compact-mobile .field label,
    .compact-mobile .project-choice legend {
        font-size: 11px;
        line-height: 1.35;
        margin-bottom: 3px;
    }
    .compact-mobile .field input:not([type=file]),
    .compact-mobile .field select,
    .compact-mobile .field textarea {
        min-height: 44px;
        padding: 8px 9px;
        font-size: 16px;
    }
    .compact-mobile .project-choice {
        margin-bottom: 7px;
    }
    .compact-mobile .choice-row {
        gap: 5px;
    }
    .compact-mobile .choice {
        min-height: 44px;
        padding: 7px 5px;
        font-size: 10px;
        gap: 4px;
    }
    .compact-mobile .radio-dot {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }
    .hero-integrated.compact-mobile .compact-nav {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 6px;
        align-items: stretch;
        margin-top: 7px;
    }
    .compact-mobile .compact-nav .back-step {
        grid-column: 1;
        grid-row: 1;
        min-height: 44px;
        margin: 0;
        padding: 5px 0;
        text-align: left;
        font-size: 11px;
    }
    .compact-mobile .compact-contact-next,
    .compact-mobile .compact-nav .submit-button {
        grid-column: 2;
        grid-row: 1;
    }
    .compact-mobile .next-step,
    .compact-mobile .compact-contact-next,
    .compact-mobile .submit-button {
        min-height: 44px;
        margin: 0;
        padding: 9px 6px;
        font-size: 12px;
        line-height: 1.35;
    }
    .compact-mobile .privacy-check {
        min-height: 44px;
        margin: 6px 0 3px;
        gap: 5px;
        font-size: 10px;
        line-height: 1.5;
    }
    .compact-mobile .optional-details {
        margin: 2px 0 6px;
    }
    .compact-mobile .optional-details summary {
        min-height: 44px;
        padding-block: 6px;
        font-size: 10px;
        line-height: 1.5;
    }
    .compact-mobile .optional-details summary span {
        display: none;
    }
    .compact-mobile .form-error {
        font-size: 10px;
        padding: 7px;
        margin: 5px 0;
    }
    .compact-mobile .field-error {
        font-size: 10px;
        line-height: 1.4;
    }
    .compact-mobile .form-success {
        padding: 8px 0;
    }
    .compact-mobile .form-success h3 {
        font-size: 18px;
    }
    .compact-mobile .form-success p {
        font-size: 12px;
    }
    .compact-mobile .form-success .button {
        min-height: 44px;
        font-size: 11px;
        padding-inline: 6px;
    }
}
