.profile-page {
    --profile-card-bg: rgba(15, 23, 42, 0.86);
    --profile-card-bg-strong: rgba(18, 31, 50, 0.94);
    --profile-card-border: rgba(148, 163, 184, 0.18);
    --profile-text: #f8fafc;
    --profile-muted: #b8c4d8;
    --profile-soft: #e5edff;
}

/* Public profile conversion controls. Keep these independent from a
   business's selected brand colour so light brand palettes remain legible. */
.profile-page .profile-main-card {
    grid-template-columns: auto minmax(0, 1fr) minmax(270px, 300px);
    gap: 22px;
    padding: 26px;
}

.profile-page .profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    min-width: 0;
}

.profile-page .profile-actions > .profile-book-btn,
.profile-page .profile-actions > .profile-quick-actions {
    grid-column: 1 / -1;
}

.profile-page .profile-book-btn {
    min-height: 50px;
    border-radius: 15px;
    background: linear-gradient(105deg, #7c3aed, #db2777 54%, #0891b2) !important;
    box-shadow: 0 15px 34px rgba(139, 92, 246, 0.25) !important;
}

.profile-page .profile-book-btn:hover,
.profile-page .profile-book-btn:focus-visible {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(34, 211, 238, 0.18) !important;
}

.profile-page .profile-quick-actions {
    gap: 9px;
}

.profile-page .profile-quick-action {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 48px;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 14px;
    color: #f8fafc !important;
    background: rgba(15, 23, 42, 0.76) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
    font-size: 12px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.profile-page .profile-quick-action::after {
    position: absolute;
    z-index: -1;
    right: -22px;
    bottom: -30px;
    width: 70px;
    height: 70px;
    content: '';
    border-radius: 50%;
    opacity: .42;
}

.profile-page .profile-quick-action i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
}

.profile-page #profileQuickPhone {
    border-color: rgba(196, 181, 253, 0.26) !important;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(15, 23, 42, 0.8)) !important;
}

.profile-page #profileQuickPhone::after {
    background: rgba(139, 92, 246, 0.38);
}

.profile-page #profileQuickPhone i {
    color: #e9d5ff;
    background: rgba(139, 92, 246, 0.2);
}

.profile-page #profileQuickDirections {
    border-color: rgba(103, 232, 249, 0.24) !important;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.17), rgba(15, 23, 42, 0.8)) !important;
}

.profile-page #profileQuickDirections::after {
    background: rgba(34, 211, 238, 0.32);
}

.profile-page #profileQuickDirections i {
    color: #a5f3fc;
    background: rgba(8, 145, 178, 0.2);
}

.profile-page .profile-quick-action:hover,
.profile-page .profile-quick-action:focus-visible {
    color: #ffffff !important;
    border-color: rgba(103, 232, 249, 0.44) !important;
    background: rgba(22, 33, 52, 0.96) !important;
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.22);
    transform: translateY(-2px);
}

.profile-page .profile-quick-action:focus-visible,
.profile-page .profile-book-btn:focus-visible,
.profile-page .profile-back-btn:focus-visible {
    outline: 3px solid rgba(103, 232, 249, 0.34);
    outline-offset: 3px;
}

.profile-page .profile-actions > .profile-back-btn {
    min-width: 0;
    min-height: 45px;
    padding: 10px 11px;
    border-radius: 13px;
    color: #dbe7f6 !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    font-size: 11px;
    line-height: 1.25;
}

.profile-page .profile-actions > .profile-back-btn:hover,
.profile-page .profile-actions > .profile-back-btn:focus-visible {
    color: #ffffff !important;
    border-color: rgba(103, 232, 249, 0.28) !important;
    background: rgba(34, 211, 238, 0.08) !important;
}

