﻿/* ============================================================
   Студия красоты — стили публичного сайта
   Шрифт: Manrope. Палитра: розово-ягодная.
   ============================================================ */

:root {
    /* Палитра: розовый, тёплый белый, ягодный */
    --bg:           #FDF6F8;     /* основной фон — тёплый розовато-белый */
    --bg-soft:      #FDF6F8;     /* тот же фон, чтобы не было полос */
    --bg-card:      #FFFFFF;
    --ink:          #2B1A22;     /* основной текст — тёмный сливовый */
    --ink-soft:     #6B4A58;     /* средне-розовый */
    --ink-muted:    #A08090;     /* приглушённый */
    --accent:       #C96B8A;     /* основной розово-малиновый */
    --accent-soft:  #E8A0B4;     /* светлый розовый */
    --accent-deep:  #9B3D58;     /* глубокий ягодный */
    --rose:         #FEE8EF;     /* очень светлый розовый (для мягких подложек) */
    --line:         rgba(43, 26, 34, 0.09);

    /* Типографика */
    --ff:           'Manrope', system-ui, -apple-system, sans-serif;

    /* Размеры и анимации */
    --radius-sm:    8px;
    --radius:       18px;
    --radius-lg:    28px;
    --shadow-sm:    0 2px 12px rgba(43, 26, 34, 0.05);
    --shadow:       0 12px 40px rgba(43, 26, 34, 0.08);
    --shadow-lg:    0 30px 80px rgba(201, 107, 138, 0.18);
    --ease:         cubic-bezier(.2, .7, .2, 1);
    --section-pad:  clamp(72px, 10vw, 140px);
    --container:    1240px;
}

/* ----- Reset / база ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--ff);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ----- Контейнер ----- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ----- Типографика ----- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--accent-deep);
}
.eyebrow::before {
    content: ''; width: 32px; height: 1px;
    background: var(--accent);
}

h1, h2, h3, h4 { margin: 0; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(54px, 9vw, 132px); font-weight: 200; }
h2 { font-size: clamp(36px, 5.5vw, 68px); font-weight: 300; }
h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.01em; }

.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-muted); }

/* Тонкая декоративная италика на 'и' / акценты — через CSS, без второго шрифта */
.italic-accent {
    font-style: italic;
    font-weight: 300;
    color: var(--accent-deep);
}

/* ----- Кнопки ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: all .35s var(--ease);
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--ink);
    color: var(--bg-soft);
}
.btn-primary:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(201, 107, 138, .35);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}
.btn-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 500;
    color: var(--accent-deep);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    transition: gap .3s var(--ease), color .3s var(--ease);
}
.btn-link:hover { gap: 14px; color: var(--ink); }

/* ----- Шапка ----- */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: all .4s var(--ease);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 14px 0;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: clamp(14px, 1.8vw, 30px);
}
.logo {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none;
    color: var(--ink);
    flex: 0 0 auto;
}
.logo-img { width: 48px; height: 48px; object-fit: contain; }
.logo-mark {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    display: grid; place-items: center;
    color: var(--bg-soft);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.02em;
}
.logo-text { line-height: 1.1; }
.logo-text-top    { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.logo-text-bottom { display: block; font-size: 11px; color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px;}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: clamp(12px, 1.7vw, 30px);
}
.nav a {
    font-size: 14px; font-weight: 500;
    color: var(--ink-soft);
    position: relative;
    white-space: nowrap;
    transition: color .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width .35s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-cta {
    display: flex;
    gap: 14px;
    align-items: center;
    flex: 0 0 auto;
}
.header-phone {
    font-weight: 500;
    color: var(--ink);
    font-size: 14px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.header-phone:hover { color: var(--accent-deep); }

.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    content: ''; display: block;
    width: 18px; height: 1px;
    background: var(--ink);
    transition: transform .35s var(--ease), top .35s var(--ease), background .35s var(--ease);
    position: relative;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after  { position: absolute; top:  6px; }
.menu-toggle.active span                 { background: transparent; }
.menu-toggle.active span::before         { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after          { top: 0; transform: rotate(-45deg); }


@media (min-width: 721px) and (max-width: 1180px) {
    .container.header-inner { padding-left: 24px; padding-right: 24px; }
    .header-inner { gap: 12px; }
    .logo { gap: 10px; }
    .logo-img,
    .logo-mark { width: 42px; height: 42px; }
    .logo-text-top { font-size: 15px; }
    .logo-text-bottom { font-size: 10px; letter-spacing: 0.14em; }
    .nav { gap: 12px; }
    .nav a,
    .header-phone { font-size: 13px; }
    .header-cta { gap: 10px; }
    .header-cta .btn { padding: 11px 18px !important; }
}

/* ----- Hero ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    /* Базовый тёплый радиальный градиент */
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 88% 8%, var(--rose) 0%, transparent 55%),
        radial-gradient(ellipse 55% 70% at 4% 95%, rgba(232, 160, 180, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse 40% 35% at 60% 50%, rgba(255, 247, 236, 0.6) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Декоративные плавающие "орбы" */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    opacity: .55;
    animation: heroFloat 16s ease-in-out infinite;
}
.hero-orb--1 {
    width: 320px; height: 320px;
    top: 8%; left: -8%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation-delay: 0s;
}
.hero-orb--2 {
    width: 240px; height: 240px;
    top: 50%; right: 4%;
    background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
    opacity: .7;
    animation-delay: -4s;
    animation-duration: 18s;
}
.hero-orb--3 {
    width: 180px; height: 180px;
    bottom: -5%; left: 35%;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    animation-delay: -8s;
    animation-duration: 14s;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(20px, -22px) scale(1.06); }
    66%      { transform: translate(-18px, 14px) scale(.96); }
}

/* Тонкая декоративная сетка из точек */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201, 107, 138, 0.08) 1px, transparent 1.5px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    opacity: .5;
}

