/* ==========================================================================
   DM ATELIER BEAUTY HOUSE — дизайн система
   Черно, бяло и степени на сивото. Никакви декоративни цветове.
   Ред на файла: токени → основа → типография → layout → компоненти → страници
   → анимации → адаптивност.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ТОКЕНИ
   -------------------------------------------------------------------------- */
:root {
    /* Основни */
    --black: #000000;
    --ink: #0a0a0a;
    --ink-soft: #222222;
    --white: #ffffff;

    /* Светли повърхности */
    --off: #f7f7f5;
    --grey-100: #eeeEec;
    --grey-200: #e4e4e1;
    --grey-300: #cdcdc9;
    --grey-400: #9d9d99;
    --grey-500: #6f6f6b;

    /* Линии */
    --line: rgba(10, 10, 10, 0.14);
    --line-soft: rgba(10, 10, 10, 0.075);
    --line-invert: rgba(255, 255, 255, 0.18);
    --line-invert-soft: rgba(255, 255, 255, 0.09);

    /* Коефициент на текста: 1.2 = с 20% отгоре спрямо оригиналните размери
       (1.5 - 20% = 1.2). Едно място за големината на целия текст. */
    --type-scale: 1.2;

    /* Типография */
    --font-display: 'Cormorant Garamond', 'Times New Roman', Times, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Ритъм */
    --container: 1560px;
    --gutter: clamp(18px, 4.2vw, 64px);
    --section-y: clamp(64px, 9vw, 148px);
    --header-h: 96px;

    /* Движение */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.55s;

    /* Сенки — почти няма; дълбочината идва от линии и контраст */
    --shadow-soft: 0 24px 60px -40px rgba(10, 10, 10, 0.4);
}

/* --------------------------------------------------------------------------
   2. ОСНОВА
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: calc(15.5px * var(--type-scale));
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Cormorant Garamond по подразбиране ползва стари (минускулни) цифри —
       „1“ изглежда като „I“, „0“ като „O“ и цените стават нечетими. */
    font-variant-numeric: lining-nums;
}

/* Числата, които трябва да се подравняват в колона (цени, статистики,
   продължителности), освен lining получават и tabular. */
.p-card__price,
.p-card__foot span,
.p-row__price,
.stat__value,
.fact__value,
.booking-bar__sum,
.day__num,
.person__meta {
    font-variant-numeric: lining-nums tabular-nums;
}

img,
svg,
video {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure,
blockquote,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

::selection {
    background: var(--ink);
    color: var(--white);
}

:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Иконите вървят с текста (във flex/grid родител flex подредбата пак важи). */
.icon {
    display: inline-block;
    vertical-align: middle;
    flex: 0 0 auto;
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 300;
    background: var(--ink);
    color: var(--white);
    padding: 12px 20px;
    font-size: calc(12px * var(--type-scale));
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* --------------------------------------------------------------------------
   3. ТИПОГРАФИЯ
   -------------------------------------------------------------------------- */
.display,
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -0.012em;
    text-wrap: balance;
}

.display-1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: calc(clamp(2.5rem, 5.8vw, 5.85rem) * var(--type-scale));
    line-height: 0.94;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.display-2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: calc(clamp(2.1rem, 4.6vw, 4.1rem) * var(--type-scale));
    line-height: 1;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.display-3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: calc(clamp(1.6rem, 2.7vw, 2.5rem) * var(--type-scale));
    line-height: 1.06;
    letter-spacing: -0.01em;
}

.display-4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: calc(clamp(1.3rem, 1.8vw, 1.7rem) * var(--type-scale));
    line-height: 1.15;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: calc(10.5px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--grey-500);
    line-height: 1;
}

.eyebrow--ink {
    color: var(--ink);
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.62);
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.eyebrow--bare::before {
    display: none;
}

.lead {
    font-size: calc(clamp(1rem, 1.15vw, 1.15rem) * var(--type-scale));
    line-height: 1.72;
    color: var(--grey-500);
    max-width: 56ch;
}

.lead--ink {
    color: var(--ink-soft);
}

.lead--light {
    color: rgba(255, 255, 255, 0.68);
}

.muted {
    color: var(--grey-500);
}

.tiny {
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.serif-italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
}

/* Текст на дълга статия */
.prose {
    font-size: calc(1.02rem * var(--type-scale));
    line-height: 1.85;
    color: var(--ink-soft);
    max-width: 68ch;
}

/* Корицата на статия: започва под логото (както всичко останало), но не се
   разпъва на цялата ширина — 980px е мярката, за която е подготвен srcset-ът. */
.article-cover {
    max-width: 980px;
}

.prose > * + * {
    margin-top: 1.5em;
}

.prose h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: calc(clamp(1.5rem, 2.2vw, 2rem) * var(--type-scale));
    line-height: 1.15;
    margin-top: 2.6em;
    color: var(--ink);
}

.prose h2 + p {
    margin-top: 0.9em;
}

.prose ul {
    padding-left: 0;
    display: grid;
    gap: 0.6em;
}

.prose li {
    position: relative;
    padding-left: 26px;
}

.prose li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 12px;
    height: 1px;
    background: var(--ink);
}

.prose strong {
    font-weight: 500;
    color: var(--ink);
}

.prose em {
    font-family: var(--font-display);
    font-style: italic;
    font-size: calc(1.08em * var(--type-scale));
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: 980px;
}

.container--text {
    max-width: 780px;
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: clamp(44px, 5.5vw, 84px);
}

.section--off {
    background: var(--off);
}

.section--grey {
    background: var(--grey-100);
}

.section--dark {
    background: var(--ink);
    color: var(--white);
}

.section--line {
    border-top: 1px solid var(--line);
}

.section--line-invert {
    border-top: 1px solid var(--line-invert);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: clamp(32px, 4vw, 64px);
}

.section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section__head--center .lead {
    margin-inline: auto;
}

.section__title {
    margin-top: 18px;
}

.rule {
    height: 1px;
    background: var(--line);
    border: 0;
}

.rule--invert {
    background: var(--line-invert);
}

/* Медия контейнер с плавен zoom при hover */
.media {
    position: relative;
    overflow: hidden;
    background: var(--grey-100);
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out), filter 0.8s var(--ease);
}

.media--zoom:hover img,
a:hover > .media img,
.media:hover img {
    transform: scale(1.045);
}

.media--grayscale img {
    filter: grayscale(1);
}

.media--veil::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 38%, rgba(10, 10, 10, 0.66) 100%);
    pointer-events: none;
}

.media--4x5 { aspect-ratio: 4 / 5; }
.media--3x4 { aspect-ratio: 3 / 4; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--21x9 { aspect-ratio: 21 / 9; }

/* --------------------------------------------------------------------------
   5. БУТОНИ И ВРЪЗКИ
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* НЕ фиксирана височина: текстът расте и бутонът трябва да порасне с него. */
    min-height: 52px;
    padding: 14px 34px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: calc(11px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
}

.btn:hover {
    background: var(--ink);
    color: var(--white);
}

.btn--solid {
    background: var(--ink);
    color: var(--white);
}

.btn--solid:hover {
    background: transparent;
    color: var(--ink);
}

/* Пулсиращ бутон „Свали резервация“ — меко „дишащ“ пръстен, който насочва
   вниманието към запазването на часа на телефона. Спира при посочване и при
   системна настройка за намалено движение. */
@keyframes dm-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(10, 10, 10, 0.42);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(10, 10, 10, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(10, 10, 10, 0);
    }
}

