:root {
    --booking-bg:
        radial-gradient(circle at top left, rgba(58, 160, 255, 0.2), transparent 24%),
        radial-gradient(circle at top right, rgba(96, 255, 184, 0.14), transparent 20%),
        linear-gradient(180deg, #081018 0%, #0b1218 45%, #0a1016 100%);
    --surface: rgba(15, 22, 29, 0.86);
    --surface-strong: rgba(17, 25, 34, 0.96);
    --surface-soft: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f3f7fa;
    --text-soft: #b1bec7;
    --text-muted: #7b8a95;
    --accent: #57d6a2;
    --accent-strong: #2eb884;
    --accent-soft: rgba(87, 214, 162, 0.14);
    --on-accent: #06110a;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --container: min(760px, calc(100vw - 28px));
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/fonts/inter-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("/fonts/space-grotesk-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    background: #0a1016;
    touch-action: manipulation;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Inter", sans-serif;
    background: var(--booking-bg);
    touch-action: manipulation;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
    cursor: pointer;
}

.booking-page {
    padding: 18px 0 32px;
}

.booking-shell {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.profile-header,
.content-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.content-card {
    overflow: hidden;
}

.profile-header {
    position: relative;
    overflow: visible;
    container-type: inline-size;
}

.profile-cover {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
}

.profile-cover--has-image {
    height: auto;
    aspect-ratio: 3 / 1;
}

.profile-cover__art {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(87, 214, 162, 0.22) 0%, rgba(58, 160, 255, 0.18) 42%, rgba(15, 22, 29, 0.2) 100%),
        linear-gradient(180deg, #13202b 0%, #0d151d 100%);
}

.profile-cover__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-cover__image[hidden] {
    display: none;
}

.media-fade {
    opacity: 0;
}

.media-fade.is-ready {
    opacity: 1;
    transition-property: opacity;
    transition-duration: 0.34s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.media-fade.is-ready.is-instant {
    transition-duration: 0s;
}

@media (prefers-reduced-motion: reduce) {
    .media-fade.is-ready {
        transition-duration: 0s;
    }
}

.profile-cover__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
}

.profile-cover__orb--one {
    top: -28px;
    right: -18px;
    width: 132px;
    height: 132px;
    background: radial-gradient(circle, rgba(87, 214, 162, 0.42) 0%, rgba(87, 214, 162, 0) 72%);
}

.profile-cover__orb--two {
    bottom: -42px;
    left: 18%;
    width: 168px;
    height: 168px;
    background: radial-gradient(circle, rgba(58, 160, 255, 0.34) 0%, rgba(58, 160, 255, 0) 70%);
}

.profile-cover__orb--three {
    top: 28%;
    left: 52%;
    width: 84px;
    height: 84px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
}

.profile-cover__grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.profile-avatar-wrap {
    position: absolute;
    left: 18px;
    top: calc(130px - 44px);
    z-index: 3;
}

.profile-header:has(.profile-cover--has-image) .profile-avatar-wrap {
    top: calc(100cqw / 3 - 44px);
}

.profile-avatar {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid rgba(11, 18, 24, 0.96);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    object-fit: cover;
    background: linear-gradient(145deg, rgba(87, 214, 162, 0.24), rgba(58, 160, 255, 0.18));
}

.profile-avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
}

.profile-body {
    position: relative;
    z-index: 1;
    padding: 48px 18px 20px;
}

.profile-name {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.65rem, 5.8vw, 2.2rem);
    line-height: 1.02;
}

.profile-description {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.inline-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
    -webkit-tap-highlight-color: transparent;
}

.inline-link:hover,
.inline-link:focus-visible {
    text-decoration-thickness: 2px;
}

.profile-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.15s ease;
}

.profile-address[hidden] {
    display: none !important;
}

.profile-address:hover,
.profile-address:focus-visible {
    color: var(--text);
}

.profile-address__icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    color: var(--accent);
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

[data-call-button][hidden] {
    display: none !important;
}

[data-book-open][hidden] {
    display: none !important;
}

.profile-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-top: 12px;
}

.profile-socials__label {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 29px;
}

.profile-socials__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.profile-social-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    line-height: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.profile-social-icon:hover,
.profile-social-icon:focus-visible {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

.profile-social-icon .messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    line-height: 0;
}

.profile-social-icon .messenger-icon svg,
.profile-social-icon .messenger-icon > img {
    display: block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    object-fit: contain;
}

.profile-social-icon--telegram {
    background: rgba(42, 171, 238, 0.12);
    border-color: rgba(42, 171, 238, 0.24);
}

.profile-social-icon--vk {
    background: rgba(0, 119, 255, 0.12);
    border-color: rgba(0, 119, 255, 0.24);
}

