/**
 * Profil business public — mini-site premium (mobile-first)
 */
:root {
    --bp-primary: #4f46e5;
    --bp-primary-dark: #4338ca;
    --bp-primary-soft: #eef2ff;
    --bp-bg: #fafbff;
    --bp-card: #ffffff;
    --bp-text: #0f172a;
    --bp-muted: #64748b;
    --bp-border: #e8edf3;
    --bp-radius: 16px;
    --bp-radius-lg: 22px;
    --bp-shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
    --bp-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
}

body.prog-bp-body.prog-has-sticky-cta .prog-main {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}

.bp-page {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
    background: var(--bp-bg);
}

.bp-page .container {
    max-width: 1180px;
}

/* Breadcrumb */
.bp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--bp-muted);
    margin-bottom: 1rem;
}

.bp-breadcrumb a {
    color: var(--bp-primary);
    text-decoration: none;
    font-weight: 600;
}

.bp-breadcrumb a:hover {
    text-decoration: underline;
}

.bp-breadcrumb__sep {
    opacity: 0.45;
}

/* Hero */
.bp-hero {
    margin-bottom: 1.5rem;
}

.bp-hero__grid {
    display: grid;
    gap: 1.5rem;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--bp-shadow);
}

@media (min-width: 768px) {
    .bp-hero__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 1.75rem 2rem;
        gap: 2rem;
    }
}

.bp-hero__title {
    font-size: clamp(1.5rem, 5vw, 2.125rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: var(--bp-text);
}

.bp-hero__sub {
    font-size: 1rem;
    color: var(--bp-muted);
    line-height: 1.55;
    margin: 0 0 1rem;
}

.bp-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Program expandabil (Google Maps) */
.bp-hours {
    margin: 0.35rem 0 0.85rem;
    max-width: 100%;
}

.bp-hours__toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    width: 100%;
    max-width: 28rem;
    padding: 0.35rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    border-radius: 8px;
}

.bp-hours__toggle:hover {
    background: rgba(79, 70, 229, 0.06);
}

.bp-hours__toggle:focus-visible {
    outline: 2px solid var(--bp-primary);
    outline-offset: 2px;
}

.bp-hours__toggle .bi-clock {
    margin-right: 0.1rem;
    color: var(--bp-muted);
}

.bp-hours__status.is-open {
    color: #047857;
    font-weight: 700;
}

.bp-hours__status.is-closed {
    color: #b45309;
    font-weight: 600;
}

.bp-hours__sep {
    color: var(--bp-muted);
}

.bp-hours__detail {
    color: var(--bp-muted);
}

.bp-hours__chevron {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--bp-muted);
    transition: transform 0.2s ease;
}

.bp-hours__toggle[aria-expanded="true"] .bp-hours__chevron {
    transform: rotate(180deg);
}

.bp-hours__panel {
    margin: 0.35rem 0 0;
    padding: 0.5rem 0 0;
    max-width: 20rem;
    border-top: 1px solid var(--bp-border);
}

.bp-hours__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bp-hours__list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--bp-text);
}

.bp-hours__list li.is-today {
    font-weight: 700;
    color: var(--bp-primary);
}

.bp-hours__day {
    color: var(--bp-text);
}

.bp-hours__time {
    text-align: right;
    color: var(--bp-muted);
}

.bp-location .bp-hours {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.bp-hero__rating {
    font-weight: 700;
    color: var(--bp-text);
}

.bp-hero__rating .bi-star-fill {
    color: #f59e0b;
}

.bp-hero__rating-count {
    font-weight: 500;
    color: var(--bp-muted);
}

.bp-hero__status.is-open {
    color: #047857;
    font-weight: 600;
}

.bp-hero__status.is-closed {
    color: #b45309;
    font-weight: 600;
}

.bp-hero__address {
    font-size: 0.9rem;
    color: var(--bp-muted);
    margin: 0 0 1rem;
}

.bp-hero__address a {
    color: var(--bp-primary);
    font-weight: 600;
}

.bp-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.15rem;
}

.bp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bp-primary-soft);
    color: var(--bp-primary-dark);
}

.bp-badge--accent {
    background: #ecfdf5;
    color: #047857;
}

