/* HomeStudio — чёрный + нежно-розовый. Светлые секции по умолчанию, тёмные — класс .theme-dark */
:root {
  --bg: #f3f0f1;
  --bg-alt: #f3f0f1;
  --surface: #ffffff;
  --text: #141414;
  --muted: #6b6266;
  --line: rgba(20, 20, 20, .1);
  --pink: #e8bac9;
  --pink-strong: #d995ae;
  --pink-soft: rgba(232, 186, 201, .28);
  --accent: #c9708f;            /* розовый для текста на светлом фоне */
  --em: #d47f9f;
  --display: "Onest", system-ui, sans-serif;
  --serif: var(--display);
  --sans: "Onest", system-ui, sans-serif;
  --radius: 16px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.theme-dark {
  --bg: #111111;
  --bg-alt: #181818;
  --surface: #1e1e1e;
  --text: #f6f0f2;
  --muted: #a99ea2;
  --line: rgba(255, 255, 255, .12);
  --accent: #e8bac9;
  --em: #e8bac9;
  background: var(--bg); color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: normal; color: var(--em); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 24px; height: 24px; }
.icon--pink { color: var(--accent); }
.icon--pink use { fill: currentColor; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 6px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 32px; font-size: 16px; }
.btn--pink { background: var(--pink); color: #141414; }
.btn--pink:hover { background: #f0cdd8; }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { border: 1px solid var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--light { background: var(--text); color: var(--bg); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.round-btn {
  width: 48px; height: 48px; border-radius: 6px; border: 1px solid var(--line);
  display: grid; place-items: center; transition: .3s;
}
.round-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  font-family: "Playfair Display", Georgia, serif; font-size: 34px; line-height: 1; letter-spacing: -.02em;
  padding-right: 10px; border-right: 1px solid currentColor;
}
.logo__sub { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; line-height: 1.5; color: var(--muted); }

/* ---------- Шапка ---------- */
.header {
  background: #111111;
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__list { display: flex; gap: 30px; }
.nav__list a { font-size: 14px; color: var(--muted); transition: color .2s; position: relative; }
.nav__list a:hover { color: var(--text); }
.nav__phone { display: none; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.header__phone .icon { color: var(--accent); }
.burger { display: none; }
.burger__close { display: none; }
.header__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--pink-strong), var(--pink));
  transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ---------- Eyebrow / заголовки ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow__line { width: 36px; height: 1px; background: var(--accent); }
.eyebrow__num { color: var(--accent); font-weight: 700; }

.section { padding: 120px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 56px; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.01em; max-width: 780px; }
.section__note { max-width: 400px; color: var(--muted); font-size: 15px; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100vh, 900px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 80px) 0 80px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: .7; transform: scale(1.04); animation: heroZoom 14s ease-out forwards; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, .85) 0%, rgba(17, 17, 17, .55) 55%, rgba(17, 17, 17, .25) 100%),
              linear-gradient(0deg, rgba(17, 17, 17, .75) 0%, transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; width: min(1200px, 100% - 40px); }