.profile-social-icon--max {
    background: rgba(255, 255, 255, 0.06);
}

.profile-social-icon--instagram {
    background: rgba(214, 41, 118, 0.12);
    border-color: rgba(214, 41, 118, 0.24);
}

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.primary-button {
    position: relative;
    z-index: 0;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg,
            #2f7340 0%,
            #36864a 35%,
            #45a85a 50%,
            #36864a 65%,
            #2f7340 100%);
    background-size: 220% 220%;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    font-weight: 500;
    font-size: 1rem;
    animation: primary-button-flow 4.5s ease-in-out infinite;
    transition-property: border-color, transform;
}

.primary-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 28%,
            rgba(255, 255, 255, 0.08) 44%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0.08) 56%,
            transparent 72%);
    transform: translateX(-120%);
    animation: primary-button-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

.primary-button:hover,
.primary-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.14);
}

.primary-button:active {
    transform: scale(0.96);
}

.primary-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

.primary-button:disabled::before {
    animation: none;
}

@keyframes primary-button-flow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes primary-button-shimmer {

    0%,
    18% {
        transform: translateX(-120%);
    }

    55%,
    100% {
        transform: translateX(120%);
    }
}

@media (prefers-reduced-motion: reduce) {

    .primary-button,
    .primary-button::before {
        animation: none;
    }

    .primary-button {
        background: #36864a;
    }
}

.secondary-button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.secondary-button:hover,
.secondary-button:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
}

.ghost-button {
    min-height: 34px;
    padding: 0 12px;
    color: var(--accent);
    background: var(--accent-soft);
    border-color: rgba(87, 214, 162, 0.22);
    font-size: 0.84rem;
}

.ghost-button:hover,
.ghost-button:focus-visible {
    background: rgba(87, 214, 162, 0.2);
}

.content-card {
    padding: 18px;
}

.section-head {
    display: block;
}

.section-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.section-title {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    line-height: 1.08;
}

