/* ==========================================================================
   Nataly Shust Nails — дизайн-система публичного сайта

   Направление: современный beauty-глянец. Насыщенная фуксия на нежно-розовом
   фоне, контрастная антиква с курсивными акцентами, крупные фото и лаймовая
   искра для мест, которые должны цеплять взгляд: скидка, промо, бейджи.
   Тёмный цвет взят прямо из логотипа, поэтому знак садится на фон без спора.

   Предыдущая нюдовая тема лежит рядом в site-nude.css: чтобы вернуться,
   достаточно поменять имя файла в макете.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Токены
   -------------------------------------------------------------------------- */
:root {
    /* Палитра */
    --bg:           #FFF5F8;
    --bg-soft:      #FFE9F1;
    --paper:        #FFFFFF;

    /* Тёмный — из логотипа, чтобы знак и текст были одного семейства */
    --ink:          #191717;
    --ink-80:       rgba(25, 23, 23, .8);
    --ink-60:       rgba(25, 23, 23, .58);
    --ink-40:       rgba(25, 23, 23, .4);
    --ink-12:       rgba(25, 23, 23, .12);
    --ink-06:       rgba(25, 23, 23, .06);
    --ink-03:       rgba(25, 23, 23, .03);

    /* Основной акцент */
    --pink:         #E8368F;
    --pink-deep:    #C41E6B;
    --pink-light:   #FFA8CF;
    --rose:         #FFE0EC;
    --rose-deep:    #FFC9DE;

    /* Пыльно-розовый из логотипа — для тонких линий и подписей */
    --dusty:        #AF7E83;

    /* Искра: работает, только пока её мало */
    --lime:         #D9FF3D;
    --lime-deep:    #B8E01F;

    --success:      #3E8E5A;
    --danger:       #D6336C;
    --warning:      #E8A33D;

    /* Типографика.
       Четыре роли вместо привычных двух — так набор перестаёт выглядеть
       шаблонным: антиква держит заголовки, геометрический гротеск отвечает
       за интерфейс, лёгкий гротеск — за длинные тексты, рукописный даёт
       живой акцент. Great Vibes подключён отдельно: у него нет кириллицы,
       поэтому он используется только на латинице (имя студии). */
    --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-ui:      'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-script:  'Caveat', 'Playfair Display', cursive;
    --font-latin:   'Great Vibes', 'Playfair Display', cursive;

    /* Модульная шкала 1.25 от 17px */
    --t-xs:   0.75rem;
    --t-sm:   0.875rem;
    --t-base: 1.0625rem;
    --t-md:   1.1875rem;
    --t-lg:   1.375rem;
    --t-xl:   1.75rem;
    --t-2xl:  2.25rem;
    --t-3xl:  3rem;
    --t-4xl:  4rem;
    --t-5xl:  5.5rem;

    /* Ритм. Крупные значения намеренно: воздух — часть премиального вида */
    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.5rem;
    --sp-6:  2rem;
    --sp-7:  3rem;
    --sp-8:  4rem;
    --sp-9:  6rem;
    --sp-10: 8rem;
    --sp-11: 11rem;

    /* Скругления — концентрические, для вложенных оболочек */
    --r-sm:  0.625rem;
    --r-md:  1rem;
    --r-lg:  1.5rem;
    --r-xl:  2rem;
    --r-2xl: 2.75rem;
    --r-pill: 999px;

    /* Тени с розовым подтоном: серые на розовом фоне выглядят грязными */
    --shadow-soft:  0 2px 8px rgba(196, 30, 107, .05), 0 8px 24px rgba(196, 30, 107, .06);
    --shadow-lift:  0 4px 12px rgba(196, 30, 107, .07), 0 18px 44px rgba(196, 30, 107, .1);
    --shadow-deep:  0 8px 20px rgba(196, 30, 107, .08), 0 32px 72px rgba(196, 30, 107, .14);
    --shadow-pink:  0 8px 24px rgba(232, 54, 143, .32);
    --inner-light:  inset 0 1px 1px rgba(255, 255, 255, .7);

    /* Кривые движения — с физикой, а не линейные */
    --ease-out:    cubic-bezier(0.32, 0.72, 0, 1);
    --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --container: 1240px;
    --container-narrow: 780px;

    --header-h: 84px;
    --topbar-h: 40px;
}

/* --------------------------------------------------------------------------
   2. Сброс и база
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--t-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
    overflow-x: hidden;
}

/* Плёночное зерно поверх всего: даёт ощущение печатной бумаги.
   Фиксированный слой без событий — не влияет на прокрутку и GPU. */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

button { cursor: pointer; background: none; border: none; padding: 0; }

::selection { background: var(--pink-light); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Типографика
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 0;
    color: var(--ink);
}

h1 { font-size: clamp(2.75rem, 6.5vw, var(--t-5xl)); }
h2 { font-size: clamp(2.125rem, 4.4vw, var(--t-4xl)); }
h3 { font-size: clamp(1.5rem, 2.6vw, var(--t-2xl)); }
h4 { font-size: var(--t-xl); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: var(--t-md);
    line-height: 1.65;
    color: var(--ink-60);
    max-width: min(58ch, 100%);
}

.eyebrow {
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pink-deep);
    margin-bottom: var(--sp-4);
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .5;
}

.eyebrow--pill {
    padding: .375rem .875rem;
    border-radius: var(--r-pill);
    background: var(--ink-03);
    border: 1px solid var(--ink-06);
    letter-spacing: 0.18em;
}
.eyebrow--pill::before { display: none; }

/* Курсивный акцент в заголовке — приём редакционной вёрстки */
.accent-italic {
    font-style: italic;
    color: var(--pink-deep);
}

.text-muted { color: var(--ink-60); }
.text-small { font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   4. Раскладка
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-5);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
    padding-block: clamp(var(--sp-8), 9vw, var(--sp-10));
}

