.contact-page {
    color: #171124;
    background: #fff;
}

.contact-hero {
    padding: 70px 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, .13), transparent 32%),
        radial-gradient(circle at 5% 90%, rgba(37, 99, 235, .08), transparent 30%),
        #f8fafc;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 55px;
}

.contact-eyebrow,
.contact-heading > span,
.contact-mission-copy > span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 900;
}

.contact-hero-copy h1 {
    max-width: 720px;
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 950;
    line-height: 1.45;
}

.contact-hero-copy h1 em {
    display: block;
    color: #6d28d9;
    font-style: normal;
}

.contact-hero-copy > p {
    max-width: 720px;
    margin: 0;
    color: #655c72;
    font-size: 14px;
    line-height: 2.2;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.contact-btn:hover {
    transform: translateY(-2px);
}

.contact-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    box-shadow: 0 12px 28px rgba(109, 40, 217, .20);
}

.contact-btn-light {
    border: 1px solid #ddd6fe;
    color: #6d28d9;
    background: #fff;
}

.contact-btn-gold {
    color: #24133f;
    background: #fbbf24;
}

.contact-hero-card {
    padding: 30px;
    border: 1px solid #e9e2f6;
    border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    text-align: center;
    box-shadow: 0 24px 60px rgba(37, 24, 65, .10);
}

.contact-hero-card img {
    width: 190px;
    max-width: 80%;
    height: auto;
}

.contact-hero-card strong {
    display: block;
    margin: 18px 0 8px;
    font-size: 18px;
}

.contact-hero-card p {
    margin: 0;
    color: #71677e;
    font-size: 12px;
    line-height: 2;
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: 11px;
    font-weight: 800;
}

.contact-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.contact-channels,
.contact-mission,
.contact-info,
.contact-final {
    padding: 70px 0;
}

.contact-heading {
    max-width: 700px;
    margin: 0 auto 28px;
    text-align: center;
}

.contact-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 950;
}

.contact-heading p {
    margin: 0;
    color: #71677e;
    font-size: 13px;
}

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

.contact-channel-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 21px;
    border: 1px solid #ece7f5;
    border-radius: 18px;
    color: inherit;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(30, 22, 46, .06);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}

.contact-channel-card:hover {
    color: inherit;
    border-color: #c4b5fd;
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(70, 45, 110, .11);
}

.contact-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: #f3e8ff;
    font-size: 19px;
}

.contact-channel-card small {
    color: #8b8196;
    font-size: 12px;
}

.contact-channel-card h3 {
    margin: 4px 0 7px;
    font-size: 14px;
    font-weight: 900;
}

.contact-channel-card p {
    min-height: 50px;
    margin: 0 0 10px;
    color: #71677e;
    font-size: 11px;
    line-height: 1.9;
}

.contact-channel-card strong {
    color: #6d28d9;
    font-size: 11px;
}

.contact-mission {
    background: #faf9ff;
}

.contact-mission-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    padding: 40px;
    border: 1px solid #e9e2f6;
    border-radius: 26px;
    background: #fff;
}

.contact-mission-copy h2 {
    margin: 0 0 13px;
    font-size: 28px;
    font-weight: 950;
    line-height: 1.6;
}

.contact-mission-copy p {
    margin: 0;
    color: #6c6378;
    font-size: 13px;
    line-height: 2.15;
}

.contact-mission-items {
    display: grid;
    gap: 10px;
}

.contact-mission-items article {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 13px;
    border-radius: 14px;
    background: #f8f5ff;
}

.contact-mission-items b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    color: #fff;
    background: #7c3aed;
}

.contact-mission-items span {
    font-size: 12px;
    font-weight: 800;
}

.contact-info {
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.contact-info-box div {
    display: grid;
    gap: 5px;
    padding: 20px;
    border: 1px solid #e8e3f0;
    border-radius: 16px;
    text-align: center;
}

.contact-info-box span {
    color: #776c84;
    font-size: 11px;
}

.contact-info-box strong {
    font-size: 13px;
}

.contact-final {
    padding-top: 30px;
}

.contact-final-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 32px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #24133f, #552394);
}

.contact-final-box span {
    color: #d8b4fe;
    font-size: 11px;
    font-weight: 800;
}

.contact-final-box h2 {
    margin: 7px 0 0;
    font-size: 22px;
}