.btn--pulse {
    animation: dm-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.btn--pulse:hover,
.btn--pulse:focus-visible {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .btn--pulse {
        animation: none;
    }
}

.btn--light {
    border-color: var(--white);
    color: var(--white);
}

.btn--light:hover {
    background: var(--white);
    color: var(--ink);
}

.btn--light-solid {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.btn--light-solid:hover {
    background: transparent;
    color: var(--white);
}

.btn--sm {
    min-height: 42px;
    padding: 10px 22px;
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.16em;
}

.btn--block {
    width: 100%;
}

.btn--disabled,
.btn:disabled {
    opacity: 0.35;
    pointer-events: none;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Връзка с анимирано подчертаване */
.link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: calc(11px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding-bottom: 6px;
}

.link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.link:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

.link--quiet {
    color: var(--grey-500);
}

.link--quiet:hover {
    color: var(--ink);
}

.link svg {
    transition: transform 0.5s var(--ease-out);
}

.link:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. ФОРМИ
   -------------------------------------------------------------------------- */
.field {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}

.field__label {
    font-size: calc(10.5px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.field__label span {
    color: var(--grey-400);
    letter-spacing: 0.08em;
    text-transform: none;
    font-size: calc(11px * var(--type-scale));
}

.input,
.select,
.textarea {
    width: 100%;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 15px 16px;
    font-family: var(--font-sans);
    font-size: calc(15px * var(--type-scale));
    color: var(--ink);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
    appearance: none;
}

.input::placeholder,
.textarea::placeholder {
    color: var(--grey-500);
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--ink);
    background: var(--white);
}

.textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

.select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230a0a0a' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.field--error .input,
.field--error .select,
.field--error .textarea {
    border-color: var(--ink);
    border-width: 1px;
    background: var(--grey-100);
}

.field__error {
    font-size: calc(12px * var(--type-scale));
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
}

.field__error::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--ink);
    border-radius: 50%;
    flex: 0 0 auto;
}

.field__hint {
    font-size: calc(12px * var(--type-scale));
    color: var(--grey-500);
}

.checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: calc(13.5px * var(--type-scale));
    line-height: 1.65;
    color: var(--grey-500);
    cursor: pointer;
}

.checkbox input {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid var(--line);
    flex: 0 0 auto;
    margin-top: 3px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.checkbox input:checked {
    background: var(--ink);
    border-color: var(--ink);
}

.checkbox input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 1.4px 1.4px 0;
    transform: rotate(45deg);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.form-grid .field--full {
    grid-column: 1 / -1;
}

/* Скрито поле-капан: извън екрана, но не display:none — част от ботовете
   подминават display:none, затова се позиционира извън видимата област. */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Съобщения */
.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid var(--ink);
    padding: 16px 18px;
    font-size: calc(14px * var(--type-scale));
    line-height: 1.6;
    margin-bottom: 28px;
}

.alert--success {
    background: var(--ink);
    color: var(--white);
}

.alert--error {
    background: var(--grey-100);
}

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    height: var(--header-h);
}

.site-header.is-scrolled {
    box-shadow: 0 1px 0 var(--line-soft);
}

/* ВАЖНО: височината на залепения хедър НЕ се анимира. Той е в потока, така
   че всяка смяна на височината преизчислява целия документ (началната е
   ~19 000px) — при скрол това хвърляше кадри и местеше съдържанието с 26px
   точно на прага 12px, което се четеше като трептене. Компактното състояние
   вече е само transform върху логото (не пипа layout-а). */
.site-header.is-scrolled .brand__logo {
    transform: scale(0.82);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

/* Логото е с прозрачен фон — работи и на бяло, и на черно. */
.brand__logo {
    display: block;
    height: var(--logo-h, 78px);
    width: auto;
    transform-origin: left center;
    transition: transform 0.4s var(--ease);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.3vw, 26px);
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.site-nav__link {
    position: relative;
    font-size: calc(11px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 0;
    white-space: nowrap;
    color: var(--ink);
}

.site-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-out);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

/* CTA в хедъра: на тясно се сменя с късата си форма (виж media заявките). */
.header-cta__short {
    display: none;
}

.header-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: calc(10.5px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-500);
    transition: color 0.3s var(--ease);
}

.header-account:hover {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-right: -10px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    position: relative;
    transition: transform 0.4s var(--ease), background-color 0.2s linear;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.4s var(--ease);
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded='true'] span {
    background: transparent;
}

.nav-toggle[aria-expanded='true'] span::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Падащо меню „Услуги" (само desktop) --- */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    /* Разтяга се по височината на хедъра, за да започва панелът точно под
       долната му линия — иначе курсорът „излиза" и менюто се затваря. */
    align-self: stretch;
}

.site-nav__link--parent {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.site-nav__chevron {
    transition: transform 0.35s var(--ease-out);
    margin-top: 1px;
}

.nav-item:hover .site-nav__chevron,
.nav-item:focus-within .site-nav__chevron {
    transform: rotate(180deg);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 5;
    width: 330px;
    padding: 22px 0 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out), visibility 0.3s;
}

.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-menu__title {
    font-size: calc(9.5px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--grey-400);
    padding: 0 26px 14px;
}

.nav-menu__list {
    border-top: 1px solid var(--line-soft);
}

.nav-menu__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 26px;
    font-size: calc(13.5px * var(--type-scale));
    line-height: 1.4;
    transition: background-color 0.3s var(--ease), padding-left 0.4s var(--ease-out);
}

.nav-menu__link:hover {
    background: var(--off);
    padding-left: 32px;
}

.nav-menu__count {
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.12em;
    color: var(--grey-400);
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
}

.nav-menu__all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-top: 1px solid var(--line);
    font-size: calc(10.5px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background-color 0.3s var(--ease);
}

.nav-menu__all:hover {
    background: var(--ink);
    color: var(--white);
}

/* Мобилно меню */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--white);
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), visibility 0.4s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu__link {
    font-family: var(--font-display);
    font-size: calc(clamp(1.9rem, 8vw, 2.6rem) * var(--type-scale));
    font-weight: 300;
    line-height: 1.25;
    border-bottom: 1px solid var(--line-soft);
    padding: 10px 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.mobile-menu__link span {
    font-family: var(--font-sans);
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.2em;
    color: var(--grey-500);
}

/* Номерът и „+“/-“ маркерът стоят заедно отдясно. */
.mobile-menu__aside {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

/* Акордеон „Услуги" в мобилното меню */
.mobile-menu__item {
    border-bottom: 1px solid var(--line-soft);
}

.mobile-menu__toggle {
    width: 100%;
    text-align: left;
    border-bottom: 0;
    align-items: center;
}

.mobile-menu__mark {
    position: relative;
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.mobile-menu__mark::before,
.mobile-menu__mark::after {
    content: '';
    position: absolute;
    background: var(--ink);
    transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease);
}

.mobile-menu__mark::before {
    left: 0;
    top: 6.5px;
    width: 14px;
    height: 1px;
}

.mobile-menu__mark::after {
    top: 0;
    left: 6.5px;
    width: 1px;
    height: 14px;
}

.mobile-menu__item.is-open .mobile-menu__mark::after {
    transform: rotate(90deg);
    opacity: 0;
}

.mobile-menu__sub {
    display: grid;
    padding-bottom: 14px;
}

.mobile-menu__sub a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0 9px 16px;
    font-size: calc(14px * var(--type-scale));
    color: var(--grey-500);
    border-left: 1px solid var(--line);
    transition: color 0.3s var(--ease), padding-left 0.35s var(--ease-out);
}

.mobile-menu__sub a:hover {
    color: var(--ink);
    padding-left: 22px;
}

.mobile-menu__count {
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.12em;
    color: var(--grey-400);
}

.mobile-menu__foot {
    margin-top: auto;
    padding-top: 32px;
    display: grid;
    gap: 18px;
    border-top: 1px solid var(--line);
}

body.menu-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    display: grid;
    /* Текстът взима 60%: при 1.5× заглавие половин колона не стига. */
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: min(86vh, 900px);
    /* На широки екрани хедърът е центриран контейнер (max-width), а хероят е
       на цялата ширина — затова текстът излизаше по-вляво от логото. Тук
       добавяме същия страничен отстъп, за да падне началото на текста под
       логото. Под ширината на контейнера формулата дава 0 и нищо не се мени. */
    padding-left: max(0px, calc((100% - var(--container)) / 2));
}

