.nencer-contact-page {
    background: #fff;
    color: var(--home-ink, #103f3a);
}

.nencer-contact-hero {
    background:
        linear-gradient(115deg, rgba(8, 122, 105, .97), rgba(5, 91, 79, .92)),
        url('/assets/images/home/hero-02.jpg') center 42% / cover;
    color: #fff;
    overflow: hidden;
    padding: 52px 0 58px;
    position: relative;
}

.nencer-contact-hero::after {
    background: rgba(255, 255, 255, .09);
    content: "";
    height: 320px;
    position: absolute;
    right: -85px;
    top: -130px;
    transform: rotate(24deg);
    width: 420px;
}

.nencer-contact-hero .nencer-container {
    position: relative;
    z-index: 1;
}

.nencer-contact-breadcrumb {
    align-items: center;
    display: flex;
    font-size: 13px;
    gap: 10px;
    margin-bottom: 27px;
}

.nencer-contact-breadcrumb a,
.nencer-contact-breadcrumb span {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.nencer-contact-breadcrumb a:hover { color: #fff; }
.nencer-contact-breadcrumb i { font-size: 8px; opacity: .65; }

.nencer-contact-eyebrow,
.nencer-contact-card-label,
.nencer-contact-form-heading > span,
.nencer-contact-map-heading span {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nencer-contact-eyebrow { color: #c7fff5; }

.nencer-contact-hero h1 {
    font-size: clamp(35px, 4vw, 54px);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 9px 0 13px;
}

.nencer-contact-hero p {
    color: rgba(255, 255, 255, .84);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    max-width: 690px;
}

.nencer-contact-section {
    background: #f5faf9;
    padding: 62px 0;
}

.nencer-contact-grid {
    align-items: stretch;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(320px, .78fr) minmax(560px, 1.22fr);
}

.nencer-contact-info-card,
.nencer-contact-form-card {
    background: #fff;
    border: 1px solid var(--home-line, #d8e8e5);
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(9, 87, 76, .07);
}

.nencer-contact-info-card { padding: 38px; }
.nencer-contact-card-label,
.nencer-contact-form-heading > span,
.nencer-contact-map-heading span { color: var(--home-primary, #087a69); }

.nencer-contact-info-card h2,
.nencer-contact-form-heading h2,
.nencer-contact-map-heading h2 {
    color: var(--home-ink, #103f3a);
    font-weight: 850;
    letter-spacing: -.025em;
}

.nencer-contact-info-card h2 {
    font-size: 27px;
    line-height: 1.25;
    margin: 8px 0 11px;
}

.nencer-contact-intro {
    color: var(--home-muted, #647c77);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.nencer-contact-info-list {
    border-top: 1px solid var(--home-line, #d8e8e5);
    display: grid;
}

.nencer-contact-info-list > div {
    align-items: center;
    border-bottom: 1px solid var(--home-line, #d8e8e5);
    display: flex;
    gap: 15px;
    padding: 17px 0;
}

.nencer-contact-info-icon {
    align-items: center;
    background: var(--home-primary-soft, #e9f6f3);
    border-radius: 10px;
    color: var(--home-primary, #087a69);
    display: flex;
    flex: 0 0 46px;
    font-size: 16px;
    height: 46px;
    justify-content: center;
}

.nencer-contact-info-list p {
    display: grid;
    gap: 3px;
    margin: 0;
}

.nencer-contact-info-list strong {
    color: var(--home-ink, #103f3a);
    font-size: 13px;
}

.nencer-contact-info-list a,
.nencer-contact-info-list span {
    color: var(--home-muted, #647c77);
    font-size: 13px;
    text-decoration: none;
}

.nencer-contact-info-list a:hover { color: var(--home-primary, #087a69); }

.nencer-contact-direct {
    align-items: center;
    background: var(--home-primary, #087a69);
    border-radius: 10px;
    color: #fff;
    display: grid;
    gap: 13px;
    grid-template-columns: auto 1fr auto;
    margin-top: 25px;
    padding: 18px;
}

.nencer-contact-direct > i { font-size: 21px; }
.nencer-contact-direct div { display: grid; gap: 2px; }
.nencer-contact-direct strong { font-size: 13px; }
.nencer-contact-direct span { color: rgba(255, 255, 255, .76); font-size: 11px; }

.nencer-contact-direct > a {
    align-items: center;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    color: #fff;
    display: flex;
    height: 34px;
    justify-content: center;
    text-decoration: none;
    width: 34px;
}

.nencer-contact-form-card { padding: 38px 42px; }
.nencer-contact-form-heading { margin-bottom: 25px; }

.nencer-contact-form-heading h2 {
    font-size: 30px;
    margin: 7px 0 7px;
}

.nencer-contact-form-heading p {
    color: var(--home-muted, #647c77);
    font-size: 13px;
    margin: 0;
}

.nencer-contact-form-heading p strong,
.nencer-contact-field label span { color: #c93939; }

.nencer-contact-fields {
    display: grid;
    gap: 17px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nencer-contact-field.is-wide { grid-column: 1 / -1; }

.nencer-contact-field label {
    color: var(--home-ink, #103f3a);
    display: block;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 7px;
}

.nencer-contact-field .form-control {
    background: #fbfdfd;
    border: 1px solid #cfdeda;
    border-radius: 8px;
    box-shadow: none;
    color: var(--home-ink, #103f3a);
    font-size: 14px;
    min-height: 49px;
    padding: 12px 14px;
}

.nencer-contact-field textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

.nencer-contact-field .form-control:focus {
    background: #fff;
    border-color: var(--home-primary, #087a69);
    box-shadow: 0 0 0 3px rgba(8, 122, 105, .1);
}

.nencer-contact-field .validation-message {
    color: #bc3434;
    font-size: 11px;
    margin-top: 5px;
}

.nencer-contact-submit-row {
    align-items: center;
    border-top: 1px solid var(--home-line, #d8e8e5);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 22px;
}

.nencer-contact-submit-row p {
    color: var(--home-muted, #647c77);
    font-size: 11px;
    line-height: 1.55;
    margin: 0;
    max-width: 330px;
}

.nencer-contact-submit-row p i { color: var(--home-primary, #087a69); margin-right: 4px; }

.nencer-contact-submit {
    align-items: center;
    background: var(--home-primary, #087a69);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(8, 122, 105, .22);
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    min-width: 155px;
    padding: 12px 23px;
    transition: background .18s ease, transform .18s ease;
}

.nencer-contact-submit:hover:not(:disabled) {
    background: var(--home-primary-dark, #056658);
    transform: translateY(-1px);
}

.nencer-contact-submit:disabled { cursor: wait; opacity: .72; }

.nencer-contact-success {
    align-items: flex-start;
    background: #ecfaf5;
    border: 1px solid #bde7d7;
    border-radius: 9px;
    color: #175d4d;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
}

.nencer-contact-success > span {
    align-items: center;
    background: #15956f;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 31px;
    height: 31px;
    justify-content: center;
}

.nencer-contact-success strong { display: block; font-size: 13px; margin-bottom: 3px; }
.nencer-contact-success p { font-size: 12px; line-height: 1.55; margin: 0; }
.nencer-contact-alert { font-size: 13px; margin-bottom: 20px; }

.nencer-contact-map-section { padding: 56px 0 70px; }

.nencer-contact-map-heading {
    align-items: flex-end;
    display: flex;
    gap: 22px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nencer-contact-map-heading h2 { font-size: 27px; margin: 5px 0 0; }

.nencer-contact-map-heading > a {
    color: var(--home-primary, #087a69);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.nencer-contact-map-heading > a i { margin-left: 6px; }

.nencer-contact-map {
    border: 1px solid var(--home-line, #d8e8e5);
    border-radius: 10px;
    box-shadow: 0 16px 45px rgba(9, 87, 76, .08);
    height: 410px;
    overflow: hidden;
}

.nencer-contact-map iframe { border: 0; height: 100%; width: 100%; }

/* Contact administration */
.contact-admin-page {
    background: #f3f7f6;
    color: #254b46;
    min-height: calc(100vh - 64px);
    padding: 26px;
}

.contact-admin-heading {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.contact-admin-eyebrow {
    color: #087a69;
    display: block;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-admin-heading h1 {
    color: #123f39;
    font-size: 30px;
    font-weight: 850;
    letter-spacing: -.025em;
    margin: 0 0 5px;
}

.contact-admin-heading p { color: #6a817d; margin: 0; }
.contact-admin-alert { box-shadow: 0 8px 24px rgba(27, 75, 68, .06); margin-bottom: 18px; }

.contact-admin-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.contact-stat-card {
    --stat-color: #087a69;
    background: #fff;
    border: 1px solid #dce8e6;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(27, 75, 68, .05);
    color: #54706b;
    display: grid;
    min-height: 132px;
    overflow: hidden;
    padding: 19px 20px;
    position: relative;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.contact-stat-card::after {
    background: var(--stat-color);
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 4px;
}

.contact-stat-card:hover { border-color: var(--stat-color); box-shadow: 0 13px 30px rgba(27, 75, 68, .1); transform: translateY(-2px); }
.contact-stat-card > span { align-items: center; display: flex; font-size: 12px; font-weight: 850; gap: 8px; text-transform: uppercase; }
.contact-stat-card > span i { color: var(--stat-color); font-size: 15px; }
.contact-stat-card strong { color: #123f39; font-size: 33px; font-weight: 850; line-height: 1; margin: 12px 0 5px; }
.contact-stat-card small { color: #839691; font-size: 11px; }
.contact-stat-card.is-pending { --stat-color: #cc8616; }
.contact-stat-card.is-responded { --stat-color: #16805e; }
.contact-stat-card.is-canceled { --stat-color: #a95050; }

.contact-admin-card {
    background: #fff;
    border: 1px solid #dce8e6;
    border-radius: 10px;
    box-shadow: 0 12px 34px rgba(27, 75, 68, .06);
    overflow: hidden;
}

.contact-admin-filters {
    align-items: center;
    border-bottom: 1px solid #e3ecea;
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(300px, 1fr) 190px auto auto;
    padding: 16px;
}

.contact-search-field { position: relative; }
.contact-search-field i { color: #829792; left: 13px; position: absolute; top: 12px; }
.contact-search-field input { padding-left: 38px; }
.contact-clear-filter { font-size: 12px; white-space: nowrap; }

.contact-table-summary {
    align-items: center;
    background: #fafcfc;
    border-bottom: 1px solid #e5edeb;
    color: #657d78;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    padding: 10px 16px;
}

.contact-table-summary a { color: #087a69; font-weight: 700; text-decoration: none; }
.contact-table-summary a i { margin-right: 5px; }

.contact-admin-table th {
    background: #f2f7f6;
    border-color: #dfe9e7;
    color: #647c77;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
    padding: 12px 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.contact-admin-table td { border-color: #e7eeed; color: #355b55; font-size: 13px; padding: 14px; }
.contact-sender { align-items: center; display: flex; gap: 11px; min-width: 240px; }
.contact-sender > div { display: grid; gap: 2px; }
.contact-sender strong { color: #173f39; }
.contact-sender a { color: #718983; font-size: 11px; text-decoration: none; }

.contact-avatar {
    align-items: center;
    background: #e5f4f1;
    border: 1px solid #cce6e1;
    border-radius: 50%;
    color: #087a69;
    display: flex;
    flex: 0 0 42px;
    font-size: 12px;
    font-weight: 850;
    height: 42px;
    justify-content: center;
}

.contact-avatar.is-large { flex-basis: 58px; font-size: 15px; height: 58px; }
.contact-content-cell { max-width: 430px; min-width: 290px; }
.contact-content-cell > strong { color: #173f39; display: block; margin-bottom: 5px; }
.contact-content-cell p { color: #718783; display: -webkit-box; font-size: 12px; line-height: 1.55; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.contact-date { color: #274f49; display: block; font-weight: 750; min-width: 125px; }
.contact-admin-table td > small { color: #8a9c98; display: block; font-size: 10px; margin-top: 4px; }

.contact-status-select {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    min-width: 145px;
    padding-bottom: 7px;
    padding-top: 7px;
}

.contact-status-select.is-pending { background-color: #fff7e8; border-color: #f0d295; color: #966311; }
.contact-status-select.is-responded { background-color: #eaf8f3; border-color: #bde2d5; color: #146b50; }
.contact-status-select.is-canceled { background-color: #faeeee; border-color: #ebc6c6; color: #995050; }

.contact-view-button {
    background: #fff;
    border: 1px solid #cfe0dd;
    border-radius: 7px;
    color: #087a69;
    font-size: 12px;
    font-weight: 750;
    padding: 7px 10px;
    white-space: nowrap;
}

.contact-view-button:hover { background: #edf7f5; }

.contact-empty {
    align-items: center;
    color: #78908b;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    min-height: 210px;
    text-align: center;
}

.contact-empty > i { color: #9bb2ad; font-size: 30px; }
.contact-empty strong { color: #4b6c66; font-size: 14px; }
.contact-empty span { font-size: 12px; }

.contact-modal-backdrop {
    align-items: center;
    background: rgba(12, 38, 34, .58);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 1100;
}

.contact-modal {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(3, 28, 24, .25);
    max-height: calc(100vh - 44px);
    max-width: 680px;
    overflow: auto;
    width: 100%;
}

.contact-modal > header {
    align-items: flex-start;
    border-bottom: 1px solid #e1ebe9;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 23px 25px;
}

.contact-modal > header span { color: #087a69; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.contact-modal > header h2 { color: #143f39; font-size: 21px; font-weight: 850; margin: 5px 0 0; }
.contact-modal > header button { align-items: center; background: #edf5f3; border: 0; border-radius: 7px; color: #56736d; display: flex; flex: 0 0 36px; height: 36px; justify-content: center; }
.contact-modal-body { padding: 25px; }
.contact-detail-person { align-items: center; display: flex; gap: 13px; }
.contact-detail-person > div { display: grid; gap: 4px; }
.contact-detail-person strong { color: #173f39; font-size: 15px; }
.contact-detail-person a { color: #6b837e; font-size: 12px; text-decoration: none; }
.contact-detail-person a i { color: #087a69; margin-right: 5px; width: 13px; }

.contact-detail-meta {
    background: #f5f9f8;
    border-radius: 8px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 22px 0;
    padding: 16px;
}

.contact-detail-meta > div { display: grid; gap: 6px; }
.contact-detail-meta dt { color: #78908b; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.contact-detail-meta dd { color: #274f49; font-size: 13px; margin: 0; }
.contact-status-badge { border-radius: 999px; display: inline-block; font-size: 11px; font-weight: 800; padding: 5px 10px; }
.contact-status-badge.is-pending { background: #fff0d3; color: #986510; }
.contact-status-badge.is-responded { background: #def4eb; color: #12684c; }
.contact-status-badge.is-canceled { background: #f7e4e4; color: #965050; }
.contact-detail-message > span { color: #087a69; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.contact-detail-message p { color: #405f5a; font-size: 14px; line-height: 1.75; margin: 8px 0 0; white-space: pre-wrap; }

.contact-modal > footer {
    align-items: center;
    background: #f8fbfa;
    border-top: 1px solid #e1ebe9;
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    padding: 16px 25px;
}

@media (max-width: 991.98px) {
    .nencer-contact-grid { grid-template-columns: 1fr; }
    .nencer-contact-info-card,
    .nencer-contact-form-card { padding: 30px; }
    .contact-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-admin-filters { grid-template-columns: minmax(240px, 1fr) 180px auto; }
    .contact-clear-filter { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 767.98px) {
    .nencer-contact-hero { padding: 38px 0 43px; }
    .nencer-contact-hero h1 { font-size: 34px; }
    .nencer-contact-hero p { font-size: 15px; }
    .nencer-contact-section { padding: 38px 0; }
    .nencer-contact-info-card,
    .nencer-contact-form-card { padding: 24px 20px; }
    .nencer-contact-fields { grid-template-columns: 1fr; }
    .nencer-contact-field.is-wide { grid-column: auto; }
    .nencer-contact-submit-row { align-items: stretch; flex-direction: column; }
    .nencer-contact-submit { width: 100%; }
    .nencer-contact-map-section { padding: 38px 0 48px; }
    .nencer-contact-map-heading { align-items: flex-start; flex-direction: column; }
    .nencer-contact-map { height: 330px; }

    .contact-admin-page { padding: 18px 14px; }
    .contact-admin-heading { align-items: flex-start; flex-direction: column; }
    .contact-admin-heading h1 { font-size: 26px; }
    .contact-admin-stats { gap: 10px; grid-template-columns: 1fr 1fr; }
    .contact-stat-card { min-height: 116px; padding: 16px; }
    .contact-stat-card strong { font-size: 28px; }
    .contact-admin-filters { grid-template-columns: 1fr; }
    .contact-clear-filter { grid-column: auto; }
    .contact-table-summary { align-items: flex-start; flex-direction: column; gap: 5px; }
    .contact-modal-backdrop { padding: 10px; }
    .contact-modal > header,
    .contact-modal-body { padding: 19px; }
    .contact-detail-meta { grid-template-columns: 1fr; }
    .contact-modal > footer { align-items: stretch; flex-direction: column; padding: 14px 19px; }
    .contact-modal > footer .btn { width: 100%; }
}

@media (max-width: 430px) {
    .contact-admin-stats { grid-template-columns: 1fr; }
}
