/* ==============================
   CONTACT PAGE DESIGN SYSTEM
   Adapted from Article Page Style
============================== */

:root {
    --contact-navy: #0B132B;
    --contact-gold: #D4A24C;
    --contact-white: #FFFFFF;
    --contact-soft: #F7F8FA;
    --contact-dark: #1E1E1E;
    --contact-muted: #64748b;
    --contact-border: #e5e7eb;
    --contact-shadow: 0 22px 60px rgba(15, 23, 42, .10);
    --contact-shadow-soft: 0 14px 34px rgba(15, 23, 42, .08);
}

/* ==============================
   CONTACT HERO / BANNER
============================== */

.contact-banner {
    position: relative;
    width: 100%;
    min-height: 760px;

    margin-top: -100px;
    padding: 150px 20px 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(11, 19, 43, .94),
            rgba(30, 30, 30, .82)
        ),
        url('../../assets/img/mta-banner.jpg');

    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.contact-banner::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 20%, rgba(212, 162, 76, .18), transparent 34%),
        radial-gradient(circle at 80% 35%, rgba(255, 255, 255, .08), transparent 28%);

    z-index: 1;
    pointer-events: none;
}

.contact-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;

    height: 160px;

    background: linear-gradient(
        to bottom,
        transparent,
        #f8fafc
    );

    z-index: 1;
    pointer-events: none;
}

.contact-overlay {
    display: none;
}

.contact-content {
    position: relative;
    z-index: 2;

    width: min(100%, 980px);

    text-align: center;

    padding-inline: 20px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;
    padding: 9px 16px;

    border: 1px solid rgba(212, 162, 76, .45);
    border-radius: 999px;

    background: rgba(212, 162, 76, .10);
    color: var(--contact-gold);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-content h1 {
    margin: 0 auto 24px;
    max-width: 860px;

    color: var(--contact-white);

    font-size: clamp(44px, 6vw, 82px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -2px;
}

.contact-content p {
    max-width: 760px;
    margin: 0 auto;

    color: rgba(255, 255, 255, .84);

    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.8;
}

/* ==============================
   CONTACT SECTION
============================== */

.contact-section {
    position: relative;
    z-index: 3;

    background: #f8fafc;

    padding-top: 90px;
    padding-bottom: 100px;
}

/* ==============================
   SECTION TITLE
============================== */

.section-title {
    max-width: 780px;

    margin: 0 auto 56px;

    text-align: center;
}

.section-title span {
    display: inline-flex;

    margin-bottom: 12px;

    color: var(--contact-gold);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title h2 {
    margin: 0;

    color: var(--contact-navy);

    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1px;
}

/* ==============================
   CONTACT GRID
============================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;
}

.contact-card {
    background: var(--contact-white);

    padding: 38px;

    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 26px;

    box-shadow: var(--contact-shadow-soft);

    transition: .22s ease;
}

.contact-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--contact-shadow);
}

.contact-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    border-radius: 22px;

    background: rgba(212, 162, 76, .12);
}

.contact-icon img {
    width: 38px;
    height: 38px;

    object-fit: contain;
}

.contact-card h3 {
    margin: 0 0 16px;

    color: var(--contact-navy);

    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.4px;
}

.contact-card p {
    margin: 0;

    color: var(--contact-muted);

    font-size: 17px;
    line-height: 1.85;
}

/* ==============================
   ICON CREDIT
============================== */

.icon-credit {
    margin-top: 50px;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.icon-credit a {
    color: #94a3b8;

    font-size: 13px;

    text-decoration: none;

    transition: .22s ease;
}

.icon-credit a:hover {
    color: var(--contact-gold);
}

/* ==============================
   ACCESSIBILITY
============================== */

.contact-card:focus,
.icon-credit a:focus {
    outline: 3px solid rgba(212, 162, 76, .35);
    outline-offset: 3px;
}

/* ==============================
   RESPONSIVE - TABLET
============================== */

@media screen and (max-width: 992px) {
    .contact-banner {
        min-height: 680px;
        padding: 160px 20px 110px;
    }
}

/* ==============================
   RESPONSIVE - MOBILE
============================== */

@media screen and (max-width: 768px) {
    .contact-banner {
        min-height: 660px;
        margin-top: -96px;
        padding: 205px 18px 90px;
    }

    .contact-content {
        padding-inline: 0;
    }

    .contact-content h1 {
        font-size: clamp(38px, 11vw, 56px);
        letter-spacing: -1px;
    }

    .contact-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .section-title {
        text-align: left;

        margin-bottom: 36px;
    }

    .contact-card {
        padding: 28px;

        border-radius: 24px;
    }

    .contact-card h3 {
        font-size: 22px;
    }

    .contact-card p {
        font-size: 16px;
    }
}