.section--tight { padding-block: clamp(var(--sp-7), 6vw, var(--sp-9)); }

.section--paper { background: var(--paper); }
.section--deep  { background: var(--bg-soft); }

.section-head {
    max-width: 62ch;
    margin-bottom: var(--sp-8);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }

.section-head--split {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--sp-6);
}

.stack > * + * { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   5. Оболочки: двойная рамка (внешняя гильза + внутреннее ядро)
   Даёт ощущение физического предмета, а не плоского блока
   -------------------------------------------------------------------------- */
.shell {
    padding: 6px;
    border-radius: var(--r-2xl);
    background: var(--ink-03);
    border: 1px solid var(--ink-06);
}

.shell__core {
    border-radius: calc(var(--r-2xl) - 6px);
    background: var(--paper);
    box-shadow: var(--inner-light), var(--shadow-soft);
    overflow: hidden;
}

.shell--sm { padding: 5px; border-radius: var(--r-xl); }
.shell--sm .shell__core { border-radius: calc(var(--r-xl) - 5px); }

/* --------------------------------------------------------------------------
   6. Кнопки
   -------------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--bg);
    display: inline-flex;
    font-family: var(--font-ui);
    align-items: center;
    gap: var(--sp-3);
    padding: .875rem 1.25rem .875rem 1.625rem;
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: var(--t-sm);
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: transform .5s var(--ease-out),
                box-shadow .5s var(--ease-out),
                background-color .4s var(--ease-soft);
    box-shadow: var(--shadow-soft);
}

.btn:hover { box-shadow: var(--shadow-lift); }
.btn:active { transform: scale(.977); }

/* Неактивная кнопка должна читаться как неактивная, иначе человек
   жмёт её и не понимает, почему ничего не происходит */
.btn:disabled {
    opacity: .42;
    cursor: not-allowed;
    box-shadow: none;
}
.btn:disabled:hover { box-shadow: none; }
.btn:disabled:active { transform: none; }

/* Иконка живёт в собственном круге, вплотную к внутреннему краю */
.btn__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    transition: transform .5s var(--ease-out), background-color .4s var(--ease-soft);
}

.btn:hover .btn__icon {
    transform: translate(3px, -1px) scale(1.06);
    background: rgba(255, 255, 255, .22);
}

.btn__icon svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.btn--accent { --btn-bg: var(--pink-deep); --btn-fg: #fff; }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border: 1px solid var(--ink-12);
    box-shadow: none;
}
.btn--ghost:hover { background: var(--ink-03); box-shadow: none; }
.btn--ghost .btn__icon { background: var(--ink-06); }
.btn--ghost:hover .btn__icon { background: var(--ink-12); }

.btn--light {
    --btn-bg: var(--paper);
    --btn-fg: var(--ink);
}
.btn--light .btn__icon { background: var(--ink-06); }
.btn--light:hover .btn__icon { background: var(--ink-12); }

.btn--lg { padding: 1.0625rem 1.375rem 1.0625rem 2rem; font-size: var(--t-base); }
.btn--lg .btn__icon { width: 36px; height: 36px; }

.btn--sm { padding: .625rem 1rem; font-size: var(--t-xs); }

.btn--block { width: 100%; justify-content: center; }

/* Текстовая ссылка со стрелкой */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--t-sm);
    font-weight: 600;
    color: var(--pink-deep);
    transition: gap .45s var(--ease-out);
}
.link-arrow:hover { gap: .875rem; }
.link-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* Подчёркивание, растущее от левого края */
.link-underline {
    position: relative;
    display: inline-block;
}
.link-underline::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .55s var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   7. Шапка — плавающий стеклянный остров
   -------------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding-top: var(--sp-4);
    transition: padding-top .6s var(--ease-out);
}

.header.is-stuck { padding-top: var(--sp-2); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    padding: .625rem .625rem .625rem 1.5rem;
    border-radius: var(--r-pill);
    background: rgba(251, 248, 245, .78);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid var(--ink-06);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .6s var(--ease-out), background-color .6s var(--ease-out);
}

.header.is-stuck .header__inner {
    background: rgba(251, 248, 245, .92);
    box-shadow: var(--shadow-lift);
}

.logo {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -.01em;
    flex-shrink: 0;
}

.logo strong { font-weight: 500; }
.logo em {
    font-style: italic;
    color: var(--pink-deep);
}
.logo__sub {
    display: block;
    font-family: var(--font-body);
    font-size: .5rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-top: .25rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.nav__item { position: relative; }

.nav__link {
    font-family: var(--font-ui);
    display: block;
    padding: .5rem .75rem;
    font-size: var(--t-sm);
    font-weight: 500;
    color: var(--ink-80);
    border-radius: var(--r-pill);
    transition: color .35s var(--ease-soft), background-color .35s var(--ease-soft);
}

.nav__link:hover,
.nav__link.is-active { color: var(--ink); background: var(--ink-06); }

/* Выпадающее меню категорий */
.nav__drop {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 240px;
    padding: 6px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--ink-06);
    box-shadow: var(--shadow-deep);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility .45s;
}

.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav__drop a {
    display: block;
    padding: .625rem .875rem;
    border-radius: var(--r-sm);
    font-size: var(--t-sm);
    color: var(--ink-80);
    transition: background-color .3s var(--ease-soft), color .3s var(--ease-soft);
}

.nav__drop a:hover { background: var(--ink-03); color: var(--ink); }

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
}

.lang {
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: var(--r-pill);
    background: var(--ink-06);
}

.lang a {
    padding: .3125rem .625rem;
    border-radius: var(--r-pill);
    font-size: var(--t-xs);
    font-weight: 600;
    color: var(--ink-60);
    transition: background-color .35s var(--ease-soft), color .35s var(--ease-soft);
}

.lang a.is-active {
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.header__phone {
    font-size: var(--t-sm);
    font-weight: 600;
    letter-spacing: -.01em;
}

/* Бургер: линии складываются в крест, а не исчезают */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink-06);
    position: relative;
}