.bp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.bp-btn-primary {
    background: var(--bp-primary);
    border-color: var(--bp-primary);
    border-radius: 999px;
    font-weight: 700;
    min-height: 48px;
    padding-inline: 1.35rem;
}

.bp-btn-primary:hover {
    background: var(--bp-primary-dark);
    border-color: var(--bp-primary-dark);
}

.bp-btn-secondary {
    border-radius: 999px;
    font-weight: 600;
    min-height: 48px;
}

.bp-hero__cover {
    border-radius: var(--bp-radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
}

.bp-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-hero__cover--placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #f5f3ff 100%);
    color: var(--bp-primary);
    font-size: 3.5rem;
}

.bp-hero__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.bp-hero__thumb {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.bp-hero__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layout */
.bp-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bp-layout__aside {
    order: -1;
}

.bp-layout__main {
    order: 0;
}

.bp-layout--single {
    display: block;
}

.bp-layout--single .bp-layout__main {
    max-width: none;
}

@media (min-width: 992px) {
    .bp-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 2rem;
        align-items: start;
    }

    .bp-layout__main {
        order: 1;
        grid-column: 1;
    }

    .bp-layout__aside {
        order: 2;
        grid-column: 2;
        position: sticky;
        top: calc(68px + 1rem);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-height: calc(100vh - 68px - 2rem);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-gutter: stable;
    }

    .bp-aside-card--booking {
        flex-shrink: 0;
    }
}

.bp-aside-card {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    padding: 1.15rem;
    box-shadow: var(--bp-shadow-sm);
}

.bp-aside-card--booking .bp-section--booking {
    padding: 0;
    margin: 0;
}

.bp-aside-card--booking .bp-section__head {
    margin-bottom: 1rem;
}

.bp-aside-card--booking .bp-section__title {
    font-size: 1.2rem;
}

.bp-aside-slot__label {
    font-size: 0.8rem;
    color: var(--bp-muted);
    margin: 0 0 0.25rem;
}

.bp-aside-slot__value {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--bp-text);
}

/* Sections */
.bp-section {
    padding: 1.5rem 0;
    scroll-margin-top: calc(68px + 12px);
}

#programeaza,
.bp-section--booking {
    scroll-margin-top: calc(68px + 1rem);
}

.bp-section__title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.bp-section__lead {
    color: var(--bp-muted);
    margin: 0 0 1.15rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bp-section__head {
    margin-bottom: 0.5rem;
}

/* About */
.bp-about__text {
    line-height: 1.65;
    color: var(--bp-text);
    margin-bottom: 1rem;
}

.bp-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .bp-highlights {
        grid-template-columns: 1fr 1fr;
    }
}

.bp-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bp-text);
}

.bp-highlights .bi {
    color: var(--bp-primary);
}

/* Services list */
.bp-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bp-service-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 1rem 1.1rem;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow-sm);
}

@media (max-width: 479px) {
    .bp-service-row {
        grid-template-columns: auto 1fr;
    }

    .bp-service-row .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.bp-service-row__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bp-primary-soft);
    color: var(--bp-primary);
    display: grid;
    place-items: center;
}

.bp-service-row__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.bp-service-row__desc,
.bp-service-row__meta {
    font-size: 0.875rem;
    color: var(--bp-muted);
    margin: 0;
}

/* Specialists */
.bp-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.bp-spec-profile {
    text-align: center;
    padding: 1.15rem 1rem;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow-sm);
}

.bp-spec-profile__photo,
.bp-spec-profile__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.65rem;
    display: block;
}

.bp-spec-profile__avatar {
    background: linear-gradient(135deg, var(--bp-primary-soft), #e0e7ff);
    color: var(--bp-primary);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 72px;
    text-align: center;
}

.bp-spec-profile__name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.bp-spec-profile__role {
    font-size: 0.85rem;
    color: var(--bp-muted);
    margin: 0 0 0.75rem;
}

.bp-spec-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--bp-primary-soft);
    color: var(--bp-primary);
    font-weight: 800;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.bp-spec-avatar--photo {
    object-fit: cover;
}

.bp-spec-avatar--any {
    background: #f1f5f9;
    color: var(--bp-muted);
}

.bp-spec-card.prog-choice-card--btn {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    text-align: left;
    align-items: center;
}

