#contact {
    scroll-margin-top: 96px;
}

.contact-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 8vw, 112px) 24px;
    background:
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 48%, #f5f8fc 100%);
    color: var(--slate-900, #172033);
}

.contact-section::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 48, 85, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 48, 85, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    content: "";
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.contact-accent {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.contact-accent-one {
    top: -190px;
    right: -170px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(36, 103, 214, 0.11), transparent 69%);
}

.contact-accent-two {
    bottom: -210px;
    left: -160px;
    width: 430px;
    height: 430px;
    background: radial-gradient(circle, rgba(217, 169, 54, 0.12), transparent 70%);
}

.contact-shell {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.contact-heading {
    max-width: 760px;
    margin: 0 auto clamp(42px, 5vw, 64px);
    text-align: center;
}

.contact-kicker,
.contact-overline,
.contact-panel-label {
    display: inline-flex;
    align-items: center;
    color: var(--blue-600, #2467d6);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.095em;
    line-height: 1.4;
    text-transform: uppercase;
}

.contact-kicker::before {
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--gold-500, #d9a936);
    box-shadow: 0 0 0 5px rgba(217, 169, 54, 0.14);
    content: "";
}

.contact-heading h2 {
    margin: 18px 0 16px;
    color: var(--navy-950, #071426);
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.contact-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--slate-600, #5d6b80);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.75;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    align-items: stretch;
    gap: 28px;
}

.contact-directory,
.contact-request-panel {
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: var(--radius-md, 20px);
    box-shadow: 0 18px 52px rgba(7, 20, 38, 0.09);
}

.contact-directory {
    padding: clamp(24px, 3.2vw, 38px);
    background: rgba(255, 255, 255, 0.92);
}

.contact-block-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-block-heading h3,
.contact-request-panel h3,
.contact-faq-heading h3 {
    color: var(--navy-950, #071426);
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.22;
}

.contact-block-heading h3 {
    margin: 5px 0 0;
    font-size: 28px;
}

.contact-overline {
    color: var(--slate-500, #758197);
    font-size: 10px;
}

.contact-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(19, 138, 91, 0.18);
    border-radius: 999px;
    background: rgba(19, 138, 91, 0.07);
    color: #0e6f49;
    font-size: 12px;
    font-weight: 750;
}

.contact-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success, #138a5b);
    box-shadow: 0 0 0 4px rgba(19, 138, 91, 0.12);
}

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

.contact-channel-card {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    min-height: 155px;
    padding: 20px;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    background: #fbfcfe;
    color: inherit;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.contact-channel-card-link {
    grid-column: 1 / -1;
    padding-right: 42px;
}

.contact-channel-card-link:hover {
    border-color: rgba(36, 103, 214, 0.32);
    background: #fff;
    box-shadow: 0 14px 30px rgba(7, 20, 38, 0.09);
    transform: translateY(-2px);
}

.contact-channel-card-link:focus-visible,
.contact-inline-link:focus-visible,
.contact-primary-action:focus-visible,
.contact-secondary-action:focus-visible,
.contact-faq summary:focus-visible {
    outline: 3px solid var(--focus, #1d70e8);
    outline-offset: 3px;
}

.contact-channel-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
}

.contact-channel-icon svg,
.contact-channel-arrow,
.contact-primary-action svg,
.contact-security-note svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-channel-icon svg {
    width: 22px;
    height: 22px;
}

.contact-channel-icon-blue {
    background: #eaf2ff;
    color: #2467d6;
}

.contact-channel-icon-gold {
    background: #fff6d9;
    color: #9b6d00;
}

.contact-channel-icon-green {
    background: #e8f7f0;
    color: #138a5b;
}

.contact-channel-icon-violet {
    background: #f1ecff;
    color: #6e4ab6;
}

.contact-channel-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.contact-channel-label {
    margin-bottom: 7px;
    color: var(--slate-500, #758197);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.contact-channel-copy strong,
.contact-inline-link {
    overflow-wrap: anywhere;
    color: var(--navy-900, #0b1f3a);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.contact-channel-copy small {
    margin-top: 6px;
    color: var(--slate-600, #5d6b80);
    font-size: 12.5px;
    line-height: 1.55;
}

.contact-inline-link {
    width: fit-content;
    text-decoration-color: rgba(36, 103, 214, 0.38);
    text-underline-offset: 3px;
}

.contact-inline-link:hover {
    color: var(--blue-600, #2467d6);
}

.contact-channel-pending {
    color: var(--slate-700, #40506a) !important;
}

.contact-channel-arrow {
    position: absolute;
    top: 22px;
    right: 18px;
    width: 18px;
    height: 18px;
    color: #91a0b4;
    transition: color 180ms ease, transform 180ms ease;
}

.contact-channel-card-link:hover .contact-channel-arrow {
    color: var(--blue-600, #2467d6);
    transform: translateX(3px);
}

.contact-request-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 3.5vw, 42px);
    background:
        radial-gradient(circle at 100% 0%, rgba(63, 124, 199, 0.3), transparent 38%),
        linear-gradient(145deg, #071426, #0b2442 66%, #12345c);
    color: #fff;
}

.contact-request-panel::after {
    position: absolute;
    right: -55px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(233, 191, 88, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(233, 191, 88, 0.045), 0 0 0 70px rgba(233, 191, 88, 0.025);
    content: "";
    pointer-events: none;
}

.contact-panel-label {
    position: relative;
    z-index: 1;
    color: var(--gold-400, #e9bf58);
}

.contact-request-panel h3 {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 10px 0 27px;
    color: #fff;
    font-size: clamp(27px, 3vw, 36px);
}

.contact-request-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-request-list li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
}

.contact-request-list li > span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(233, 191, 88, 0.3);
    border-radius: 11px;
    background: rgba(233, 191, 88, 0.08);
    color: var(--gold-400, #e9bf58);
    font-size: 11px;
    font-weight: 800;
}

.contact-request-list strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 15px;
}

.contact-request-list p {
    margin: 0;
    color: #bdcbe0;
    font-size: 13.5px;
    line-height: 1.62;
}

.contact-panel-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 31px;
}

.contact-primary-action,
.contact-secondary-action {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.contact-primary-action {
    gap: 9px;
    padding: 0 20px;
    background: var(--gold-400, #e9bf58);
    color: var(--navy-950, #071426);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.contact-primary-action svg {
    width: 18px;
    height: 18px;
}

.contact-primary-action:hover {
    background: #f1ca6e;
    transform: translateY(-1px);
}

.contact-secondary-action {
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    color: #fff;
}

.contact-secondary-action:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.08);
}

.contact-security-note {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #aebdd2;
    font-size: 12px;
    line-height: 1.6;
}

.contact-security-note svg {
    width: 20px;
    height: 20px;
    color: var(--gold-400, #e9bf58);
}

.contact-faq {
    display: grid;
    grid-template-columns: minmax(190px, 0.32fr) minmax(0, 0.68fr);
    gap: clamp(28px, 5vw, 72px);
    margin-top: clamp(34px, 5vw, 60px);
    padding: clamp(26px, 3.2vw, 38px);
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: var(--radius-md, 20px);
    background: rgba(255, 255, 255, 0.88);
}

.contact-faq-heading h3 {
    margin: 6px 0 0;
    font-size: 27px;
}

.contact-faq-list {
    min-width: 0;
}

.contact-faq details {
    border-bottom: 1px solid var(--slate-200, #e2e8f0);
}

.contact-faq details:first-child summary {
    padding-top: 0;
}

.contact-faq details:last-child {
    border-bottom: 0;
}

.contact-faq details:last-child summary {
    padding-bottom: 0;
}

.contact-faq details[open]:last-child summary {
    padding-bottom: 13px;
}

.contact-faq summary {
    position: relative;
    padding: 19px 40px 19px 0;
    color: var(--navy-900, #0b1f3a);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    list-style: none;
}

.contact-faq summary::-webkit-details-marker {
    display: none;
}

.contact-faq summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-100, #eaf2ff);
    color: var(--blue-600, #2467d6);
    content: "+";
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    transform: translateY(-50%);
}

.contact-faq details[open] summary::after {
    content: "−";
}

.contact-faq details p {
    max-width: 740px;
    margin: -5px 40px 18px 0;
    color: var(--slate-600, #5d6b80);
    font-size: 13.5px;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-request-panel {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .contact-section {
        padding-right: 16px;
        padding-left: 16px;
    }

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

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

    .contact-faq {
        gap: 22px;
    }
}

@media (max-width: 480px) {
    #contact {
        scroll-margin-top: 76px;
    }

    .contact-heading {
        text-align: left;
    }

    .contact-block-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-channel-card {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 17px;
    }

    .contact-channel-icon {
        width: 40px;
        height: 40px;
    }

    .contact-panel-actions,
    .contact-primary-action,
    .contact-secondary-action {
        width: 100%;
    }

    .contact-faq details p {
        margin-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-channel-card,
    .contact-channel-arrow,
    .contact-primary-action,
    .contact-secondary-action {
        transition: none;
    }
}