.burger span {
    position: absolute;
    left: 13px;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .55s var(--ease-out), opacity .3s var(--ease-soft);
}

.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }

.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Полноэкранное мобильное меню */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + var(--sp-6)) var(--sp-5) var(--sp-6);
    background: rgba(251, 248, 245, .96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s var(--ease-out), visibility .5s;
    overflow-y: auto;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu__link {
    display: block;
    padding: var(--sp-3) 0;
    font-family: var(--font-display);
    font-size: var(--t-2xl);
    line-height: 1.2;
    border-bottom: 1px solid var(--ink-06);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}

/* Ступенчатое появление пунктов */
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: .13s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: .18s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: .23s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: .28s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: .33s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(7) { transition-delay: .38s; }

.mobile-menu__footer {
    margin-top: auto;
    padding-top: var(--sp-6);
    display: grid;
    gap: var(--sp-4);
}

/* Языки внутри меню — там они не конкурируют за место с логотипом */
.mobile-menu__lang {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 3px;
    border-radius: var(--r-pill);
    background: var(--ink-06);
}

.mobile-menu__lang a {
    flex: 1;
    text-align: center;
    padding: .5rem 1rem;
    border-radius: var(--r-pill);
    font-size: var(--t-sm);
    font-weight: 600;
    color: var(--ink-60);
}

.mobile-menu__lang a.is-active {
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

/* --------------------------------------------------------------------------
   8. Первый экран — редакционный сплит
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-block: clamp(var(--sp-7), 7vw, var(--sp-10)) clamp(var(--sp-8), 8vw, var(--sp-10));
    overflow: hidden;
}

/* Мягкое тёплое свечение вместо агрессивного градиента */
.hero::before {
    content: '';
    position: absolute;
    top: -22%;
    right: -12%;
    width: 62vw;
    height: 62vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 197, 180, .5) 0%, rgba(251, 248, 245, 0) 68%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(var(--sp-6), 5vw, var(--sp-8));
    align-items: center;
}

/* Элементы grid по умолчанию не сжимаются уже своего min-content
   и на узком экране выталкивают страницу за пределы вьюпорта */
.hero__grid > * { min-width: 0; }

.hero__title {
    font-size: clamp(3rem, 7.2vw, 5.75rem);
    line-height: .98;
    letter-spacing: -.025em;
    margin-bottom: var(--sp-5);
}

.hero__lead {
    font-size: var(--t-md);
    color: var(--ink-60);
    max-width: min(46ch, 100%);
    margin-bottom: var(--sp-6);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-7);
}

/* Показатели доверия под кнопками */
.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-6);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--ink-06);
}

.proof__value {
    font-family: var(--font-display);
    font-size: var(--t-2xl);
    line-height: 1;
    color: var(--ink);
}

.proof__label {
    font-size: var(--t-xs);
    letter-spacing: .06em;
    color: var(--ink-40);
    margin-top: .375rem;
}

/* Изображение в двойной оболочке со смещённой аркой */
.hero__media {
    position: relative;
}

.hero__frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 260px 260px var(--r-2xl) var(--r-2xl);
    overflow: hidden;
    background: linear-gradient(160deg, var(--rose), var(--rose-deep));
    box-shadow: var(--shadow-deep);
}

.hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 1.4s var(--ease-out);
}

.hero__frame:hover img { transform: scale(1.06); }

/* Карточка-подпись, выступающая за край изображения */
.hero__badge {
    position: absolute;
    left: -32px;
    bottom: 44px;
    padding: 5px;
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ink-06);
    box-shadow: var(--shadow-lift);
    max-width: 260px;
}

.hero__badge-core {
    padding: var(--sp-4) var(--sp-5);
    border-radius: calc(var(--r-xl) - 5px);
    background: var(--paper);
}

.hero__badge .stars { margin-bottom: .5rem; }

/* --------------------------------------------------------------------------
   9. Полоса преимуществ
   -------------------------------------------------------------------------- */
.usp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}

.usp__item {
    padding: var(--sp-6);
    border-radius: var(--r-xl);
    background: var(--paper);
    border: 1px solid var(--ink-06);
    box-shadow: var(--inner-light);
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}

.usp__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.usp__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: var(--sp-4);
    border-radius: var(--r-md);
    background: var(--bg-soft);
    color: var(--pink-deep);
}

.usp__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.3; }

.usp__title {
    font-family: var(--font-display);
    font-size: var(--t-lg);
    margin-bottom: var(--sp-2);
}

.usp__text { font-size: var(--t-sm); color: var(--ink-60); line-height: 1.6; }

/* --------------------------------------------------------------------------
   10. Услуги — асимметричное бенто
   -------------------------------------------------------------------------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-4);
}

.bento__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    padding: var(--sp-6);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--ink-06);
    transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}

.bento__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-deep); }

/* Первая карточка крупнее: направление, которое приносит больше всего записей */
.bento__card--wide  { grid-column: span 4; min-height: 380px; }
.bento__card--tall  { grid-column: span 2; min-height: 380px; }
.bento__card--third { grid-column: span 2; }

.bento__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bento__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.3s var(--ease-out);
}

.bento__card:hover .bento__bg img { transform: scale(1.05); }

.bento__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Затемнение держим плотным по всей высоте: фотографии ногтей светлые,
       и на слабой подложке заголовок просто пропадает */
    background:
        linear-gradient(to top, rgba(25, 23, 23, .88) 0%, rgba(25, 23, 23, .62) 38%,
                                rgba(25, 23, 23, .30) 68%, rgba(25, 23, 23, .10) 100%);
}