@media (max-width: 1040px) {
    .profile-page .profile-main-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .profile-page .profile-actions {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 800px) {
    .profile-page .profile-main-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .profile-page .profile-actions {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .profile-page .profile-actions {
        grid-template-columns: 1fr;
    }

    .profile-page .profile-actions > .profile-book-btn,
    .profile-page .profile-actions > .profile-quick-actions {
        grid-column: auto;
    }

    .profile-page .profile-actions > .profile-back-btn {
        min-height: 46px;
    }
}

.profile-page .profile-section-heading > span,
.profile-page .profile-section-heading > div > span {
    color: #e0f2fe !important;
    background: rgba(34, 211, 238, 0.1) !important;
    border: 1px solid rgba(103, 232, 249, 0.28) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.profile-page .profile-section-heading > span i,
.profile-page .profile-section-heading > div > span i {
    color: #67e8f9;
}

.profile-page .profile-section-heading h2,
.profile-page .profile-card > h2,
.profile-page .staff-profile-card h3,
.profile-page .service-copy h4 {
    letter-spacing: 0 !important;
    text-wrap: balance;
}

.profile-page #staff,
.profile-page #reviews,
.profile-page #services,
.profile-page #hours {
    scroll-margin-top: 104px;
}

.profile-page .staff-grid-profile {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 18px;
}

.profile-page .team-carousel,
.profile-page .team-carousel-viewport,
.profile-page .reviews-carousel,
.profile-page .reviews-carousel-viewport {
    min-width: 0;
    width: 100%;
}

.profile-page .team-carousel.has-pages .team-carousel-viewport,
.profile-page .reviews-carousel.has-pages .reviews-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}

.profile-page .team-carousel.has-pages .team-carousel-viewport::-webkit-scrollbar,
.profile-page .reviews-carousel.has-pages .reviews-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.profile-page .team-carousel.has-pages .staff-grid-profile {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.profile-page .team-carousel.has-pages .staff-profile-card {
    flex: 0 0 calc((100% - 18px) / 2);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.profile-page .team-carousel-controls,
.profile-page .reviews-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.profile-page .team-carousel-button,
.profile-page .team-carousel-dot,
.profile-page .reviews-carousel-button,
.profile-page .reviews-carousel-dot {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(103, 232, 249, 0.28) !important;
    background: rgba(34, 211, 238, 0.1) !important;
    color: #cffafe !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.profile-page .team-carousel-button,
.profile-page .reviews-carousel-button {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50% !important;
}

.profile-page .team-carousel-button:hover,
.profile-page .team-carousel-button:focus-visible,
.profile-page .team-carousel-dot:hover,
.profile-page .team-carousel-dot:focus-visible,
.profile-page .team-carousel-dot.is-active,
.profile-page .reviews-carousel-button:hover,
.profile-page .reviews-carousel-button:focus-visible,
.profile-page .reviews-carousel-dot:hover,
.profile-page .reviews-carousel-dot:focus-visible,
.profile-page .reviews-carousel-dot.is-active {
    color: #ffffff !important;
    border-color: #22d3ee !important;
    background: #0e7490 !important;
}

.profile-page .team-carousel-button:hover,
.profile-page .team-carousel-button:focus-visible,
.profile-page .reviews-carousel-button:hover,
.profile-page .reviews-carousel-button:focus-visible {
    transform: translateY(-1px);
}

.profile-page .team-carousel-button:focus-visible,
.profile-page .team-carousel-dot:focus-visible,
.profile-page .reviews-carousel-button:focus-visible,
.profile-page .reviews-carousel-dot:focus-visible {
    outline: 3px solid rgba(103, 232, 249, 0.3);
    outline-offset: 3px;
}

.profile-page .team-carousel-button:disabled,
.profile-page .reviews-carousel-button:disabled {
    cursor: default;
    opacity: 0.35;
    transform: none;
}

.profile-page .team-carousel-dots,
.profile-page .reviews-carousel-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.profile-page .team-carousel-dot,
.profile-page .reviews-carousel-dot {
    width: 9px;
    height: 9px;
    min-height: 9px;
    padding: 0;
    border-radius: 50% !important;
}

.profile-page .team-carousel-dot.is-active,
.profile-page .reviews-carousel-dot.is-active {
    width: 22px;
    border-radius: 999px !important;
}

.profile-page .team-carousel-status,
.profile-page .reviews-carousel-status {
    min-width: 42px;
    color: #c3d0e4;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.profile-page .staff-profile-card {
    min-width: 0;
    align-items: flex-start;
    padding: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.08), transparent 38%),
        rgba(15, 23, 42, 0.76) !important;
}

.profile-page .staff-count-one .staff-profile-card {
    gap: 22px;
    padding: 22px;
}

.profile-page .staff-count-one .staff-profile-avatar {
    width: 92px;
    height: 92px;
    min-width: 92px;
}

.profile-page .staff-profile-content {
    min-width: 0;
}

.profile-page .staff-profile-card h3 {
    margin: 0 0 7px;
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.25;
}

.profile-page .staff-profile-card p {
    max-width: 68ch;
    margin: 0;
    color: #c3d0e4 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.75;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.profile-page .business-about-card .profile-section-heading {
    margin-bottom: 18px;
}

.profile-page .business-about-card .about-text {
    max-width: 78ch;
    margin: 0;
    color: #cbd5e1 !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.9;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.profile-page .service-group {
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.18) !important;
    background:
        radial-gradient(circle at 92% 0%, rgba(34, 211, 238, 0.09), transparent 36%),
        rgba(11, 18, 32, 0.72) !important;
    box-shadow: 0 22px 58px rgba(2, 6, 23, 0.26);
}

.profile-page .small-book-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 11px 17px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #8b5cf6, #ec4899 54%, #22d3ee) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.2) !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.profile-page .small-book-link:hover,
.profile-page .small-book-link:focus-visible {
    color: #ffffff !important;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(34, 211, 238, 0.2) !important;
}

.profile-page .small-book-link:focus-visible {
    outline: 3px solid rgba(103, 232, 249, 0.42);
    outline-offset: 3px;
}

.profile-page .small-book-link .fa-arrow-right {
    font-size: 11px;
}

.profile-page .service-group-header {
    min-height: 58px;
    background:
        linear-gradient(135deg, rgba(151, 71, 255, 0.96), rgba(236, 72, 153, 0.9) 52%, rgba(34, 211, 238, 0.9)) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 10px rgba(2, 6, 23, 0.24);
}

.profile-page .service-group-header span {
    color: #ffffff !important;
    border: 0 !important;
    background: transparent !important;
}

.profile-page .service-group-title {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-page .service-group-count {
    flex: 0 0 auto;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.2);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.profile-page .service-group-body {
    max-height: min(68vh, 760px);
    max-height: clamp(360px, 68dvh, 760px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-color: rgba(34, 211, 238, 0.72) rgba(15, 23, 42, 0.72);
    scrollbar-width: thin;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.92));
}

.profile-page .service-group-body::-webkit-scrollbar {
    width: 10px;
}

.profile-page .service-group-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.72);
}

