/* ═══════════════════════════════════════
   PROVIDER PROFILE — REDESIGNED
   Clean, premium, Dermis-inspired
═══════════════════════════════════════ */

/* ── PROVIDER HERO ── */
.provider-hero {
    background: var(--deep2);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.provider-hero__bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.provider-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15,18,33,0) 0%, rgba(15,18,33,0.6) 100%);
    pointer-events: none;
}

/* Hero inner layout */
.provider-hero .mt-container {
    position: relative; z-index: 2;
}
.provider-hero__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: flex-end;
    padding: 48px 0 0;
}

/* Avatar */
.provider-hero__avatar { flex-shrink: 0; }
.provider-avatar-img {
    width: 130px; height: 130px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--gold);
    display: block;
}
.provider-avatar-initials {
    width: 130px; height: 130px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--deep3), var(--deep));
    border: 3px solid var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 40px; font-weight: 700; color: var(--gold);
}

/* Hero info */
.provider-hero__info { padding-bottom: 28px; }
.provider-hero__verified {
    margin-bottom: 10px;
    display: inline-flex;
}
.provider-hero__name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: white; font-weight: 700;
    margin-bottom: 6px; line-height: 1.1;
}
.provider-hero__credentials {
    font-size: 15px; color: rgba(255,255,255,0.6);
    margin-bottom: 14px; font-weight: 300;
}
.provider-hero__meta {
    display: flex; align-items: center;
    gap: 20px; flex-wrap: wrap;
    font-size: 13px; color: rgba(255,255,255,0.55);
}
.provider-hero__meta span {
    display: flex; align-items: center; gap: 5px;
}
.provider-hero__meta .stars { color: var(--gold); }

/* ── STATS BAR ── */
.provider-stats-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.provider-stats-bar__inner {
    display: flex;
    border-left: 1px solid var(--border);
}
.pstat {
    flex: 1; text-align: center;
    padding: 20px 16px;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}
.pstat:hover { background: var(--cream2); }
.pstat__num {
    font-family: 'Playfair Display', serif;
    font-size: 28px; font-weight: 700;
    color: var(--teal); line-height: 1;
}
.pstat__label {
    font-size: 11px; color: var(--muted);
    margin-top: 4px; text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── BREADCRUMB ── */
.provider-breadcrumb {
    padding: 14px 0;
    font-size: 12px; color: var(--muted2);
    border-bottom: 1px solid var(--border);
    background: var(--cream2);
}
.provider-breadcrumb a { color: var(--teal); text-decoration: none; }
.provider-breadcrumb a:hover { color: var(--teal2); }
.provider-breadcrumb span { margin: 0 6px; }

/* ── MAIN LAYOUT ── */
.provider-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 80px;
    align-items: start;
}

/* ── CONTENT SECTIONS ── */
.provider-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.provider-section:last-child { border-bottom: none; margin-bottom: 0; }

.provider-section__title {
    font-family: 'Playfair Display', serif;
    font-size: 22px; font-weight: 700;
    color: var(--text); margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
}
.provider-section__title::before {
    content: '';
    display: block; width: 4px; height: 22px;
    background: var(--gold); border-radius: 2px;
    flex-shrink: 0;
}

/* Bio */
.provider-bio {
    font-size: 15px; color: var(--text);
    line-height: 1.85; font-weight: 300;
}
.provider-bio p { margin-bottom: 1rem; }
.provider-bio p:last-child { margin-bottom: 0; }

/* Tags */
.provider-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
}

/* Gallery */
.provider-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: 8px; aspect-ratio: 4/3;
    display: block; background: var(--cream2);
    border: 1px solid var(--border);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    color: white; font-size: 22px;
}
.gallery-item:hover .gallery-item__overlay { background: rgba(0,0,0,0.25); }

/* Gallery placeholder */
.gallery-placeholder {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; padding: 48px;
    background: var(--cream2); border: 2px dashed var(--border2);
    border-radius: 10px; text-align: center;
    color: var(--muted2); font-size: 13px;
}
.gallery-placeholder__icon { font-size: 32px; }

/* Accreditations */
.provider-accredits {
    display: flex; flex-wrap: wrap; gap: 10px;
}
.accredit-badge {
    display: flex; align-items: center; gap: 8px;
    background: var(--teal-pale);
    border: 1px solid rgba(30,122,143,0.2);
    color: var(--teal); padding: 8px 16px;
    border-radius: 8px; font-size: 13px; font-weight: 500;
}
.accredit-badge::before { content: '✓'; font-weight: 700; }