.bento__card--photo {
    color: #fff;
    border-color: transparent;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
/* Глобальное правило для заголовков красит h3 в тёмный, поэтому
   на фотокарточке цвет задаём явно, а не наследованием */
.bento__card--photo .bento__title { color: #fff; }
.bento__card--photo .bento__desc { color: rgba(255, 255, 255, .84); }
.bento__card--photo .bento__price { color: #fff; }

.bento__content { position: relative; z-index: 1; }

.bento__title {
    font-family: var(--font-display);
    font-size: var(--t-xl);
    line-height: 1.15;
    margin-bottom: .5rem;
}

.bento__desc {
    font-size: var(--t-sm);
    color: var(--ink-60);
    line-height: 1.55;
    margin-bottom: var(--sp-4);
}

.bento__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

.bento__price {
    font-family: var(--font-display);
    font-size: var(--t-lg);
    color: var(--ink);
}

.bento__price small {
    font-family: var(--font-body);
    font-size: var(--t-xs);
    color: inherit;
    opacity: .6;
    margin-right: .25rem;
}

/* Плоская карточка без фото — для дополнительных направлений */
.bento__card--plain { background: var(--bg-soft); }

/* --------------------------------------------------------------------------
   11. Прайс
   -------------------------------------------------------------------------- */
.price-group + .price-group { margin-top: var(--sp-8); }

.price-group__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-bottom: var(--sp-4);
    margin-bottom: var(--sp-2);
    border-bottom: 1px solid var(--ink-12);
}

.price-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: var(--sp-5);
    padding: var(--sp-4) var(--sp-4);
    margin-inline: calc(var(--sp-4) * -1);
    border-radius: var(--r-md);
    transition: background-color .4s var(--ease-soft);
}

.price-row:hover { background: var(--ink-03); }

.price-row + .price-row { border-top: 1px solid var(--ink-06); }

.price-row__title { font-weight: 600; font-size: var(--t-base); }

.price-row__desc {
    font-size: var(--t-sm);
    color: var(--ink-60);
    margin-top: .25rem;
    max-width: 62ch;
}

.price-row__time {
    font-size: var(--t-sm);
    color: var(--ink-40);
    white-space: nowrap;
}

.price-row__value {
    font-family: var(--font-display);
    font-size: var(--t-lg);
    white-space: nowrap;
}

.price-row__old {
    font-family: var(--font-body);
    font-size: var(--t-sm);
    color: var(--ink-40);
    text-decoration: line-through;
    margin-right: .5rem;
}

/* --------------------------------------------------------------------------
   12. Портфолио
   -------------------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--sp-4);
}

.gallery__item {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-soft);
    cursor: zoom-in;
}

/* Каждая четвёртая — вытянутая: ломает механический ритм сетки */
.gallery__item:nth-child(4n + 1) { aspect-ratio: 4 / 6; }

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-out);
}

.gallery__item:hover img { transform: scale(1.06); }

.gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: var(--sp-4);
    background: linear-gradient(to top, rgba(36, 30, 27, .68), rgba(36, 30, 27, 0) 55%);
    color: var(--bg);
    opacity: 0;
    transition: opacity .55s var(--ease-out);
}

.gallery__item:hover .gallery__overlay { opacity: 1; }

.gallery__caption { font-size: var(--t-sm); font-weight: 500; }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-6);
}

.filter {
    font-family: var(--font-ui);
    padding: .5rem 1rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--ink-12);
    font-size: var(--t-sm);
    font-weight: 500;
    color: var(--ink-60);
    transition: all .4s var(--ease-soft);
}

.filter:hover { border-color: var(--ink-40); color: var(--ink); }

.filter.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

/* --------------------------------------------------------------------------
   13. Отзывы
   -------------------------------------------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--sp-4);
}

.review {
    display: flex;
    flex-direction: column;
    padding: var(--sp-6);
    border-radius: var(--r-xl);
    background: var(--paper);
    border: 1px solid var(--ink-06);
    box-shadow: var(--inner-light);
}

.review__text {
    font-size: var(--t-base);
    line-height: 1.7;
    color: var(--ink-80);
    margin-bottom: var(--sp-5);
    flex-grow: 1;
}

.review__text::before {
    content: '“';
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: .6;
    color: var(--pink-light);
    margin-bottom: var(--sp-3);
}

.review__foot {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--ink-06);
}

.avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--pink-deep);
    font-size: var(--t-sm);
    font-weight: 700;
    overflow: hidden;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

.review__name { font-weight: 600; font-size: var(--t-sm); }
.review__date { font-size: var(--t-xs); color: var(--ink-40); }

.review__reply {
    margin-top: var(--sp-4);
    padding: var(--sp-4);
    border-radius: var(--r-md);
    background: var(--bg-soft);
    font-size: var(--t-sm);
    color: var(--ink-60);
}

.review__reply strong { color: var(--ink); }

.stars { display: inline-flex; gap: 2px; color: var(--pink); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.stars .is-empty { color: var(--ink-12); }

/* --------------------------------------------------------------------------
   14. Форма записи
   -------------------------------------------------------------------------- */
.booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--sp-6);
    align-items: start;
}

.booking__steps {
    display: flex;
    gap: var(--sp-2);
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--ink-06);
    overflow-x: auto;
    scrollbar-width: none;
}
.booking__steps::-webkit-scrollbar { display: none; }

.step {
    font-family: var(--font-ui);
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4375rem .875rem;
    border-radius: var(--r-pill);
    font-size: var(--t-xs);
    font-weight: 600;
    color: var(--ink-40);
    white-space: nowrap;
    transition: all .45s var(--ease-soft);
}

.step__num {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ink-06);
    font-size: .625rem;
}

.step.is-active { background: var(--ink); color: var(--bg); }
.step.is-active .step__num { background: rgba(255, 255, 255, .2); }

.step.is-done { color: var(--success); }
.step.is-done .step__num { background: rgba(94, 124, 99, .14); }

/* Карточка выбора услуги */
.choice {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    width: 100%;
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-lg);
    border: 1px solid var(--ink-06);
    background: var(--paper);
    text-align: left;
    transition: border-color .4s var(--ease-soft), background-color .4s var(--ease-soft),
                transform .4s var(--ease-out);
}

