/* ============================================================
   HOME PAGE — Mobile-first Modern UI
   Companion to portal-modern.css
   Spacing scale: 8 | 16 | 24 | 32 | 48px
   ============================================================ */

/* ----------------------------------------------------------
   DESIGN TOKENS (page-level overrides)
   ---------------------------------------------------------- */
:root {
    --hp-accent:       #0D9488;   /* teal/medical green */
    --hp-accent-light: #CCFBF1;
    --hp-accent-dark:  #0F766E;
    --hp-blue:         #2563EB;
    --hp-blue-light:   #DBEAFE;
    --hp-section-gap:  48px;
    --hp-section-gap-mob: 32px;
    --hp-card-radius:  16px;
    --hp-card-shadow:  0 2px 16px rgba(15,23,42,0.08);
    --hp-card-shadow-hov: 0 8px 32px rgba(15,23,42,0.13);
}

/* ----------------------------------------------------------
   HERO BUTTONS (mobile) — accessible, modern, enterprise feel
   ---------------------------------------------------------- */
.hp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.hp-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-image: linear-gradient(90deg,#00C9A7,#00B395);
    border: 0;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,201,167,0.16);
}
.hp-hero-btn-primary i { font-size: 14px; }
.hp-hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,201,167,0.2); }
.hp-hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.9);
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.hp-hero-btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.06); box-shadow: 0 8px 22px rgba(0,0,0,0.16); }
.hp-hero-btn-primary:focus, .hp-hero-btn-ghost:focus { outline: 3px solid rgba(0,201,167,0.14); outline-offset: 3px; }


/* ----------------------------------------------------------
   SECTION WRAPPER — tighter on mobile
   ---------------------------------------------------------- */
.portal-section,
section.portal-section {
    padding: var(--hp-section-gap) 0;
}
@media (max-width: 767px) {
    .portal-section,
    section.portal-section {
        padding: var(--hp-section-gap-mob) 0 !important;
    }
    section.section-custom-medical {
        padding: 0 0 var(--hp-section-gap-mob) !important;
    }
}

/* ----------------------------------------------------------
   SECTION TAGS (pill labels above titles)
   ---------------------------------------------------------- */
.hp-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}
.hp-section-tag--blue  { background: var(--hp-blue-light);  color: var(--hp-blue); }
.hp-section-tag--teal  { background: var(--hp-accent-light); color: var(--hp-accent-dark); }

/* ----------------------------------------------------------
   SECTION HEADERS — smaller & lighter on mobile
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .section-header h2 {
        font-size: 20px !important;
    }
    .section-header {
        margin-bottom: 24px !important;
    }
}

/* ----------------------------------------------------------
   INFO BAR (clinic name · hours · emergency)
   ---------------------------------------------------------- */
.hp-info-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 16px;
    background: #ffffff;
    border-radius: var(--hp-card-radius);
    box-shadow: var(--hp-card-shadow);
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .hp-info-bar {
        flex-direction: row;
        align-items: stretch;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        gap: 0;
    }
}