@media (max-width: 991.98px) {
    .contact-hero-grid,
    .contact-mission-box {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 575.98px) {
    .contact-hero,
    .contact-channels,
    .contact-mission,
    .contact-final {
        padding: 42px 0;
    }

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

    .contact-channel-grid,
    .contact-info-box {
        grid-template-columns: 1fr;
    }

    .contact-channel-card p {
        min-height: 0;
    }

    .contact-mission-box {
        gap: 28px;
        padding: 22px 18px;
    }

    .contact-mission-copy h2 {
        font-size: 22px;
    }

    .contact-final-box {
        align-items: stretch;
        flex-direction: column;
        padding: 23px 19px;
    }

    .contact-final-box .contact-btn {
        width: 100%;
    }
}
/* =========================================================
   Contact page — Dark theme
   ========================================================= */

html[data-theme="dark"] .contact-page {
    background: #100d13;
    color: #f5f1f7;
}

html[data-theme="dark"] .contact-hero {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(124, 58, 237, .18),
            transparent 34%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(37, 99, 235, .09),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #151019,
            #100d13
        );
}

html[data-theme="dark"] .contact-hero-copy h1,
html[data-theme="dark"] .contact-heading h2,
html[data-theme="dark"] .contact-mission-copy h2,
html[data-theme="dark"] .contact-channel-card h3,
html[data-theme="dark"] .contact-hero-card strong,
html[data-theme="dark"] .contact-info-box strong {
    color: #f5f1f7;
}

html[data-theme="dark"] .contact-hero-copy h1 em,
html[data-theme="dark"] .contact-eyebrow,
html[data-theme="dark"] .contact-heading > span,
html[data-theme="dark"] .contact-mission-copy > span {
    color: #c4b5fd;
}

html[data-theme="dark"] .contact-hero-copy > p,
html[data-theme="dark"] .contact-heading p,
html[data-theme="dark"] .contact-hero-card p,
html[data-theme="dark"] .contact-channel-card p,
html[data-theme="dark"] .contact-channel-card small,
html[data-theme="dark"] .contact-mission-copy p,
html[data-theme="dark"] .contact-info-box span {
    color: #aaa0b0;
}

html[data-theme="dark"] .contact-hero-card,
html[data-theme="dark"] .contact-channel-card,
html[data-theme="dark"] .contact-mission-box,
html[data-theme="dark"] .contact-info-box > div {
    border-color: #3b3144;
    background: #211a27;
    color: #f5f1f7;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] .contact-hero-card {
    background:
        linear-gradient(
            145deg,
            #211a27,
            #18131d
        );
}

html[data-theme="dark"] .contact-hero-card img {
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
}

html[data-theme="dark"] .contact-status {
    border: 1px solid rgba(74, 222, 128, .22);
    background: rgba(20, 83, 45, .25);
    color: #86efac;
}

html[data-theme="dark"] .contact-btn-light {
    border-color: #51415e;
    background: #211a27;
    color: #d8b4fe;
}

html[data-theme="dark"] .contact-btn-light:hover {
    border-color: #8b5cf6;
    background: rgba(91, 33, 182, .28);
    color: #f3e8ff;
}

html[data-theme="dark"] .contact-channel-card:hover {
    border-color: #8b5cf6;
    color: #f5f1f7;
    box-shadow:
        0 20px 44px rgba(0, 0, 0, .32),
        0 0 0 3px rgba(139, 92, 246, .07);
}

html[data-theme="dark"] .contact-channel-icon {
    border: 1px solid rgba(167, 139, 250, .15);
    background: rgba(91, 33, 182, .24);
}

html[data-theme="dark"] .contact-channel-card strong {
    color: #c4b5fd;
}

html[data-theme="dark"] .contact-mission {
    background:
        linear-gradient(
            180deg,
            #151019,
            #100d13
        );
}

html[data-theme="dark"] .contact-mission-items article {
    border: 1px solid #3b3144;
    background: #292130;
    color: #e7dfea;
}

html[data-theme="dark"] .contact-mission-items b {
    background: linear-gradient(
        135deg,
        #8b5cf6,
        #6d28d9
    );
}

html[data-theme="dark"] .contact-info {
    background: #100d13;
}

html[data-theme="dark"] .contact-info-box > div {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .contact-final {
    background: #100d13;
}

html[data-theme="dark"] .contact-final-box {
    border: 1px solid rgba(196, 181, 253, .18);
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(255, 255, 255, .08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #312e81,
            #581c87
        );
    box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .contact-final-box h2 {
    color: #ffffff;
}
/* Contact buttons — preserve contrast in dark mode */

html[data-theme="dark"] .contact-btn-primary {
    color: #ffffff !important;
}

html[data-theme="dark"] .contact-btn-light {
    color: #e9d5ff !important;
}

html[data-theme="dark"] .contact-btn-gold {
    border: 1px solid #fde68a;
    background: linear-gradient(
        135deg,
        #fbbf24,
        #f59e0b
    );
    color: #2e1065 !important;
    box-shadow: 0 12px 26px rgba(245, 158, 11, .25);
}

html[data-theme="dark"] .contact-btn-gold:hover {
    background: linear-gradient(
        135deg,
        #fcd34d,
        #fbbf24
    );
    color: #1e1035 !important;
    box-shadow: 0 16px 32px rgba(245, 158, 11, .34);
}
