/* Healthstar Primary Care of Kingsport — Stylesheet */

/* Color Palette */
:root {
    --yellow: #fed300;
    --yellow-light: #fff9e0;
    --yellow-dark: #e6be00;
    --dark: #272727;
    --gray-mid: #666666;
    --gray-light: #f5f5f5;
    --gray-border: #e0e0e0;
    --white: #ffffff;
    --green: #28a745;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* fallback if JS hasn't run yet */
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── HEADER ──────────────────────────────────────────── */
header {
    background: var(--white);
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.star-icon {
    flex-shrink: 0;
}

.star-icon img {
    height: 64px;
    width: auto;
    display: block;
}

.title-group h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin: 0;
}

.title-group .tagline {
    font-size: 0.88rem;
    color: var(--gray-mid);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-header-link {
    position: relative;
    color: var(--dark);
    background: var(--yellow);
    border: 2px solid var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.9rem;
    text-decoration: none;
}

.phone-header-link:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
}

.phone-header-link::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 200;
}

.phone-header-link:hover::after {
    opacity: 1;
}

.fb-link {
    position: relative;
    color: var(--white);
    background: #1877f2;
    border: 2px solid #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    transition: all 0.2s;
}

.fb-link:hover {
    background: #1558b0;
    border-color: #1558b0;
}

.fb-link::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 200;
}

.fb-link:hover::after {
    opacity: 1;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--gray-mid);
}

.main-nav a.nav-active {
    color: var(--yellow-dark);
    font-weight: 600;
}

/* ─── NEWS ALERT BANNER ───────────────────────────────── */
.news-alert-banner {
    background: #cc1f1f;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    flex-wrap: wrap;
}

.news-alert-tag {
    background: var(--yellow);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.2rem 0.65rem;
    border-radius: 3px;
    flex-shrink: 0;
}

.news-alert-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

.news-alert-text a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
}

.news-alert-text a:hover {
    text-decoration: underline;
}

@media (max-width: 680px) {
    .news-alert-banner {
        padding: 0.65rem 1rem;
        gap: 0.6rem;
    }

    .news-alert-text {
        font-size: 0.88rem;
    }

    .alert-call-line {
        display: block;
        white-space: nowrap;
    }
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--yellow-light) 0%, #fffdf0 100%);
    border-bottom: 1px solid var(--gray-border);
    padding: 2.5rem 0 2rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border: 4px solid var(--yellow);
}

.hero-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.opening-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.hero-content > p {
    font-size: 1.1rem;
    color: var(--gray-mid);
    margin-bottom: 1.8rem;
}

.opening-info {
    margin-bottom: 2rem;
}

.opening-date {
    display: inline-block;
    background: var(--white);
    border: 2px solid var(--yellow);
    border-radius: 8px;
    padding: 0.5rem 1.4rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ─── SECTION COMMON ──────────────────────────────────── */
section {
    padding: 5rem 0 3rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-icon {
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 0.4rem;
    color: var(--gray-mid);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: var(--yellow);
    border-radius: 2px;
}

/* ─── NAV NEW PATIENT HIGHLIGHT ──────────────────────── */
.nav-new-patient {
    background: var(--yellow);
    color: var(--dark) !important;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-weight: 700 !important;
    white-space: nowrap;
    transition: background 0.2s !important;
}

.nav-new-patient:hover {
    background: var(--yellow-dark) !important;
    color: var(--dark) !important;
}

/* ─── NEW PATIENT CTA ─────────────────────────────────── */
.new-patient-cta {
    background: var(--white);
    padding: 2rem 0 3rem;
}

.new-patient-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
    background: var(--dark);
    border-radius: 14px;
    border-bottom: 5px solid var(--yellow);
    padding: 2rem 2.5rem 0.25rem;
}

.npc-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.4rem;
}

