/* ==========================================================
   ATLAS CONTACT
   ========================================================== */

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==========================================================
   SHARED
   ========================================================== */

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;

    color: #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.contact-eyebrow::before {
    content: "";

    width: 24px;
    height: 2px;

    border-radius: 2px;
    background: currentColor;
}

.contact-section-label {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--public-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.contact-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;

    margin-bottom: 55px;
}

.contact-section-heading h2 {
    max-width: 550px;

    color: var(--public-heading);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -1.6px;
}

.contact-section-heading h2 span {
    color: var(--public-primary);
}

.contact-section-heading > p {
    max-width: 420px;

    color: var(--public-muted);
    font-size: 14px;
    line-height: 1.85;
}


/* ==========================================================
   HERO
   ========================================================== */

.contact-hero {
    position: relative;
    min-height: 535px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.contact-hero__image {
    position: absolute;
    inset: 0;

    background:
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2000&q=85")
        center / cover no-repeat;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 34, 0.94) 0%,
            rgba(7, 16, 34, 0.78) 44%,
            rgba(7, 16, 34, 0.38) 75%,
            rgba(7, 16, 34, 0.20) 100%
        );
}

.contact-hero__container {
    position: relative;
    z-index: 1;
}

.contact-hero__content {
    max-width: 690px;
    padding: 90px 0;
}