.hero__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 84px) clamp(20px, 2.6vw, 44px) clamp(40px, 6vw, 84px) var(--gutter);
    max-width: 900px;
}

.hero__title {
    margin-top: clamp(20px, 2.4vw, 34px);
}

.hero__title em {
    font-style: italic;
    font-weight: 300;
}

.hero__lead {
    margin-top: clamp(18px, 2vw, 28px);
}

.hero__actions {
    margin-top: clamp(28px, 3.4vw, 46px);
}

.hero__meta {
    margin-top: clamp(34px, 4vw, 60px);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.hero__meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.hero__media {
    position: relative;
    overflow: hidden;
    background: var(--grey-100);
}

.hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__rail {
    position: absolute;
    left: 14px;
    bottom: 34px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--grey-500);
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero__rail::before {
    content: '';
    width: 1px;
    height: 54px;
    background: var(--line);
}

.hero__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--white);
    padding: 18px 24px;
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-500);
    max-width: 62%;
}

/* --------------------------------------------------------------------------
   9. КОМПОНЕНТИ
   -------------------------------------------------------------------------- */

/* --- Индекс на категории (подпис на сайта) --- */
.index-list {
    border-top: 1px solid var(--line);
    position: relative;
}

.index-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 0.9fr) auto 32px;
    align-items: center;
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: padding-left 0.6s var(--ease-out), background-color 0.5s var(--ease);
}

.index-row:hover {
    padding-left: 14px;
    background: var(--off);
}

.index-row__num {
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.2em;
    color: var(--grey-500);
    font-variant-numeric: lining-nums tabular-nums;
}

.index-row__name {
    font-family: var(--font-display);
    font-size: calc(clamp(1.5rem, 2.5vw, 2.15rem) * var(--type-scale));
    font-weight: 400;
    line-height: 1.1;
}

.index-row__desc {
    font-size: calc(13.5px * var(--type-scale));
    line-height: 1.65;
    color: var(--grey-500);
    max-width: 44ch;
}

.index-row__count {
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-500);
    text-align: right;
    white-space: nowrap;
}

.index-row__arrow {
    justify-self: end;
    color: var(--ink);
    transition: transform 0.5s var(--ease-out);
}

.index-row:hover .index-row__arrow {
    transform: translateX(6px);
}

/* --- Карта на процедура --- */
.card-grid {
    display: grid;
    gap: clamp(20px, 2.4vw, 40px);
}

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

.p-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.p-card__media {
    position: relative;
    overflow: hidden;
    background: var(--grey-100);
}

.p-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.p-card:hover .p-card__media img {
    transform: scale(1.05);
}

.p-card__badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--white);
    color: var(--ink);
    padding: 9px 14px;
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.p-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}

.p-card__cat {
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.p-card__title {
    font-family: var(--font-display);
    font-size: calc(clamp(1.25rem, 1.7vw, 1.6rem) * var(--type-scale));
    font-weight: 400;
    line-height: 1.12;
}

.p-card__text {
    font-size: calc(13.5px * var(--type-scale));
    line-height: 1.65;
    color: var(--grey-500);
    flex: 1 1 auto;
}

.p-card__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    font-size: calc(12px * var(--type-scale));
    letter-spacing: 0.08em;
    color: var(--grey-500);
}

.p-card__price {
    font-family: var(--font-display);
    font-size: calc(1.35rem * var(--type-scale));
    letter-spacing: 0;
    color: var(--ink);
}

/* --- Ред за процедура в списък --- */
.p-row {
    display: grid;
    /* Последната колона е `auto`: бутоните определят ширината си, вместо да
       излизат върху цената при по-голям текст. */
    grid-template-columns: minmax(0, 1fr) 140px 110px auto;
    gap: 28px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.4s var(--ease), padding-left 0.5s var(--ease-out);
}

.p-row:hover {
    background: var(--off);
    padding-left: 14px;
}

.p-row__name {
    font-family: var(--font-display);
    font-size: calc(clamp(1.15rem, 1.6vw, 1.45rem) * var(--type-scale));
    font-weight: 400;
    line-height: 1.2;
}

.p-row__text {
    font-size: calc(13px * var(--type-scale));
    line-height: 1.6;
    color: var(--grey-500);
    margin-top: 6px;
    max-width: 62ch;
}

.p-row__meta {
    font-size: calc(12px * var(--type-scale));
    letter-spacing: 0.1em;
    color: var(--grey-500);
    text-transform: uppercase;
}

.p-row__price {
    font-family: var(--font-display);
    font-size: calc(1.3rem * var(--type-scale));
    line-height: 1.2;
}

.p-row__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--grey-500);
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.icon-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.icon-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.icon-btn.is-active svg {
    fill: currentColor;
}

/* --- Плочки с числа --- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat {
    padding: 34px 22px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat__value {
    font-family: var(--font-display);
    font-size: calc(clamp(2.2rem, 3.6vw, 3.2rem) * var(--type-scale));
    font-weight: 300;
    line-height: 1;
}

.stat__label {
    margin-top: 10px;
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.section--dark .stats,
.stats--invert {
    border-color: var(--line-invert);
}

.section--dark .stat,
.stats--invert .stat {
    border-color: var(--line-invert);
}

.section--dark .stat__label,
.stats--invert .stat__label {
    color: rgba(255, 255, 255, 0.55);
}

/* --- Лента с детайли --- */
.detail-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
}

.detail-strip .media {
    aspect-ratio: 1 / 1;
}

/* --- Отзиви --- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.review {
    background: var(--white);
    padding: clamp(24px, 2.6vw, 38px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review__quote {
    font-family: var(--font-display);
    font-size: calc(clamp(1.05rem, 1.4vw, 1.25rem) * var(--type-scale));
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    flex: 1 1 auto;
}

.review__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.rating-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}

.rating-panel__score {
    font-family: var(--font-display);
    font-size: calc(clamp(3rem, 5vw, 4.6rem) * var(--type-scale));
    font-weight: 300;
    line-height: 1;
}

.stars {
    display: inline-flex;
    gap: 3px;
    color: var(--ink);
}

.stars__item {
    display: inline-flex;
}

.stars__item svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

.stars__item.is-full svg {
    fill: currentColor;
}

.stars__item.is-half svg {
    fill: url(#half);
    fill: currentColor;
    opacity: 0.55;
}

/* --- Екип --- */
.person {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.person__media {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--grey-100);
    position: relative;
}

.person__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease-out);
}

.person:hover .person__media img {
    transform: scale(1.04);
}

.person__name {
    font-family: var(--font-display);
    font-size: calc(clamp(1.4rem, 1.9vw, 1.75rem) * var(--type-scale));
    font-weight: 400;
    line-height: 1.12;
}

.person__role {
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-top: 8px;
}

.person__meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-500);
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.breadcrumbs a:hover {
    color: var(--ink);
}

.breadcrumbs__sep {
    opacity: 0.5;
}

/* --- Заглавна лента на вътрешна страница --- */
.page-head {
    padding-block: clamp(40px, 5vw, 76px) clamp(30px, 3.4vw, 52px);
    border-bottom: 1px solid var(--line);
}

.page-head--dark {
    background: var(--ink);
    color: var(--white);
    border-bottom: 0;
}

.page-head--dark .breadcrumbs {
    color: rgba(255, 255, 255, 0.6);
}

/* Тялото на текста върху снимка трябва да е с по-висок контраст от
   дребните надписи — 0.6 минаваше под прага за четимост. */
.page-head--dark .lead {
    color: rgba(255, 255, 255, 0.86);
}

/* Фоновата снимка на категорията: родителят е absolute + inset:0, но
   глобалното `img { height: auto }` оставяше снимката далеч под него. */