.new-patient-text h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.new-patient-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-yellow-lg {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    border: 2px solid var(--yellow);
    padding: 0.9rem 2.2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-yellow-lg:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.npc-hipaa {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.npc-hipaa .fa-lock {
    margin-right: 0.3rem;
    color: var(--yellow);
    opacity: 0.8;
}

.new-patient-steps {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.npc-steps-icon {
    font-size: 3.5rem;
    color: var(--yellow);
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.npc-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.82);
    font-size: 0.97rem;
    line-height: 1.5;
}

.npc-step-num {
    background: var(--yellow);
    color: var(--dark);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .nav-portal-btn {
        display: none;
    }

    .new-patient-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 680px) {
    .new-patient-cta {
        padding: 1.5rem 0;
    }

    .new-patient-text h2 {
        font-size: 1.6rem;
    }

    .btn-yellow-lg {
        display: block;
        text-align: center;
    }
}

/* ─── PAGE HEADER (sub-pages) ─────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--yellow-light) 0%, #fffdf0 100%);
    border-bottom: 1px solid var(--gray-border);
    padding: 2.5rem 0 2rem;
}

.page-header-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-mid);
    margin-bottom: 0.75rem;
}

.breadcrumb a {
    display: inline-block;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--gray-border);
    transition: background 0.2s, border-color 0.2s;
}

.breadcrumb a:hover {
    background: var(--yellow-light);
    border-color: var(--yellow);
}

.breadcrumb-sep {
    color: var(--gray-mid);
    font-size: 0.85rem;
}

.breadcrumb-current {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--yellow-dark);
}

.page-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin: 0;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--gray-mid);
    margin: 0;
}

/* ─── FORM EMBED SECTION ──────────────────────────────── */
.form-embed-section {
    background: var(--gray-light);
    padding: 2rem 0 3rem;
}

.form-embed-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

@media (max-width: 680px) {
    .form-embed-section .container {
        padding: 0;
    }

    .form-embed-wrapper {
        border-radius: 0;
        box-shadow: none;
    }

    .form-embed-section .container > p {
        padding: 0 16px;
    }
}

/* ─── CONFIRMATION PAGE ───────────────────────────────── */
.confirm-section {
    background: var(--gray-light);
    padding: 4rem 0 5rem;
    text-align: center;
}

.confirm-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-border);
    max-width: 620px;
    margin: 0 auto;
    padding: 3rem 3rem 2.5rem;
}

.confirm-icon {
    width: 80px;
    height: 80px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: var(--white);
}

.confirm-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.confirm-section p {
    font-size: 1.05rem;
    color: var(--gray-mid);
    max-width: 560px;
    margin: 0 0 1rem;
    line-height: 1.8;
    text-align: left;
}

.confirm-section .confirm-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── NAV PORTAL BUTTON ──────────────────────────────── */
.nav-portal-btn {
    background: var(--dark);
    color: var(--white) !important;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-weight: 600 !important;
    border: 2px solid var(--dark);
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s !important;
}

.nav-portal-btn:hover {
    background: var(--gray-mid) !important;
    border-color: var(--gray-mid) !important;
    color: var(--white) !important;
}

/* ─── PATIENT PORTAL SECTION ──────────────────────────── */
.patient-portal-section {
    background: var(--yellow-light);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--yellow);
}

.portal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portal-badge {
    display: inline-block;
    background: var(--yellow-light);
    color: var(--dark);
    border: 1px solid var(--yellow);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
}

.portal-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.portal-text p {
    font-size: 1rem;
    color: var(--gray-mid);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.portal-btn {
    font-size: 1.05rem;
    padding: 0.9rem 2.2rem;
}

.portal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.portal-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--white);
    border: 1px solid var(--yellow);
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
    font-size: 0.93rem;
    color: var(--dark);
    line-height: 1.5;
}

