/* usa-doctors.css — additive only, reuses second-opinion.css + visa.css + oncologists.css + app.css */

.section-wrap {
    padding-block: clamp(36px, 5vw, 64px);
}
.so-pair-row {
    gap: clamp(32px, 4vw, 56px);
}
.gold-rule {
    margin: 14px 0 20px;
}
.hosp-directory-header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

/* ── Hero: full-bleed banner photo with left-side gradient (client feedback July 2026) ──
   IMAGE: images/usa-doctors/hero.jpg */
.section-wrap.ud-hero {
    padding: 0;
}
.ud-hero-banner {
    position: relative;
    overflow: hidden;
    min-height: clamp(420px, 44vw, 560px);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    width: 100%;
}
.ud-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 26, 15, 0.95) 0%,
        rgba(7, 26, 15, 0.85) 34%,
        rgba(7, 26, 15, 0.35) 62%,
        rgba(7, 26, 15, 0) 88%
    );
}
.ud-hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: clamp(28px, 4vw, 48px) clamp(20px, 6vw, 100px);
}
.ud-hero-content h1 {
    color: var(--cream);
    margin-top: 8px;
}
.ud-hero-content .hero-sub {
    margin: 0 0 22px;
}
.ud-hero-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 4px 0 28px;
}
.ud-hero-feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    width: 100px;
}
.ud-hero-feat-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 149, 106, 0.15);
    border: 1px solid rgba(184, 149, 106, 0.4);
    color: var(--gold);
}
.ud-hero-feat-icon svg {
    width: 18px;
    height: 18px;
}
.ud-hero-feat span {
    color: var(--cream);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .ud-hero-banner::before {
        background: linear-gradient(
            180deg,
            rgba(7, 26, 15, 0.55) 0%,
            rgba(7, 26, 15, 0.92) 55%,
            rgba(7, 26, 15, 0.97) 100%
        );
    }
    .ud-hero-content {
        max-width: none;
    }
}

/* ── 3 Simple Steps (client feedback July 2026) ── */
.ud-steps {
    background: linear-gradient(180deg, #fdf9f3, #faf1e6);
}
.ud-steps-row {
    position: relative;
    max-width: 1100px;
    margin: 44px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.ud-steps-connector {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 0;
    opacity: 0.6;
}
.ud-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.ud-step-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--cream);
    border: 1.5px solid var(--gold);
    box-shadow: 0 6px 16px rgba(184, 149, 106, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
}
.ud-step-icon svg {
    width: 30px;
    height: 30px;
}
.ud-step-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}
.ud-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
}
.ud-step-rule {
    width: 28px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 14px;
}
.ud-step p {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--cream-text);
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .ud-steps-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .ud-steps-connector {
        display: none;
    }
}

/* ── Doctor grid with photos (Canva exports → public/images/usa-doctors/) ──
   NOTE: HTML uses class "doc-avatar-photo" — this was previously undefined
   anywhere, causing the <img> to render at full natural size with no
   constraint. Fixed below. */
.doc-avatar-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    border: 2px solid var(--border-cream);
    background: var(--cream-dark);
    flex-shrink: 0;
}
.doc-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ud-doc-grid {
    grid-template-columns: repeat(4, 1fr);
}
.ud-doc-card {
    position: relative;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ud-doc-photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    border: 2px solid var(--border-cream);
    background: var(--cream-dark);
    display: block;
}
.ud-doc-photo--fallback {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 14px;
    background: var(--green-deep);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 1.35rem;
}
.ud-doc-exp {
    color: var(--gold);
    font-weight: 700;
    font-size: 11.5px;
    margin-bottom: 6px !important;
}
.ud-doc-meta {
    font-size: 12px;
    color: var(--cream-text);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.ud-book-btn {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11.5px;
    padding: 8px 18px;
}

.ud-directory-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── 3 simple steps ── */
.ud-steps-header {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}
.ud-steps-grid {
    display: flex;
    align-items: stretch;
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.ud-step-card {
    flex: 1 1 280px;
    max-width: 340px;
    background: var(--white);
    border: 1px solid var(--border-cream);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.ud-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(184, 149, 106, 0.15);
    border-color: var(--gold);
}
.ud-step-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
}
.ud-step-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.ud-step-card p {
    font-size: 13px;
    color: var(--cream-text);
    line-height: 1.6;
    margin: 0;
}
.ud-step-arrow {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: var(--gold);
    opacity: 0.5;
}
.ud-steps-cta {
    text-align: center;
    margin-top: 36px;
}

@media (max-width: 900px) {
    .ud-steps-grid {
        flex-direction: column;
        align-items: center;
    }
    .ud-step-card {
        max-width: 420px;
        width: 100%;
    }
    .ud-step-arrow {
        transform: rotate(90deg);
    }
}

/* ── Inquiry: 2-col split with photo (reduces empty space) ──
   IMAGE: images/usa-doctors/inquiry-photo.jpg */
.ud-inquiry-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.ud-inquiry-left {
    background-size: cover;
    background-position: center;
    padding: clamp(32px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    color: var(--cream);
}
.ud-inquiry-heading {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: var(--cream);
    margin: 10px 0 12px;
    line-height: 1.25;
}
.ud-inquiry-left p {
    font-size: 13.5px;
    color: rgba(248, 244, 237, 0.8);
    margin: 0;
    max-width: 360px;
}
.ud-inquiry-right {
    background: var(--white);
    padding: clamp(28px, 4vw, 44px);
}

@media (max-width: 900px) {
    .ud-inquiry-shell {
        grid-template-columns: 1fr;
    }
    .ud-inquiry-left {
        min-height: 220px;
        justify-content: flex-end;
    }
}

@media (max-width: 1100px) {
    .ud-doc-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 760px) {
    .ud-doc-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 460px) {
    .ud-doc-grid {
        grid-template-columns: 1fr;
    }
}
