/* =========================================================
   LMIIT MODERN PARTNER CENTERS PAGE
========================================================= */

:root {
    --navy: #0d3979;
    --navy-dark: #082b5e;
    --blue: #1685d8;
    --ink: #172b43;
    --muted: #718096;
    --line: #e3eaf2;
    --surface: #ffffff;
    --page: #f5f8fc;
    --shadow: 0 18px 45px rgba(20, 55, 92, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at 5% 0%, rgba(24, 133, 216, .08), transparent 28%),
        radial-gradient(circle at 100% 40%, rgba(91, 69, 217, .06), transparent 30%),
        var(--page);
}

button, a { font-family: inherit; }

.centers-page {
    min-height: 100vh;
    padding: 20px 0 45px;
}

.container {
    max-width: 991.98px;
}

/* Breadcrumb */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: #8390a0;
    font-size: 12px;
}

.breadcrumb-modern a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-modern a:hover { color: var(--blue); }
.breadcrumb-modern span { color: #aab4c0; }
.breadcrumb-modern strong { color: #5c6a7a; font-weight: 600; }

/* Hero */
.hero-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 25px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #f0f6ff 100%);
    box-shadow: var(--shadow);
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: -95px;
    top: -115px;
    border-radius: 50%;
    background: rgba(22, 133, 216, .07);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.brand-mark {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: white;
    font-size: 27px;
    background: linear-gradient(145deg, #164b94, #0a326e);
    box-shadow: 0 12px 25px rgba(13, 57, 121, .20);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-copy h1 {
    margin: 0;
    color: #122e51;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
    font-weight: 800;
}

.intro {
    max-width: 767.98px;
    margin: 9px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #e2eaf3;
    border-radius: 8px;
    color: #5d6d7f;
    background: rgba(255,255,255,.8);
    font-size: 10px;
}

.contact-meta i { color: var(--navy); }
.contact-meta b { color: #314861; }

/* Stats */
.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    align-content: center;
}

.stat-item {
    min-height: 105px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 7px 22px rgba(30, 65, 100, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(30, 65, 100, .10);
}

.stat-icon {
    width: 37px;
    height: 37px;
    margin-bottom: 7px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    font-size: 16px;
}

.stat-number {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.stat-label {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

.purple .stat-icon { background: #5b45d9; }
.purple .stat-number { color: #5440ca; }
.blue .stat-icon { background: #1685d8; }
.blue .stat-number { color: #1479c4; }
.green .stat-icon { background: #21a35a; }
.green .stat-number { color: #16864a; }
.orange .stat-icon { background: #f2a21a; }
.orange .stat-number { color: #d98a00; }

/* Directory */
.directory-card {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.heading-badge {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #18549d, #0b326c);
    font-size: 18px;
}

.section-heading span {
    display: block;
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.section-heading h2 {
    margin: 2px 0 1px;
    color: #1a3555;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.section-heading p {
    margin: 0;
    color: #8290a0;
    font-size: 11px;
}

/* Table */
.table-shell {
    overflow: hidden;
    border: 1px solid #e4eaf1;
    border-radius: 12px;
}

.center-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.center-table th {
    padding: 13px 15px;
    color: #fff;
    background: linear-gradient(100deg, #0d3979, #15518e);
    border-right: 1px solid rgba(255,255,255,.15);
    font-size: 11px;
    font-weight: 700;
    text-align: left;
}

.center-table th:last-child { border-right: 0; }

.center-table th i {
    margin-right: 5px;
    opacity: .9;
}

.center-table td {
    padding: 12px 15px;
    border-top: 1px solid #e8edf3;
    color: #5a6b7d;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    vertical-align: middle;
    transition: background .2s ease;
}

.center-table tbody tr:hover td {
    background: #f4f9ff;
}

.state-dot {
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 50%;
    background: #1685d8;
    box-shadow: 0 0 0 4px rgba(22,133,216,.10);
}

.code-pill {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid #d8edf1;
    border-radius: 7px;
    color: #19758a;
    background: #f1fbfc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
}

/* CTA */
.bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding: 15px 18px;
    border: 1px solid #eadfae;
    border-radius: 14px;
    background: linear-gradient(105deg, #fffdf2, #fff8d8);
    box-shadow: 0 8px 24px rgba(93, 79, 25, .06);
}

.cta-info {
    display: flex;
    align-items: center;
    gap: 11px;
}

.cta-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--navy);
    font-size: 17px;
}

.cta-info span,
.cta-info strong {
    display: block;
}

.cta-info span {
    color: #8a7a38;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.cta-info strong {
    margin-top: 3px;
    color: #34485e;
    font-size: 12px;
}

.partner-button {
    min-height: 40px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #164b94, #0b326d);
    box-shadow: 0 8px 18px rgba(13,57,121,.18);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.partner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(13,57,121,.25);
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .centers-page {
        padding: 14px 0 30px;
    }

    .hero-card,
    .directory-card {
        padding: 19px;
        border-radius: 14px;
    }

    .hero-content {
        flex-direction: column;
    }

    .brand-mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .hero-copy h1 {
        font-size: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .bottom-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .partner-button {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile table becomes cards */
@media (max-width: 767.98px) {
    .contact-meta {
        flex-direction: column;
    }

    .contact-meta span {
        width: 100%;
    }

    .table-shell {
        border: 0;
        overflow: visible;
    }

    .center-table,
    .center-table tbody,
    .center-table tr,
    .center-table td {
        display: block;
        width: 100%;
    }

    .center-table thead {
        display: none;
    }

    .center-table tr {
        margin-bottom: 10px;
        padding: 8px;
        border: 1px solid #e4eaf1;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 5px 14px rgba(20,55,92,.05);
    }

    .center-table td {
        position: relative;
        display: flex;
        justify-content: space-between;
        gap: 15px;
        padding: 8px 7px 8px 100px;
        border: 0;
        border-bottom: 1px dashed #e4eaf1;
        text-align: right;
        font-size: 11px;
    }

    .center-table td:last-child {
        border-bottom: 0;
    }

    .center-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 7px;
        top: 8px;
        color: #6d7d8e;
        font-size: 9px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .state-dot {
        display: none;
    }

    .code-pill {
        margin-left: auto;
    }
}

/* Directory readability and hierarchy. */
.section-heading span { font-size: .72rem; }
.section-heading h2 { font-size: 1.35rem; }
.section-heading p { font-size: .9rem; }
.center-table th { padding: .95rem 1rem; font-size: .88rem; }
.center-table td { padding: .95rem 1rem; font-size: .9rem; line-height: 1.45; }
.code-pill { padding: .34rem .6rem; font-size: .72rem; }
.cta-info span { font-size: .72rem; }
.cta-info strong { font-size: .95rem; }
.partner-button { min-height: 44px; font-size: .84rem; }

@media (max-width: 767.98px) { .section-heading h2 { font-size: 1.2rem; } .center-table td { padding: .7rem .45rem .7rem 6.8rem; font-size: .84rem; } .center-table td::before { top: .75rem; font-size: .68rem; } }