/* Гигантский водяной знак за контентом */
.hero-watermark {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--ff);
    font-size: clamp(160px, 28vw, 360px);
    font-weight: 200;
    font-style: italic;
    letter-spacing: -0.04em;
    color: rgba(201, 107, 138, 0.07);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

.hero-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.hero-content > * + * { margin-top: 28px; }

.hero h1 {
    margin-top: 24px;
    font-size: clamp(54px, 9vw, 128px);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -0.04em;
}
.hero h1 .top {
    display: block;
    color: var(--ink);
    font-weight: 300;
}
.hero h1 .bottom {
    display: block;
    font-style: italic;
    font-weight: 200;
    background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 60%, var(--accent-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: clamp(40px, 8vw, 120px);
    position: relative;
}
.hero h1 .bottom::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.05em;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent-soft) 70%, transparent 100%);
    opacity: .35;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-meta {
    display: flex; gap: 32px;
    margin-top: 56px;
    flex-wrap: wrap;
    align-items: center;
}
.hero-meta-item {
    display: flex; flex-direction: column; gap: 4px;
}
.hero-meta-item strong {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--ink) 0%, var(--accent-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-meta-item span {
    font-size: 11px; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: 0.18em;
    font-weight: 500;
}
.hero-meta-divider { width: 1px; height: 42px; background: linear-gradient(180deg, transparent, var(--line) 30%, var(--line) 70%, transparent); }

/* ----- Hero visual ----- */
.hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
}
.hero-photo {
    position: relative;
    width: 100%; height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(201, 107, 138, 0.22),
        0 1px 2px rgba(43, 26, 34, 0.06);
    transform: rotate(2deg);
    z-index: 2;
}
.hero-photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(43, 26, 34, .25) 100%);
    pointer-events: none;
}
.hero-photo img,
.hero-photo .placeholder-tile {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}

/* Декоративное кольцо за фото */
.hero-ring {
    position: absolute;
    inset: -28px;
    border: 1px dashed rgba(201, 107, 138, 0.25);
    border-radius: calc(var(--radius-lg) + 28px);
    transform: rotate(2deg);
    z-index: 1;
    animation: heroRing 40s linear infinite;
}
@keyframes heroRing { to { transform: rotate(362deg); } }

/* Большое размытое пятно за фото — глубина */
.hero-deco {
    position: absolute;
    top: -50px; right: -50px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--rose) 100%);
    z-index: 0;
    opacity: .55;
    filter: blur(45px);
}