.hero__content { max-width: 760px; }
.hero__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 78px); line-height: .98; letter-spacing: -.015em; }
.hero__title em { color: var(--pink); }
.hero__lead { margin-top: 26px; font-size: 18px; color: rgba(246, 240, 242, .78); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero__actions .btn--ghost { border-color: rgba(255, 255, 255, .35); }
.hero__card {
  flex: none; width: 320px; padding: 26px 26px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
}
.hero__card-rating { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hero__card-rating b { font-size: 52px; font-weight: 800; line-height: 1; color: var(--pink); }
.hero__card-rating span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.hero__trust { display: grid; gap: 12px; margin-top: 18px; font-size: 14px; color: rgba(246, 240, 242, .85); }
.hero__trust li { display: flex; align-items: center; gap: 10px; }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--pink); color: #141414; overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: #141414; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Факты ---------- */
.facts { padding: 70px 0; }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.facts__list li { padding: 0 28px; border-left: 1px solid var(--line); }
.facts__list li:first-child { border: 0; padding-left: 0; }
.facts__num { display: block; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1.1; color: var(--accent); }
.facts__num small { font-size: 22px; color: var(--muted); }
.facts__text { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; max-width: 220px; }

/* ---------- Табы и прайс ---------- */
.tabs__list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tabs__tab {
  height: 44px; padding: 0 20px; border-radius: 6px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--muted); transition: .25s;
}
.tabs__tab:hover { color: var(--text); border-color: var(--text); }
.tabs__tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.tabs__panel { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

.price-list { border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: 1fr 110px 140px; gap: 24px; align-items: center;
  padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s;
}
.price-row:hover { background: var(--pink-soft); padding-inline: 18px; }
.price-row h3 { font-size: 18px; font-weight: 500; }
.price-row p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.price-row__time { color: var(--muted); font-size: 14px; }
.price-row__price { text-align: right; font-family: var(--display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.price-row--accent .price-row__price { color: var(--accent); }
.services__more {
  margin-top: 40px; padding: 28px 32px; border-radius: var(--radius); background: var(--surface);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.services__more p { color: var(--muted); }

/* ---------- Мастера ---------- */
.masters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.master { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.master__photo { aspect-ratio: 1 / 1.1; overflow: hidden; }
.master__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.25); }
.master:hover .master__photo img { transform: scale(1.05); filter: none; }
.master__body { padding: 22px 22px 26px; }
.master h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; letter-spacing: -.01em; }
.master__role { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 2.6em; }
.master__rating { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-top: 10px; }
.master__rating .icon { width: 16px; height: 16px; }
.master__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--accent); font-weight: 600; font-size: 14px; }
.master__link:hover .icon { transform: translateX(4px); }
.master__link .icon { transition: transform .3s; }

/* ---------- Работы ---------- */
.filter { display: flex; gap: 8px; margin-bottom: 28px; }
.filter__btn { height: 40px; padding: 0 20px; border-radius: 6px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: .25s; }
.filter__btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.works { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; grid-auto-flow: dense; }
.works__item { aspect-ratio: 1; border-radius: 16px; overflow: hidden; transition: opacity .35s, transform .35s; }
.works__item--big { grid-column: span 2; grid-row: span 2; }
.works__item.is-hidden { display: none; }
.works__item button { width: 100%; height: 100%; display: block; position: relative; cursor: zoom-in; }
.works__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.works__item button::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(232, 186, 201, .45));
  opacity: 0; transition: opacity .4s;
}
.works__item:hover img { transform: scale(1.06); }
.works__item:hover button::after { opacity: 1; }

/* ---------- Студия ---------- */
.studio__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.studio__text > p { color: var(--muted); margin-top: 24px; max-width: 460px; }
.studio__list { margin-top: 30px; display: grid; gap: 14px; }
.studio__list li { display: flex; gap: 12px; align-items: center; }
.studio__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.studio__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.studio__photos img:nth-child(1) { border-radius: 160px 160px 16px 16px; }
.studio__photos img:nth-child(even) { transform: translateY(40px); }

/* ---------- Отзывы ---------- */
.reviews { position: relative; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; background: var(--surface); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 20px;
  border: 1px solid transparent; transition: border-color .3s;
}
.review:hover { border-color: var(--pink-strong); }
.review__stars { color: var(--accent); letter-spacing: 4px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; flex: 1; }
.review__meta { font-size: 13px; color: var(--muted); }
.review__meta b { color: var(--text); font-weight: 600; }
.reviews__nav { display: flex; gap: 10px; margin-top: 28px; }

