.nrl-contact-page {
    --nrl-contact-ink: #101828;
    --nrl-contact-muted: #5f6b7a;
    --nrl-contact-line: #dfe6e3;
    --nrl-contact-surface: #ffffff;
    --nrl-contact-soft: #f4f8f5;
    background: #f7f9f8;
    color: var(--nrl-contact-ink);
}

.nrl-contact-page *,
.nrl-contact-page *::before,
.nrl-contact-page *::after {
    box-sizing: border-box;
}

.nrl-contact-section {
    position: relative;
    padding: 88px 0 72px;
    overflow: hidden;
}

.nrl-contact-section::before {
    position: absolute;
    top: -220px;
    right: -190px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 163, 74, .12), rgba(22, 163, 74, 0) 68%);
    content: "";
    pointer-events: none;
}

.nrl-contact-heading {
    position: relative;
    z-index: 1;
    max-width: 790px;
    margin: 0 auto 44px;
    text-align: center;
}

.nrl-contact-eyebrow,
.nrl-contact-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--nrl-theme-accent, #16a34a);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nrl-contact-heading h2,
.nrl-contact-form-card__header h2,
.nrl-contact-map-card__heading h2,
.nrl-contact-offices__heading h2,
.nrl-contact-panel h2 {
    margin: 0;
    color: var(--nrl-contact-ink);
    font-family: inherit;
    font-weight: 750;
    letter-spacing: -.025em;
}

.nrl-contact-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.nrl-contact-heading p {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--nrl-contact-muted);
    font-size: 17px;
    line-height: 1.72;
}

.nrl-contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(290px, .78fr) minmax(0, 1.45fr);
    gap: 26px;
    align-items: stretch;
}

.nrl-contact-panel,
.nrl-contact-form-card {
    border-radius: 24px;
    box-shadow: 0 22px 65px rgba(15, 23, 42, .1);
}

.nrl-contact-panel {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 100% 0, rgba(22, 163, 74, .24), transparent 34%),
        linear-gradient(155deg, #050505, #171717 68%, #0b2213);
    color: #fff;
}

.nrl-contact-panel__eyebrow {
    color: #86efac;
}

.nrl-contact-panel h2 {
    max-width: 410px;
    color: #fff;
    font-size: clamp(26px, 3vw, 37px);
    line-height: 1.18;
}

.nrl-contact-panel > div:first-child > p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.7;
}

.nrl-contact-methods {
    display: grid;
    gap: 11px;
    margin: 34px 0;
}

.nrl-contact-method {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .055);
    color: #fff;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

a.nrl-contact-method:hover,
a.nrl-contact-method:focus-visible {
    border-color: rgba(134, 239, 172, .5);
    background: rgba(22, 163, 74, .16);
    color: #fff;
    outline: none;
    transform: translateY(-2px);
}

.nrl-contact-method__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(134, 239, 172, .14);
    color: #86efac;
    font-size: 17px;
}

.nrl-contact-method > span:last-child {
    min-width: 0;
}

.nrl-contact-method small,
.nrl-contact-method strong {
    display: block;
}

.nrl-contact-method small {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nrl-contact-method strong {
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.nrl-contact-method--address {
    align-items: flex-start;
}

.nrl-contact-panel__note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .67);
    font-size: 13px;
    line-height: 1.5;
}

.nrl-contact-panel__note i {
    color: #86efac;
}

.nrl-contact-form-card {
    min-width: 0;
    padding: 38px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: var(--nrl-contact-surface);
}

.nrl-contact-form-card__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.nrl-contact-form-card__header h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
}

.nrl-contact-response {
    display: inline-flex;
    max-width: 230px;
    align-items: flex-start;
    gap: 7px;
    color: var(--nrl-contact-muted);
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
}

.nrl-contact-response i {
    margin-top: 2px;
    color: var(--nrl-theme-accent, #16a34a);
}

.nrl-contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 14px;
}

.nrl-contact-alert > i {
    margin-top: 3px;
    font-size: 20px;
}