.choice:hover { border-color: var(--pink-light); transform: translateX(2px); }

.choice.is-selected {
    border-color: var(--pink);
    background: rgba(176, 141, 118, .06);
}

.choice + .choice { margin-top: var(--sp-3); }

.choice__check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    border-radius: 7px;
    border: 1.5px solid var(--ink-12);
    color: transparent;
    transition: all .35s var(--ease-spring);
}

.choice.is-selected .choice__check {
    background: var(--pink-deep);
    border-color: var(--pink-deep);
    color: #fff;
}

.choice__check svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }

.choice__body { flex-grow: 1; min-width: 0; }

/* Название и описание — отдельными строками: в одну строку они сливаются
   в сплошной текст и карточку становится трудно читать */
.choice__title {
    display: block;
    font-weight: 600;
    font-size: var(--t-base);
    line-height: 1.35;
}

.choice__desc {
    display: block;
    font-size: var(--t-sm);
    color: var(--ink-60);
    line-height: 1.5;
    margin-top: .1875rem;
}

.choice__price {
    text-align: right;
    flex-shrink: 0;
}
.choice__price b { font-family: var(--font-display); font-size: var(--t-lg); font-weight: 500; }
.choice__price span { display: block; font-size: var(--t-xs); color: var(--ink-40); margin-top: .125rem; }

/* Календарь */
.calendar {
    padding: var(--sp-5);
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--ink-06);
}

.calendar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-4);
}

.calendar__month {
    font-family: var(--font-display);
    font-size: var(--t-lg);
}

.calendar__nav {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink-03);
    color: var(--ink-60);
    transition: background-color .35s var(--ease-soft), color .35s var(--ease-soft);
}
.calendar__nav:hover:not(:disabled) { background: var(--ink-06); color: var(--ink); }
.calendar__nav:disabled { opacity: .3; cursor: not-allowed; }
.calendar__nav svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar__weekday {
    text-align: center;
    font-size: var(--t-xs);
    font-weight: 600;
    color: var(--ink-40);
    padding-bottom: var(--sp-2);
}

.day {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    font-size: var(--t-sm);
    font-weight: 500;
    color: var(--ink-80);
    transition: all .3s var(--ease-soft);
}

.day:hover:not(:disabled):not(.is-empty) { background: var(--ink-06); }

.day:disabled, .day.is-disabled {
    color: var(--ink-12);
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.day.is-empty { visibility: hidden; }

.day.is-selected {
    background: var(--ink);
    color: var(--bg);
}

.day.is-today::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--pink);
}
.day.is-selected.is-today::after { background: var(--bg); }

/* Слоты времени */
.slots-group + .slots-group { margin-top: var(--sp-5); }

.slots-group__title {
    font-size: var(--t-xs);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: var(--sp-3);
}

.slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: var(--sp-2);
}

.slot {
    font-family: var(--font-ui);
    padding: .6875rem .5rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--ink-12);
    background: var(--paper);
    font-size: var(--t-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    transition: all .35s var(--ease-soft);
}

.slot:hover { border-color: var(--pink); color: var(--pink-deep); }

.slot.is-selected {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

/* Итоговая панель */
.summary {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-4));
    padding: 6px;
    border-radius: var(--r-2xl);
    background: var(--ink-03);
    border: 1px solid var(--ink-06);
}

.summary__core {
    padding: var(--sp-6);
    border-radius: calc(var(--r-2xl) - 6px);
    background: var(--paper);
    box-shadow: var(--inner-light);
}

.summary__title {
    font-family: var(--font-display);
    font-size: var(--t-xl);
    margin-bottom: var(--sp-4);
}

.summary__list { margin-bottom: var(--sp-4); }

.summary__row {
    display: flex;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-2) 0;
    font-size: var(--t-sm);
}

.summary__row span:first-child { color: var(--ink-60); }
.summary__row span:last-child { font-weight: 600; white-space: nowrap; }

.summary__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--sp-4);
    padding-top: var(--sp-4);
    margin-top: var(--sp-2);
    border-top: 1px solid var(--ink-12);
}

.summary__total b {
    font-family: var(--font-display);
    font-size: var(--t-2xl);
    font-weight: 500;
}

.summary__empty {
    padding: var(--sp-6) 0;
    text-align: center;
    color: var(--ink-40);
    font-size: var(--t-sm);
}

/* --------------------------------------------------------------------------
   15. Поля ввода
   -------------------------------------------------------------------------- */
.field { margin-bottom: var(--sp-4); }

.field__label {
    display: block;
    font-size: var(--t-sm);
    font-weight: 600;
    margin-bottom: var(--sp-2);
}

.field__label span { color: var(--danger); }

.input,
.textarea,
.select {
    width: 100%;
    padding: .875rem 1.125rem;
    border-radius: var(--r-md);
    border: 1px solid var(--ink-12);
    background: var(--paper);
    font-size: var(--t-base);
    transition: border-color .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}

.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(176, 141, 118, .14);
}

.input::placeholder, .textarea::placeholder { color: var(--ink-40); }

.textarea { min-height: 110px; resize: vertical; }

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23241E1B' stroke-opacity='.4' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.125rem center;
    padding-right: 2.75rem;
}

.field__hint { font-size: var(--t-xs); color: var(--ink-40); margin-top: var(--sp-2); }
.field__error { font-size: var(--t-xs); color: var(--danger); margin-top: var(--sp-2); }

.field.has-error .input,
.field.has-error .textarea { border-color: var(--danger); }

/* Ловушка для ботов — не должна быть видна и доступна с клавиатуры */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    pointer-events: none;
}

/* Скрыто визуально, но доступно скринридерам и работает как input в label */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Ссылка «к содержимому»: появляется только при переходе с клавиатуры */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 80;
    padding: .75rem 1.25rem;
    background: var(--ink);
    color: var(--bg);
    border-radius: 0 0 var(--r-sm) 0;
    font-size: var(--t-sm);
}
.skip-link:focus { left: 0; }

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--t-sm);
    color: var(--ink-60);
    cursor: pointer;
}