.page-head__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.page-head__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-head__title {
    margin-top: 20px;
}

.page-head__lead {
    margin-top: 20px;
}

.page-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: end;
}

/* --- Акordeon --- */
.accordion {
    border-top: 1px solid var(--line);
}

.accordion__item {
    border-bottom: 1px solid var(--line);
}

.accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: calc(clamp(1.15rem, 1.6vw, 1.45rem) * var(--type-scale));
    font-weight: 400;
    transition: padding-left 0.5s var(--ease-out);
}

.accordion__trigger:hover {
    padding-left: 10px;
}

.accordion__icon {
    flex: 0 0 auto;
    position: relative;
    width: 14px;
    height: 14px;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    background: var(--ink);
    transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease);
}

.accordion__icon::before {
    left: 0;
    top: 6.5px;
    width: 14px;
    height: 1px;
}

.accordion__icon::after {
    top: 0;
    left: 6.5px;
    width: 1px;
    height: 14px;
}

.accordion__item.is-open .accordion__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease-out);
}

.accordion__item.is-open .accordion__panel {
    grid-template-rows: 1fr;
}

.accordion__panel > div {
    overflow: hidden;
}

.accordion__panel p {
    padding-bottom: 28px;
    max-width: 74ch;
    color: var(--grey-500);
    font-size: calc(15px * var(--type-scale));
    line-height: 1.75;
}

/* --- Галерия --- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    padding-block: 26px;
    border-bottom: 1px solid var(--line);
}

.gallery-filters__item {
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-500);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.gallery-filters__item:hover {
    color: var(--ink);
}

.gallery-filters__item.is-active {
    color: var(--ink);
    border-color: var(--ink);
}

.gallery-filters__item span {
    color: var(--grey-400);
    font-size: calc(9px * var(--type-scale));
    vertical-align: super;
    margin-left: 3px;
}

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

/* Три колони (напр. „За нас“). Мобилните правила по-долу пак печелят,
   защото са по-късно в листа — затова не се ползва inline стил. */
.gallery-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--grey-100);
    cursor: zoom-in;
    display: block;
}

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out), opacity 0.5s var(--ease);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.28);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.gallery-item__label {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: var(--white);
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover .gallery-item__label {
    opacity: 1;
    transform: translateY(0);
}

/* Устройства без hover: етикетът никога не би се появил. */
@media (hover: none) {
    .gallery-item__label {
        opacity: 1;
        transform: none;
    }

    .gallery-item::after {
        opacity: 0.2;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 56px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__figure {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lightbox__image {
    max-height: 78vh;
    width: auto;
    object-fit: contain;
    margin-inline: auto;
}

.lightbox__caption {
    color: rgba(255, 255, 255, 0.6);
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.lightbox__close,
.lightbox__nav {
    position: absolute;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid var(--line-invert);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    background: var(--white);
    color: var(--ink);
}

.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }

/* --- Journal --- */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
}

.a-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.a-card__media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--grey-100);
}

.a-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.a-card:hover .a-card__media img {
    transform: scale(1.05);
}

.a-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    align-items: center;
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-500);
}

/* Метаданните са къси „хапки" — нека не се пренасят по средата на дума. */
.a-card__meta > * {
    white-space: nowrap;
}

.a-card__title {
    font-family: var(--font-display);
    font-size: calc(clamp(1.3rem, 1.8vw, 1.65rem) * var(--type-scale));
    font-weight: 400;
    line-height: 1.15;
}

.a-card__excerpt {
    font-size: calc(13.5px * var(--type-scale));
    line-height: 1.68;
    color: var(--grey-500);
}

/* --- Пагинация --- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: clamp(40px, 5vw, 72px);
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.pagination__item {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: calc(12px * var(--type-scale));
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.pagination__item:hover {
    border-color: var(--line);
}

.pagination__item.is-active {
    background: var(--ink);
    color: var(--white);
}

/* --- CTA лента --- */
.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: stretch;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
    /* Същият отстъп като хедъра и останалите секции — иначе текстът в лентата
       излиза вляво от логото на широк екран. */
    padding-left: max(0px, calc((100% - var(--container)) / 2));
}

.cta-band__body {
    padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 72px) clamp(40px, 6vw, 96px) var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}

.cta-band__media {
    position: relative;
    min-height: 320px;
}