.profile-page .service-group-body::-webkit-scrollbar-thumb {
    border: 3px solid rgba(15, 23, 42, 0.72);
    border-radius: 999px;
    background: linear-gradient(180deg, #ec4899, #22d3ee);
}

.profile-page .service-group-body:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.38);
    outline-offset: -3px;
}

.profile-page .service-group.closed .service-group-body {
    max-height: 0;
    overflow: hidden;
}

.profile-page .service-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    grid-template-areas:
        "icon copy price"
        "icon duration price";
    align-items: start;
    gap: 12px 16px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.82)) !important;
    border-color: rgba(148, 163, 184, 0.13) !important;
}

.profile-page .service-row:hover {
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.86), rgba(17, 24, 39, 0.94)) !important;
    transform: translateX(0) translateY(-1px);
}

/* Featured services: a short, business-curated route into booking. */
.profile-page .featured-services-section {
    position: relative;
    overflow: hidden;
    border-color: rgba(250, 204, 21, 0.2) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(250, 204, 21, 0.12), transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(236, 72, 153, 0.1), transparent 36%),
        linear-gradient(145deg, rgba(17, 26, 47, 0.96), rgba(9, 16, 31, 0.98)) !important;
}

.profile-page .featured-services-section::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -100px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    pointer-events: none;
}

.profile-page .featured-services-section > * {
    position: relative;
    z-index: 1;
}

.profile-page .featured-services-intro {
    margin: 8px 0 0;
    color: var(--profile-muted);
    font-weight: 650;
}

.profile-page .featured-view-all {
    white-space: nowrap;
}

.profile-page .featured-view-all:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.profile-page .featured-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-page .featured-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    min-height: 250px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-page .featured-service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #facc15, var(--business-secondary), #22d3ee);
    opacity: 0.9;
}

.profile-page .featured-service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 22px 42px rgba(2, 6, 23, 0.3);
}

.profile-page .featured-service-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.profile-page .featured-service-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #111827;
    border: 1px solid rgba(254, 240, 138, 0.78);
    border-radius: 50%;
    background: linear-gradient(145deg, #fef08a, #facc15 58%, #f59e0b);
    box-shadow: 0 10px 24px rgba(250, 204, 21, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    font-size: 17px;
}

.profile-page .featured-service-category {
    overflow: hidden;
    padding: 7px 10px;
    color: #cffafe;
    border: 1px solid rgba(34, 211, 238, 0.22);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.08);
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-page .featured-service-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.2;
}