.checkbox input { margin-top: .1875rem; accent-color: var(--pink-deep); width: 16px; height: 16px; }
.checkbox a { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   16. Аккордеон FAQ
   -------------------------------------------------------------------------- */
.faq__item { border-bottom: 1px solid var(--ink-06); }

.faq__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-5);
    width: 100%;
    padding: var(--sp-5) 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: var(--t-lg);
    line-height: 1.3;
    transition: color .35s var(--ease-soft);
}

.faq__q:hover { color: var(--pink-deep); }

.faq__toggle {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--ink-03);
    transition: transform .5s var(--ease-out), background-color .35s var(--ease-soft);
}

.faq__item.is-open .faq__toggle {
    transform: rotate(45deg);
    background: var(--ink);
    color: var(--bg);
}

.faq__toggle svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .55s var(--ease-out);
}

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner { overflow: hidden; }

.faq__a-inner > div {
    padding-bottom: var(--sp-5);
    color: var(--ink-60);
    max-width: 74ch;
}

/* --------------------------------------------------------------------------
   17. Подвал
   -------------------------------------------------------------------------- */
.footer {
    padding-block: var(--sp-8) var(--sp-6);
    background: var(--ink);
    color: rgba(251, 248, 245, .72);
}

.footer a { color: rgba(251, 248, 245, .72); transition: color .35s var(--ease-soft); }
.footer a:hover { color: var(--bg); }

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: var(--sp-6);
    padding-bottom: var(--sp-7);
    border-bottom: 1px solid rgba(251, 248, 245, .1);
}

.footer .logo { color: var(--bg); margin-bottom: var(--sp-4); }
.footer .logo em { color: var(--pink-light); }
.footer .logo__sub { color: rgba(251, 248, 245, .4); }

.footer__title {
    font-family: var(--font-ui);
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bg);
    margin-bottom: var(--sp-4);
}

.footer__list { display: grid; gap: var(--sp-3); font-size: var(--t-sm); }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-top: var(--sp-5);
    font-size: var(--t-xs);
    color: rgba(251, 248, 245, .45);
}

.socials { display: flex; gap: var(--sp-2); }

.social {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(251, 248, 245, .07);
    transition: background-color .4s var(--ease-soft), transform .4s var(--ease-out);
}

.social:hover { background: rgba(251, 248, 245, .16); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* --------------------------------------------------------------------------
   18. Служебные компоненты
   -------------------------------------------------------------------------- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding-block: var(--sp-5) 0;
    font-size: var(--t-xs);
    color: var(--ink-40);
}

.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { opacity: .45; }

.badge {
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .3125rem .75rem;
    border-radius: var(--r-pill);
    font-size: var(--t-xs);
    font-weight: 600;
    background: var(--ink-06);
    color: var(--ink-60);
}

.badge--accent { background: rgba(176, 141, 118, .14); color: var(--pink-deep); }
.badge--success { background: rgba(94, 124, 99, .13); color: var(--success); }
.badge--danger  { background: rgba(168, 90, 74, .13); color: var(--danger); }
.badge--warning { background: rgba(192, 138, 62, .14); color: var(--warning); }

/* Уведомления */
.toasts {
    position: fixed;
    top: calc(var(--header-h) + var(--sp-3));
    right: var(--sp-5);
    z-index: 55;
    display: grid;
    gap: var(--sp-2);
    max-width: 380px;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-5);
    border-radius: var(--r-md);
    background: var(--paper);
    border: 1px solid var(--ink-06);
    box-shadow: var(--shadow-deep);
    font-size: var(--t-sm);
    animation: toast-in .55s var(--ease-out) both;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(20px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

.toast--success { border-left: 3px solid var(--success); }
.toast--error   { border-left: 3px solid var(--danger); }
.toast--warning { border-left: 3px solid var(--warning); }

/* Блок призыва к действию */
.cta {
    position: relative;
    padding: clamp(var(--sp-7), 6vw, var(--sp-9)) var(--sp-6);
    border-radius: var(--r-2xl);
    background: linear-gradient(150deg, var(--rose) 0%, var(--rose-deep) 100%);
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 55%;
    height: 180%;
    background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 65%);
    pointer-events: none;
}

.cta__inner { position: relative; max-width: 620px; margin-inline: auto; }
.cta h2 { margin-bottom: var(--sp-4); }
.cta .lead { margin-inline: auto; margin-bottom: var(--sp-6); }

/* Статья */
.prose { max-width: 74ch; color: var(--ink-80); }
.prose h2 { font-size: var(--t-2xl); margin: var(--sp-7) 0 var(--sp-4); }
.prose h3 { font-size: var(--t-xl); margin: var(--sp-6) 0 var(--sp-3); }
.prose p { margin-bottom: var(--sp-4); line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 var(--sp-4); padding-left: var(--sp-5); }
.prose li { margin-bottom: var(--sp-2); line-height: 1.7; }
.prose li::marker { color: var(--pink); }
.prose a { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-lg); margin-block: var(--sp-5); }
.prose blockquote {
    margin: var(--sp-6) 0;
    padding: var(--sp-5) var(--sp-6);
    border-left: 2px solid var(--pink);
    background: var(--bg-soft);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-family: var(--font-display);
    font-size: var(--t-lg);
    font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin-block: var(--sp-5); font-size: var(--t-sm); }
.prose th, .prose td { padding: var(--sp-3); text-align: left; border-bottom: 1px solid var(--ink-06); }
.prose th { font-weight: 700; }

/* Карточка статьи */
.post-card { display: block; }

.post-card__media {
    aspect-ratio: 3 / 2;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-soft);
    margin-bottom: var(--sp-4);
}

.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }

.post-card__title {
    font-family: var(--font-display);
    font-size: var(--t-lg);
    line-height: 1.25;
    margin-bottom: var(--sp-2);
}

.post-card__meta { font-size: var(--t-xs); color: var(--ink-40); display: flex; gap: var(--sp-3); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp-5); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: var(--sp-6); }
.grid-2 > *, .grid-3 > * { min-width: 0; }

/* Длинные слова и адреса не должны разрывать вёрстку на узком экране */
h1, h2, h3, h4, p, .lead, .prose { overflow-wrap: break-word; }

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--sp-2);
    margin-top: var(--sp-7);
}

.pagination a, .pagination span {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding-inline: .625rem;
    border-radius: var(--r-sm);
    font-size: var(--t-sm);
    font-weight: 600;
    border: 1px solid var(--ink-12);
    transition: all .35s var(--ease-soft);
}

.pagination a:hover { border-color: var(--ink-40); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Лайтбокс */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: var(--sp-5);
    background: rgba(36, 30, 27, .93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease-out), visibility .45s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-md); object-fit: contain; }

.lightbox__close {
    position: absolute;
    top: var(--sp-5);
    right: var(--sp-5);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(251, 248, 245, .12);
    color: var(--bg);
}
.lightbox__close:hover { background: rgba(251, 248, 245, .22); }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(251, 248, 245, .12);
    color: var(--bg);
}
.lightbox__nav:hover { background: rgba(251, 248, 245, .22); }
.lightbox__nav--prev { left: var(--sp-5); }
.lightbox__nav--next { right: var(--sp-5); }

/* Плавающая кнопка записи на мобильных */
.fab {
    position: fixed;
    right: var(--sp-5);
    bottom: var(--sp-5);
    z-index: 35;
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    transition: transform .6s var(--ease-out), opacity .5s var(--ease-out), visibility .5s;
}

.fab.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Круглая кнопка связи: звонок и Telegram */
.fab__action {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-lift);
    transition: transform .5s var(--ease-out), background-color .4s var(--ease-soft), color .4s var(--ease-soft);
}

.fab__action svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
}

.fab__action--tg {
    background: var(--pink);
    color: #fff;
    box-shadow: var(--shadow-pink);
}

.fab__action:hover { transform: translateY(-3px) scale(1.04); }
.fab__action--call:hover { background: var(--ink); color: #fff; }
.fab__action--tg:hover { background: var(--pink-deep); }

/* Подпись выезжает влево — на десктопе иконка без пояснения читается хуже */
.fab__tip {
    position: absolute;
    right: calc(100% + .625rem);
    white-space: nowrap;
    padding: .4375rem .75rem;
    border-radius: var(--r-sm);
    background: var(--ink);
    color: #fff;
    font-family: var(--font-ui);
    font-size: var(--t-xs);
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity .35s var(--ease-soft), transform .35s var(--ease-soft);
}

.fab__action:hover .fab__tip { opacity: 1; transform: none; }

/* Кнопка записи в панели нужна только на телефоне: на десктопе
   она и так есть в шапке и в каждом блоке */
.fab__main { display: none; }

/* --------------------------------------------------------------------------
   19. Появление при прокрутке
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; filter: none; }
}

/* --------------------------------------------------------------------------
   19b. Фирменный блок: логотип, рукописные акценты, промо
   -------------------------------------------------------------------------- */

/* Логотип. Знак покрашен через currentColor, поэтому одна и та же
   картинка работает и на светлой шапке, и на тёмном подвале. */
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--ink);
    transition: opacity .4s var(--ease-soft);
}

.brand:hover { opacity: .78; }

.brand img,
.brand svg {
    height: 46px;
    width: auto;
    display: block;
}

.brand--sm img, .brand--sm svg { height: 38px; }
.brand--lg img, .brand--lg svg { height: 64px; }

/* В подвале знак выводится светлым */
.footer .brand img { filter: brightness(0) invert(1); }

/* Рукописный акцент: короткая подпись рядом с заголовком.
   Caveat держит кириллицу, Great Vibes — только латиницу, поэтому
   для имени студии есть отдельный класс. */
.script {
    font-family: var(--font-script);
    font-size: 1.5em;
    line-height: 1;
    color: var(--pink);
    font-weight: 500;
}

.signature {
    font-family: var(--font-latin);
    color: var(--pink);
    line-height: 1.4;
}

/* Курсивная строка под заголовком — приём из референсов: антиква
   курсивом сразу задаёт «салонную» интонацию, которой не даёт гротеск */
.title-script {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--pink);
}

/* --------------------------------------------------------------- топбар */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .78);
    font-family: var(--font-ui);
    font-size: var(--t-xs);
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    min-height: var(--topbar-h);
    flex-wrap: wrap;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: .4375rem;
    white-space: nowrap;
}

.topbar__item svg {
    width: 13px;
    height: 13px;
    stroke: var(--pink-light);
    fill: none;
    stroke-width: 1.6;
    flex-shrink: 0;
}

.topbar a:hover { color: #fff; }

.topbar__socials { margin-left: auto; display: flex; gap: var(--sp-3); }

.topbar__socials a {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    transition: background-color .35s var(--ease-soft);
}

.topbar__socials a:hover { background: var(--pink); }
.topbar__socials svg { width: 12px; height: 12px; fill: currentColor; }

/* ------------------------------------------------- полоса преимуществ */
.usp-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    background: var(--paper);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
}

.usp-strip__item {
    padding: var(--sp-6) var(--sp-4);
    text-align: center;
}

.usp-strip__item + .usp-strip__item { border-left: 1px solid var(--ink-06); }

.usp-strip__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto var(--sp-3);
    border-radius: 50%;
    background: var(--rose);
    color: var(--pink-deep);
}

.usp-strip__icon svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.4; }

.usp-strip__title {
    font-family: var(--font-ui);
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .375rem;
}