/* Individual pill inside info bar */
.hp-info-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    flex: 1;
}
.hp-info-pill--brand    { background: var(--hp-blue);  color: #fff; }
.hp-info-pill--dark     { background: #0F172A; color: #fff; }
.hp-info-pill--hours    { background: #F8FAFC; color: #0F172A; border: 1px solid #E2E8F0; }

.hp-info-pill__icon {
    font-size: 22px;
    opacity: 0.9;
    flex-shrink: 0;
}
.hp-info-pill__label {
    font-size: 11px;
    opacity: 0.8;
    display: block;
    margin-bottom: 2px;
    font-weight: 500;
}
.hp-info-pill__value {
    font-size: 15px;
    font-weight: 700;
    display: block;
    line-height: 1.3;
}
.hp-info-pill--hours .hp-info-pill__label { color: #64748B; }
.hp-info-pill--hours .hp-info-pill__value { color: #0F172A; font-size: 14px; }

/* Expandable hours detail */
.hp-hours-detail {
    font-size: 12px;
    margin-top: 6px;
    color: #64748B;
    line-height: 1.6;
}
.hp-hours-detail span { display: block; }

@media (min-width: 768px) {
    .hp-info-bar { border-radius: var(--hp-card-radius); overflow: hidden; box-shadow: var(--hp-card-shadow); }
    .hp-info-pill { border-radius: 0; }
}

/* ----------------------------------------------------------
   ABOUT US / MISSION / VISION — text panel
   ---------------------------------------------------------- */
.hp-text-section {
    padding: var(--hp-section-gap) 0;
}
@media (max-width: 767px) {
    .hp-text-section { padding: var(--hp-section-gap-mob) 0; }
}

.hp-text-section__title {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
    line-height: 1.3;
}
@media (max-width: 767px) {
    .hp-text-section__title { font-size: 20px; }
}

.hp-text-section__body {
    font-size: 15px;
    line-height: 1.75;
    color: #6B7280;
    margin-bottom: 24px;
}

.hp-text-section__img {
    border-radius: var(--hp-card-radius);
    box-shadow: var(--hp-card-shadow);
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}
@media (min-width: 768px) {
    .hp-text-section__img { max-height: none; }
}

/* read-more link (subtle, not full button) */
.hp-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-blue);
    text-decoration: none;
    padding: 8px 0;
    transition: gap 0.2s;
}
.hp-read-more:hover { gap: 10px; color: var(--hp-blue); text-decoration: none; }
.hp-read-more i { font-size: 12px; }

/* ----------------------------------------------------------
   HORIZONTAL SCROLL STRIP (mobile swipe)
   ---------------------------------------------------------- */
.hp-scroll-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
    /* allow strip to bleed slightly to show next card peeks */
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
}
.hp-scroll-strip::-webkit-scrollbar { display: none; }

.hp-scroll-card {
    flex: 0 0 76vw;
    max-width: 280px;
    scroll-snap-align: start;
}
@media (max-width: 400px) {
    .hp-scroll-card { flex: 0 0 82vw; }
}

/* Scroll dots indicator */
.hp-scroll-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}
.hp-scroll-dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #CBD5E1;
    display: block;
    transition: background 0.2s;
}
.hp-scroll-dots span.active { background: var(--hp-blue); width: 18px; border-radius: 3px; }

/* On desktop: revert to grid, no scroll */
@media (min-width: 768px) {
    .hp-scroll-strip {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        overflow: visible;
        scroll-snap-type: none;
        flex-wrap: unset;
        margin: 0;
        padding: 0;
    }
    .hp-scroll-card {
        flex: unset;
        max-width: none;
    }
    .hp-scroll-strip.hp-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .hp-scroll-strip.hp-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .hp-scroll-strip.hp-grid-auto {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    .hp-scroll-dots { display: none; }
}

/* ----------------------------------------------------------
   DOCTOR CARDS — redesigned
   ---------------------------------------------------------- */
.hp-doctor-card {
    background: #fff;
    border-radius: var(--hp-card-radius);
    box-shadow: var(--hp-card-shadow);
    overflow: hidden;
    border: 1px solid #F1F5F9;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    display: block;
}
.hp-doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-card-shadow-hov);
    text-decoration: none;
}
.hp-doctor-card__img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--hp-blue-light);
}
.hp-doctor-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-doctor-card__body {
    padding: 14px 16px;
}
.hp-doctor-card__dept {
    font-size: 11px;
    font-weight: 600;
    color: var(--hp-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: block;
}
.hp-doctor-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1.3;
}
.hp-doctor-card__bio {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----------------------------------------------------------
   DEPARTMENT CARDS — icon-based
   ---------------------------------------------------------- */
.hp-dept-card {
    background: #fff;
    border-radius: var(--hp-card-radius);
    box-shadow: var(--hp-card-shadow);
    border: 1px solid #F1F5F9;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    height: 100%;
}
.hp-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-card-shadow-hov);
    text-decoration: none;
}
.hp-dept-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--hp-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-dept-card__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.hp-dept-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.3;
}
.hp-dept-card__desc {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----------------------------------------------------------
   SERVICE CARDS
   ---------------------------------------------------------- */
.hp-service-card {
    background: #fff;
    border-radius: var(--hp-card-radius);
    box-shadow: var(--hp-card-shadow);
    border: 1px solid #F1F5F9;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.hp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-card-shadow-hov);
}
.hp-service-card__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: var(--hp-accent-light);
}
.hp-service-card__body { padding: 14px 16px; }
.hp-service-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    line-height: 1.3;
    text-decoration: none;
    display: block;
}
.hp-service-card__name:hover { color: var(--hp-blue); text-decoration: none; }
.hp-service-card__desc {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----------------------------------------------------------
   ARTICLE CARDS (home page strip)
   ---------------------------------------------------------- */
.hp-article-card {
    background: #fff;
    border-radius: var(--hp-card-radius);
    box-shadow: var(--hp-card-shadow);
    border: 1px solid #F1F5F9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
}
.hp-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-card-shadow-hov);
    text-decoration: none;
}
.hp-article-card__img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}
.hp-article-card__body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.hp-article-card__meta {
    font-size: 11px;
    color: #9CA3AF;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.hp-article-card__meta .sep { color: #E2E8F0; }
.hp-article-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-article-card__excerpt {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.hp-article-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    text-decoration: none;
}
.hp-article-card__link:hover { text-decoration: none; gap: 7px; }

/* ----------------------------------------------------------
   INSURANCE LOGOS STRIP
   ---------------------------------------------------------- */
.hp-insurance-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
    align-items: center;
}
.hp-insurance-strip::-webkit-scrollbar { display: none; }
.hp-insurance-item {
    flex: 0 0 110px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #F1F5F9;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 1px 6px rgba(15,23,42,0.05);
}
.hp-insurance-item img {
    max-height: 46px;
    max-width: 90px;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: filter 0.2s, opacity 0.2s;
}
.hp-insurance-item:hover img { filter: grayscale(0); opacity: 1; }

