/* Catalogue page: dark gallery of salon demos. */
:root {
  --bg: #0f0e11;
  --surface: #17151a;
  --surface-2: #211e25;
  --ink: #f3f0f6;
  --muted: #a29cab;
  --line: #2c2932;
  --accent: #f0b8a8;
  --accent-ink: #1c1215;
  --display: Unbounded, 'Arial Black', sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.i { width: 18px; height: 18px; flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 20px; text-decoration: none; display: flex; align-items: baseline; gap: 10px; margin-right: auto; }
.brand span { font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--muted); }
.top nav { display: flex; gap: 22px; }
.top nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav { display: none; } .brand span { display: none; } }

/* intro */
.intro { padding-block: 64px 40px; display: flex; flex-direction: column; gap: 20px; }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.intro h1 { font-size: clamp(34px, 5.4vw, 64px); max-width: 16em; }
.intro__lead { font-size: 18px; color: var(--muted); max-width: 40em; }
.intro__facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.intro__facts li { display: flex; flex-direction: column; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-width: 150px; }
.intro__facts b { font-family: var(--display); font-weight: 500; font-size: 20px; font-variant-numeric: tabular-nums; }
.intro__facts span { font-size: 13px; color: var(--muted); }

/* filters */
.filters { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 28px; }
.filter { display: flex; gap: 16px; align-items: baseline; }
.filter__label { width: 64px; flex: none; font-size: 14px; color: var(--muted); }
.filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 14px; cursor: pointer; transition: background-color .15s, color .15s;
}
.chip span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: color-mix(in srgb, var(--bg) 60%, transparent); }
@media (max-width: 640px) {
  .filter { flex-direction: column; gap: 8px; }
  .filter__chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .chip { flex: none; }
}
.empty { padding: 40px 0; color: var(--muted); text-align: center; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 16px; }
.card__shot {
  position: relative; display: block;
  aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.card__desk { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.card__shot:hover .card__desk { transform: scale(1.03); }
.card__mob {
  position: absolute; right: 14px; bottom: 14px;
  width: 28%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top;
  border-radius: 14px; border: 3px solid #0b0a0c;
  box-shadow: 0 18px 36px -12px rgb(0 0 0 / .7);
}
.card__open {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgb(15 14 17 / .82); color: #fff;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card__open .i { width: 14px; height: 14px; }
.card__body { display: flex; flex-direction: column; gap: 6px; }
.card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__title h2 { font-size: 19px; }
.tag { flex: none; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.card__meta { font-size: 13px; color: var(--muted); }
.card__pitch { font-size: 15px; color: color-mix(in srgb, var(--ink) 82%, transparent); }

/* blocks */
.block { padding-block: 96px 0; display: flex; flex-direction: column; gap: 14px; }
.block > h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 20px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feature { background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--accent); margin-bottom: 6px; }
.feature h3 { font-size: 17px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); color: var(--accent); font-size: 14px; }
.steps b { font-size: 18px; }
.steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.plan--featured { border-color: var(--accent); }
.plan__badge { position: absolute; top: -12px; left: 22px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 18px; }
.plan__price { font-family: var(--display); font-size: 32px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan__days { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; }
.plan li .i { color: var(--accent); margin-top: 3px; width: 16px; height: 16px; }
.plans__note { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.cta { margin-block: 110px 0; padding: 56px 40px; border-radius: 24px; background: linear-gradient(135deg, #2a1d22, #17151a 70%); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta h2 { font-size: clamp(28px, 3.8vw, 44px); }
.cta p { color: var(--muted); max-width: 40em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 560px) { .cta { padding: 36px 22px; } .cta__actions .btn { flex: 1 1 100%; } }

.foot { margin-top: 80px; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: 13px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: min(92vw, 440px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 560px) {
  .intro { padding-block: 40px 28px; }
  .intro__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .intro__facts li { min-width: 0; padding: 10px 12px; }
  .intro__facts b { font-size: 15px; white-space: nowrap; }
  .intro__facts span { font-size: 12px; }
}