.profile-page .featured-service-card > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: var(--profile-muted);
    font-weight: 650;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.profile-page .featured-service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.profile-page .featured-service-meta span {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 800;
}

.profile-page .featured-service-meta span i {
    margin-right: 5px;
    color: #22d3ee;
}

.profile-page .featured-service-meta strong {
    color: #67e8f9;
    font-size: 19px;
}

.profile-page .featured-service-book {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    margin-top: 15px;
    padding: 12px 15px;
    color: #ffffff;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--business-primary), var(--business-secondary));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.profile-page .featured-service-book:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.profile-page .featured-service-book:focus-visible,
.profile-page .featured-view-all:focus-visible {
    outline: 3px solid rgba(103, 232, 249, 0.78);
    outline-offset: 3px;
}

.profile-page .featured-service-book.disabled {
    justify-content: center;
    color: #94a3b8;
    background: rgba(100, 116, 139, 0.16);
    box-shadow: none;
}

@media (max-width: 720px) {
    .profile-page .featured-services-section .split-heading {
        align-items: flex-start;
    }

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

    .profile-page .featured-service-card {
        min-height: 0;
    }

    .profile-page .featured-service-book {
        min-height: 54px;
        font-size: 14px;
    }
}

@media (max-width: 440px) {
    .profile-page .featured-services-section {
        padding: 19px !important;
    }

    .profile-page .featured-view-all {
        width: 100%;
        justify-content: center;
    }

    .profile-page .featured-service-card {
        padding: 17px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-page .featured-service-card,
    .profile-page .featured-service-book,
    .profile-page .featured-view-all {
        transition: none;
    }
}

.profile-page .service-icon {
    grid-area: icon;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #2563eb !important;
    box-shadow: 0 10px 24px rgba(34, 211, 238, 0.13);
}

.profile-page .service-copy {
    grid-area: copy;
    min-width: 0;
}

.profile-page .service-copy h4 {
    color: #ffffff !important;
    margin-bottom: 7px;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.2;
}

.profile-page .service-copy p {
    max-width: 56ch;
    color: var(--profile-muted) !important;
    font-weight: 650;
}

.profile-page .service-description.is-collapsible:not(.expanded) p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.profile-page .service-description-toggle {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 11px;
    padding: 7px 12px;
    border: 1px solid rgba(103, 232, 249, 0.3) !important;
    border-radius: 999px !important;
    background: rgba(34, 211, 238, 0.1) !important;
    color: #cffafe !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.profile-page .service-description-toggle::after {
    width: 6px;
    height: 6px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}

.profile-page .service-description.expanded .service-description-toggle::after {
    transform: translateY(2px) rotate(225deg);
}

.profile-page .service-description-toggle:hover,
.profile-page .service-description-toggle:focus-visible {
    color: #ffffff !important;
    background: #0e7490 !important;
    border-color: #22d3ee !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.profile-page .service-description-toggle:focus-visible {
    outline: 3px solid rgba(103, 232, 249, 0.34);
    outline-offset: 3px;
}

.profile-page .service-price {
    grid-area: price;
    align-self: stretch;
    justify-content: space-between;
    min-width: 118px;
}

.profile-page .service-price strong {
    color: #22d3ee !important;
    font-size: 18px;
}

.profile-page .service-price small {
    color: #dbeafe !important;
    opacity: 0.86;
}

.profile-page .service-price a {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(219, 234, 254, 0.94)) !important;
    color: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.14);
}

.profile-page .service-duration-pill {
    grid-area: duration;
    justify-self: start;
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #edf5ff;
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(30, 102, 255, 0.08);
}

.profile-page .contact-list div,
.profile-page .hours-row {
    background: rgba(15, 23, 42, 0.74) !important;
    border-color: rgba(148, 163, 184, 0.16) !important;
}

.profile-page .contact-list strong,
.profile-page .hours-row strong {
    color: #e0f2fe !important;
}

.profile-page .contact-list strong i,
.profile-page .hours-row i {
    color: #22d3ee !important;
}

.profile-page .contact-list span,
.profile-page .contact-list a {
    color: #ffffff !important;
    font-weight: 800;
}

.profile-page .profile-map-head span {
    color: #0369a1 !important;
}

.profile-page .profile-map-head span i {
    color: #0284c7 !important;
}