/* Reviews note */
.reviews-note {
    font-size: 13px; color: var(--muted);
    font-style: italic; margin-bottom: 20px;
    padding: 14px 18px;
    background: var(--cream2); border-radius: 8px;
    border-left: 3px solid var(--border2);
}
.reviews-summary {
    font-size: 14px; color: var(--muted);
    font-weight: 300; font-family: 'Jost', sans-serif;
}

/* ── SIDEBAR ── */
.provider-sidebar { position: sticky; top: 86px; }

/* Booking card */
.booking-card {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-bottom: 20px;
}
.booking-card__header {
    background: linear-gradient(135deg, var(--deep2), var(--deep));
    padding: 24px;
}
.booking-card__special-badge {
    display: inline-block;
    background: var(--gold); color: var(--deep);
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 3px 10px; border-radius: 4px;
    margin-bottom: 10px;
}
.booking-card__special-title {
    font-size: 16px; font-weight: 600;
    color: white; margin-bottom: 10px;
}
.booking-card__prices {
    display: flex; align-items: baseline; gap: 10px;
    margin-bottom: 6px;
}
.booking-card__price {
    font-family: 'Playfair Display', serif;
    font-size: 32px; font-weight: 700; line-height: 1;
}
.booking-card__price--special { color: var(--gold); }
.booking-card__price--orig {
    font-size: 18px; color: rgba(255,255,255,0.35);
    text-decoration: line-through;
    font-family: 'Jost', sans-serif; font-weight: 300;
}
.booking-card__price-label {
    font-size: 11px; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.booking-card__price-single {
    font-family: 'Playfair Display', serif;
    font-size: 32px; font-weight: 700;
    color: var(--gold); line-height: 1;
}
.booking-card__price-note {
    font-size: 11px; color: rgba(255,255,255,0.35);
    margin-top: 3px;
}
.booking-card__special-desc {
    font-size: 13px; color: rgba(255,255,255,0.5);
    margin-top: 10px; line-height: 1.6;
}
.booking-card__expiry {
    font-size: 11px; color: rgba(255,255,255,0.3);
    margin-top: 6px;
}

.booking-card__body { padding: 20px; }
.booking-card__avail {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text);
    margin-bottom: 12px;
}
.booking-card__deposit {
    background: var(--cream2); border-radius: 8px;
    padding: 10px 14px; font-size: 13px; color: var(--muted);
    margin-bottom: 14px;
}
.booking-card__deposit strong { color: var(--text); }
.booking-card__cta {
    display: block; text-align: center;
    width: 100%; margin-bottom: 10px;
    font-size: 15px; padding: 14px;
}
.booking-card__refund {
    font-size: 11px; color: var(--muted2);
    text-align: center; margin-top: 8px;
    display: flex; align-items: center;
    justify-content: center; gap: 4px;
}

/* Availability dots */
.avail-dot {
    width: 8px; height: 8px;
    border-radius: 50%; flex-shrink: 0;
}
.avail-dot--green { background: var(--green); box-shadow: 0 0 0 3px rgba(45,160,107,0.15); }
.avail-dot--amber { background: #D97706; box-shadow: 0 0 0 3px rgba(217,119,6,0.15); }

/* Sidebar info card */
.sidebar-info-card {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sidebar-info-card h4 {
    font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 1px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.sidebar-info-list {
    display: flex; flex-direction: column; gap: 12px;
}
.sidebar-info-list li {
    font-size: 13px; color: var(--text);
    display: flex; align-items: flex-start;
    gap: 10px; font-weight: 300; line-height: 1.5;
}
.sidebar-info-list span { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

/* Enquiry form */
.sidebar-booking-form {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sidebar-booking-form h4 {
    font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 1px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

/* Amelia embed */
.amelia-booking-wrap {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.amelia-booking-wrap h4 {
    font-size: 13px; font-weight: 600;
    color: var(--text); margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: 1px;
    padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
    .provider-layout { grid-template-columns: 1fr 320px; gap: 28px; }
}
@media(max-width:900px){
    .provider-layout { grid-template-columns: 1fr; }
    .provider-sidebar { position: static; order: -1; }
    .provider-stats-bar__inner { flex-wrap: wrap; }
    .pstat { min-width: 50%; border-bottom: 1px solid var(--border); }
    .provider-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .provider-hero__avatar { margin: 0 auto; }
    .provider-hero__meta { justify-content: center; }
    .provider-gallery { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:600px){
    .provider-avatar-img, .provider-avatar-initials { width: 100px; height: 100px; }
    .provider-gallery { grid-template-columns: repeat(2,1fr); }
    .pstat { min-width: 50%; }
}