/* Плавающий бейдж "Принимаем записи" */
.hero-badge {
    position: absolute;
    left: -28px; bottom: 12%;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 18px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 18px 50px rgba(43, 26, 34, 0.12);
    z-index: 3;
    transform: rotate(-3deg);
    animation: heroBadgeFloat 6s ease-in-out infinite;
}
@keyframes heroBadgeFloat {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50%      { transform: rotate(-3deg) translateY(-6px); }
}
.hero-badge-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #4F8C42;
    position: relative;
    flex-shrink: 0;
}
.hero-badge-dot::after {
    content: ''; position: absolute; inset: -4px;
    border-radius: 50%;
    background: #4F8C42;
    opacity: .35;
    animation: heroBadgePulse 2s ease-out infinite;
}
@keyframes heroBadgePulse {
    0%   { transform: scale(.6); opacity: .55; }
    100% { transform: scale(1.8); opacity: 0; }
}
.hero-badge-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.hero-badge-text strong { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; }
.hero-badge-text span { font-size: 11px; color: var(--ink-soft); }

/* Адресный пин справа внизу */
.hero-pin {
    position: absolute;
    right: -20px; bottom: 6%;
    background: var(--ink);
    color: var(--bg-soft);
    border-radius: 22px;
    padding: 10px 16px 10px 14px;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 14px 32px rgba(43, 26, 34, 0.25);
    z-index: 3;
    font-size: 12px;
    line-height: 1.35;
    max-width: 280px;
    transform: rotate(2deg);
}
.hero-pin svg { color: var(--accent-soft); flex-shrink: 0; }
.hero-pin span {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

/* Eyebrow с линией */
.eyebrow--line {
    display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow--line::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--accent);
}

/* Scroll cue */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--ink-soft);
    text-decoration: none;
    z-index: 4;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity .3s var(--ease);
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(180deg, transparent, var(--accent) 50%, transparent);
    position: relative;
    overflow: hidden;
}
.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -50%; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, var(--accent-deep));
    animation: heroScroll 2.5s var(--ease) infinite;
}
@keyframes heroScroll {
    0%   { top: -50%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Reveal staggered */
.reveal[style*="--reveal-delay"] {
    transition-delay: var(--reveal-delay, 0ms);
}

/* Magnetic CTA shimmer */
.btn-magnetic {
    position: relative;
    overflow: hidden;
}
.btn-magnetic::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left .8s var(--ease);
}
.btn-magnetic:hover::before { left: 100%; }
.btn-magnetic span,
.btn-magnetic svg { position: relative; z-index: 1; }
.btn-magnetic svg { transition: transform .3s var(--ease); }
.btn-magnetic:hover svg { transform: translateX(3px); }

/* Плейсхолдер на случай отсутствия фото */
.placeholder-tile {
    background:
        repeating-linear-gradient(45deg, transparent 0 20px, rgba(201, 107, 138, 0.06) 20px 40px),
        linear-gradient(135deg, var(--rose) 0%, var(--accent-soft) 100%);
    display: grid; place-items: center;
    color: var(--accent-deep);
    font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
    text-align: center; padding: 20px;
}

/* ----- Плавающая CTA "Онлайн запись" ----- */
.floating-cta {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 90;
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px) scale(.85);
    pointer-events: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.floating-cta.visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
/* Внешнее тонкое кольцо — статичное, как на скрине */
.floating-cta-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--accent-soft);
    opacity: .8;
    transition: transform .35s var(--ease), border-color .3s var(--ease);
}
/* Пульс-анимация — отдельным псевдо, чтобы при ховере было два эффекта */
.floating-cta-ring::after {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: .5;
    animation: ctaPulse 2.4s ease-out infinite;
}
@keyframes ctaPulse {
    0%   { transform: scale(.9);  opacity: .55; }
    100% { transform: scale(1.25); opacity: 0; }
}

/* Сам круг */
.floating-cta-circle {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow:
        0 14px 30px rgba(201, 107, 138, 0.40),
        0 4px 10px rgba(201, 107, 138, 0.22);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.floating-cta-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.01em;
}

.floating-cta:hover .floating-cta-circle {
    transform: scale(1.06);
    box-shadow:
        0 18px 38px rgba(201, 107, 138, 0.50),
        0 4px 10px rgba(201, 107, 138, 0.28);
}
.floating-cta:hover .floating-cta-ring {
    transform: scale(1.05);
    border-color: var(--accent);
}

@media (max-width: 540px) {
    .floating-cta { right: 14px; bottom: 14px; width: 100px; height: 100px; }
    .floating-cta-circle { width: 72px; height: 72px; }
    .floating-cta-text { font-size: 11px; }
}