/* ---------- CTA ---------- */
.cta { padding: 100px 0; }
.cta__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: 80px 30px; border-radius: 36px;
  background: var(--pink); color: #141414;
}
.cta__icon { width: 40px; height: 40px; color: #141414; margin: 0 auto 22px; display: block; }
.cta__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.02; }
.cta__title em { color: #fff; }
.cta__inner > p { color: #3d3236; margin: 18px auto 0; max-width: 480px; }
.cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: stretch; }
.contacts__list { margin: 36px 0; display: grid; gap: 18px; }
.contacts__list div { display: grid; grid-template-columns: 110px 1fr; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contacts__list dt { color: var(--muted); font-size: 14px; }
.contacts__list dd { margin: 0; }
.contacts__list a { transition: color .2s; }
.contacts__list a:hover { color: var(--accent); }
.contacts__map { border-radius: var(--radius); overflow: hidden; min-height: 440px; background: var(--surface); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.55); }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 14px; }
.footer__insta { color: var(--muted); transition: color .2s; }
.footer__insta:hover { color: var(--accent); }

/* ---------- Мобильная плашка ---------- */
.sticky-cta { display: none; }

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92);
  display: grid; place-items: center; padding: 60px 80px; animation: fadeIn .3s;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-height: 86vh; max-width: 100%; border-radius: 12px; }
