/* Print Norwood homepage usability improvements */
#pn-home-forms-route {
    box-sizing: border-box;
    width: min(1220px, calc(100% - 40px));
    margin: 24px auto 38px;
    padding: clamp(20px, 3vw, 30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #10213d;
    background: #f3f7fc;
    border: 1px solid #d9e3f0;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(16, 33, 61, 0.08);
}

#pn-home-forms-route * {
    box-sizing: border-box;
}

#pn-home-forms-route .pn-home-forms-copy {
    min-width: 0;
    max-width: 760px;
}

#pn-home-forms-route .pn-home-forms-kicker {
    margin: 0 0 7px;
    color: #1b5fae;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#pn-home-forms-route h2 {
    margin: 0 0 8px;
    color: #10213d;
    font-size: clamp(1.25rem, 2.3vw, 1.8rem);
    line-height: 1.2;
}

#pn-home-forms-route p {
    margin: 0;
    color: #33445d;
    line-height: 1.55;
}

#pn-home-forms-route .pn-home-forms-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

#pn-home-forms-route .pn-home-forms-link {
    min-height: 46px;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #173d70;
    border-radius: 10px;
    color: #173d70;
    background: #fff;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

#pn-home-forms-route .pn-home-forms-link:hover,
#pn-home-forms-route .pn-home-forms-link:focus-visible {
    color: #fff;
    background: #173d70;
    transform: translateY(-1px);
}

#pn-home-forms-route .pn-home-forms-link-primary {
    border-color: #f5bd18;
    color: #10213d;
    background: #f5bd18;
}

#pn-home-forms-route .pn-home-forms-link-primary:hover,
#pn-home-forms-route .pn-home-forms-link-primary:focus-visible {
    border-color: #e3a900;
    color: #10213d;
    background: #e3a900;
}

#pn-home-forms-route a:focus-visible {
    outline: 3px solid #1265b2;
    outline-offset: 3px;
}

body.pn-home-planner-visible .pn-home-floating-whatsapp {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.pn-home-floating-whatsapp {
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

@media (max-width: 820px) {
    #pn-home-forms-route {
        width: min(100% - 28px, 680px);
        margin: 18px auto 28px;
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    #pn-home-forms-route .pn-home-forms-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    #pn-home-forms-route {
        width: calc(100% - 24px);
        padding: 19px;
        border-radius: 14px;
    }

    #pn-home-forms-route .pn-home-forms-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    #pn-home-forms-route .pn-home-forms-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #pn-home-forms-route .pn-home-forms-link,
    .pn-home-floating-whatsapp {
        transition: none;
    }
}
