.pn-contact-trigger {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    font: 700 15px/1 "DM Sans", sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(21, 63, 70, 0.24);
    background: #174f59;
    color: #fff;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.pn-contact-trigger:hover,
.pn-contact-trigger:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(21, 63, 70, 0.3);
}

.pn-contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(13, 35, 39, 0.62);
    backdrop-filter: blur(5px);
}

.pn-contact-overlay[hidden] {
    display: none;
}

.pn-contact-dialog {
    position: relative;
    width: min(100%, 660px);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    border-radius: 20px;
    padding: 34px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.pn-contact-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #24474d;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.pn-contact-eyebrow {
    margin: 0 0 8px;
    color: #3d7a82;
    font: 700 13px/1.2 "DM Sans", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pn-contact-dialog h2 {
    margin: 0 44px 10px 0;
    color: #173f46;
    font: 700 clamp(27px, 4vw, 38px)/1.15 "Libre Baskerville", serif;
}

.pn-contact-intro {
    margin: 0 0 24px;
    color: #4b6267;
    line-height: 1.65;
}

.pn-contact-form {
    display: grid;
    gap: 16px;
}

.pn-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pn-contact-field {
    display: grid;
    gap: 7px;
}

.pn-contact-field label {
    color: #25484f;
    font: 700 14px/1.3 "DM Sans", sans-serif;
}

.pn-contact-field input,
.pn-contact-field select,
.pn-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b9cdd1;
    border-radius: 10px;
    padding: 12px 13px;
    background: #fff;
    color: #183b42;
    font: 400 16px/1.4 "DM Sans", sans-serif;
}

.pn-contact-field textarea {
    resize: vertical;
    min-height: 125px;
}

.pn-contact-field input:focus,
.pn-contact-field select:focus,
.pn-contact-field textarea:focus {
    outline: 3px solid rgba(63, 138, 148, 0.2);
    border-color: #3f8a94;
}

.pn-contact-submit {
    justify-self: start;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    background: #174f59;
    color: #fff;
    font: 700 15px/1 "DM Sans", sans-serif;
    cursor: pointer;
}

.pn-contact-submit[disabled] {
    cursor: wait;
    opacity: 0.65;
}

.pn-contact-status {
    min-height: 22px;
    margin: 0;
    font: 600 14px/1.5 "DM Sans", sans-serif;
}

.pn-contact-status.is-success {
    color: #24643f;
}

.pn-contact-status.is-error {
    color: #9c2f2f;
}

.pn-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

body.pn-contact-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .pn-contact-trigger {
        right: 16px;
        bottom: 16px;
        padding: 13px 17px;
    }

    .pn-contact-dialog {
        padding: 28px 20px 22px;
        border-radius: 16px;
    }

    .pn-contact-grid {
        grid-template-columns: 1fr;
    }
}