.lightbox .round-btn { position: absolute; background: rgba(0, 0, 0, .5); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Анимации появления ---------- */
.fade { opacity: 0; transform: translateY(24px); animation: heroIn 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.studio__photos img.reveal:nth-child(even).is-in { transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade, .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .header__phone span { display: none; }
  .nav__list { gap: 22px; }
  .masters { grid-template-columns: repeat(2, 1fr); }
  .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; }
  .header__phone { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--bg);
    padding: 40px 20px; display: flex; flex-direction: column; gap: 30px;
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 28px; color: var(--text); display: block; padding: 6px 0; }
  .nav__phone { display: block; color: var(--accent); font-size: 20px; font-weight: 600; }
  .header.menu-open { background: var(--bg); }
  .header.menu-open .burger__open { display: none; }
  .header.menu-open .burger__close { display: block; }

  .hero { padding-top: calc(var(--header-h) + 60px); min-height: auto; }
  .hero__inner { flex-direction: column; align-items: stretch; }
  .hero__card { width: 100%; max-width: 420px; }
  .facts__list { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .facts__list li:nth-child(3) { border: 0; padding-left: 0; }
  .section { padding: 84px 0; }
  .studio__grid, .contacts { grid-template-columns: 1fr; gap: 50px; }
  .works { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .container { width: calc(100% - 32px); }
  .header__actions .btn--pink { display: none; }
  .hero__title { font-size: 36px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero { padding-bottom: 50px; }
  .hero__bg img { object-position: 20% 50%; }
  .hero__inner { width: calc(100% - 32px); }
  .marquee span { font-size: 18px; }
  .facts { padding: 50px 0; }
  .facts__list li { padding: 0 16px; }
  .facts__num { font-size: 34px; }
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { flex: none; }
  .price-row { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 4px; }
  .price-row:hover { padding-inline: 4px; }
  .price-row__time { grid-row: 2; }
  .price-row__price { grid-row: 1 / span 2; grid-column: 2; font-size: 19px; }
  .price-row h3 { font-size: 16px; }
  .services__more { padding: 24px; }
  .services__more .btn { width: 100%; }
  .masters { gap: 14px; }
  .master__body { padding: 16px 14px 20px; }
  .master h3 { font-size: 19px; }
  .master__role { font-size: 13px; }
  .works { gap: 8px; }
  .works__item { border-radius: 12px; }
  .studio__photos img:nth-child(even), .studio__photos img.reveal:nth-child(even).is-in { transform: translateY(24px); }
  .reviews__track { grid-auto-columns: 86%; gap: 14px; }
  .review { padding: 26px 22px; }
  .review blockquote { font-size: 16px; }
  .cta__inner { padding: 56px 22px; border-radius: 26px; }
  .cta__actions .btn { width: 100%; }
  .contacts__list div { grid-template-columns: 90px 1fr; }
  .contacts__map, .contacts__map iframe { min-height: 340px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .lightbox { padding: 60px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .sticky-cta {
    display: flex; gap: 10px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(17, 17, 17, .92); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .sticky-cta .btn--light { width: 50px; padding: 0; flex: none; }
  .sticky-cta .btn--pink { flex: 1; }
}


/* Кнопки на розовом фоне блока записи */
.cta .btn--pink { background: #141414; color: #fff; }
.cta .btn--pink:hover { background: #2a2a2a; }
.cta .btn--light { background: #fff; color: #141414; }

/* Белые карточки на светлых блоках, как в референсе */
.tabs { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.price-list { border-top-color: var(--line); }
.price-row:last-child { border-bottom: 0; }
.services__more { background: #141414; color: #f6f0f2; }
.services__more p { color: #a99ea2; }
.services__more .btn--outline { border-color: var(--pink); color: var(--pink); }
.services__more .btn--outline:hover { background: var(--pink); color: #141414; }
@media (max-width: 600px) {
  .tabs { padding: 20px 16px; margin-inline: -4px; }
  .tabs__list { margin-inline: -16px; padding-inline: 16px; }
}
@media (max-width: 600px) {
  .hero__bg::after { background: linear-gradient(0deg, rgba(17, 17, 17, .9) 0%, rgba(17, 17, 17, .6) 60%, rgba(17, 17, 17, .45) 100%); }
}

/* ---------- Отзывы (сетка карточек) ---------- */
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.rv-badge {
  display: flex; align-items: center; gap: 18px; padding: 20px 28px;
  background: var(--surface); border-radius: 22px;
}
.rv-badge b { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.rv-badge span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.rv-badge i { font-style: normal; color: var(--pink-strong); letter-spacing: 4px; font-size: 15px; }
.rv-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.rv-filter__btn {
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 15px; font-weight: 500; transition: .25s;
}
.rv-filter__btn:hover { border-color: var(--text); }
.rv-filter__btn.is-active { background: var(--text); color: #fff; border-color: var(--text); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--pink); }
.rgrid { columns: 3; column-gap: 24px; }
.rcard {
  break-inside: avoid; margin-bottom: 24px; padding: 32px;
  background: var(--surface); border-radius: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.rcard--pink { background: #f6dce4; }
.rcard--beige { background: #ebe4df; }
.rcard__head { display: flex; align-items: center; gap: 16px; }
.rcard__avatar {
  width: 54px; height: 54px; flex: none; border-radius: 50%; background: #141414; color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 20px;
}
.rcard__name { font-weight: 600; font-size: 18px; }
.rcard__date { font-size: 14px; color: var(--muted); margin-top: 2px; }
.rcard__stars { color: var(--pink-strong); letter-spacing: 5px; font-size: 14px; }
.rcard__text { font-size: 17px; line-height: 1.6; }
.rcard__meta { padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rcard__meta b { color: var(--text); font-weight: 700; }
.rcard.is-hidden { display: none; }
@media (max-width: 1080px) { .rgrid { columns: 2; } }
@media (max-width: 600px) {
  .rgrid { columns: 1; }
  .rcard { padding: 24px; border-radius: 22px; margin-bottom: 14px; }
  .rcard__text { font-size: 16px; }
  .rv-badge { padding: 16px 20px; }
  .rv-badge b { font-size: 40px; }
  .rv-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 6px; scrollbar-width: none; }
  .rv-filter::-webkit-scrollbar { display: none; }
  .rv-filter__btn { flex: none; height: 44px; padding: 0 18px; font-size: 14px; }
}
.rv-badge { transition: transform .3s var(--ease); } .rv-badge:hover { transform: translateY(-2px); }

/* Временно: ссылки отключены до подключения (адрес лежит в data-href) */
a[aria-disabled="true"] { pointer-events: none; cursor: default; }