.services-list {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.service-section:first-child .service-section__title {
    padding-top: 0;
}

.service-section__title {
    margin: 0 0 8px;
    padding-top: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
}

.service-section__items {
    display: grid;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 15px;
    position: relative;
    border: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition-property: background-color;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.service-row:focus {
    outline: none;
}

.service-row:hover,
.service-row:focus-visible {
    background: rgba(255, 255, 255, 0.045);
}

.service-row:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.service-row__photo {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-row__photo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-row__photo-image[hidden] {
    display: none;
}

.service-row__photo-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffd9b8;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.service-row__photo-initial[hidden] {
    display: none;
}

.service-row__copy {
    display: grid;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.service-row__name {
    font-weight: 600;
    font-size: 0.96rem;
}

.service-row__meta {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.service-row__chevron {
    width: 16px;
    height: 16px;
    margin-right: -2px;
    flex-shrink: 0;
    color: var(--text-muted);
    opacity: 0.72;
}

.price-old {
    text-decoration: line-through;
    opacity: 0.55;
}

.price-badge {
    display: inline-block;
    margin-left: 2px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
}

.price-until {
    display: block;
    margin-top: 2px;
    color: var(--text-soft);
    font-weight: 500;
}

.slots-block {
    margin-top: 14px;
}

.slots-summary {
    color: var(--text-soft);
    line-height: 1.6;
    text-wrap: pretty;
}

.day-groups {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.day-card,
.slots-later-note {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.day-card {
    display: grid;
    gap: 12px;
    animation: day-card-enter 0.42s cubic-bezier(0.2, 0, 0, 1) both;
    animation-delay: var(--day-card-delay, 0ms);
}

.day-card__head {
    display: block;
}

.day-card__titles {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.day-card__title {
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.day-card__subtitle {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.3;
}

.day-card__times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.day-card__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #c5d0d8;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.day-card__chip--range {
    min-width: 0;
    padding: 0 10px;
}

.day-card__chip--more {
    background: transparent;
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.05);
}

.day-card--bookable {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition-property: transform, background-color, border-color;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.day-card--bookable:focus {
    outline: none;
}

.day-card--bookable:hover,
.day-card--bookable:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.14);
}

.day-card--bookable:active {
    transform: scale(0.96);
}

.slots-later-note {
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.5;
    text-wrap: pretty;
}

@keyframes day-card-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.brand-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 14px 12px 4px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.15s ease;
}

.brand-footer[hidden] {
    display: none !important;
}

.brand-footer:hover,
.brand-footer:focus-visible {
    color: var(--text-soft);
}

.brand-footer__logo {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    flex-shrink: 0;
}

.brand-footer__name {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--text-soft);
}

.brand-footer:hover .brand-footer__name,
.brand-footer:focus-visible .brand-footer__name {
    color: var(--accent);
}

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: end center;
    padding: 16px;
}

.booking-modal[hidden] {
    display: none;
}

[data-booking-modal] .booking-modal__backdrop {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.14s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

[data-booking-modal] .booking-modal__sheet {
    transform: translateY(10px);
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: 0.16s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

[data-booking-modal].is-open .booking-modal__backdrop {
    opacity: 1;
}

[data-booking-modal].is-open .booking-modal__sheet {
    transform: none;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    [data-booking-modal] .booking-modal__sheet,
    [data-booking-modal] .booking-modal__backdrop {
        transition-duration: 0s;
    }
}

.booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 12, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.booking-modal__sheet {
    position: relative;
    width: min(100%, 480px);
    max-height: min(82vh, 640px);
    overflow: auto;
    padding: 22px 18px max(18px, env(safe-area-inset-bottom));
    border-radius: 32px 32px 24px 24px;
    background: var(--surface-strong);
    border: 0;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 24px 70px rgba(0, 0, 0, 0.42),
        0 2px 10px rgba(0, 0, 0, 0.28);
}

.booking-modal__sheet--channels {
    padding: 10px 16px max(18px, env(safe-area-inset-bottom));
}

.booking-modal__handle {
    display: block;
    width: 36px;
    height: 5px;
    margin: 4px auto 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.2);
}

.booking-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition-property: background-color, color, transform;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.booking-modal__close svg {
    width: 20px;
    height: 20px;
}

.booking-modal__close:hover,
.booking-modal__close:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.booking-modal__close:active {
    transform: scale(0.96);
}

.booking-modal__title {
    margin: 0 44px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    line-height: 1.1;
    text-wrap: balance;
}

.booking-modal__text {
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.55;
    text-wrap: pretty;
}

.service-detail__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 36px;
}

.service-detail__photo {
    position: relative;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
}

.service-detail__photo[hidden] {
    display: none;
}

.service-detail__photo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail__photo-image[hidden] {
    display: none;
}

.service-detail__photo-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffd9b8;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.service-detail__photo-initial[hidden] {
    display: none;
}

.service-detail__copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.booking-modal__sheet--service .booking-modal__title {
    margin: 0;
    font-size: 1.18rem;
    text-wrap: balance;
}

.service-detail__meta {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}

.service-detail__description {
    margin: 16px 0 0;
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.55;
    white-space: pre-wrap;
    text-wrap: pretty;
}

.service-detail__description[hidden] {
    display: none;
}

.service-detail__book {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}

.service-detail__book[hidden] {
    display: none !important;
}

.messenger-grid {
    display: grid;
    gap: 0;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.messenger-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 12px 12px;
    background: transparent;
    border: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
    transition-property: background-color;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.messenger-button:last-child {
    box-shadow: none;
}

.messenger-button:hover,
.messenger-button:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.messenger-button:active {
    background: rgba(255, 255, 255, 0.08);
}

.messenger-button-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
}

.messenger-button--telegram .messenger-button-icon {
    background: rgba(42, 171, 238, 0.16);
    outline-color: rgba(42, 171, 238, 0.28);
}

.messenger-button--vk .messenger-button-icon {
    background: rgba(0, 119, 255, 0.16);
    outline-color: rgba(0, 119, 255, 0.28);
}

.messenger-button--max .messenger-button-icon {
    background: rgba(168, 85, 247, 0.16);
    outline-color: rgba(168, 85, 247, 0.28);
}

.messenger-button-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.messenger-button-title {
    font-weight: 600;
}

.messenger-button-subtitle {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.messenger-button-chevron {
    width: 18px;
    height: 18px;
    margin-left: auto;
    flex-shrink: 0;
    color: var(--text-muted);
}

.messenger-icon {
    width: 26px;
    height: 26px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.empty-state,
.error-state {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-soft);
    line-height: 1.6;
}

@media (min-width: 740px) {
    .profile-body,
    .content-card {
        padding: 22px;
    }

    .profile-body {
        padding-top: 52px;
    }

    .profile-avatar-wrap {
        left: 22px;
    }

    .messenger-grid {
        grid-template-columns: 1fr;
    }

    .booking-modal {
        place-items: center;
    }

    .booking-modal__sheet {
        border-radius: 32px;
    }

    .booking-modal__handle {
        display: none;
    }

    .booking-modal__sheet--channels {
        padding-top: 22px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.portfolio-more-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
    transition-property: background-color, border-color, color;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.portfolio-more-link:hover,
.portfolio-more-link:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    outline: none;
}

.portfolio-more-link:active {
    transform: scale(0.96);
}

.portfolio-more-link[hidden] {
    display: none !important;
}

.portfolio-strip {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.portfolio-strip::-webkit-scrollbar {
    height: 0;
}

.portfolio-strip__item {
    flex: 0 0 auto;
    width: 108px;
    height: 108px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.portfolio-strip__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.portfolio-filter {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
}

.portfolio-filter.is-active {
    color: var(--on-accent);
    background: var(--accent);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.booking-modal__sheet--portfolio {
    max-height: min(88vh, 760px);
}

.portfolio-card {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.portfolio-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
}

.portfolio-lightbox[hidden] {
    display: none;
}

.portfolio-lightbox__backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: rgba(4, 8, 12, 0.9);
    cursor: pointer;
}

.portfolio-lightbox__stage {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    width: min(100%, 760px);
    min-height: 0;
    margin: 0 auto;
    padding: 56px 12px 16px;
}

.portfolio-lightbox__media {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    touch-action: none;
}

.portfolio-lightbox__image {
    display: block;
    max-width: min(92vw, 760px);
    max-height: 100%;
    border-radius: 18px;
    object-fit: contain;
    transform-origin: center center;
    will-change: transform;
}

.portfolio-lightbox__caption-wrap {
    flex-shrink: 0;
    max-height: min(34vh, 240px);
    margin-top: 12px;
    padding: 12px 16px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-lightbox__caption-wrap[hidden] {
    display: none;
}

.portfolio-lightbox__caption {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
    text-align: center;
    white-space: pre-wrap;
}

.portfolio-lightbox__close,
.portfolio-lightbox__nav {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.portfolio-lightbox__close {
    top: 16px;
    right: 16px;
}

.portfolio-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

.portfolio-lightbox__nav--prev {
    left: 12px;
}

.portfolio-lightbox__nav--next {
    right: 12px;
}

.portfolio-lightbox__close svg,
.portfolio-lightbox__nav svg {
    width: 22px;
    height: 22px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton {
    display: block;
    border-radius: 12px;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.11) 45%,
            rgba(255, 255, 255, 0.05) 90%
        );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.35s ease-in-out infinite;
}

.profile-header.is-loading .profile-loaded {
    display: none;
}

.profile-header:not(.is-loading) .profile-skeleton {
    display: none;
}

.profile-header:not(.is-loading) .profile-avatar-wrap > [data-skeleton] {
    display: none;
}

.profile-skeleton {
    display: grid;
    gap: 10px;
}

.skeleton--avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
}

.skeleton--line {
    height: 14px;
    border-radius: 10px;
}

.skeleton--line-title {
    width: min(72%, 280px);
    height: 30px;
    border-radius: 12px;
}

.skeleton--line-body {
    width: 100%;
    height: 13px;
}

.skeleton--line-short {
    width: 84%;
}

.skeleton--line-address {
    width: 58%;
    height: 12px;
    margin-top: 2px;
}

.skeleton-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skeleton-row--actions {
    margin-top: 8px;
}

.skeleton--pill {
    height: 44px;
    border-radius: 16px;
}

.skeleton--pill-primary {
    width: 148px;
}

.skeleton--pill-secondary {
    width: 124px;
}

[data-services-card].is-loading .services-list {
    display: none;
}

[data-services-card]:not(.is-loading) .services-skeleton {
    display: none;
}

.services-skeleton {
    display: grid;
    gap: 0;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.skeleton-service-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    position: relative;
}

.skeleton-service-row:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.skeleton--square {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.skeleton-service-row__copy {
    display: grid;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.skeleton--line-service {
    width: 72%;
    height: 14px;
}

.skeleton--line-service-short {
    width: 56%;
}

.skeleton--line-meta {
    width: 42%;
    height: 11px;
}

.skeleton--line-meta-short {
    width: 34%;
}

[data-slots-block].is-loading .slots-loaded {
    display: none;
}

[data-slots-block]:not(.is-loading) .slots-skeleton {
    display: none;
}

.slots-skeleton {
    display: grid;
    gap: 10px;
}

.skeleton-day-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-day-card__head {
    display: block;
}

.skeleton--line-day {
    width: 92px;
    height: 14px;
}

.skeleton--line-day-short {
    width: 76px;
}

.skeleton-day-card__times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skeleton--chip {
    width: 86px;
    height: 32px;
    border-radius: 10px;
}

.skeleton--chip-wide {
    width: 108px;
}

@media (prefers-reduced-motion: reduce) {
    .skeleton {
        animation: none;
        background: rgba(255, 255, 255, 0.07);
    }

    .day-card {
        animation: none;
    }

    .day-card--bookable:active {
        transform: none;
    }
}