.profile-page .profile-map-head a {
    color: #ffffff !important;
    background: #0369a1 !important;
    border: 1px solid #0369a1 !important;
    box-shadow: 0 10px 24px rgba(3, 105, 161, 0.24) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-page .profile-map-head a:hover,
.profile-page .profile-map-head a:focus-visible {
    color: #ffffff !important;
    background: #075985 !important;
    border-color: #075985 !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(3, 105, 161, 0.3) !important;
}

.profile-page .profile-map-head a:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.32);
    outline-offset: 3px;
}

.profile-page .hours-row span {
    color: #e2e8f0 !important;
    font-weight: 850;
}

.profile-page .hours-row .closed {
    color: #fca5a5 !important;
}

.profile-page .profile-extra-info span {
    color: #eef6ff !important;
    line-height: 1.45;
}

.profile-page .profile-review-jump {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(34, 211, 238, 0.65);
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.profile-page .profile-review-jump:hover {
    color: #22d3ee;
}

.profile-page .profile-reviews-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    scroll-margin-top: 104px;
    padding: 4px 0;
}

.profile-page .reviews-heading {
    align-items: center;
}

.profile-page .reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 12px 14px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
}

.profile-page .reviews-summary > strong {
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.profile-page .reviews-summary-stars,
.profile-page .public-review-stars {
    display: flex;
    gap: 3px;
    color: #fbbf24;
}

.profile-page .reviews-summary small {
    display: block;
    margin-top: 3px;
    color: var(--profile-muted);
    font-size: 11px;
    font-weight: 750;
}

.profile-page .public-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.profile-page .reviews-carousel.has-pages .public-reviews-grid {
    display: flex;
    grid-template-columns: none;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 14px;
}

.profile-page .reviews-carousel.has-pages .public-review-card {
    flex: 0 0 calc((100% - 14px) / 2);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.profile-page .public-review-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.08), transparent 34%),
        rgba(11, 18, 32, 0.78);
}

.profile-page .public-review-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.profile-page .verified-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #86efac;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.profile-page .public-review-card blockquote {
    margin: 18px 0;
    color: #edf6ff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.profile-page .public-review-footer {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.13);
}

.profile-page .reviewer-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--business-primary), var(--business-secondary));
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.profile-page .public-review-footer strong,
.profile-page .public-review-footer span {
    display: block;
}

.profile-page .public-review-footer > div:last-child {
    min-width: 0;
}

.profile-page .public-review-footer strong {
    color: #ffffff;
    font-size: 13px;
}

.profile-page .public-review-footer span {
    margin-top: 3px;
    color: var(--profile-muted);
    font-size: 11px;
    line-height: 1.4;
}

.profile-page .reviews-limit-note {
    margin: 16px 0 0;
    color: var(--profile-muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 640px) {
    .profile-page .team-carousel.has-pages .staff-profile-card,
    .profile-page .reviews-carousel.has-pages .public-review-card {
        flex-basis: 100%;
    }

    .profile-page .staff-count-one .staff-profile-card,
    .profile-page .staff-profile-card {
        gap: 15px;
        padding: 17px;
    }

    .profile-page .staff-count-one .staff-profile-avatar {
        width: 68px;
        height: 68px;
        min-width: 68px;
    }

    .profile-page .staff-profile-card p,
    .profile-page .business-about-card .about-text {
        font-size: 15px;
        line-height: 1.75;
    }

    .profile-page #services .split-heading {
        gap: 16px;
    }

    .profile-page .small-book-link {
        width: 100%;
        min-height: 50px;
    }

    .profile-page .service-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "price"
            "duration";
    }

    .profile-page .service-group-body {
        max-height: min(64vh, 620px);
        max-height: clamp(340px, 64dvh, 620px);
        scrollbar-gutter: auto;
    }

    .profile-page .service-group-header {
        padding: 16px;
    }

    .profile-page .service-group-header > span {
        min-width: 0;
        flex-wrap: wrap;
    }

    .profile-page .service-icon {
        display: none;
    }

    .profile-page .service-price {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: end;
        min-width: 0;
    }

    .profile-page .service-price small {
        grid-column: 1 / -1;
        text-align: left;
    }

    .profile-page .service-duration-pill {
        width: max-content;
        max-width: 100%;
    }

    .profile-page .public-reviews-grid {
        grid-template-columns: 1fr;
    }

    .profile-page .reviews-summary {
        width: 100%;
        justify-content: center;
    }

    .profile-page .public-review-topline {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-page .team-carousel.has-pages .team-carousel-viewport,
    .profile-page .reviews-carousel.has-pages .reviews-carousel-viewport {
        scroll-behavior: auto;
    }
}