@media (min-width: 768px) {
    .hp-insurance-strip {
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
        justify-content: center;
        gap: 16px;
        padding-bottom: 0;
        scroll-snap-type: none;
    }
    .hp-insurance-item {
        flex: 0 0 auto;
        width: 130px;
    }
}

/* ----------------------------------------------------------
   SECTION CTA ROW
   ---------------------------------------------------------- */
.hp-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
@media (max-width: 767px) {
    .hp-cta-row { margin-top: 24px; }
}

/* Outline CTA (less prominent) */
.hp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    background: transparent;
    color: var(--hp-blue);
    border: 1.5px solid var(--hp-blue);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.hp-btn-outline:hover {
    background: var(--hp-blue);
    color: #fff;
    text-decoration: none;
}
.hp-btn-outline i { font-size: 11px; }

/* ----------------------------------------------------------
   FOOTER — mobile improvements
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    #footer .row.pt-5 {
        padding-top: 32px !important;
    }
    #footer .col-md-6 {
        margin-bottom: 28px;
    }
    #footer h4 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    .footer-divider {
        border: none;
        border-top: 1px solid rgba(255,255,255,0.08);
        margin: 4px 0 24px;
        display: block;
    }
}

/* Footer info row — quick stats bar above columns */
.footer-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 24px;
    margin-bottom: 32px;
}
.footer-stat {
    flex: 1 1 50%;
    padding: 12px 8px;
    text-align: center;
}
.footer-stat__num {
    font-size: 22px;
    font-weight: 700;
    color: var(--hp-accent);
    display: block;
}
.footer-stat__label {
    font-size: 12px;
    color: #94A3B8;
}
@media (min-width: 768px) {
    .footer-stats-bar { display: none; }
}

/* Footer heading */
.footer-heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #F1F5F9;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hp-accent);
    display: inline-block;
}

/* Navigation / info links in footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.6;
    padding-left: 12px;
    position: relative;
}
.footer-links li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hp-accent);
    position: absolute;
    left: 0;
    top: 7px;
}
.footer-links li a {
    font-size: 13px;
    color: #94A3B8 !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.footer-links li a:hover { color: #fff !important; }

/* Opening hours */
.footer-hours-block { margin-bottom: 12px; }
.footer-hours-name {
    font-size: 12px;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 4px;
}
.footer-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #94A3B8;
}

/* Emergency phone */
.footer-emergency-number {
    display: inline-flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #E2E8F0 !important;
    text-decoration: none;
    transition: color 0.2s;
    margin-top: 4px;
}
.footer-emergency-number:hover { color: var(--hp-accent) !important; }

