:root {
    --swc-navy: #0e2a47;
    --swc-blue: #1769aa;
    --swc-blue-dark: #0f568f;
    --swc-sky: #eaf4fb;
    --swc-ink: #182230;
    --swc-muted: #697586;
    --swc-border: #dce4ec;
    --swc-bg: #f6f9fc;
    --swc-white: #ffffff;
    --swc-success: #177245;
    --swc-shadow: 0 18px 45px rgba(19, 45, 72, 0.09);
}

.sw-contact-page {
    background: var(--swc-bg);
    color: var(--swc-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sw-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 68px;
    background:
        radial-gradient(circle at 88% 22%, rgba(255,255,255,.14), transparent 24%),
        linear-gradient(125deg, #0e2a47 0%, #124b79 58%, #1769aa 100%);
    color: #fff;
}

.sw-contact-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -170px;
    border: 42px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.sw-contact-hero .container { position: relative; z-index: 2; }
.sw-contact-eyebrow,
.sw-section-heading > span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.sw-contact-eyebrow { color: #bfe3fb; }
.sw-contact-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.035em;
}
.sw-contact-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 1.06rem;
    line-height: 1.75;
}
.sw-contact-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sw-btn-primary,
.sw-btn-secondary {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 700;
    transition: .2s ease;
}
.sw-btn-primary {
    background: var(--swc-blue);
    color: #fff !important;
    border: 1px solid var(--swc-blue);
}
.sw-contact-hero .sw-btn-primary { background: #fff; color: var(--swc-navy) !important; border-color: #fff; }
.sw-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.sw-btn-secondary {
    background: rgba(255,255,255,.08);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.32);
}
.sw-btn-secondary:hover { background: rgba(255,255,255,.16); }

.sw-response-card {
    display: flex;
    gap: 14px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
}
.sw-response-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    font-weight: 900;
}
.sw-response-card strong { display: block; margin: 1px 0 5px; color: #fff; }
.sw-response-card p { font-size: .9rem; line-height: 1.55; }

.sw-contact-channels { margin-top: -26px; position: relative; z-index: 3; }
.sw-channel-grid { align-items: stretch; }
.sw-channel-card {
    height: 100%;
    min-height: 172px;
    padding: 22px;
    border: 1px solid var(--swc-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(21, 49, 76, .06);
}
.sw-channel-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: var(--swc-sky);
    color: var(--swc-blue);
    font-weight: 900;
}
.sw-channel-label { display: block; margin-bottom: 5px; color: var(--swc-muted); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sw-channel-card a,
.sw-channel-card strong { display: block; color: var(--swc-ink); font-size: 1rem; font-weight: 800; overflow-wrap: anywhere; }
.sw-channel-card a:hover { color: var(--swc-blue); text-decoration: none; }
.sw-channel-card small { display: block; margin-top: 7px; color: var(--swc-muted); line-height: 1.45; }
.sw-address-text p { margin: 0 0 2px; color: var(--swc-ink); font-weight: 700; }
.sw-address-text p:last-child { margin-bottom: 0; }

.sw-contact-main { padding: 54px 0 76px; }
.sw-form-card,
.sw-side-card,
.sw-help-card {
    border: 1px solid var(--swc-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--swc-shadow);
}
.sw-form-card { padding: 34px; }
.sw-side-card { padding: 28px; }
.sw-help-card { margin-top: 18px; padding: 24px; background: var(--swc-navy); color: #fff; border-color: var(--swc-navy); }
.sw-section-heading { margin-bottom: 26px; }
.sw-section-heading > span { color: var(--swc-blue); }
.sw-section-heading h2 { margin: 0 0 9px; color: var(--swc-ink); font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; }
.sw-section-heading p { margin: 0; color: var(--swc-muted); line-height: 1.65; }
.sw-section-heading-small h2 { font-size: 1.45rem; }

.sw-contact-alert { border: 0; border-radius: 10px; font-weight: 600; }
.sw-contact-form label { color: #283748; font-size: .88rem; font-weight: 700; }
.sw-contact-form label > span { color: #c53939; }
.sw-contact-form label small { color: var(--swc-muted); font-weight: 500; }
.sw-contact-form .form-control {
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #cfd9e3;
    border-radius: 9px;
    background: #fff;
    color: var(--swc-ink);
    box-shadow: none;
}
.sw-contact-form textarea.form-control { min-height: 158px; resize: vertical; }
.sw-contact-form .form-control:focus {
    border-color: var(--swc-blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 170, .11);
}
.sw-character-row { display: flex; justify-content: space-between; gap: 15px; margin-top: 7px; color: var(--swc-muted); font-size: .78rem; }
.sw-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--swc-border); }
.sw-form-footer p { max-width: 430px; margin: 0; color: var(--swc-muted); font-size: .82rem; line-height: 1.55; }
.sw-submit-btn { flex: 0 0 auto; min-width: 150px; }
.sw-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.sw-recaptcha-wrap { overflow-x: auto; padding-bottom: 2px; }

.sw-department-list { display: grid; gap: 10px; }
.sw-department-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--swc-border);
    border-radius: 11px;
    color: inherit;
    transition: .18s ease;
}
.sw-department-item:hover { border-color: #a9c8de; background: #f8fbfd; transform: translateX(2px); text-decoration: none; }
.sw-department-mark { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--swc-sky); color: var(--swc-blue); font-weight: 900; }
.sw-department-item strong { display: block; margin-bottom: 3px; color: var(--swc-ink); font-size: .93rem; }
.sw-department-item small { display: block; color: var(--swc-muted); font-size: .78rem; line-height: 1.4; }
.sw-department-item em { display: block; margin-top: 5px; color: var(--swc-blue); font-size: .78rem; font-style: normal; font-weight: 700; overflow-wrap: anywhere; }
.sw-help-card strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.sw-help-card p { margin: 0 0 12px; color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.55; }
.sw-help-card a { color: #fff; font-weight: 800; }
.sw-help-card a:hover { color: #cceaff; text-decoration: none; }

@media (max-width: 991.98px) {
    .sw-contact-hero { padding: 60px 0 56px; }
    .sw-contact-channels { margin-top: -18px; }
}

@media (max-width: 767.98px) {
    .sw-contact-hero { padding: 48px 0 42px; }
    .sw-contact-hero h1 { font-size: 2.45rem; }
    .sw-contact-hero p { font-size: .97rem; }
    .sw-contact-main { padding: 36px 0 56px; }
    .sw-form-card, .sw-side-card { padding: 22px 18px; border-radius: 13px; }
    .sw-form-footer { align-items: stretch; flex-direction: column; }
    .sw-submit-btn { width: 100%; }
    .sw-channel-card { min-height: 0; }
}

@media (max-width: 390px) {
    .sw-contact-hero-actions .btn { width: 100%; }
    .sw-character-row { align-items: flex-end; flex-direction: column; gap: 2px; }
}