.cta-band__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* --- Празно състояние --- */
.empty {
    padding: clamp(40px, 6vw, 88px) 0;
    text-align: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.empty__title {
    font-family: var(--font-display);
    font-size: calc(clamp(1.5rem, 2.4vw, 2rem) * var(--type-scale));
    font-weight: 400;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   10. ФУТЪР
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: var(--white);
    padding-top: clamp(56px, 7vw, 104px);
}

.site-footer__statement {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: calc(clamp(2.1rem, 7.6vw, 6.5rem) * var(--type-scale));
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    padding-bottom: clamp(40px, 5vw, 72px);
    border-bottom: 1px solid var(--line-invert);
    text-wrap: balance;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
    gap: clamp(30px, 3.4vw, 64px);
    padding-block: clamp(40px, 5vw, 72px);
    border-bottom: 1px solid var(--line-invert);
}

.site-footer__heading {
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 22px;
}

.site-footer__list {
    display: grid;
    gap: 12px;
    font-size: calc(14px * var(--type-scale));
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__list a:hover {
    color: var(--white);
}

.site-footer__brand .brand__logo {
    height: var(--logo-h, 128px);
    margin-bottom: 8px;
}

.site-footer__contact {
    display: grid;
    gap: 14px;
    font-size: calc(14px * var(--type-scale));
    color: rgba(255, 255, 255, 0.78);
    margin-top: 24px;
}

.site-footer__contact a:hover {
    color: var(--white);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 32px;
    padding-block: 26px 30px;
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer__legal a {
    /* .site-footer__bottom наследява 0.42 → 4.05:1 при 10.5px (под AA).
       Подчертаването дава разделител и без да разчита на flex-отстъпи. */
    color: rgba(255, 255, 255, 0.66);
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.site-footer__legal a:hover {
    color: var(--white);
    border-color: var(--white);
}

.site-footer__socials {
    display: flex;
    gap: 10px;
}

.site-footer__social {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-invert);
    color: rgba(255, 255, 255, 0.75);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.site-footer__social:hover {
    background: var(--white);
    color: var(--ink);
}

/* 44×44 е добра зона за натиск, но 17px глиф вътре изглежда изгубен. */
.site-footer__social svg {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   11. РЕЗЕРВАЦИЯ
   -------------------------------------------------------------------------- */
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(28px, 4vw, 72px);
    align-items: start;
}

.wizard-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(28px, 3.4vw, 52px);
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 26px 18px 0;
    margin-right: 26px;
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-400);
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
}

.wizard-step__num {
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: calc(10px * var(--type-scale));
    flex: 0 0 auto;
}

.wizard-step.is-active {
    color: var(--ink);
    border-color: var(--ink);
}

.wizard-step.is-active .wizard-step__num {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.wizard-step.is-done {
    color: var(--ink);
}

.wizard-step.is-done .wizard-step__num {
    border-color: var(--ink);
}

/* На телефон indicator-ът заемаше 3 реда. Показваме само номерата, а етикетът
   остава само на активната стъпка — един ред, ясно къде сме. */
@media (max-width: 640px) {
    .wizard-steps {
        gap: 0;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .wizard-step {
        padding: 14px 6px 14px 0;
        margin-right: 6px;
        gap: 7px;
        font-size: calc(10.5px * var(--type-scale));
        letter-spacing: 0.08em;
    }

    .wizard-step:last-child {
        margin-right: 0;
        padding-right: 0;
    }

    .wizard-step__num {
        width: 22px;
        height: 22px;
    }

    .wizard-step__label {
        display: none;
    }

    .wizard-step.is-active .wizard-step__label {
        display: inline;
    }
}

.wizard-panel + .wizard-panel {
    margin-top: clamp(40px, 4vw, 64px);
    padding-top: clamp(32px, 3.4vw, 52px);
    border-top: 1px solid var(--line);
}

.wizard-panel__title {
    font-family: var(--font-display);
    font-size: calc(clamp(1.4rem, 2.2vw, 1.95rem) * var(--type-scale));
    font-weight: 400;
    margin-bottom: 8px;
}

.wizard-panel__hint {
    font-size: calc(13.5px * var(--type-scale));
    color: var(--grey-500);
    margin-bottom: 26px;
}

/* Избор на процедура/специалист */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.choice {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), padding-left 0.4s var(--ease-out);
}

.choice:hover {
    border-color: var(--ink);
    padding-left: 24px;
}

.choice.is-selected {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.choice__name {
    font-family: var(--font-display);
    font-size: calc(1.2rem * var(--type-scale));
    font-weight: 400;
    line-height: 1.2;
}

.choice__meta {
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.choice.is-selected .choice__meta {
    color: rgba(255, 255, 255, 0.62);
}

.choice__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Дни */
.day-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.day-strip::-webkit-scrollbar {
    height: 4px;
}

.day-strip::-webkit-scrollbar-thumb {
    background: var(--grey-300);
}

.day {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 86px;
    padding: 14px 12px;
    border: 1px solid var(--line);
    text-align: center;
    display: grid;
    gap: 4px;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.day:hover {
    border-color: var(--ink);
}

.day.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.day.is-disabled {
    /* 0.34 правеше заетите дни почти нечетими — изглеждаха като бъг,
       а не като „няма свободни часове“. */
    opacity: 0.55;
    pointer-events: none;
}

.day__weekday {
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.day.is-active .day__weekday {
    color: rgba(255, 255, 255, 0.6);
}

.day__num {
    font-family: var(--font-display);
    font-size: calc(1.35rem * var(--type-scale));
    line-height: 1;
}

.day__slots {
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.1em;
    color: var(--grey-500);
}

.day.is-active .day__slots {
    color: rgba(255, 255, 255, 0.78);
}

/* Часове */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
}

.slot {
    padding: 13px 8px;
    border: 1px solid var(--line);
    text-align: center;
    font-size: calc(13.5px * var(--type-scale));
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.slot:hover {
    border-color: var(--ink);
}

.slot.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.slot:disabled {
    opacity: 0.3;
    text-decoration: line-through;
}

/* Обобщение */
.booking-summary {
    position: sticky;
    top: calc(70px + 24px);
    border: 1px solid var(--line);
    padding: 26px;
    display: grid;
    gap: 18px;
    background: var(--white);
}

.booking-summary__title {
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.booking-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: calc(14px * var(--type-scale));
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
}

.booking-summary__row:last-of-type {
    border-bottom: 0;
}

.booking-summary__label {
    color: var(--grey-500);
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-top: 3px;
}

.booking-summary__value {
    text-align: right;
    font-family: var(--font-display);
    font-size: calc(1.05rem * var(--type-scale));
}

.booking-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.booking-summary__total strong {
    font-family: var(--font-display);
    font-size: calc(1.7rem * var(--type-scale));
    font-weight: 400;
}

.booking-steps-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* --- Резервация: кошница от услуги и календар по услуга --- */
.wizard-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.wizard-panel__head .wizard-panel__title {
    margin-bottom: 6px;
}

.choice-grid--categories {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

/* Списък с услуги за избор (с „+") */
.service-picker {
    border-top: 1px solid var(--line);
}

.service-picker__row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.35s var(--ease), padding-left 0.4s var(--ease-out);
}

.service-picker__row:hover {
    background: var(--off);
    padding-left: 10px;
}

.service-picker__row.is-selected {
    background: var(--off);
}

.service-picker__media {
    display: block;
    width: 76px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--grey-100);
}

.service-picker__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-picker__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.service-picker__name {
    font-family: var(--font-display);
    font-size: calc(1.15rem * var(--type-scale));
    line-height: 1.2;
}

.service-picker__meta {
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-500);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Услуга, която не се комбинира — клиентът трябва да го види още преди избора. */
.service-picker__flag {
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.service-picker__toggle {
    /* 44px: това е основният контрол на стъпка 2 (добави/махни услуга) —
       под 44px е неудобен за пръст. */
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--ink);
    justify-self: end;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-picker__toggle:hover {
    border-color: var(--ink);
}

.service-picker__toggle.is-on {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.service-picker__toggle.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Карта „дата и час" за една услуга */
.calendar-card {
    border: 1px solid var(--line);
    padding: clamp(16px, 2vw, 24px);
}

.calendar-card + .calendar-card {
    margin-top: 16px;
}

.calendar-card__head {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 44px;
    gap: 16px;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
}

.calendar-card__media {
    width: 60px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--grey-100);
}

.calendar-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calendar-card__name {
    display: block;
    font-family: var(--font-display);
    font-size: calc(1.2rem * var(--type-scale));
    line-height: 1.2;
}

.calendar-card__meta {
    display: block;
    margin-top: 4px;
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.calendar-card__remove {
    justify-self: end;
    /* Иконата е 15px, но пръстът има нужда от 44×44. */
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--grey-500);
    transition: color 0.3s var(--ease);
}

.calendar-card__remove:hover {
    color: var(--ink);
}

.calendar-card__label {
    font-size: calc(9.5px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 12px;
}

.calendar-card__label:not(:first-of-type) {
    margin-top: 24px;
}

.calendar-card__empty {
    font-size: calc(13.5px * var(--type-scale));
    color: var(--grey-500);
}

.calendar-card__note {
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--grey-400);
    margin-left: 8px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    padding: 9px 15px;
    border: 1px solid var(--line);
    font-size: calc(12px * var(--type-scale));
    letter-spacing: 0.04em;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.chip:hover {
    border-color: var(--ink);
}

.chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.slot-grid--inline {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
}

/* Обобщение: списък с избраните услуги */
.booking-summary__items {
    display: grid;
    gap: 0;
}

.booking-summary__items li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 26px;
    align-items: start;
    gap: 4px 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
}

/* Малкият „×“ маха услугата от пакета без презареждане. */
.booking-summary__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: -2px;
    color: var(--grey-500);
    transition: color 0.3s var(--ease);
}

.booking-summary__remove:hover {
    color: var(--ink);
}

.booking-summary__item-name {
    font-size: calc(14px * var(--type-scale));
    line-height: 1.35;
}

.booking-summary__item-when {
    grid-column: 1 / -1;
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.06em;
    color: var(--grey-500);
    line-height: 1.5;
}

.booking-summary__item-price {
    font-family: var(--font-display);
    font-size: calc(1.05rem * var(--type-scale));
    text-align: right;
}

.booking-summary__notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: calc(12.5px * var(--type-scale));
    color: var(--grey-500);
    padding-top: 4px;
}

/* Потвърждение */
.confirm-card {
    border: 1px solid var(--line);
    padding: clamp(20px, 3vw, 38px);
}

.confirm-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.confirm-list {
    display: grid;
}

.confirm-list__row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
}

.confirm-list__media {
    /* ширината идва от колоната на решетката (64px на десктоп, 48px на
       телефон) — фиксирани 64px излизаха от 48px колоната и текстът
       застъпваше снимката. */
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--grey-100);
}

.confirm-list__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.confirm-list__name {
    display: block;
    font-family: var(--font-display);
    font-size: calc(1.15rem * var(--type-scale));
    line-height: 1.2;
}

.confirm-list__meta {
    display: block;
    margin-top: 5px;
    font-size: calc(11.5px * var(--type-scale));
    color: var(--grey-500);
}

.confirm-list__price {
    font-family: var(--font-display);
    font-size: calc(1.15rem * var(--type-scale));
}

.confirm-card__totals {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding-top: 20px;
    font-size: calc(12px * var(--type-scale));
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.confirm-card__totals strong {
    font-family: var(--font-display);
    font-size: calc(1.8rem * var(--type-scale));
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0;
}

/* Услуги в картата на резервация (профил) */
.booking-item__services {
    display: grid;
    gap: 8px;
    padding: 4px 0 16px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 16px;
}

.booking-item__services li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: calc(14px * var(--type-scale));
    flex-wrap: wrap;
}

.booking-item__service-when {
    color: var(--grey-500);
    font-size: calc(12.5px * var(--type-scale));
}

/* --- Съветник: навигация между стъпките --- */
.wizard-steps .wizard-step {
    border-bottom: 1px solid transparent;
    background: none;
    cursor: pointer;
    text-decoration: none;
}

.wizard-steps a.wizard-step:hover {
    color: var(--ink);
}

.wizard-step.is-locked {
    opacity: 0.45;
    pointer-events: none;
}

.wizard-step.is-done .wizard-step__num {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.wizard-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.wizard-nav--split {
    justify-content: space-between;
    flex-wrap: wrap;
}

/* --- Падащо меню: връзките в панела са и бутони за мобилното меню --- */
.mobile-menu__sub a span:first-child {
    min-width: 0;
}

/* --------------------------------------------------------------------------
   12. ПРОФИЛ
   -------------------------------------------------------------------------- */
.account-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.account-nav {
    display: grid;
    gap: 2px;
    position: sticky;
    top: calc(70px + 24px);
}

.account-nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-500);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: color 0.3s var(--ease), padding-left 0.4s var(--ease-out);
}

.account-nav__link:hover {
    color: var(--ink);
    padding-left: 6px;
}

.account-nav__link.is-active {
    color: var(--ink);
    border-color: var(--ink);
}

.account-nav__link span {
    font-size: calc(10px * var(--type-scale));
    color: var(--grey-400);
}

.bookings-list {
    display: grid;
    gap: 14px;
}

.booking-item {
    border: 1px solid var(--line);
    padding: 22px 24px;
    display: grid;
    gap: 16px;
    transition: border-color 0.3s var(--ease);
}

.booking-item:hover {
    border-color: var(--grey-300);
}

.booking-item--past {
    background: var(--off);
    border-color: transparent;
}

.booking-item__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
}

.booking-item__title {
    font-family: var(--font-display);
    font-size: calc(1.3rem * var(--type-scale));
    font-weight: 400;
}

.booking-item__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px 24px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.booking-item__label {
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 4px;
}

.booking-item__value {
    font-size: calc(14px * var(--type-scale));
}

.booking-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 7px 12px;
    border: 1px solid var(--line);
    color: var(--grey-500);
}