.portal-feature i {
    font-size: 1.2rem;
    color: var(--yellow-dark);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

@media (max-width: 900px) {
    .portal-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 680px) {
    .portal-features {
        grid-template-columns: 1fr;
    }

    .portal-text h2 {
        font-size: 1.6rem;
    }

    .portal-btn {
        display: block;
        text-align: center;
    }
}

/* ─── ABOUT ───────────────────────────────────────────── */
.about {
    background: var(--white);
    padding-top: 2.5rem;
}

.about-intro {
    margin: 0 0 3rem;
    text-align: left;
}

.about-intro p {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 4px solid var(--yellow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-mid);
    line-height: 1.6;
    margin: 0;
}

/* ─── WHY CHOOSE US ──────────────────────────────────── */
.why-choose-us {
    background: var(--gray-light);
    padding-top: 2.5rem;
}

.wcu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.wcu-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border-top: 4px solid var(--yellow);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.wcu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.wcu-icon {
    font-size: 1.8rem;
    color: var(--yellow-dark);
    margin-bottom: 1rem;
}

.wcu-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.wcu-card p {
    font-size: 0.9rem;
    color: var(--gray-mid);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .wcu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .wcu-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── LOCATION SNAPSHOT ──────────────────────────────── */
.location-snapshot {
    background: var(--gray-light);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 2rem 0;
}

.location-snapshot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.lsn-items {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.lsn-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

.lsn-item i {
    color: var(--yellow-dark);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.lsn-item a {
    color: var(--dark);
    text-decoration: none;
}

.lsn-item a:hover {
    color: var(--gray-mid);
}

@media (max-width: 900px) {
    .location-snapshot-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .lsn-items {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ─── PROVIDERS ───────────────────────────────────────── */
.providers {
    background: var(--gray-light);
    padding-top: 2.5rem;
}

.providers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.provider-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 5px solid var(--yellow);
    display: flex;
    flex-direction: column;
}

.provider-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--yellow-light);
    padding: 2.5rem 2rem 1.5rem;
}

.provider-photo-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.provider-photo-col .provider-credentials {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
}

.provider-photo {
    text-align: center;
}

.provider-photo img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--yellow);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: scale(1.4);
}

.provider-info {
    padding: 1.5rem 2rem 2rem;
    flex: 1;
}

.provider-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.reviews-float {
    float: right;
    margin: 0 0 0.5rem 1.5rem;
    max-width: 300px;
}

.provider-info::after {
    content: '';
    display: table;
    clear: both;
}

.provider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    background: #eef3f8;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.provider-header-left {
    flex: 1;
}

.provider-header-left h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.provider-header-left .provider-credentials {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.provider-header-right {
    flex-shrink: 0;
}

.provider-credentials {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-mid);
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.provider-info p {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 0.9rem;
    text-align: justify;
}

.provider-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.provider-specialties span {
    background: var(--yellow-light);
    border: 1px solid var(--yellow);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* ─── LOCATION ────────────────────────────────────────── */
.location {
    background: var(--white);
    padding-top: 2.5rem;
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-photos {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.photo-link {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    position: relative;
}

.photo-link img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.photo-link:hover img {
    transform: scale(1.02);
}

.photo-caption {
    display: block;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.address-box {
    background: var(--yellow-light);
    border-left: 6px solid var(--yellow);
    border-radius: 10px;
    padding: 1.8rem;
    margin-bottom: 2rem;
}

.address-box h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.address {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--dark);
    margin: 0;
}

.location-info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
}

.info-label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-mid);
    padding-top: 0.1rem;
}

.info-value {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.6;
}

.info-value em {
    color: var(--gray-mid);
}

/* ─── FAQ ─────────────────────────────────────────────── */
.faq {
    background: var(--gray-light);
    padding-top: 2.5rem;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--yellow);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--yellow-light);
}

.faq-item.open .faq-question {
    background: var(--yellow-light);
}

.faq-chevron {
    font-size: 0.85rem;
    color: var(--gray-mid);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-body {
    max-height: 400px;
}

.faq-answer {
    font-size: 0.97rem;
    color: var(--dark);
    line-height: 1.8;
    margin: 0;
    padding: 0.6rem 1.8rem 1.4rem;
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.9);
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: var(--yellow);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-col p em {
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

.footer-col p a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-col p a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.footer-bottom a,
.footer-bottom a:visited {
    color: inherit;
    text-decoration: underline;
}

/* ─── PATIENT REVIEWS ─────────────────────────────────── */
.patient-reviews {
    background: var(--white);
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--gray-border);
}

.rc-carousel {
    max-width: 720px;
    margin: 0 auto;
}

#rc-track {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-card {
    display: block;
    background: var(--gray-light);
    border-radius: 12px;
    padding: 1.8rem 2.2rem;
    width: 100%;
    border-left: 4px solid var(--yellow);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    text-decoration: none;
    color: inherit;
}