/* ----- Секции (общее) ----- */
section {
    position: relative;
    padding: var(--section-pad) 0;
}
.section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 80px);
    align-items: end;
    margin-bottom: 70px;
}
.section-head h2 { max-width: 14ch; }
.section-head .lead { max-width: 48ch; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; align-items: start; }}

/* ----- О студии ----- */
.about {
    background: var(--bg-soft);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.about-text > * + * { margin-top: 22px; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.stat strong {
    display: block;
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 200;
    color: var(--accent-deep);
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat span {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 8px;
    letter-spacing: 0.04em;
}

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 16px;
}
.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.about-img:nth-child(1) { grid-row: 1 / 3; }
.about-img:nth-child(2) { transform: translateY(-30px); }
.about-img:nth-child(3) { transform: translateY(30px); }
.about-img img,
.about-img .placeholder-tile {
    width: 100%; height: 100%; object-fit: cover;
}


/* ----- Публичная галерея ----- */
.public-gallery {
    background: var(--bg);
}
.gallery-block + .gallery-block {
    margin-top: 56px;
}
.gallery-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.gallery-block-head h3 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin: 0;
}
.gallery-block-head span {
    color: var(--ink-soft);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.gallery-grid {
    display: grid;
    gap: 18px;
}
.gallery-grid--works {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.gallery-grid--salon {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.gallery-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.gallery-card--salon img {
    aspect-ratio: 4 / 3;
}
.gallery-card figcaption {
    padding: 12px 14px;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.5;
}

/* ----- Услуги ----- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: clamp(28px, 3vw, 44px);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.service-card::before {
    /* декоративный круг */
    content: ''; position: absolute;
    top: -50%; right: -20%;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--rose);
    display: grid; place-items: center;
    color: var(--accent-deep);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.service-card h3 { position: relative; z-index: 1; }
.service-card ul {
    list-style: none; padding: 0; margin: 18px 0 0 0;
    position: relative; z-index: 1;
}
.service-card li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
}
.service-card li strong {
    display: block;
    color: var(--ink);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 4px;
}

/* ----- Цены ----- */
/* ----- Прайсы (как лист документа на витрине) ----- */
.prices-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 44px;
    padding: 6px;
    background: var(--bg-card);
    border-radius: 999px;
    border: 1px solid var(--line);
    width: fit-content;
    max-width: 100%;
}
.prices-tab {
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    color: var(--ink-soft);
    transition: all .3s var(--ease);
    white-space: nowrap;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.prices-tab.active {
    background: var(--ink);
    color: var(--bg-soft);
}
.prices-tab:not(.active):hover { color: var(--ink); }

.prices-pane {
    display: none;
}
.prices-pane.active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.prices-figure {
    margin: 0 auto;
    max-width: 640px;
    text-align: center;
}
.prices-image {
    position: relative;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 18px 50px rgba(43, 26, 34, 0.10), 0 2px 6px rgba(43, 26, 34, 0.04);
    border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.prices-image:hover,
.prices-image:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 28px 70px rgba(43, 26, 34, 0.14), 0 2px 6px rgba(43, 26, 34, 0.04);
    outline: none;
}
.prices-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s var(--ease);
}
.prices-image:hover img { transform: scale(1.015); }

.prices-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(43, 26, 34, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    pointer-events: none;
}
.prices-image:hover .prices-zoom,
.prices-image:focus-visible .prices-zoom {
    opacity: 1;
    transform: none;
}

.prices-caption {
    margin-top: 18px;
    font-size: 13px;
    color: var(--ink-muted);
    letter-spacing: 0.01em;
}

.prices-empty {
    max-width: 640px;
    margin: 0 auto;
    padding: 60px 24px;
    text-align: center;
    color: var(--ink-muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

/* На мобильном — не давим на ноль шансов: оставим адекватные размеры */
@media (max-width: 540px) {
    .prices-tabs { gap: 4px; padding: 5px; }
    .prices-tab { padding: 9px 16px; font-size: 13px; }
    .prices-figure { max-width: 100%; }
    .prices-zoom { opacity: 1; transform: none; right: 10px; bottom: 10px; width: 34px; height: 34px; }
}

/* Лайтбокс для прайса/галереи */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(20, 14, 10, 0.92);
    display: none;
    align-items: center; justify-content: center;
    z-index: 1000;
    padding: 30px;
    cursor: zoom-out;
}
.lightbox.open { display: flex; animation: fade .25s var(--ease); }
.lightbox img {
    max-width: 95vw;
    max-height: 92vh;
    border-radius: 8px;
}
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: grid; place-items: center;
}

/* ----- Команда ----- */
.team {
    background: var(--bg-soft);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.team-card {
    text-align: center;
    transition: transform .4s var(--ease);
}
.team-card:hover { transform: translateY(-6px); }
.team-photo {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 22px;
    position: relative;
    background: var(--rose);
}
.team-photo img,
.team-photo .placeholder-tile {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(43, 26, 34, .25) 100%);
    pointer-events: none;
}
.team-role {
    font-size: 11px;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    margin-bottom: 8px;
}
.team-name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.team-spec {
    color: var(--ink-soft);
    font-size: 14px;
}
.team-bio {
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 10px;
    padding: 0 10px;
}

/* ----- Обучение ----- */
.education-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.edu-tab {
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    font-weight: 500;
    font-size: 14px;
    color: var(--ink-soft);
    transition: all .3s var(--ease);
}
.edu-tab.active {
    background: var(--ink); color: var(--bg-soft);
    border-color: var(--ink);
}
.edu-tab:not(.active):hover { border-color: var(--ink); color: var(--ink); }

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.edu-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--line);
    transition: all .35s var(--ease);
    position: relative;
}
.edu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.edu-card-cat {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-deep);
    background: var(--rose);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.edu-card h3 { font-weight: 500; margin-bottom: 12px; }