.status-tag--confirmed {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.status-tag--cancelled {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Auth */
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    min-height: 70vh;
    /* Същият отстъп като контейнера — иначе на широк екран надписът и формата
       на вход/регистрация излизат вляво от логото (както беше при хероя). */
    padding-left: max(0px, calc((100% - var(--container)) / 2));
}

.auth-form {
    padding: clamp(36px, 6vw, 96px) clamp(24px, 5vw, 88px) clamp(36px, 6vw, 96px) var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
}

.auth-media {
    position: relative;
    overflow: hidden;
    background: var(--grey-100);
}

.auth-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-switch {
    margin-top: 26px;
    font-size: calc(13.5px * var(--type-scale));
    color: var(--grey-500);
}

.auth-switch a {
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   13. КОНТАКТИ / FAQ
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 88px);
    align-items: start;
}

.contact-block + .contact-block {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.contact-block__label {
    font-size: calc(10px * var(--type-scale));
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 12px;
}

.contact-block__value {
    font-family: var(--font-display);
    font-size: calc(1.35rem * var(--type-scale));
    line-height: 1.4;
}

.contact-block__value a:hover {
    border-bottom: 1px solid var(--ink);
}

.hours-list {
    display: grid;
    gap: 10px;
    font-size: calc(14px * var(--type-scale));
}

.hours-list__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
}

.map-frame {
    border: 1px solid var(--line);
    aspect-ratio: 16 / 9;
    /* Картата се ограничава по височина: на широк екран 16/9 става
       прекалено висока и изяжда първия екран. */
    max-height: 420px;
    width: 100%;
    /* Черно-бяло и леко изсветлено, за да пасне на визията. */
    filter: grayscale(1) contrast(1.02);
}

/* --------------------------------------------------------------------------
   14. ПРОЦЕДУРА
   -------------------------------------------------------------------------- */
.procedure-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    /* Същият отстъп като контейнера — иначе на широк екран текстът на
       процедурата излиза вляво от логото (същото като при хероя). */
    padding-left: max(0px, calc((100% - var(--container)) / 2));
}

