/* A «Сцена»: тёплый свет в темноте. Forum — антиква с ар-деко характером, Tenor Sans — подписи с разрядкой, как «САЛОН КРАСОТЫ» в логотипе. */
:root { --f-display: 'Forum', serif; --f-text: 'Tenor Sans', sans-serif; --ls-display: .01em; }
:root[data-theme="dark"] {
  --bg: #0d0b0a; --surface: #15120f; --fg: #efe7dc; --muted: #9a8f82; --accent: #c9a27e; --on-accent: #0d0b0a;
  --line: rgba(239,231,220,.12); --line-strong: rgba(239,231,220,.28);
  --w-bg: #050404; --w-fg: #f3ece2; --w-ov: linear-gradient(90deg, rgba(5,4,4,.85), rgba(5,4,4,.35) 45%, rgba(5,4,4,.85));
  --map-filter: grayscale(1) invert(.92) contrast(.9);
}
:root[data-theme="light"] {
  --bg: #f4efe8; --surface: #ece5db; --fg: #1b1714; --muted: #7a6f63; --accent: #9b7350; --on-accent: #fff;
  --line: rgba(27,23,20,.12); --line-strong: rgba(27,23,20,.3);
  --w-bg: #efe8de; --w-fg: #1b1714; --w-ov: linear-gradient(90deg, rgba(244,239,232,.9), rgba(244,239,232,.35) 45%, rgba(244,239,232,.9));
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }

/* Приветствие */
.welcome { display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 4vw, 44px) clamp(16px, 5vw, 64px); }
.w-photo { position: absolute; inset: 0; z-index: -1; }
.w-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.6) contrast(1.05);
  animation: breathe 18s ease-in-out infinite alternate; }
.w-photo::after { content: ''; position: absolute; inset: 0; background: var(--w-ov); }
@keyframes breathe { to { transform: scale(1.06); } }
.w-top { display: flex; justify-content: space-between; align-items: center; }
.w-kicker { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; opacity: .8; }
.w-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.w-left { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .2em; opacity: .7; }
.w-left i { width: clamp(40px, 10vw, 130px); height: 1px; background: currentColor; }
.w-logo { margin: 0; } .w-logo .logo { width: clamp(240px, 38vw, 520px); }
.w-enter { justify-self: end; display: flex; align-items: center; gap: 16px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.w-enter i { width: clamp(40px, 10vw, 130px); height: 1px; background: currentColor; transform-origin: right; transition: transform .5s; }
.w-enter span { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.w-enter:hover i { transform: scaleX(1.25); }
.w-bottom { display: flex; justify-content: space-between; align-items: end; gap: 20px; font-size: 12px; letter-spacing: .12em; }
.w-social { display: flex; gap: 22px; } .w-addr { text-align: right; line-height: 1.9; opacity: .85; }
@media (max-width: 760px) {
  .w-mid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 40px; }
  .w-left { display: none; } .w-enter { justify-self: center; }
  .w-bottom { flex-direction: column-reverse; align-items: center; text-align: center; } .w-addr { text-align: center; }
  .w-kicker { display: none; }
}

/* Переход: свет гаснет, кадр уходит в глубину, логотип поднимается */
body.entering .w-photo img { animation: none; transform: scale(1.25); filter: brightness(0) saturate(.6); transition: transform 1.4s cubic-bezier(.6,0,.2,1), filter 1.2s .1s; }
body.entering .w-logo { transform: translateY(-40px); opacity: 0; transition: transform 1s cubic-bezier(.6,0,.2,1), opacity .8s .2s; }
body.entering .w-top, body.entering .w-bottom, body.entering .w-left, body.entering .w-enter { opacity: 0; transition: opacity .5s; }
body.entering .welcome { opacity: 0; transition: opacity .4s 1.1s; }
body.entering .hero-text > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
body.entering .hero-text > :nth-child(2) { animation-delay: .1s } body.entering .hero-text > :nth-child(3) { animation-delay: .2s }
body.entering .hero-text > :nth-child(4) { animation-delay: .3s }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Первый экран сайта */
.hdr .logo { width: 110px; height: 42px; }
.hero { padding: clamp(40px, 8vw, 100px) 0 40px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-h { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 8vw, 104px); line-height: .95; margin: 0 0 26px; text-transform: uppercase; }
.hero-p { max-width: 44ch; color: var(--muted); font-size: 17px; margin: 0 0 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-rating { margin-top: 30px; font-size: 13px; color: var(--muted); } .hero-rating b { font-family: var(--f-display); font-size: 22px; color: var(--accent); font-weight: 400; }
.hero-media { position: relative; aspect-ratio: 1 / 1.05; }
.hm { position: absolute; overflow: hidden; }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm1 { inset: 0 18% 8% 0; } .hm2 { width: 42%; aspect-ratio: 3/4; right: 0; bottom: 0; border: 8px solid var(--bg); }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } }

.blk-alt { background: var(--surface); }
.svc-tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.h2 { text-transform: uppercase; }