.edu-card-summary { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 18px;}
.edu-duration {
    font-size: 13px;
    color: var(--ink);
    font-weight: 500;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.edu-duration::before { content: '⏱  '; }
.edu-card-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent-deep);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
    transition: color .3s var(--ease);
}
.edu-card-link:hover { color: var(--ink); }

/* Модальное окно курса */
.modal {
    position: fixed; inset: 0;
    background: rgba(20, 14, 10, 0.7);
    display: none;
    align-items: flex-start; justify-content: center;
    z-index: 1000;
    padding: 40px 20px;
    overflow-y: auto;
}
.modal.open { display: flex; animation: fade .25s var(--ease); }
.modal-body {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    max-width: 760px;
    width: 100%;
    padding: clamp(30px, 5vw, 56px);
    position: relative;
}
.modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    transition: all .3s var(--ease);
}
.modal-close:hover { background: var(--ink); color: var(--bg-soft); border-color: var(--ink); }
.modal-cat {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-deep);
    background: var(--rose);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.modal h3 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; font-weight: 400; letter-spacing: -0.02em; }
.modal-meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.modal-summary { color: var(--ink-soft); margin-bottom: 30px; line-height: 1.7; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.modal-program-block { margin-bottom: 28px; }
.modal-program-block h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-deep);
    margin-bottom: 12px;
    letter-spacing: -0.005em;
}
.modal-program-block ul {
    list-style: none; padding: 0; margin: 0;
}
.modal-program-block li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.55;
    border-top: 1px solid var(--line);
}
.modal-program-block li:first-child { border-top: 0; }
.modal-program-block li::before {
    content: ''; position: absolute;
    left: 4px; top: 18px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ----- Модалка записи ----- */
.booking-modal {
    position: fixed; inset: 0;
    z-index: 1000;
    display: none;
}
.booking-modal[hidden] { display: none !important; }
.booking-modal.open { display: block; }
.booking-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(43, 26, 34, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: bookingFade .25s var(--ease);
}
@keyframes bookingFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bookingPop {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.booking-modal-card {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 40px);
    box-shadow:
        0 30px 80px rgba(43, 26, 34, 0.30),
        0 4px 12px rgba(43, 26, 34, 0.10);
    animation: bookingPop .35s var(--ease) both;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.booking-modal-card::-webkit-scrollbar { width: 6px; }
.booking-modal-card::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }

.booking-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg-card);
    color: var(--ink-soft);
    display: grid; place-items: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    z-index: 2;
}
.booking-modal-close:hover {
    background: var(--ink);
    color: var(--bg-soft);
    border-color: var(--ink);
    transform: rotate(90deg);
}