.nrl-contact-alert h3 {
    margin: 0 0 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
}

.nrl-contact-alert p,
.nrl-contact-alert ul {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.nrl-contact-alert ul {
    padding-left: 18px;
}

.nrl-contact-alert--success {
    border-color: #a7e7ba;
    background: #effcf2;
    color: #116329;
}

.nrl-contact-alert--error {
    border-color: #fecaca;
    background: #fff4f4;
    color: #991b1b;
}

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

.nrl-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.nrl-contact-field {
    min-width: 0;
}

.nrl-contact-field--full {
    grid-column: 1 / -1;
}

.nrl-contact-field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
    color: #243147;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.nrl-contact-field label > span:not(.nrl-contact-optional) {
    color: #dc2626;
}

.nrl-contact-optional {
    color: #8993a3;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nrl-contact-field input,
.nrl-contact-field select,
.nrl-contact-field textarea {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid var(--nrl-contact-line);
    border-radius: 11px;
    background: #fbfcfc;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
    color: var(--nrl-contact-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 450;
    line-height: 1.5;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.nrl-contact-field input,
.nrl-contact-field select {
    height: 52px;
    padding: 0 14px;
}

.nrl-contact-field select {
    padding-right: 36px;
    cursor: pointer;
}

.nrl-contact-field textarea {
    min-height: 142px;
    padding: 13px 14px;
    resize: vertical;
}

.nrl-contact-field input::placeholder,
.nrl-contact-field textarea::placeholder {
    color: #9aa4b2;
    opacity: 1;
}

.nrl-contact-field input:hover,
.nrl-contact-field select:hover,
.nrl-contact-field textarea:hover {
    border-color: #b9c6c0;
}

.nrl-contact-field input:focus,
.nrl-contact-field select:focus,
.nrl-contact-field textarea:focus {
    border-color: var(--nrl-theme-accent, #16a34a);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .11);
}

.nrl-contact-field.has-error input,
.nrl-contact-field.has-error select,
.nrl-contact-field.has-error textarea {
    border-color: #ef4444;
    background: #fffafa;
}

.nrl-contact-field__error {
    display: block;
    margin-top: 6px;
    color: #c92525;
    font-size: 12px;
    line-height: 1.45;
}

.nrl-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 0;
    color: var(--nrl-contact-muted);
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}

.nrl-contact-consent input[type="checkbox"] {
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
    width: 20px;
    min-width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 1px 0 0;
    opacity: 1 !important;
    appearance: auto;
    -webkit-appearance: checkbox;
    accent-color: var(--nrl-theme-accent, #16a34a);
    cursor: pointer;
}

.nrl-contact-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--nrl-theme-secondary, #0ea5e9);
    outline-offset: 3px;
}

.nrl-contact-consent strong {
    color: #b42318;
}

.nrl-contact-consent.has-error {
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #f4b4b4;
    border-radius: 8px;
    background: #fff7f7;
    color: #9f1f1f;
}

.nrl-contact-consent + .nrl-contact-field__error {
    margin-top: 5px;
}

.nrl-contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #e9eeeb;
}

.nrl-contact-submit {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border: 1px solid #090909;
    border-radius: 11px;
    background: linear-gradient(135deg, #050505, #202020);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .015em;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nrl-contact-submit:hover,
.nrl-contact-submit:focus-visible {
    border-color: var(--nrl-theme-accent, #16a34a);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
    outline: none;
    transform: translateY(-2px);
}

.nrl-contact-submit:disabled,
.nrl-contact-submit.is-submitting {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.nrl-contact-form__footer p {
    display: flex;
    max-width: 280px;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    color: #7b8794;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.nrl-contact-form__footer p i {
    margin-top: 2px;
    color: var(--nrl-theme-accent, #16a34a);
}

.nrl-contact-map-section {
    padding: 0 0 72px;
}

.nrl-contact-map-card {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .08);
}

.nrl-contact-map-card__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
}

.nrl-contact-map-card__heading h2,
.nrl-contact-offices__heading h2 {
    font-size: clamp(25px, 3vw, 35px);
    line-height: 1.2;
}

.nrl-contact-map-card__heading > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid transparent;
    color: #117a32;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.nrl-contact-map-card__heading > a:hover,
.nrl-contact-map-card__heading > a:focus-visible {
    border-bottom-color: currentColor;
    color: #0a5e25;
    outline: none;
}

.nrl-contact-map-card iframe {
    display: block;
    width: 100%;
    min-height: 360px;
    filter: saturate(.86) contrast(.98);
}

.nrl-contact-offices {
    padding: 72px 0 92px;
    background: #eef4f0;
}

.nrl-contact-offices__heading {
    margin-bottom: 34px;
    text-align: center;
}

.nrl-contact-office-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nrl-contact-office-card {
    min-width: 0;
    padding: 26px 24px;
    border: 1px solid #dce5df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .055);
}

.nrl-contact-office-card__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 13px;
    background: #eaf8ee;
    color: #118135;
    font-size: 18px;
}

.nrl-contact-office-card h3 {
    margin: 0 0 13px;
    color: var(--nrl-contact-ink);
    font-family: inherit;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.3;
}

.nrl-contact-office-card address,
.nrl-contact-office-card p {
    margin: 0;
    color: var(--nrl-contact-muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.nrl-contact-office-card address + p,
.nrl-contact-office-card p + .nrl-contact-office-card__link {
    margin-top: 12px;
}

.nrl-contact-office-card a {
    color: #117a32;
    font-weight: 650;
    text-decoration: none;
}

.nrl-contact-office-card a:hover,
.nrl-contact-office-card a:focus-visible {
    color: #075d23;
    text-decoration: underline;
    outline: none;
}

.nrl-contact-office-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

@media (max-width: 1120px) {
    .nrl-contact-layout {
        grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
    }

    .nrl-contact-panel,
    .nrl-contact-form-card {
        padding: 30px;
    }

    .nrl-contact-office-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nrl-contact-section {
        padding: 68px 0 58px;
    }

    .nrl-contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .nrl-contact-panel {
        min-height: auto;
    }

    .nrl-contact-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nrl-contact-section {
        padding: 52px 0 44px;
    }

    .nrl-contact-heading {
        margin-bottom: 30px;
        text-align: left;
    }

    .nrl-contact-heading h2 {
        font-size: 30px;
    }

    .nrl-contact-heading p {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.65;
    }

    .nrl-contact-panel,
    .nrl-contact-form-card,
    .nrl-contact-map-card {
        border-radius: 18px;
    }

    .nrl-contact-panel,
    .nrl-contact-form-card {
        padding: 24px 20px;
    }

    .nrl-contact-panel h2,
    .nrl-contact-form-card__header h2 {
        font-size: 27px;
    }

    .nrl-contact-methods,
    .nrl-contact-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nrl-contact-form-card__header,
    .nrl-contact-form__footer,
    .nrl-contact-map-card__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .nrl-contact-form-card__header {
        margin-bottom: 24px;
    }

    .nrl-contact-response,
    .nrl-contact-form__footer p {
        max-width: none;
        text-align: left;
    }

    .nrl-contact-field--full {
        grid-column: auto;
    }

    .nrl-contact-submit {
        width: 100%;
    }

    .nrl-contact-map-section {
        padding-bottom: 44px;
    }

    .nrl-contact-map-card__heading {
        gap: 14px;
        padding: 22px 20px;
    }

    .nrl-contact-map-card iframe {
        height: 340px;
        min-height: 340px;
    }

    .nrl-contact-offices {
        padding: 52px 0 66px;
    }

    .nrl-contact-offices__heading {
        text-align: left;
    }

    .nrl-contact-office-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nrl-contact-office-card {
        padding: 23px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nrl-contact-page *,
    .nrl-contact-page *::before,
    .nrl-contact-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