.procedure-hero__body {
    padding: clamp(36px, 5vw, 80px) clamp(24px, 4vw, 72px) clamp(36px, 5vw, 80px) var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.procedure-hero__media {
    position: relative;
    min-height: clamp(320px, 46vw, 620px);
    overflow: hidden;
    background: var(--grey-100);
}

.procedure-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Портретна снимка на специалист (3:4). Общата пропорция 4/3 на мобилно
   режеше ~44% от кадъра — тук колоната следва снимката. */
.procedure-hero--portrait .procedure-hero__media {
    aspect-ratio: 3 / 4;
    max-height: 78vh;
}

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fact {
    /* Центрирано като .stat — това са плочки „надпис + стойност“ (Продължителност,
       Цена, Категория / Опит, Процедури, Езици), а не таблица. */
    padding: 22px 20px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.fact:last-child {
    border-right: 0;
}

/* Четири плочки (процедура: продължителност, цена, категория, специалисти) се
   подреждат 2×2. При три колони последната оставаше сама на нов ред и
   изглеждаше недовършено. При три плочки (профил на специалист) редът си
   остава триколонен. */
.facts:has(> .fact:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facts:has(> .fact:nth-child(4)) > .fact:nth-child(2n) {
    border-right: 0;
}

.facts:has(> .fact:nth-child(4)) > .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
}

.fact__label {
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 8px;
}

.fact__value {
    font-family: var(--font-display);
    font-size: calc(1.35rem * var(--type-scale));
    line-height: 1.2;
}

.detail-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(28px, 3.4vw, 56px);
}

.detail-block__title {
    font-family: var(--font-display);
    font-size: calc(1.4rem * var(--type-scale));
    font-weight: 400;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.check-list {
    display: grid;
    gap: 10px;
    font-size: calc(14.5px * var(--type-scale));
    color: var(--ink-soft);
}

.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.check-list svg {
    flex: 0 0 auto;
    margin-top: 5px;
    color: var(--grey-400);
}

.step-list {
    display: grid;
    gap: 0;
    counter-reset: step;
}

.step-list li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: calc(14.5px * var(--type-scale));
    color: var(--ink-soft);
}

.step-list li::before {
    content: counter(step, decimal-leading-zero);
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.16em;
    color: var(--grey-400);
    padding-top: 4px;
}

.note-block {
    border-left: 1px solid var(--ink);
    padding: 4px 0 4px 20px;
    font-size: calc(14px * var(--type-scale));
    color: var(--grey-500);
    max-width: 74ch;
}

/* --------------------------------------------------------------------------
   15. АНИМАЦИИ
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: var(--delay, 0ms);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal--fade {
    transform: none;
}

.reveal--left {
    transform: translateX(-24px);
}

.reveal--right {
    transform: translateX(24px);
}

/* Лек паралакс на големи изображения */
.parallax img {
    transform: scale(1.08) translate3d(0, var(--parallax, 0), 0);
    /* БЕЗ transition: JS пише --parallax на всеки кадър, а 0.6s преход
       постоянно рестартираше анимацията — движението лагваше и трептеше. */
    will-change: transform;
}

/* Лентата с дни е scroll контейнер: без min-width:0 нейният min-content
   разпъва родителската колона (grid blowout). */
.day-strip,
.slot-grid,
.chip-row {
    min-width: 0;
}

.calendar-card,
.wizard-panel,
.service-picker__body {
    min-width: 0;
}

/* --------------------------------------------------------------------------
   16. АДАПТИВНОСТ
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
    .index-row {
        grid-template-columns: 52px minmax(0, 1fr) minmax(0, 0.8fr) 96px 32px;
        gap: 20px;
    }

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

@media (max-width: 1180px) {
    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* Профилът е достъпен от мобилното меню — в хедъра не се събира. */
    .header-account {
        display: none;
    }

    .site-header__actions {
        gap: 12px;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .hero__body {
        padding: clamp(36px, 6vw, 64px) var(--gutter);
        max-width: none;
        order: 2;
    }

    .hero__media {
        order: 1;
        aspect-ratio: 4 / 5;
        max-height: 72vh;
    }

    .hero__rail {
        display: none;
    }

    .hero__caption {
        max-width: 100%;
        position: static;
        padding: 14px var(--gutter);
        border-bottom: 1px solid var(--line);
    }

    .booking-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-summary {
        position: static;
    }

    .account-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .account-nav {
        position: static;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        gap: 22px;
        border-bottom: 1px solid var(--line);
        padding-bottom: 4px;
    }

    .account-nav__link {
        border-bottom: 1px solid transparent;
        padding: 12px 0;
        white-space: nowrap;
    }

    .account-nav__link.is-active {
        border-color: var(--ink);
    }

    .contact-layout,
    .procedure-hero,
    .auth-shell,
    .cta-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .procedure-hero__body {
        padding: clamp(32px, 6vw, 56px) var(--gutter);
        order: 2;
    }

    .procedure-hero__media {
        order: 1;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .auth-media {
        order: 2;
        aspect-ratio: 16 / 10;
        /* ВАЖНО: `min-height: 240px` + `aspect-ratio` принуждаваше ШИРИНА
           384px (240 × 16/10) в 360px екран → хоризонтален скрол и отрязан
           хедър. Височината вече идва само от пропорцията. */
        min-height: 0;
        width: 100%;
        min-width: 0;
    }

    .auth-media img {
        width: 100%;
        max-width: 100%;
    }

    .auth-form {
        order: 1;
        max-width: none;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .page-head--split {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 820px) {
    :root {
        --header-h: 72px;
    }

    /* Логото е изображение — на телефон се смалява, за да остане място за
       CTA-то и hamburger-а. */
    .brand {
        --logo-h: 46px;
    }

    .site-footer__brand .brand__logo {
        --logo-h: 104px;
    }

    /* Хедърът е на една линия: лого + компактен CTA + hamburger. */
    .site-header__actions {
        gap: 8px;
    }

    .header-cta {
        min-height: 44px;
        padding: 8px 14px;
        font-size: 12.5px;
        letter-spacing: 0.08em;
    }

    .header-cta__long {
        display: none;
    }

    .header-cta__short {
        display: inline;
    }

    .index-row {
        grid-template-columns: 40px minmax(0, 1fr) 28px;
        gap: 16px;
        padding: 22px 0;
        align-items: start;
    }

    .index-row__desc,
    .index-row__count {
        display: none;
    }

    .index-row__name {
        font-size: calc(1.4rem * var(--type-scale));
    }

    .detail-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 24px 0;
    }

    .p-row__actions {
        justify-content: flex-start;
    }

    /* Еднаква пропорция 4/5 за всички плочки: редуването wide/tall даваше
       раздърпана решетка на телефон и разрязваше портретните снимки. */
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item {
        aspect-ratio: 4 / 5 !important;
    }

    .gallery-item--wide,
    .gallery-item--tall {
        grid-column: auto;
        grid-row: auto;
    }

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

    .card-grid--2,
    .card-grid--3,
    .card-grid--4,
    .journal-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section__head {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .stat {
        border-bottom: 1px solid var(--line);
    }

    .stat:nth-child(2n) {
        border-right: 0;
    }

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

    .fact {
        border-bottom: 1px solid var(--line);
    }

    .fact:nth-child(2n) {
        border-right: 0;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .lightbox__nav--prev { left: 10px; }
    .lightbox__nav--next { right: 10px; }
    .lightbox__close { top: 12px; right: 12px; }
}

@media (max-width: 560px) {
    /* Правни текстове: 19.2px в 324px колона даваше ~18 знака на ред. */
    .prose {
        font-size: calc(1rem * var(--type-scale));
        line-height: 1.75;
    }

    .prose h2 {
        margin-top: 1.7em;
    }

    /* Връзките във футъра са и зони за натискане на телефон. */
    .site-footer__grid a {
        padding-block: 7px;
    }

    /* Пълна ширина само за бутоните в съдържанието — НЕ и за CTA-то в хедъра,
       иначе то избутва hamburger-а извън екрана. */
    .btn-row .btn,
    .empty .btn,
    .auth-form form .btn,
    .wizard-panel form .btn {
        width: 100%;
        padding-inline: 20px;
    }

    /* Текстът на бутоните се пренася; фиксираната височина става минимална. */
    .btn {
        height: auto;
        min-height: 52px;
        padding-block: 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    /* CTA-то в хедъра остава на един ред — то е компактно. */
    .header-cta {
        min-height: 44px;
        height: 44px;
        white-space: nowrap;
    }

    .btn-row {
        gap: 10px;
    }

    /* Четири елемента в wrap-flex оставяха дупки отдясно. Две равни
       колони дават подравнена мрежа 2×2. */
    .hero__meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    /* По-тесен трекинг: „Вижте всички отзиви в Google“ се събира на един
       ред и стрелката не виси сама на втория. */
    .link {
        letter-spacing: 0.14em;
    }

    .wizard-step {
        padding: 14px 16px 14px 0;
        margin-right: 16px;
    }

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

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

    .service-picker__row {
        grid-template-columns: 56px minmax(0, 1fr) 44px;
        gap: 12px;
    }

    .service-picker__media {
        width: 56px;
    }

    .calendar-card__head {
        grid-template-columns: 48px minmax(0, 1fr) 28px;
        gap: 12px;
    }

    .calendar-card__media {
        width: 48px;
    }

    .confirm-list__row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .confirm-list__price {
        grid-column: 2;
        justify-self: end;
    }

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

    /* Пръстът няма hover — етикетът и затъмняването светват винаги. */
    .gallery-item__label {
        opacity: 1;
        transform: none;
    }

    .gallery-item::after {
        opacity: 0.2;
    }

    /* Филтрите са връзки с дребен надпис — дават едва 20px височина. */
    .gallery-filters__item {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .a-card__meta {
        gap: 3px 10px;
        font-size: calc(9.5px * var(--type-scale));
        letter-spacing: 0.14em;
    }

    /* Широкият трекинг на дребните главни букви избутваше надписа
       извън екрана на тесни телефони. */
    .eyebrow {
        letter-spacing: 0.2em;
    }

    /* Много тесни екрани: логото и CTA-то се свиват още, за да остане
       хедърът на един ред без хоризонтален скрол. */
    .brand {
        --logo-h: 40px;
    }

    .header-cta {
        padding: 8px 11px;
        font-size: 11.5px;
    }

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

    .stat {
        border-right: 0;
    }

    .site-footer__statement {
        font-size: calc(clamp(1.9rem, 12vw, 3rem) * var(--type-scale));
    }

    .prose {
        font-size: calc(1rem * var(--type-scale));
    }

    .booking-item {
        padding: 18px;
    }
}

/* --------------------------------------------------------------------------
   17. ДОСТЪПНОСТ / ПЕЧАТ
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .parallax img {
        transform: none;
    }
}

/* ==========================================================================
   Резервация — live съветник
   • залепена лента на телефон (резюмето стига под дългия списък с услуги);
   • по-едър и по-ясен календар (големи числа, едри часове);
   • плавна смяна на стъпка/избор без презареждане (клас is-swapping).
   ========================================================================== */

/* --- Залепена лента на телефон --- */
.booking-bar,
.booking-bar-spacer {
    display: none;
}

@media (max-width: 1180px) {
    .booking-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px));
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 28px rgba(10, 10, 10, 0.08);
    }

    .booking-bar__info {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
        /* Това е бутон (отваря sheet с резюмето) — махаме стиловете на браузъра. */
        padding: 0;
        border: 0;
        background: none;
        font: inherit;
        color: inherit;
        text-align: left;
        cursor: pointer;
    }

    .booking-bar__more {
        font-weight: 400;
        color: var(--grey-500);
    }

    .booking-bar__info strong {
        font-size: calc(10.5px * var(--type-scale));
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--grey-500);
    }

    .booking-bar__sum {
        font-family: var(--font-display);
        font-size: calc(1.3rem * var(--type-scale));
        line-height: 1.1;
    }

    .booking-bar__cta {
        margin-left: auto;
        min-height: 46px;
        padding: 0 22px;
    }

    .booking-bar-spacer {
        display: block;
        height: 78px;
    }

    /* Залепената лента е fixed и закрива последния ред на футъра. */
    body:has(.booking-bar) .site-footer {
        padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
    }

    /* Денят е хоризонтален скрол, но на телефон няма видим скролбар —
       затова дясното ръбче избледнява и подсказва „има още“. */
    .day-strip {
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
    }
}

/* --- По-едър календар: големи числа и ясни часове --- */
.day {
    min-width: 96px;
    padding: 16px 10px 13px;
    gap: 6px;
}

.day__num {
    font-size: calc(1.7rem * var(--type-scale));
}

.day__slots {
    font-size: calc(10px * var(--type-scale));
}

.day.is-active .day__slots {
    color: rgba(255, 255, 255, 0.62);
}

.slot {
    min-height: 50px;
    padding: 15px 8px;
    font-size: calc(14.5px * var(--type-scale));
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-grid--inline {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

/* --- Напредък на стъпка 3 --- */
.calendar-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    font-size: calc(11.5px * var(--type-scale));
    letter-spacing: 0.06em;
    color: var(--grey-500);
}

.calendar-progress.is-done {
    border-color: var(--ink);
    color: var(--ink);
}

/* --- Готов час: по-ясна рамка на картата --- */
.calendar-card[data-scheduled="1"] {
    border-color: rgba(10, 10, 10, 0.4);
}

/* --- Смяна без презареждане --- */
[data-booking-shell] {
    transition: opacity 0.18s ease;
}

[data-booking-shell].is-swapping {
    opacity: 0.5;
    pointer-events: none;
}

[data-booking-shell].is-swapped .section {
    animation: bookingFade 0.34s var(--ease-out) both;
}

@keyframes bookingFade {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* --- Bottom sheet с резюмето (само телефон) --- */
.booking-sheet {
    position: fixed;
    inset: 0;
    z-index: 130;
    visibility: hidden;
}

.booking-sheet__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(10, 10, 10, 0.44);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.3s var(--ease);
}

.booking-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 20px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 12px;
    transform: translateY(100%);
    transition: transform 0.38s var(--ease-out);
}

[data-booking-shell].is-sheet-open .booking-sheet {
    visibility: visible;
}

[data-booking-shell].is-sheet-open .booking-sheet__backdrop {
    opacity: 1;
}

[data-booking-shell].is-sheet-open .booking-sheet__panel {
    transform: translateY(0);
}

.booking-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.booking-sheet__close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--ink);
}

/* На desktop резюмето е в дясната колона — sheet-ът не е нужен. */
@media (min-width: 1181px) {
    .booking-sheet {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-sheet__panel,
    .booking-sheet__backdrop {
        transition: none;
    }

    [data-booking-shell].is-swapped .section {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   18. АДМИН ПАНЕЛ
   -------------------------------------------------------------------------- */
.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: calc(13.5px * var(--type-scale));
    min-width: 880px;
}

.admin-table thead th {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: calc(9.5px * var(--type-scale));
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-500);
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover {
    background: var(--off);
}

.admin-table tbody tr.is-off {
    opacity: 0.6;
}

.admin-table__num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: lining-nums tabular-nums;
}

.admin-table__name {
    font-family: var(--font-display);
    font-size: calc(1.05rem * var(--type-scale));
    border-bottom: 1px solid transparent;
}

.admin-table__name:hover {
    border-color: var(--ink);
}

.admin-table__muted {
    color: var(--grey-500);
}

.admin-flag {
    display: inline-block;
    margin: 0 6px 4px 0;
    padding: 3px 9px;
    border: 1px solid var(--line);
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-500);
    white-space: nowrap;
}

.admin-flag.is-off {
    border-style: dashed;
}

.admin-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(24px, 3.4vw, 56px);
    align-items: start;
}