.usp-strip__text { font-size: var(--t-sm); color: var(--ink-60); line-height: 1.5; }

/* ------------------------------------------- карточка услуги с ценой */
.service-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }

.service-card__media {
    aspect-ratio: 4 / 3;
    background: linear-gradient(150deg, var(--rose), var(--rose-deep));
    overflow: hidden;
}

.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.06); }

.service-card__body {
    padding: var(--sp-5);
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card__title {
    font-family: var(--font-ui);
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.service-card__text { font-size: var(--t-sm); color: var(--ink-60); line-height: 1.55; flex-grow: 1; }

.service-card__price {
    font-family: var(--font-display);
    font-size: var(--t-xl);
    color: var(--pink-deep);
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--ink-06);
}

/* ------------------------------------------------- промо со скидкой */
.promo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--sp-6);
    padding: clamp(var(--sp-6), 5vw, var(--sp-8));
    border-radius: var(--r-2xl);
    background: linear-gradient(120deg, var(--pink) 0%, var(--pink-deep) 100%);
    color: #fff;
    overflow: hidden;
}

/* Мягкое свечение, чтобы плашка не читалась плоской заливкой */
.promo::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 60%;
    height: 220%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 62%);
    pointer-events: none;
}

.promo__content { position: relative; }
.promo h2 { color: #fff; }
.promo .title-script { color: var(--lime); }
.promo p { color: rgba(255, 255, 255, .88); }

.promo__figure { position: relative; display: grid; place-items: center; }

/* Круглый бейдж скидки — прямая цитата из присланных примеров */
.discount-badge {
    display: grid;
    place-items: center;
    width: clamp(150px, 20vw, 210px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    animation: badge-float 5s ease-in-out infinite;
}

.discount-badge__value {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1;
    font-weight: 600;
}

.discount-badge__label {
    font-family: var(--font-ui);
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: .375rem;
    max-width: 74%;
    line-height: 1.35;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50%      { transform: translateY(-10px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
    .discount-badge { animation: none; }
}

/* Бейдж поверх фото на первом экране */
.hero__discount {
    position: absolute;
    left: -4%;
    bottom: 10%;
    z-index: 2;
}

.hero__discount .discount-badge {
    width: clamp(122px, 13vw, 168px);
    background: var(--pink);
    color: #fff;
    box-shadow: var(--shadow-pink);
}

/* -------------------------------------------------- цветовые утилиты */
.text-pink { color: var(--pink); }

/* Выделение слова в заголовке — как в референсе с «ВЫБИРАЮТ» */
.mark-pink { color: var(--pink); }

.mark-lime {
    background: var(--lime);
    padding: 0 .25em;
    border-radius: .15em;
}


/* --------------------------------------------------------------------------
   20. Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .nav { display: none; }
    .burger { display: block; }
    .header__phone { display: none; }
    .booking { grid-template-columns: 1fr; }
    .summary { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: -1; max-width: 460px; margin-inline: auto; }
    .hero__frame { aspect-ratio: 3 / 3.4; border-radius: 200px 200px var(--r-xl) var(--r-xl); }
    .hero__badge { left: auto; right: -12px; bottom: 20px; max-width: 220px; }
    .usp { grid-template-columns: 1fr; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__card--wide, .bento__card--tall, .bento__card--third { grid-column: span 2; min-height: 260px; }
    .section-head--split { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 720px) {
    :root { --header-h: 72px; }

    .container { padding-inline: var(--sp-4); }

    /* На узком экране в шапке остаются только логотип и бургер:
       переключатель языка и кнопка записи переезжают в меню и в нижнюю
       плавающую кнопку. Иначе строка не помещается и растягивает страницу. */
    .header__inner {
        padding: .5rem .5rem .5rem var(--sp-4);
        gap: var(--sp-3);
    }

    .header__actions .lang,
    .header__actions > .btn { display: none; }

    .logo { font-size: 1.3125rem; }
    .logo__sub { font-size: .4375rem; letter-spacing: .24em; }

    .hero { padding-block: var(--sp-6) var(--sp-7); }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { justify-content: center; }
    .hero__proof { gap: var(--sp-5); }
    .hero__badge { position: static; margin-top: var(--sp-4); max-width: none; }

    .bento { grid-template-columns: 1fr; }
    .bento__card--wide, .bento__card--tall, .bento__card--third { grid-column: span 1; }

    .gallery { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
    .gallery__item, .gallery__item:nth-child(4n + 1) { aspect-ratio: 3 / 4; }

    .price-row { grid-template-columns: 1fr auto; gap: var(--sp-3); }
    .price-row__time { grid-column: 1; grid-row: 2; }
    .price-row__value { grid-column: 2; grid-row: 1 / 3; align-self: center; }

    .footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
    .footer__bottom { flex-direction: column; align-items: flex-start; }

    .toasts { left: var(--sp-4); right: var(--sp-4); max-width: none; }

    /* Телефон: широкая полоса у нижнего края — всё под большим пальцем */
    .fab {
        left: var(--sp-4);
        right: var(--sp-4);
        bottom: max(var(--sp-4), env(safe-area-inset-bottom));
        gap: var(--sp-2);
        transform: translateY(140%);
    }

    .fab__main { display: inline-flex; flex: 1 1 auto; justify-content: center; }
    .fab__tip  { display: none; }
    .fab__action { width: 52px; height: 52px; }

    /* чтобы панель не перекрывала последние строки подвала */
    body { padding-bottom: 76px; }

    .lightbox__nav { width: 40px; height: 40px; }
    .lightbox__nav--prev { left: var(--sp-2); }
    .lightbox__nav--next { right: var(--sp-2); }
}

/* --------------------------------------------------------------------------
   21. Печать
   -------------------------------------------------------------------------- */
@media print {
    .header, .footer, .fab, .cta, .toasts, body::after { display: none !important; }
    body { background: #fff; color: #000; }
    .section { padding-block: 1rem; }
    a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .75em; }
}