.bp-wizard .prog-spec-card:not(.prog-choice-card--btn) {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.bp-wizard .prog-spec-card:not(.prog-choice-card--btn) .prog-touch-btn {
    align-self: center;
}

/* Gallery */
.bp-gallery {
    display: grid;
    gap: 0.65rem;
}

.bp-gallery__main {
    display: block;
    border-radius: var(--bp-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.bp-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.bp-gallery__main:hover img {
    transform: scale(1.02);
}

.bp-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.bp-gallery__item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.bp-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Location */
.bp-location {
    display: grid;
    gap: 1.25rem;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-lg);
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .bp-location {
        grid-template-columns: 1fr 1fr;
    }
}

.bp-location__map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: var(--bp-radius);
}

/* Reviews */
.bp-reviews-summary {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.bp-reviews-grid {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 600px) {
    .bp-reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bp-review-card {
    padding: 1rem;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
}

.bp-review-card__stars {
    color: #f59e0b;
    font-size: 0.8rem;
}

.bp-trust-badges {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: var(--bp-muted);
}

.bp-trust-badges .bi {
    color: var(--bp-primary);
    margin-right: 0.2rem;
}

/* FAQ */
.bp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bp-faq-item {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    padding: 0.85rem 1rem;
}

.bp-faq-item summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.bp-faq-item summary::-webkit-details-marker {
    display: none;
}

.bp-faq-item p {
    margin: 0.65rem 0 0;
    color: var(--bp-muted);
    line-height: 1.55;
    font-size: 0.9rem;
}

/* How-to */
.bp-howto {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bp-howto__step {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem;
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
}

.bp-howto__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bp-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.bp-howto__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bp-primary-soft);
    color: var(--bp-primary);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
}

.bp-howto__step p {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: var(--bp-muted);
}

/* Similar */
.bp-similar-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}

.bp-similar-scroll .prog-card {
    flex: 0 0 min(300px, 85vw);
    scroll-snap-align: start;
}

/* Wizard premium overrides */
.bp-wizard {
    background: transparent;
}

.bp-wizard .prog-wizard-steps {
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.bp-wizard .prog-wizard-step {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.bp-wizard .prog-wizard-step.is-current {
    background: var(--bp-primary);
    transform: scaleY(1.2);
}

.bp-wizard .prog-wizard-step.is-done {
    background: #a5b4fc;
}

.bp-wizard .prog-service-card,
.bp-wizard .prog-spec-card {
    border-radius: var(--bp-radius);
    border: 1px solid var(--bp-border);
    box-shadow: var(--bp-shadow-sm);
}

.bp-wizard .prog-service-card.is-selected,
.bp-wizard .prog-spec-card.is-selected {
    border-color: var(--bp-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.prog-slot-btn.is-first-available {
    position: relative;
    border-color: var(--bp-primary);
    font-weight: 700;
}

.prog-slot-btn.is-first-available::after {
    content: 'Primul disponibil';
    position: absolute;
    top: -0.5rem;
    right: -0.25rem;
    font-size: 0.6rem;
    font-weight: 700;
    background: var(--bp-primary);
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    white-space: nowrap;
}

.bp-slot-empty-actions__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Sticky CTA */
.bp-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--bp-border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.bp-sticky-cta__info {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.bp-sticky-cta__label {
    display: block;
    color: var(--bp-muted);
}

.bp-sticky-cta__btn {
    flex-shrink: 0;
    border-radius: 999px;
    font-weight: 700;
    min-height: 44px;
    padding-inline: 1.25rem;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .bp-sticky-cta,
    .prog-sticky-cta.bp-sticky-cta {
        display: none;
    }
}

.bp-empty {
    color: var(--bp-muted);
    padding: 1rem;
    background: var(--bp-card);
    border-radius: var(--bp-radius);
    border: 1px dashed var(--bp-border);
}

.bp-empty--muted {
    font-size: 0.9rem;
}

.bp-alert {
    border-radius: var(--bp-radius);
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .bp-hero__actions .bp-btn-primary {
        display: none;
    }

    .bp-hero__visual {
        order: -1;
    }

    .bp-hero__grid {
        display: flex;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-gallery__main:hover img,
    .bp-wizard .prog-wizard-step {
        transition: none;
    }
}