.admin-form__side {
    position: sticky;
    top: calc(96px + 24px);
    border: 1px solid var(--line);
    padding: 24px;
    display: grid;
    gap: 18px;
    background: var(--white);
}

.admin-form__side .checkbox {
    gap: 10px;
}

.admin-form__side .checkbox em {
    font-style: normal;
    color: var(--grey-500);
    display: block;
    font-size: calc(12px * var(--type-scale));
}

.admin-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px 18px;
    padding: 16px;
    border: 1px solid var(--line);
}

.admin-form__preview {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-form__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-form__preview-empty {
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.admin-form__actions {
    display: grid;
    gap: 10px;
    justify-items: start;
}

@media (max-width: 820px) {
    .admin-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-form__side {
        position: static;
    }
}

/* --- Кратко резюме преди потвърждаване (телефон) --- */
.booking-inline-summary {
    display: grid;
    gap: 10px;
    margin: 26px 0 18px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--off);
}

.booking-inline-summary__row,
.booking-inline-summary__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: calc(13.5px * var(--type-scale));
}

.booking-inline-summary__items {
    display: grid;
    gap: 6px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.booking-inline-summary__items li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: calc(13.5px * var(--type-scale));
}

.booking-inline-summary__items strong {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: calc(1.05rem * var(--type-scale));
    white-space: nowrap;
}

.booking-inline-summary__total strong {
    font-family: var(--font-display);
    font-size: calc(1.5rem * var(--type-scale));
    font-weight: 400;
}

/* На desktop резюмето е в дясната колона — това е само за тесни екрани. */
@media (min-width: 1181px) {
    .booking-inline-summary {
        display: none;
    }
}

/* --- Начало и край на визитата (потвърдена резервация) --- */
.confirm-window {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--off);
}

.confirm-window strong {
    font-family: var(--font-display);
    font-size: calc(1.6rem * var(--type-scale));
    font-weight: 400;
    font-variant-numeric: lining-nums tabular-nums;
}

.confirm-window__label {
    display: block;
    font-size: calc(9.5px * var(--type-scale));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.confirm-window__line {
    width: 26px;
    height: 1px;
    background: var(--line);
}

.confirm-window__date {
    margin-left: auto;
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-500);
}

/* --- Избор как да се планират няколко услуги --- */
.booking-mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    margin-bottom: 22px;
}

.booking-mode__item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    font-size: calc(11px * var(--type-scale));
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-500);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.booking-mode__item + .booking-mode__item {
    border-left: 1px solid var(--line);
}

.booking-mode__item span {
    font-size: calc(10.5px * var(--type-scale));
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--grey-500);
}

.booking-mode__item.is-active {
    background: var(--ink);
    color: var(--white);
}

.booking-mode__item.is-active span {
    color: rgba(255, 255, 255, 0.72);
}

.booking-mode__item svg {
    margin-right: 6px;
}

@media (max-width: 560px) {
    .booking-mode {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-mode__item + .booking-mode__item {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media print {
    .site-header,
    .site-footer,
    .nav-toggle,
    .mobile-menu,
    .btn,
    .lightbox {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
