.contact-page {
    --contact-ink: #1d2a40;
    --contact-muted: #66758c;
    --contact-primary: #2f6fed;
    --contact-primary-deep: #1f55c5;
    --contact-line: #e3eaf4;
    --contact-surface: #f5f9ff;
    color: var(--contact-ink);
    background: #fff;
    overflow: hidden;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after { box-sizing: border-box; }
.contact-page a { color: inherit; cursor: pointer; text-decoration: none; }
.contact-page a:focus-visible { outline: 3px solid rgba(47, 111, 237, .3); outline-offset: 4px; }

.contact-hero {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f1f7ff 100%);
}

.contact-hero::before,
.contact-hero::after {
    position: absolute;
    width: 1250px;
    height: 430px;
    border: 1px solid rgba(141, 181, 239, .15);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    transform: rotate(8deg);
}

.contact-hero::before { top: -320px; left: -110px; }
.contact-hero::after { right: -140px; bottom: -340px; transform: rotate(-10deg); }

.contact-hero__glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(121, 177, 255, .16);
    filter: blur(8px);
    pointer-events: none;
}

.contact-hero__glow--one { top: -160px; right: 15%; }
.contact-hero__glow--two { bottom: -180px; left: 18%; opacity: .6; }

.contact-hero__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, 860px);
    padding: 65px 0 74px;
    text-align: center;
}