.booking-modal-title {
    margin: 0 0 26px;
    padding-right: 50px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.booking-modal-disabled {
    text-align: center;
    padding: 30px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--ink-soft);
}
.booking-modal-disabled h3 { margin: 0 0 8px; font-weight: 500; color: var(--ink); }

/* Внутри модалки убираем у формы лишний внешний фон/тень — карточка модалки уже сама карточка */
.booking-modal-card .booking-form {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: 0;
}

/* На малых экранах — растянуть на весь экран */
@media (max-width: 540px) {
    .booking-modal-card {
        top: 0; left: 0;
        transform: none;
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        padding: 64px 20px 30px;
        animation: bookingSlideUp .35s var(--ease) both;
    }
    @keyframes bookingSlideUp {
        from { transform: translateY(20px); opacity: 0; }
        to   { transform: none; opacity: 1; }
    }
    .booking-modal-title { padding-right: 50px; }
}

/* Блок body при открытой модалке */
body.modal-open { overflow: hidden; }

/* ----- Запись (форма) ----- */
.booking {
    background:
        radial-gradient(ellipse 80% 80% at 100% 0%, var(--rose) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 0% 100%, var(--accent-soft) 0%, transparent 55%),
        var(--bg);
}
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
.booking-info > * + * { margin-top: 24px; }
.booking-info h2 { max-width: 12ch; }

.contact-options {
    display: flex; flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}
.contact-option {
    display: flex; align-items: center; gap: 18px;
    padding: 22px 26px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
}
.contact-option:hover {
    transform: translateX(4px);
    border-color: var(--accent);
}
.contact-option .ico {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--rose);
    color: var(--accent-deep);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.contact-option .label {
    font-size: 12px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.contact-option .value {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    margin-top: 2px;
    letter-spacing: -0.01em;
}

.booking-form {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.4);
}
.booking-form h3 {
    margin-bottom: 8px;
    font-weight: 500;
}
.booking-form p { color: var(--ink-soft); margin-bottom: 28px; font-size: 15px; }

.field { margin-bottom: 20px; }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.field label {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 8px;
    font-weight: 500;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    transition: border-color .3s var(--ease), background .3s var(--ease);
    font-size: 15px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--accent);
    background: #fff;
}
.field textarea { resize: vertical; min-height: 90px; }

.field-checkbox {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--ink-soft); line-height: 1.55;
    margin-bottom: 24px;
}
.field-checkbox input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--accent-deep);}

