/* =========================================================
   ATOM PHYSICAL THERAPY
   FIRST VISIT PAGE
   ========================================================= */


/* ---------- BASE ---------- */

.atom-first-visit-page {
    background: #ffffff;
    color: #292d31;
    font-size: 16px;
    line-height: 1.7;
}

.atom-first-visit-page *,
.atom-first-visit-page *::before,
.atom-first-visit-page *::after {
    box-sizing: border-box;
}

.atom-first-visit-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ---------- TYPOGRAPHY ---------- */

.atom-first-visit-page h1,
.atom-first-visit-page h2,
.atom-first-visit-page h3,
.atom-first-visit-page p {
    margin-top: 0;
}

.atom-first-visit-page h1 {
    margin-bottom: 0;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #292d31;
}

.atom-first-visit-page h2 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #292d31;
}

.atom-first-visit-page h3 {
    margin-bottom: 9px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #292d31;
}

.atom-first-visit-page p {
    margin-bottom: 16px;
}

.atom-first-visit-page p:last-child {
    margin-bottom: 0;
}

.atom-first-visit-eyebrow {
    margin-bottom: 9px;
    color: #ef6c23;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}


/* ---------- HERO ---------- */

.atom-first-visit-hero {
    padding: 32px 0 30px;
    background: #f6f6f5;
    border-bottom: 1px solid #e5e5e5;
}

.atom-first-visit-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
    align-items: center;
}

.atom-first-visit-hero-copy {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.6;
    color: #4e5358;
}

.atom-first-visit-hero-copy p {
    margin-bottom: 0;
}


/* ---------- STANDARD SECTIONS ---------- */

.atom-first-visit-section,
.atom-first-visit-soft {
    padding: 42px 0;
}

.atom-first-visit-soft {
    background: #f6f6f5;
}

.atom-first-visit-row {
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
    gap: 52px;
    align-items: start;
}

.atom-first-visit-heading h2 {
    margin-bottom: 0;
}

.atom-first-visit-copy {
    max-width: 770px;
    color: #50555a;
}


/* ---------- CHECKLIST ---------- */

.atom-first-visit-checklist {
    margin-top: 20px;
    border-top: 1px solid #e1e1df;
}

.atom-first-visit-check {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e1e1df;
    align-items: start;
}

.atom-first-visit-check span {
    color: #ef6c23;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.atom-first-visit-check p {
    margin-bottom: 0;
    color: #3f4449;
}


/* ---------- DARK EVALUATION SECTION ---------- */

.atom-first-visit-dark {
    padding: 44px 0;
    background: #292d31;
    color: #ffffff;
}

.atom-first-visit-dark h2,
.atom-first-visit-dark h3 {
    color: #ffffff;
}

.atom-first-visit-dark-intro {
    max-width: 800px;
    margin-bottom: 24px;
}

.atom-first-visit-dark-intro p {
    color: rgba(255,255,255,0.75);
}

.atom-first-visit-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.atom-first-visit-step {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.18);
}

.atom-first-visit-step span {
    display: block;
    margin-bottom: 14px;
    color: #ef6c23;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.atom-first-visit-step h3 {
    color: #ef6c23;
}

.atom-first-visit-step p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,0.74);
}


/* ---------- TEXT LINKS ---------- */

.atom-first-visit-text-link {
    color: #ef6c23 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.atom-first-visit-text-link:hover,
.atom-first-visit-text-link:focus {
    color: #d85d18 !important;
}


/* ---------- FINAL CTA ---------- */

.atom-first-visit-final {
    padding: 40px 0;
    background: #343941;
    color: #ffffff;
}

.atom-first-visit-final h2 {
    color: #ffffff;
}

.atom-first-visit-final p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.74);
}

.atom-first-visit-final-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 48px;
    align-items: center;
}

.atom-first-visit-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}


/* ---------- BUTTONS ---------- */

.atom-first-visit-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;
}

.atom-first-visit-btn-primary {
    background: #ef6c23;
    border-color: #ef6c23;
    color: #ffffff !important;
}

.atom-first-visit-btn-primary:hover,
.atom-first-visit-btn-primary:focus {
    background: #d85d18;
    border-color: #d85d18;
    color: #ffffff !important;
}

.atom-first-visit-btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.75);
    color: #ffffff !important;
}

.atom-first-visit-btn-outline:hover,
.atom-first-visit-btn-outline:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: #292d31 !important;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 820px) {

    .atom-first-visit-container {
        width: min(100% - 32px, 1180px);
    }

    .atom-first-visit-hero-grid,
    .atom-first-visit-row,
    .atom-first-visit-final-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .atom-first-visit-section,
    .atom-first-visit-soft,
    .atom-first-visit-dark {
        padding: 36px 0;
    }

    .atom-first-visit-step-grid {
        grid-template-columns: 1fr;
    }

    .atom-first-visit-final-actions {
        justify-content: flex-start;
    }
}


@media (max-width: 560px) {

    .atom-first-visit-page h1 {
        font-size: 25px;
    }

    .atom-first-visit-final-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .atom-first-visit-btn {
        width: 100%;
    }
}