.contact-kicker,
.contact-label {
    margin: 0;
    color: var(--contact-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
}

.contact-hero h1 {
    margin: 21px 0 0;
    color: var(--contact-ink);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 750;
    letter-spacing: -.07em;
    line-height: 1.1;
}

.contact-hero__subtitle {
    margin: 25px auto 0;
    color: #5f6d81;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
}

.contact-hero__actions,
.contact-next__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 31px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-button svg { width: 19px; height: 19px; }
.contact-button:hover { transform: translateY(-2px); }
.contact-button--primary { color: #fff !important; background: var(--contact-primary); box-shadow: 0 12px 26px rgba(47, 111, 237, .22); }
.contact-button--primary:hover { background: var(--contact-primary-deep); }
.contact-button--secondary { color: #50627c !important; border-color: #dfe7f2; background: rgba(255, 255, 255, .7); }
.contact-button--secondary:hover { color: var(--contact-primary) !important; border-color: #adc8f5; background: #fff; }

.contact-main {
    width: calc(100% - 40px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 92px 0 112px;
}

.contact-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: clamp(42px, 8vw, 110px);
    align-items: center;
}

.contact-overview__copy h2,
.contact-section-heading h2,
.contact-next h2 {
    margin: 18px 0 0;
    color: var(--contact-ink);
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: 1.24;
}

.contact-overview__text {
    max-width: 590px;
    margin: 24px 0 0;
    color: var(--contact-muted);
    font-size: 15px;
    line-height: 2;
}

.contact-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
    max-width: 610px;
}

.contact-fact {
    display: grid;
    gap: 7px;
    padding-left: 16px;
    border-left: 2px solid #b9d4fb;
}

.contact-fact__key { color: #8290a4; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.contact-fact strong { color: var(--contact-ink); font-size: 15px; font-weight: 700; }

.contact-direct {
    position: relative;
    padding: 34px 34px 31px;
    border: 1px solid #dce8fb;
    border-radius: 22px;
    background: linear-gradient(145deg, #f5f9ff 0%, #edf5ff 100%);
    box-shadow: 0 18px 44px rgba(61, 109, 172, .1);
}

.contact-direct__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 15px;
    color: var(--contact-primary);
    background: #fff;
    box-shadow: 0 8px 20px rgba(47, 111, 237, .12);
}

.contact-direct__icon svg { width: 25px; height: 25px; }
.contact-direct h2 { margin: 14px 0 0; color: var(--contact-ink); font-size: clamp(20px, 2.2vw, 27px); font-weight: 750; letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-direct > p:not(.contact-label) { margin: 15px 0 0; color: var(--contact-muted); font-size: 14px; line-height: 1.85; }
.contact-direct__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; }

.contact-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--contact-primary) !important; font-size: 13px; font-weight: 700; }
.contact-text-link span { font-size: 16px; transition: transform .2s ease; }
.contact-text-link:hover span { transform: translate(2px, -2px); }
.contact-text-link--muted { color: #637590 !important; }

.contact-channels {
    scroll-margin-top: 28px;
    margin-top: 116px;
    padding-top: 80px;
    border-top: 1px solid var(--contact-line);
}

.contact-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-section-heading h2 { margin-top: 16px; font-size: clamp(28px, 3.2vw, 42px); }
.contact-section-heading > p { max-width: 310px; margin: 0 0 3px; color: var(--contact-muted); font-size: 14px; line-height: 1.9; }

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

.contact-channel {
    display: flex;
    min-height: 236px;
    flex-direction: column;
    padding: 23px 22px 21px;
    border: 1px solid var(--contact-line);
    border-radius: 18px;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-channel:hover { border-color: #b8cef2; box-shadow: 0 14px 32px rgba(53, 93, 150, .09); transform: translateY(-3px); }
.contact-channel__topline { display: flex; align-items: center; gap: 10px; min-width: 0; }
.contact-channel__icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--contact-primary); background: var(--contact-surface); }
.contact-channel__icon svg { width: 21px; height: 21px; }
.contact-channel__category { min-width: 0; overflow: hidden; color: #6c7c91; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.contact-channel__status { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #2e8b62; font-size: 11px; white-space: nowrap; }
.contact-channel__status i { width: 6px; height: 6px; border-radius: 50%; background: #38ae72; box-shadow: 0 0 0 3px rgba(56, 174, 114, .12); }
.contact-channel h3 { margin: 22px 0 0; color: var(--contact-ink); font-size: 20px; font-weight: 750; letter-spacing: -.035em; }
.contact-channel > p { min-height: 43px; margin: 10px 0 0; color: var(--contact-muted); font-size: 13px; line-height: 1.75; }
.contact-channel__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 21px; }
.contact-channel__actions a { display: inline-flex; min-height: 38px; align-items: center; gap: 5px; padding: 0 13px; border: 1px solid #dfe7f2; border-radius: 9px; color: var(--contact-primary) !important; background: #f9fbff; font-size: 12px; font-weight: 700; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.contact-channel__actions a:hover { border-color: #adc8f5; background: #eef5ff; }
.contact-channel__actions a span { font-size: 15px; }
.contact-channel__unavailable { color: #8a97a9; font-size: 12px; }
.contact-channel--empty { grid-column: 1 / -1; align-items: flex-start; min-height: 210px; }
.contact-channel--empty .contact-channel__icon { margin-bottom: 4px; }

.contact-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 112px;
    padding: 39px 42px;
    border-radius: 22px;
    background: linear-gradient(115deg, #f1f7ff 0%, #f8fbff 100%);
}

.contact-next h2 { margin-top: 13px; font-size: clamp(23px, 2.7vw, 34px); }
.contact-next__actions { flex: 0 0 auto; margin-top: 0; }

@media (max-width: 900px) {
    .contact-main { padding-top: 74px; }
    .contact-overview { grid-template-columns: 1fr; gap: 46px; }
    .contact-direct { max-width: 580px; }
    .contact-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-next { display: block; }
    .contact-next__actions { justify-content: flex-start; margin-top: 25px; }
}

@media (max-width: 560px) {
    .contact-hero { min-height: 360px; }
    .contact-hero__inner { width: min(100% - 28px, 500px); padding: 51px 0 55px; }
    .contact-kicker { font-size: 10px; }
    .contact-hero h1 { margin-top: 17px; font-size: clamp(42px, 13vw, 58px); }
    .contact-hero__subtitle { margin-top: 19px; font-size: 15px; }
    .contact-hero__actions { gap: 8px; margin-top: 25px; }
    .contact-button { min-height: 47px; padding: 0 17px; font-size: 13px; }
    .contact-main { width: calc(100% - 28px); padding: 58px 0 78px; }
    .contact-label { font-size: 11px; }
    .contact-overview__copy h2 { margin-top: 14px; font-size: 32px; }
    .contact-overview__text { margin-top: 19px; font-size: 14px; line-height: 1.9; }
    .contact-facts { grid-template-columns: 1fr; gap: 15px; margin-top: 25px; }
    .contact-direct { padding: 25px 21px 23px; border-radius: 18px; }
    .contact-direct__icon { width: 44px; height: 44px; margin-bottom: 20px; border-radius: 13px; }
    .contact-direct h2 { font-size: 20px; }
    .contact-direct__actions { gap: 14px; margin-top: 20px; }
    .contact-channels { margin-top: 76px; padding-top: 54px; }
    .contact-section-heading { display: block; margin-bottom: 27px; }
    .contact-section-heading h2 { margin-top: 13px; font-size: 30px; }
    .contact-section-heading > p { margin-top: 16px; font-size: 13px; }
    .contact-channel-grid { grid-template-columns: 1fr; gap: 12px; }
    .contact-channel { min-height: 220px; padding: 21px 18px 19px; }
    .contact-channel h3 { margin-top: 19px; }
    .contact-next { margin-top: 74px; padding: 28px 21px; border-radius: 18px; }
    .contact-next h2 { font-size: 25px; }
    .contact-next__actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
    .contact-next__actions .contact-button { width: 100%; }
}

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