.rc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.rc-stars { font-size: 1rem; }
.rc-star-full  { color: #fbbc04; }
.rc-star-empty { color: #ddd; }

.rc-google-icon { flex-shrink: 0; }

.rc-text {
    font-size: 0.97rem;
    color: var(--dark);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-style: italic;
}

.rc-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rc-author {
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--dark);
}

.rc-sep { color: var(--gray-mid); }

.rc-time {
    font-size: 0.82rem;
    color: var(--gray-mid);
}

.rc-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--yellow);
    color: var(--dark);
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.25rem;
}

.rc-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.2rem;
}

.rc-arrow {
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    color: var(--dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.rc-arrow:hover {
    background: var(--yellow-light);
    border-color: var(--yellow);
}

#rc-dots {
    display: flex;
    gap: 0.4rem;
}

.rc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.rc-dot-active {
    background: var(--yellow-dark);
}

/* ─── GOOGLE REVIEWS WIDGET ───────────────────────────── */
.grw-inner {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #f0f2f5;
    border: 1px solid #d8dce3;
    border-radius: 10px;
    padding: 0.9rem 1.1rem 0.6rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-bottom: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.grw-inner:hover {
    background: #e5e8ed;
}

.grw-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.grw-rating-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.grw-score {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.grw-max {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-mid);
}

.grw-stars {
    display: flex;
    gap: 1px;
}

.grw-star {
    font-size: 1.1rem;
}

.grw-star-full  { color: #fbbc04; }
.grw-star-half  { color: #fbbc04; opacity: 0.6; }
.grw-star-empty { color: #ddd; }

.grw-count {
    font-size: 0.82rem;
    color: var(--gray-mid);
}

.grw-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
}

.grw-link:hover {
    text-decoration: underline;
}

.grw-error {
    font-size: 0.82rem;
    color: var(--gray-mid);
    font-style: italic;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .providers-grid {
        grid-template-columns: 1fr;
    }

    .provider-card {
        flex-direction: column;
    }

    .provider-photo-col {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: left;
    }

    .provider-photo-col h3,
    .provider-photo-col .provider-credentials {
        text-align: left;
    }

    .provider-photo img {
        width: 110px;
        height: 110px;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .location-photos {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large phone */
@media (max-width: 680px) {
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.75rem 0;
    }

    .title-group h1 {
        font-size: 1.05rem;
    }

    .title-group .tagline {
        font-size: 0.7rem;
        letter-spacing: 0;
    }

    .star-icon img {
        height: 40px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        gap: 1rem;
    }

    .main-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .main-nav a {
        font-size: 0.85rem;
    }

    .nav-portal-btn {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 2rem 0;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .opening-badge {
        font-size: 0.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Section titles */
    .section-title {
        font-size: 1.6rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Providers */
    .provider-photo-col {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .provider-photo-col h3,
    .provider-photo-col .provider-credentials {
        text-align: center;
    }

    .provider-info {
        padding: 1rem 1.25rem 1.5rem;
        text-align: left;
    }

    .provider-info p {
        text-align: left;
    }

    .reviews-float {
        float: none;
        margin: 0 0 1rem 0;
        max-width: 100%;
    }

    /* Location */
    .location-photos {
        grid-template-columns: 1fr;
    }

    .location-info-items {
        gap: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    footer {
        padding: 2.5rem 0 1.5rem;
    }
}

/* Small phone */
@media (max-width: 420px) {
    .title-group h1 {
        font-size: 0.95rem;
    }

    .hero-content h2 {
        font-size: 1.35rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        gap: 0.6rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .main-nav a {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .provider-photo img {
        width: 100px;
        height: 100px;
    }

    .info-item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .faq-question {
        font-size: 0.97rem;
    }
}