.contact-hero h1 {
    color: #fff;

    font-size: clamp(43px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -2.4px;
}

.contact-hero h1 span {
    display: block;
    color: #bfdbfe;
}

.contact-hero p {
    max-width: 610px;
    margin-top: 23px;

    color: #d0d5dd;
    font-size: 15px;
    line-height: 1.9;
}


/* ==========================================================
   CONTACT DETAILS
   ========================================================== */

.contact-details {
    padding: 115px 0;

    background: #fff;
}

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

.contact-card {
    min-height: 270px;
    padding: 30px;

    border: 1px solid var(--public-border);
    border-radius: var(--public-radius-lg);

    background:
        linear-gradient(
            145deg,
            #fff,
            #f9fafc
        );

    transition:
        transform var(--public-transition),
        border-color var(--public-transition),
        box-shadow var(--public-transition);
}

.contact-card:hover {
    transform: translateY(-5px);

    border-color: #d5def0;

    box-shadow:
        0 15px 35px rgba(16, 24, 40, 0.08);
}

.contact-card__icon {
    width: 45px;
    height: 45px;

    margin-bottom: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbe8ff;
    border-radius: 11px;

    color: var(--public-primary);
    background: var(--public-primary-soft);

    font-size: 10px;
    font-weight: 700;
}

.contact-card__label {
    display: block;
    margin-bottom: 7px;

    color: var(--public-primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.contact-card h3 {
    margin-bottom: 9px;

    color: var(--public-heading);
    font-size: 17px;
    font-weight: 600;
}

.contact-card p {
    color: var(--public-muted);
    font-size: 13px;
    line-height: 1.8;
}

.contact-card__link,
.contact-card__text {
    margin-top: 18px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;
    font-weight: 600;
}

.contact-card__link {
    color: var(--public-primary);

    transition:
        color var(--public-transition),
        transform var(--public-transition);
}

.contact-card__link:hover {
    transform: translateX(3px);
}

.contact-card__link span {
    font-size: 17px;
}

.contact-card__text {
    color: var(--public-heading);
}


/* ==========================================================
   LOCATION
   ========================================================== */

.contact-location {
    padding: 115px 0;

    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #f5f8fc
        );
}

.contact-location__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 75px;
    align-items: center;
}

.contact-location__content {
    max-width: 500px;
}

.contact-location__content h2 {
    max-width: 500px;

    color: var(--public-heading);
    font-size: clamp(32px, 4vw, 45px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -1.5px;
}

.contact-location__content h2 span {
    color: var(--public-primary);
}

.contact-location__content > p {
    margin-top: 19px;

    color: var(--public-muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-location__brand {
    margin-top: 30px;

    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-location__brand img {
    width: 95px;
    height: auto;
}

.contact-location__brand span {
    padding-left: 14px;

    border-left: 1px solid var(--public-border);

    color: var(--public-muted);
    font-size: 11px;
}

.contact-location__brand strong {
    display: block;

    color: var(--public-heading);
    font-size: 12px;
}


/* ==========================================================
   MAP
   ========================================================== */

.contact-map {
    min-height: 420px;

    overflow: hidden;

    border: 1px solid var(--public-border);
    border-radius: 18px;

    background: #e9edf3;

    box-shadow:
        0 18px 40px rgba(16, 24, 40, 0.08);
}

.contact-map iframe {
    width: 100%;
    height: 420px;

    display: block;

    border: 0;
}


/* ==========================================================
   M-RESEARCH
   ========================================================== */

.contact-company {
    padding: 115px 0;

    background: #fff;
}

.contact-company__box {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 60px;
    align-items: center;

    padding: 55px 60px;

    border: 1px solid var(--public-border);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7f9fc
        );

    box-shadow:
        0 12px 35px rgba(16, 24, 40, 0.05);
}

.contact-company__logo {
    display: flex;
    justify-content: center;
}

.contact-company__mark {
    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    color: #fff;
    background: var(--public-dark);

    font-size: 42px;
    font-weight: 600;
    letter-spacing: -2px;

    box-shadow:
        0 12px 25px rgba(16, 24, 40, 0.13);
}

.contact-company__content {
    max-width: 680px;
}

.contact-company__content h2 {
    color: var(--public-heading);

    font-size: clamp(29px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.contact-company__content h2 span {
    color: var(--public-primary);
}

.contact-company__content p {
    max-width: 650px;
    margin-top: 17px;

    color: var(--public-muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-company__link {
    margin-top: 20px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--public-primary);
    font-size: 13px;
    font-weight: 600;

    transition:
        transform var(--public-transition);
}

.contact-company__link:hover {
    transform: translateX(4px);
}

.contact-company__link span {
    font-size: 18px;
}


/* ==========================================================
   CTA
   ========================================================== */

.contact-cta {
    padding: 105px 0;

    background: #fff;
}

.contact-cta__box {
    position: relative;
    overflow: hidden;

    padding: 58px 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 86% 15%,
            rgba(59, 130, 246, 0.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #111827,
            #22385f
        );

    box-shadow:
        0 18px 45px rgba(16, 24, 40, 0.12);
}

.contact-cta__content {
    position: relative;
    z-index: 1;

    max-width: 650px;
}

.contact-cta h2 {
    color: #fff;

    font-size: clamp(29px, 4vw, 43px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -1.5px;
}

.contact-cta p {
    margin-top: 13px;

    color: #b9c3d4;
    font-size: 14px;
    line-height: 1.8;
}

.contact-button {
    min-height: 46px;

    padding: 11px 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: var(--public-radius-sm);

    font-size: 13px;
    font-weight: 600;

    transition:
        transform var(--public-transition),
        background var(--public-transition),
        border-color var(--public-transition);
}

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

.contact-button--light {
    position: relative;
    z-index: 2;

    color: #fff;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.30);

    backdrop-filter: blur(8px);
}

.contact-button--light:hover {
    background: rgba(255, 255, 255, 0.17);
    border-color: rgba(255, 255, 255, 0.45);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

    .contact-location__grid {
        gap: 50px;
    }

    .contact-company__box {
        grid-template-columns: 120px 1fr;
        gap: 45px;
    }
}


@media (max-width: 900px) {

    .contact-hero {
        min-height: 500px;
    }

    .contact-details,
    .contact-location,
    .contact-company {
        padding: 90px 0;
    }

    .contact-details__grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-location__grid {
        grid-template-columns: 1fr;
    }

    .contact-location__content {
        max-width: 650px;
    }

    .contact-map,
    .contact-map iframe {
        height: 380px;
        min-height: 380px;
    }

    .contact-company__box {
        padding: 48px;
    }

    .contact-cta__box {
        padding: 48px;
    }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .contact-container {
        width: min(100% - 28px, 1180px);
    }


    /* HERO */

    .contact-hero {
        min-height: 520px;
    }

    .contact-hero__image {
        background-position: 62% center;
    }

    .contact-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 16, 34, 0.95),
                rgba(7, 16, 34, 0.68)
            );
    }

    .contact-hero__content {
        padding: 70px 0;
    }

    .contact-hero h1 {
        font-size: clamp(38px, 10vw, 51px);
        letter-spacing: -1.8px;
    }

    .contact-hero p {
        font-size: 14px;
        line-height: 1.85;
    }


    /* HEADING */

    .contact-section-heading {
        display: block;
        margin-bottom: 40px;
    }

    .contact-section-heading > p {
        margin-top: 18px;
    }

    .contact-section-heading h2 {
        font-size: 32px;
    }


    /* DETAILS */

    .contact-details,
    .contact-location,
    .contact-company {
        padding: 75px 0;
    }

    .contact-details__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-card {
        min-height: auto;
        padding: 27px;
    }


    /* LOCATION */

    .contact-location__grid {
        gap: 40px;
    }

    .contact-location__content h2 {
        font-size: 32px;
    }

    .contact-map,
    .contact-map iframe {
        height: 350px;
        min-height: 350px;
    }


    /* M-RESEARCH */

    .contact-company__box {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 40px 28px;
    }

    .contact-company__logo {
        justify-content: flex-start;
    }

    .contact-company__mark {
        width: 82px;
        height: 82px;

        border-radius: 16px;

        font-size: 33px;
    }

    .contact-company__content h2 {
        font-size: 31px;
    }


    /* CTA */

    .contact-cta {
        padding: 70px 0;
    }

    .contact-cta__box {
        padding: 40px 28px;

        flex-direction: column;
        align-items: flex-start;
        gap: 28px;

        border-radius: 17px;
    }

    .contact-cta h2 {
        font-size: 31px;
    }

    .contact-button {
        width: 100%;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 420px) {

    .contact-hero {
        min-height: 500px;
    }

    .contact-hero__content {
        padding: 58px 0;
    }

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

    .contact-details,
    .contact-location,
    .contact-company {
        padding: 62px 0;
    }

    .contact-section-heading h2,
    .contact-location__content h2 {
        font-size: 29px;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-map,
    .contact-map iframe {
        height: 300px;
        min-height: 300px;
    }

    .contact-company__box {
        padding: 33px 23px;
    }

    .contact-cta {
        padding: 60px 0;
    }

    .contact-cta__box {
        padding: 33px 23px;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .contact-card,
    .contact-card__link,
    .contact-company__link,
    .contact-button {
        transition: none;
    }
}