/* ----------------------------------------------------------
   MOBILE — Card text, hero, labels  (≤767px)
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    /* Card description text — bump from 12px to 13px for readability */
    .hp-doctor-card__bio,
    .hp-dept-card__desc,
    .hp-service-card__desc { font-size: 13px; }

    /* Article excerpt — bump from 13px to 14px */
    .hp-article-card__excerpt { font-size: 14px; }

    /* Section tag pills — bump from 11px to 12px */
    .hp-section-tag { font-size: 12px; }

    /* Info pill labels — bump from 11px to 12px */
    .hp-info-pill__label { font-size: 12px; }

    /* Hero title — explicit mobile sizing */
    .hp-hero-title {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.25;
        color: #ffffff;
        margin-bottom: 14px;
    }

    /* Hero subtitle */
    .hp-hero-subtitle {
        font-size: 14px;
        color: rgba(255,255,255,0.85);
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* Hero pre-title tag */
    .hp-hero-tag {
        font-size: 11px;
        margin-bottom: 12px;
    }

    /* Hero CTA buttons — stack vertically on small screens */
    .hp-hero-actions {
        gap: 10px;
        flex-direction: column;
        width: 100%;
    }
    .hp-hero-btn-primary,
    .hp-hero-btn-ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------------------------
   RTL SUPPORT
   ---------------------------------------------------------- */
html[dir="rtl"] .hp-read-more { flex-direction: row-reverse; }
html[dir="rtl"] .hp-dept-card { align-items: flex-end; }
html[dir="rtl"] .hp-info-pill { flex-direction: row-reverse; }
html[dir="rtl"] .footer-links li { padding-left: 0; padding-right: 12px; }
html[dir="rtl"] .footer-links li::before { left: auto; right: 0; }
html[dir="rtl"] .footer-links li a { flex-direction: row-reverse; }
html[dir="rtl"] #footer h4::after { left: auto; right: 0; }

/* ----------------------------------------------------------
   STATS SECTION — animated counters
   ---------------------------------------------------------- */
.hp-stats-section {
    background: var(--hp-blue);
    padding: 32px 0;
}
.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: hidden;
}
.hp-stat-item {
    background: rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    gap: 8px;
    text-align: center;
    transition: background 0.25s;
}
.hp-stat-item:hover { background: rgba(255,255,255,0.12); }
.hp-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 4px;
}
.hp-stat-icon--blue   { background: rgba(255,255,255,0.18); }
.hp-stat-icon--teal   { background: rgba(13,148,136,0.55); }
.hp-stat-icon--purple { background: rgba(139,92,246,0.55); }
.hp-stat-icon--amber  { background: rgba(245,158,11,0.55); }
.hp-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.hp-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ----------------------------------------------------------
   APPOINTMENT CTA BANNER
   ---------------------------------------------------------- */
.hp-appt-cta {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 55%, #0D9488 100%);
    padding: 48px 0;
    overflow: hidden;
}
.hp-appt-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(13,148,136,0.25) 0%, transparent 60%),
                      radial-gradient(circle at 10% 80%, rgba(37,99,235,0.20) 0%, transparent 50%);
    pointer-events: none;
}
.hp-appt-cta__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}
.hp-appt-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hp-accent);
    margin: 0;
}
.hp-appt-cta__title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 4px 0;
    letter-spacing: -0.01em;
}
.hp-appt-cta__subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.6;
}
.hp-appt-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}
.hp-appt-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}
.hp-appt-cta__btn--primary {
    background: linear-gradient(90deg, #00C9A7, #00B395);
    color: #fff;
    box-shadow: 0 6px 22px rgba(0,201,167,0.22);
}
.hp-appt-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,201,167,0.28);
    filter: brightness(1.05);
    color: #fff;
    text-decoration: none;
}
.hp-appt-cta__btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.88);
    border: 1.5px solid rgba(255,255,255,0.35);
}
.hp-appt-cta__btn--ghost:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.07);
    color: #fff;
    text-decoration: none;
    border-color: rgba(255,255,255,0.55);
}

/* ----------------------------------------------------------
   DOCTOR CARD FOOTER — "Book Visit" strip
   ---------------------------------------------------------- */
.hp-doctor-card__footer {
    padding: 10px 16px 14px;
    border-top: 1px solid #F1F5F9;
}
.hp-doctor-card__book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 8px 0;
    border-radius: 8px;
    background: var(--hp-blue-light, #DBEAFE);
    color: var(--hp-blue, #2563EB);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s;
}
.hp-doctor-card:hover .hp-doctor-card__book-btn {
    background: var(--hp-blue, #2563EB);
    color: #fff;
}

