/* ============================================================
   SECONDMEDIC — HEALTH HUB PAGES
   Listing cards + Detail page
   ============================================================ */

/* ─── CSS Variables (scoped to hub pages) ─── */
.hh-page-scope,
.listing-hero,
.hh-listing,
.hub-card,
.detail-hero,
.info-card,
.book-sidebar,
#book-appointment {
    --hh-primary:       #00b5ad;
    --hh-primary-dark:  #008f89;
    --hh-primary-light: #e0f7f5;
    --hh-dark:          #111111;
    --hh-text:          #3d4f6b;
    --hh-muted:         #7a8aa0;
    --hh-border:        #e5e7eb;
    --hh-white:         #ffffff;
    --hh-success:       #28a745;
    --hh-radius:        12px;
    --hh-radius-lg:     16px;
    --hh-radius-sm:     8px;
    --hh-shadow:        rgba(0, 0, 0, 0.06);
    --hh-shadow-lg:     rgba(0, 181, 173, 0.25);
    --hh-transition:    all 0.3s ease;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.hh-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    flex-wrap: wrap;
}
.hh-breadcrumb a {
    color: #7a8aa0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.hh-breadcrumb a:hover { color: #00b5ad; }
.hh-breadcrumb .bc-current { color: #111111; font-weight: 600; }

/* ============================================================
   LISTING HERO  (hh-hero)
   ============================================================ */
.hh-hero {
    background: linear-gradient(135deg, #007c6e 0%, #00b5ad 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
.hh-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.hh-hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.hh-hero__eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.hh-hero__title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hh-hero__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}
/* Stat pills */
.hh-stat-pill {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 10px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}
.hh-stat-pill__num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}
.hh-stat-pill__label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 2px;
}

/* ─── Search bar ─── */
.listing-search-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 25px;
    flex-wrap: wrap;
}
.listing-search-box .ls-field {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-right: 1px solid #e5e7eb;
}
.listing-search-box .ls-field:last-of-type { border-right: none; }
.listing-search-box .ls-field i { color: #00b5ad; }
.listing-search-box .ls-field input,
.listing-search-box .ls-field select {
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: #3d4f6b;
    width: 100%;
    background: transparent;
}
.listing-search-box .ls-btn {
    background: #00b5ad;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.25s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}
.listing-search-box .ls-btn:hover { background: #008f89; }

/* ============================================================
   HUB CARD  (listing grid)
   ============================================================ */
.hub-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0, 181, 173, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.hub-card:hover {
    border-color: #00b5ad;
    box-shadow: 0 22px 60px rgba(0, 181, 173, 0.2);
    transform: translateY(-6px);
}

/* Banner image area */
.hub-card .hub-img {
    height: 140px;
    background: linear-gradient(135deg, #008f89, #00b5ad);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 0 0;
}
.hub-card .hub-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 55%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08), transparent 50%);
    pointer-events: none;
}
.hub-card .hub-img > i {
    font-size: 3rem;
    color: #ffffff;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}
.hub-card:hover .hub-img > i { transform: scale(1.08); }

/* Open / Closed pill */
.hub-card .hub-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.hub-card .hub-badge.open  { background: rgba(22,163,74,0.95); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hub-card .hub-badge.closed{ background: rgba(220,53,69,0.95);  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hub-card .hub-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
    animation: hh-badge-pulse 1.8s ease-in-out infinite;
}
.hub-card .hub-badge.open::before  { background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
.hub-card .hub-badge.closed::before{ background: #fca5a5; }
@keyframes hh-badge-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.25); opacity: 0.6; }
}

/* Heart favourite */
.hub-card .hub-fav {
    position: absolute;
    top: 10px; right: 10px;
    width: 34px; height: 34px;
    background: #ffffff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #d0d5dd;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 3;
    border: none;
    font-size: 0.85rem;
}
.hub-card .hub-fav:hover  { transform: scale(1.15); color: #e74c3c; }
.hub-card .hub-fav.active { color: #e74c3c; }

/* Top Rated ribbon */
.hub-card .hub-top-rated {
    position: absolute;
    bottom: 10px; right: 12px;
    z-index: 3;
    background: #ffffff;
    color: #111111;
    font-size: 0.66rem;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: 50px;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    display: inline-flex; align-items: center; gap: 5px;
    text-transform: uppercase;
}
.hub-card .hub-top-rated i { color: #ffc107; font-size: 0.65rem; }

/* Floating icon badge */
.hub-icon-badge {
    width: 52px; height: 52px;
    border-radius: 14px;
    border: 3px solid #ffffff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,181,173,0.25);
    margin-top: -26px;
    margin-bottom: 14px;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.hub-card:hover .hub-icon-badge {
    transform: translateY(-2px) rotate(-4deg);
    box-shadow: 0 10px 26px rgba(0,181,173,0.35);
}

/* Card body */
.hub-card .hub-body {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hub-card .hub-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
    line-height: 1.35;
    transition: color 0.25s ease;
}
.hub-card:hover .hub-name { color: #00b5ad; }
.hub-card .hub-location {
    font-size: 0.8rem;
    color: #7a8aa0;
    display: flex; align-items: flex-start; gap: 6px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.hub-card .hub-location i { color: #00b5ad; font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }

/* Rating pill */
.hub-card .hub-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    background: #fff9e6;
    padding: 4px 10px;
    border-radius: 50px;
    width: fit-content;
}
.hub-card .stars { color: #ffc107; font-size: 0.72rem; display: inline-flex; gap: 1px; }
.hub-card .rating-num { font-size: 0.78rem; font-weight: 800; color: #111111; }
.hub-card .review-count { font-size: 0.7rem; color: #7a8aa0; font-weight: 500; }

/* Service tags */
.hub-card .hub-services { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.hub-card .service-tag {
    background: #e0f7f5;
    color: #00b5ad;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.hub-card .service-tag:hover { background: #00b5ad; color: #ffffff; }

/* Card footer */
.hub-card .hub-footer {
    display: flex; align-items: center;
    padding-top: 14px;
    margin-top: auto;
    border-top: 1px dashed #e5e7eb;
    gap: 10px;
}
.hub-card .hub-distance {
    font-size: 0.78rem;
    color: #7a8aa0;
    display: inline-flex; align-items: center; gap: 5px;
    font-weight: 500;
}
.hub-card .hub-distance i { color: #00b5ad; font-size: 0.85rem; }
.hub-card .hub-footer-actions {
    display: flex; align-items: center; gap: 8px;
    margin-left: auto; flex: 1; justify-content: flex-end;
}
.hub-card .hub-phone-btn {
    width: 40px; height: 40px;
    background: #e0f7f5;
    color: #00b5ad;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}
.hub-card .hub-phone-btn:hover {
    background: #00b5ad;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,181,173,0.25);
}
.hub-card .btn-book {
    background: #00b5ad;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,181,173,0.25);
    flex: 1;
    max-width: 180px;
    white-space: nowrap;
}
.hub-card .btn-book:hover {
    background: #008f89;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,181,173,0.35);
}
.hub-card .btn-book i { font-size: 0.72rem; transition: transform 0.25s ease; }
.hub-card .btn-book:hover i { transform: translateX(3px); }

/* When no distance: button takes full width */
.hub-card .hub-footer:not(:has(.hub-distance)) .hub-footer-actions { flex: 1; }
.hub-card .hub-footer:not(:has(.hub-distance)) .btn-book { max-width: none; }

/* Pagination */
.hh-pagination { margin-top: 40px; display: flex; justify-content: center; }

/* ============================================================
   DETAIL PAGE — HERO BANNER
   ============================================================ */
.hub-detail-banner {
    height: 440px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hub-detail-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.55);
    z-index: 1;
}
.hub-detail-banner .banner-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 60px;
    z-index: 0;
}
.hub-detail-banner .banner-bg i {
    font-size: 12rem;
    color: rgba(255,255,255,0.06);
}
.hub-detail-banner .banner-circles span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.hub-detail-banner .banner-content {
    position: relative;
    z-index: 2;
    padding-bottom: 175px;
    padding-top: 20px;
    width: 100%;
}
.hub-detail-banner .banner-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.4px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
    margin-bottom: 10px;
}
.hub-detail-banner .banner-content p {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.hub-detail-banner .banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* ─── Detail hero floating section ─── */
.detail-hero {
    background: transparent !important;
    padding: 0 !important;
    margin-top: -175px;
    position: relative;
    z-index: 5;
}
.detail-hero .hh-breadcrumb a { color: rgba(255,255,255,0.78) !important; }
.detail-hero .hh-breadcrumb a:hover { color: #ffffff !important; }
.detail-hero .hh-breadcrumb .bc-current { color: #ffffff !important; }
.detail-hero .hh-breadcrumb .bc-sep i { color: rgba(255,255,255,0.4) !important; }

/* ─── Hub header card ─── */
.hub-header-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    border-top: 4px solid #00b5ad;
    padding: 32px;
    box-shadow: 0 24px 72px rgba(17,17,17,0.18), 0 4px 18px rgba(0,181,173,0.10);
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-top: 16px;
}
.hub-header-img {
    width: 130px;
    height: 130px;
    border-radius: 18px;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.hub-header-info { flex: 1; min-width: 0; }
.hub-header-info .hub-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}
.hub-header-info h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 6px;
    line-height: 1.25;
}
.hub-header-info .hub-meta {
    display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px;
}
.hub-header-info .hub-meta-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; color: #7a8aa0;
}
.hub-header-info .hub-meta-item i { color: #00b5ad; }
.hub-header-actions {
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 12px; flex-shrink: 0;
}
.hub-header-actions .hub-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; font-weight: 600;
}
.hub-header-actions .hub-status.open  { color: #28a745; }
.hub-header-actions .hub-status.closed{ color: #dc3545; }
.hub-header-actions .hub-status .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Action buttons on header card */
.btn-primary-hh {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    background: #00b5ad;
    color: #ffffff;
    border: none; border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.88rem; font-weight: 700;
    cursor: pointer; text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0,181,173,0.28);
}
.btn-primary-hh:hover {
    background: #008f89; color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,181,173,0.38);
}
.btn-outline-hh {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    background: transparent;
    color: #00b5ad;
    border: 1.5px solid #00b5ad; border-radius: 50px;
    padding: 9px 20px;
    font-size: 0.88rem; font-weight: 700;
    cursor: pointer; text-decoration: none;
    transition: all 0.25s ease;
}
.btn-outline-hh:hover {
    background: #00b5ad; color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================================
   INFO CARDS  (detail page sections)
   ============================================================ */
.info-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #d8eef4;
    margin-bottom: 28px;
    box-shadow: 0 2px 16px rgba(17,17,17,0.06);
    overflow: hidden;
}
.info-card .info-card-header {
    background: linear-gradient(90deg,#f0fdf9,#fafffe);
    border-bottom: 1px solid #c8ece9;
    border-left: 4px solid #00b5ad;
    padding: 16px 22px;
    display: flex; align-items: center; gap: 12px;
}
.info-card .info-card-header i {
    width: 32px; height: 32px;
    background: rgba(0,181,173,0.12);
    border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #00b5ad;
}
.info-card .info-card-header h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #111111;
    margin: 0;
    letter-spacing: -0.2px;
}
.info-card .info-card-body { padding: 24px; }

/* ─── Services rich text ─── */
.hub-services-rich-text h4 {
    font-size: 1.05rem; font-weight: 800; color: #111111;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 2px solid #e0f7f5;
    display: flex; align-items: center; gap: 10px;
}
.hub-services-rich-text h4::before {
    content: '';
    display: inline-block; width: 4px; height: 20px;
    background: linear-gradient(180deg,#00b5ad,#008f89);
    border-radius: 3px; flex-shrink: 0;
}
.hub-services-rich-text ul {
    list-style: none !important; padding: 0 !important; margin: 0 !important;
    display: grid; grid-template-columns: repeat(2,1fr); gap: 14px;
}
.hub-services-rich-text ul li {
    background: linear-gradient(135deg,#f5fffe,#fafffe);
    border: 1px solid #c8ece9;
    border-radius: 12px;
    padding: 16px 16px 16px 46px;
    font-size: 0.87rem; color: #3d4f6b; line-height: 1.65;
    position: relative; transition: all 0.25s ease; list-style: none;
}
.hub-services-rich-text ul li:hover {
    border-color: #00b5ad;
    background: linear-gradient(135deg,#edfffe,#e0f7f5);
    box-shadow: 0 4px 18px rgba(0,181,173,0.15);
    transform: translateY(-2px);
}
.hub-services-rich-text ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 16px; top: 16px;
    color: #00b5ad; font-size: 0.95rem;
}
.hub-services-rich-text ul li strong {
    display: block; color: #111111; font-weight: 700;
    font-size: 0.92rem; margin-bottom: 3px;
}

/* ─── Gallery images ─── */
.gal-img {
    height: 260px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #008f89, #00b5ad);
}
.gal-item { padding: 0 6px; }
.gal-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 14px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    color: #ffffff; font-size: 0.8rem; font-weight: 600;
}
.gal-circle {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    pointer-events: none;
}
.gal-zoom-icon {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.gal-item .gal-img:hover .gal-zoom-icon { opacity: 1; }

/* Gallery nav buttons */
.gallery-nav button {
    width: 32px; height: 32px;
    border: 1.5px solid #e5e7eb; border-radius: 8px;
    background: #ffffff; color: #7a8aa0;
    cursor: pointer; font-size: 0.8rem;
    transition: all 0.3s; display: inline-flex;
    align-items: center; justify-content: center;
}
.gallery-nav button:hover { border-color: #00b5ad; color: #00b5ad; }

/* ─── Map placeholder ─── */
.map-placeholder {
    background: linear-gradient(135deg,#f5fdfc,#e0f7f5);
    border: 2px dashed #c8ece9;
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    color: #00b5ad;
}
.map-placeholder > i { font-size: 3rem; color: #00b5ad; margin-bottom: 4px; }
.map-placeholder > p { color: #7a8aa0; font-size: 0.88rem; margin-bottom: 4px; }

/* ============================================================
   BOOK APPOINTMENT SECTION
   ============================================================ */
#book-appointment {
    background: linear-gradient(135deg,#f0fdf9 0%,#e8f8f7 100%);
    padding: 64px 0;
    border-top: 1px solid #c3ecea;
    position: relative;
    overflow: hidden;
}
.appt-form-wrapper {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 44px;
    box-shadow: 0 4px 30px rgba(0,181,173,0.08);
}
.form-label-hh {
    font-size: 0.82rem; font-weight: 600;
    color: #111111; margin-bottom: 6px; display: block;
}
.form-label-hh .required { color: #e53935; margin-left: 2px; }
.form-input-hh {
    width: 100%;
    border: 1.5px solid #e5e7eb; border-radius: 10px;
    padding: 12px 16px; font-size: 0.9rem;
    color: #111111; outline: none; background: #ffffff;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input-hh:focus {
    border-color: #00b5ad;
    box-shadow: 0 0 0 3px rgba(0,181,173,0.12);
}
.form-input-hh::placeholder { color: #9ca3af; }
select.form-input-hh {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.5 7.5L10 12l4.5-4.5' stroke='%236b7280' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
    padding-right: 40px;
}
.form-hint { color: #7a8aa0; font-size: 0.74rem; margin-top: 6px; display: block; }

/* Phone input group */
.phone-input-group {
    display: flex; align-items: stretch;
    border: 1.5px solid #e5e7eb; border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
}
.phone-input-group:focus-within {
    border-color: #00b5ad;
    box-shadow: 0 0 0 3px rgba(0,181,173,0.12);
}
.phone-input-group .phone-prefix {
    display: flex; align-items: center;
    padding: 0 14px;
    background: #f5fdfc; color: #00b5ad;
    font-weight: 700; font-size: 0.9rem;
    border-right: 1.5px solid #e5e7eb; flex-shrink: 0;
}
.phone-input-group .phone-input {
    flex: 1; border: none; outline: none;
    padding: 12px 14px; font-size: 0.9rem;
    color: #111111; background: transparent; font-family: inherit;
}
.phone-input-group.phone-input-group--readonly { background: #f9fafb; }
.phone-input-group .phone-lock-icon { align-self: center; padding: 0 14px; color: #9ca3af; }

/* Confirm button */
.btn-confirm-appt {
    background: #00b5ad; color: #ffffff; border: none;
    padding: 14px 32px; border-radius: 12px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 6px 18px rgba(0,181,173,0.25);
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    min-width: 260px; letter-spacing: 0.2px;
}
.btn-confirm-appt:hover {
    background: #008f89; transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,181,173,0.35);
}
.btn-confirm-appt:disabled { background: #9ca3af; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-confirm-appt .btn-arrow { font-size: 0.8rem; transition: transform 0.25s; margin-left: 2px; }
.btn-confirm-appt:hover .btn-arrow { transform: translateX(4px); }
.btn-confirm-appt .btn-spinner {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.35); border-top-color: #ffffff;
    border-radius: 50%; animation: hh-spin 0.7s linear infinite;
    vertical-align: middle; margin-right: 8px;
}
@keyframes hh-spin { to { transform: rotate(360deg); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .listing-hero h1 { font-size: 1.75rem; }
    .listing-search-box { flex-direction: column; }
    .listing-search-box .ls-field { border-right: none; border-bottom: 1px solid #e5e7eb; width: 100%; }
    .listing-search-box .ls-field:last-of-type { border-bottom: none; }
    .listing-search-box .ls-btn { width: 100%; justify-content: center; }

    .hub-detail-banner { height: auto; min-height: 380px; padding-top: 100px; }
    .hub-detail-banner .banner-content { padding-bottom: 140px; padding-top: 20px; }
    .hub-detail-banner .banner-content h2 { font-size: 1.8rem; }
    .detail-hero { margin-top: -110px; }
    .hub-header-card {
        flex-direction: column; align-items: flex-start;
        padding: 24px; gap: 20px;
    }
    .hub-header-actions {
        width: 100%; flex-direction: row; flex-wrap: wrap;
        justify-content: flex-start; gap: 10px;
    }
    .hub-header-actions .btn-primary-hh,
    .hub-header-actions .btn-outline-hh { flex: 1 1 auto; justify-content: center; min-width: 140px; }
    .hub-services-rich-text ul { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .hub-detail-banner { min-height: 320px; padding-top: 90px; }
    .hub-detail-banner .banner-content { padding-bottom: 120px; }
    .hub-detail-banner .banner-content h2 { font-size: 1.5rem; line-height: 1.25; }
    .detail-hero { margin-top: -100px; }
    .hub-header-card { padding: 20px; gap: 16px; margin-top: 8px; }
    .hub-header-img { width: 76px; height: 76px; border-radius: 14px; font-size: 1.9rem; }
    .hub-header-info h1 { font-size: 1.3rem; }
    .hub-header-info .hub-meta { gap: 8px; }
    .hub-header-info .hub-meta-item { font-size: 0.78rem; }
    .info-card { border-radius: 14px; margin-bottom: 20px; }
    .info-card .info-card-header { padding: 14px 16px; }
    .info-card .info-card-body { padding: 18px; }
    .hub-services-rich-text ul { grid-template-columns: 1fr; gap: 10px; }
    .hub-services-rich-text ul li { padding: 14px 14px 14px 40px; font-size: 0.82rem; }
    .gal-img { height: 200px; }
    #book-appointment { padding: 40px 0; }
    .appt-form-wrapper { padding: 24px 20px; border-radius: 14px; }
    .btn-confirm-appt { width: 100%; min-width: 0; }
    .hub-detail-banner .banner-circles { display: none; }
}

@media (max-width: 575px) {
    .hub-header-actions .btn-primary-hh,
    .hub-header-actions .btn-outline-hh { width: 100%; flex: 1 1 100%; }
}