.form-success,
.form-error {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}
.form-success { background: #E7F4E4; color: #305B27; border: 1px solid #B6D9AE; }
.form-error   { background: #FBE6E2; color: #7A2E20; border: 1px solid #E8B7AC; }
.form-success.show, .form-error.show { display: block; }

/* ----- Расположение / карта ----- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}
.location-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 44px);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.location-card h2 { margin-bottom: 28px; }
.location-row { padding: 18px 0; border-top: 1px solid var(--line); }
.location-row:first-of-type { border-top: 0; padding-top: 0; }
.location-row .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-muted);
    margin-bottom: 6px;
    font-weight: 600;
}
.location-row .value {
    font-size: 17px;
    color: var(--ink);
    font-weight: 500;
}
.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.location-map img,
.location-map .placeholder-tile { width: 100%; height: 100%; object-fit: cover; }
.location-map .map-link {
    position: absolute; bottom: 16px; right: 16px;
    background: var(--bg-soft);
    color: var(--ink);
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: var(--shadow);
    transition: all .3s var(--ease);
}
.location-map .map-link:hover { background: var(--ink); color: var(--bg-soft); }

/* ----- Футер ----- */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}
.footer a { color: rgba(255, 255, 255, .85); transition: color .3s var(--ease); }
.footer a:hover { color: var(--accent-soft); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo-text-top { color: var(--bg-soft); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.6; max-width: 36ch; margin-top: 18px; }
.footer-col h4 {
    color: var(--bg-soft);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-bottom {
    padding-top: 30px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--accent-soft); }
.footer-credit { flex: 1 1 100%; text-align: center; order: 99; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; }
.footer-credit a { letter-spacing: 0.02em; }
@media (min-width: 720px) { .footer-credit { flex: 0 1 auto; order: 0; padding-top: 0; border-top: 0; } }

/* ----- Появление при скролле ----- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ----- Адаптив ----- */
@media (max-width: 980px) {
    .nav { display: none; }
    .header-phone { display: none; }
    .menu-toggle { display: flex; }
    .nav.mobile-open {
        display: flex; flex-direction: column;
        position: fixed;
        top: 80px; left: 0; right: 0;
        background: var(--bg-soft);
        padding: 30px;
        gap: 0;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--line);
    }
    .nav.mobile-open a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }
    .hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { transform: none; max-width: 480px; margin: 0 auto;}
    .hero-watermark { font-size: clamp(120px, 22vw, 200px); bottom: 20%; }
    .hero-orb--2 { right: -10%; opacity: .45; }
    .about-grid,
    .booking-grid,
    .location-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .field-row { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .stat strong { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-images { grid-template-rows: 180px 180px; }
    .gallery-block-head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .gallery-grid--salon { grid-template-columns: 1fr; }
    .hero { padding-top: 100px; }
    .hero-grid { display: none; }
    .hero-pin { right: 0; max-width: 200px; font-size: 11px; }
    .hero-badge { left: -8px; }
    .hero-scroll { display: none; }
    .hero h1 .bottom { margin-left: 32px; }
}
@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .hero-meta-divider { display: none; }
    .hero-meta { gap: 18px; }
    .hero-orb--3 { display: none; }
    .hero-watermark { font-size: 30vw; }
    .hero-pin { display: none; }
    .hero-badge { padding: 10px 14px; }
    .hero-badge-text strong { font-size: 12px; }
    .hero-badge-text span { font-size: 10px; }
}

/* Пользователь предпочитает уменьшенные движения */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ----- Доработки под ТЗ: подписи фото, запись, контакты ----- */
.about-img { position: relative; }
.about-img::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(37, 31, 29, .52), transparent);
    pointer-events: none;
}
.about-img-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0,0,0,.28);
}
.booking-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 4vw, 52px);
    box-shadow: var(--shadow);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.booking-card h3 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 300;
    letter-spacing: -.04em;
}
.booking-card p {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.75;
    margin: 0;
    max-width: 42ch;
}
.booking-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.contacts { background: var(--bg); }
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}
.contact-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    min-height: 128px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-tile:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.contact-tile span {
    font-size: 12px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .12em;
}
.contact-tile strong {
    font-size: 17px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
@media (max-width: 720px) {
    .booking-card-actions { flex-direction: column; }
    .booking-card-actions .btn { width: 100%; }
    .contacts-grid { grid-template-columns: 1fr; }
}
.location-map .map-frame {
    width: 100%;
    min-height: 420px;
    height: 100%;
    border: 0;
    display: block;
}
@media (max-width: 720px) {
    .location-map .map-frame { min-height: 320px; }
}

/* ----- Доработка: 4 фото на первом экране и 6 фото в блоке «О студии» ----- */
.hero-photo--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, .58);
    backdrop-filter: blur(12px);
}
.hero-photo--grid::after {
    display: none;
}
.hero-photo-tile {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 14px);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}
.hero-photo-tile img,
.hero-photo-tile .placeholder-tile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-photo-tile::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 48%;
    background: linear-gradient(to top, rgba(43, 26, 34, .58), transparent);
    pointer-events: none;
}
.hero-photo-label {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 13px;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .34);
}
.about-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(180px, 1fr));
}
.about-img:nth-child(1),
.about-img:nth-child(2),
.about-img:nth-child(3),
.about-img:nth-child(4),
.about-img:nth-child(5),
.about-img:nth-child(6) {
    grid-row: auto;
    transform: none;
}
.about-img:nth-child(1) {
    grid-row: span 2;
}
.about-img:nth-child(4) {
    grid-column: span 2;
}
@media (max-width: 720px) {
    .hero-photo--grid {
        gap: 10px;
        padding: 10px;
    }
    .hero-photo-label,
    .about-img-label {
        left: 12px;
        right: 12px;
        bottom: 12px;
        font-size: 11px;
        letter-spacing: .06em;
    }
    .about-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, 190px);
    }
    .about-img:nth-child(1),
    .about-img:nth-child(4) {
        grid-row: auto;
        grid-column: auto;
    }
}
@media (max-width: 480px) {
    .hero-photo--grid {
        gap: 8px;
        padding: 8px;
    }
    .hero-photo-tile {
        border-radius: calc(var(--radius) - 4px);
    }
    .about-images {
        grid-template-rows: repeat(3, 170px);
        gap: 12px;
    }
}
