/* =========================================================
   ATOM PHYSICAL THERAPY
   CONTACT PAGE
   ========================================================= */


/* ---------- BASE ---------- */

.atom-contact-page {
    background: #ffffff;
    color: #292d31;
    font-size: 16px;
    line-height: 1.7;
}

.atom-contact-page *,
.atom-contact-page *::before,
.atom-contact-page *::after {
    box-sizing: border-box;
}

.atom-contact-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ---------- TYPOGRAPHY ---------- */

.atom-contact-page h1,
.atom-contact-page h2,
.atom-contact-page h3,
.atom-contact-page p {
    margin-top: 0;
}

.atom-contact-page h1 {
    margin-bottom: 0;
    font-size: 31px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #292d31;
}

.atom-contact-page h2 {
    margin-bottom: 12px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    color: #292d31;
}

.atom-contact-page p {
    margin-bottom: 16px;
}

.atom-contact-page p:last-child {
    margin-bottom: 0;
}

.atom-contact-eyebrow,
.atom-contact-card-label,
.atom-contact-detail-label {
    margin-bottom: 9px;
    color: #ef6c23;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}


/* ---------- HERO ---------- */

.atom-contact-hero {
    padding: 52px 0 48px;
    background: #f6f6f5;
    border-bottom: 1px solid #e5e5e5;
}

.atom-contact-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: start;
}

.atom-contact-hero-copy {
    max-width: 690px;
    font-size: 18px;
    line-height: 1.65;
    color: #4e5358;
}


/* ---------- PRIMARY ACTION CARDS ---------- */

.atom-contact-actions-section {
    padding: 38px 0;
}

.atom-contact-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.atom-contact-action-card {
    display: block;
    padding: 24px;
    min-height: 215px;
    background: #ffffff;
    border: 1px solid #dededc;
    color: #292d31 !important;
    text-decoration: none !important;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.atom-contact-action-card:hover,
.atom-contact-action-card:focus {
    border-color: #ef6c23;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0,0,0,0.06);
}

.atom-contact-action-card h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.atom-contact-action-card p {
    margin-bottom: 20px;
    color: #5a5f64;
}

.atom-contact-card-link {
    color: #ef6c23;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}


/* ---------- CONTACT INFORMATION ---------- */

.atom-contact-section {
    padding: 46px 0;
    background: #f6f6f5;
}

.atom-contact-info-grid {
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: 52px;
    align-items: start;
}

.atom-contact-info-heading > p {
    color: #5a5f64;
}

.atom-contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px 36px;
}

.atom-contact-detail {
    padding-bottom: 22px;
    border-bottom: 1px solid #dcdcd9;
}

.atom-contact-detail p {
    color: #50555a;
}

.atom-contact-detail strong {
    color: #292d31;
}

.atom-contact-detail a {
    color: #292d31 !important;
    text-decoration: none !important;
}

.atom-contact-detail a:hover,
.atom-contact-detail a:focus {
    color: #ef6c23 !important;
}


/* ---------- MAP ---------- */

.atom-contact-map-section {
    padding: 46px 0;
}

.atom-contact-map-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 20px;
}

.atom-contact-map {
    width: 100%;
    height: 390px;
    overflow: hidden;
    border: 1px solid #ddddda;
}

.atom-contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ---------- BUTTONS ---------- */

.atom-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 2px solid transparent;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.035em;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.atom-contact-btn-primary {
    background: #ef6c23;
    border-color: #ef6c23;
    color: #ffffff !important;
}

.atom-contact-btn-primary:hover,
.atom-contact-btn-primary:focus {
    background: #d85d18;
    border-color: #d85d18;
    color: #ffffff !important;
}

.atom-contact-btn-outline {
    background: transparent;
    border-color: #292d31;
    color: #292d31 !important;
}

.atom-contact-btn-outline:hover,
.atom-contact-btn-outline:focus {
    background: #292d31;
    color: #ffffff !important;
}

.atom-contact-btn-dark-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.75);
    color: #ffffff !important;
}

.atom-contact-btn-dark-outline:hover,
.atom-contact-btn-dark-outline:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: #292d31 !important;
}


/* ---------- GENERAL CONTACT ---------- */

.atom-contact-general {
    padding: 42px 0;
    border-top: 1px solid #e3e3e1;
}

.atom-contact-general-grid {
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: 52px;
    align-items: start;
}

.atom-contact-general-copy {
    max-width: 760px;
    color: #50555a;
}

.atom-contact-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 5px 0 18px;
    font-size: 17px;
    font-weight: 700;
}

.atom-contact-inline-links a {
    color: #292d31 !important;
    text-decoration: none !important;
}

.atom-contact-inline-links a:hover,
.atom-contact-inline-links a:focus {
    color: #ef6c23 !important;
}

.atom-contact-privacy-note {
    padding-top: 16px;
    border-top: 1px solid #e2e2df;
    font-size: 13px;
    line-height: 1.6;
    color: #70757a;
}


/* ---------- FINAL CTA ---------- */

.atom-contact-final {
    padding: 42px 0;
    background: #343941;
    color: #ffffff;
}

.atom-contact-final h2 {
    color: #ffffff;
}

.atom-contact-final p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.74);
}

.atom-contact-final-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 48px;
    align-items: center;
}

.atom-contact-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {

    .atom-contact-action-grid {
        grid-template-columns: 1fr;
    }

    .atom-contact-action-card {
        min-height: 0;
    }
}


@media (max-width: 820px) {

    .atom-contact-container {
        width: min(100% - 32px, 1180px);
    }

    .atom-contact-hero {
        padding: 38px 0;
    }

    .atom-contact-hero-grid,
    .atom-contact-info-grid,
    .atom-contact-general-grid,
    .atom-contact-final-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .atom-contact-details-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .atom-contact-map-heading {
        display: block;
    }

    .atom-contact-map-heading .atom-contact-btn {
        margin-top: 10px;
    }

    .atom-contact-map {
        height: 330px;
    }

    .atom-contact-final-actions {
        justify-content: flex-start;
    }
}


@media (max-width: 560px) {

    .atom-contact-page h1 {
        font-size: 28px;
    }

    .atom-contact-map {
        height: 280px;
    }

    .atom-contact-final-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .atom-contact-btn {
        width: 100%;
    }
}