/* ============================================================
   АНЬ-МО — spa noir luxury theme · 2026
   ============================================================ */

:root {
  --bg:        #0a0806;
  --bg-2:      #120d0a;
  --bg-3:      #1b1310;
  --ink:       #f4ebdd;
  --ink-soft:  #d8cbb9;
  --muted:     #9c8c7c;
  --muted-2:   #6f6358;
  --wine:      #7a2435;
  --wine-2:    #a8324a;
  --gold:      #d8b876;
  --gold-2:    #c39a52;
  --gold-soft: rgba(216,184,118,.16);
  --line:      rgba(216,184,118,.14);
  --line-2:    rgba(216,184,118,.28);

  --shadow:    0 30px 80px -30px rgba(0,0,0,.85);
  --ease:      cubic-bezier(.16,.84,.34,1);

  --serif: "Playfair Display", "Times New Roman", serif;
  --sans:  "Manrope", system-ui, sans-serif;

  --maxw: 1280px;
  --pad: clamp(1.2rem, 5vw, 6rem);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; }
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: clamp(1rem, .55vw + .9rem, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--gold); color: #1a120a; }

/* ---------- atmospheric backdrop ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(122,36,53,.30), transparent 60%),
    radial-gradient(900px 700px at 8% 102%, rgba(216,184,118,.07), transparent 55%),
    var(--bg);
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */
h1,h2,h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.04; letter-spacing: -.01em; }
.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 2.4em; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.lead { font-size: clamp(1.05rem, 1.2vw + .8rem, 1.3rem); color: var(--ink-soft); max-width: 56ch; }
.serif-accent { font-family: var(--serif); font-style: italic; color: var(--gold); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; padding-block: clamp(4.5rem, 9vw, 9rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); margin-block: 1rem .8rem; }
.divider-num { font-family: var(--serif); font-style: italic; color: var(--muted-2); font-size: .95rem; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .08s; }
[data-reveal].d2 { transition-delay: .16s; }
[data-reveal].d3 { transition-delay: .24s; }
[data-reveal].d4 { transition-delay: .32s; }

/* ---------- buttons ---------- */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1.02em 2em; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .4s var(--ease), background .4s, color .4s, box-shadow .4s;
  position: relative; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1208; box-shadow: 0 14px 34px -12px rgba(216,184,118,.6); }
.btn-gold:hover { box-shadow: 0 20px 44px -12px rgba(216,184,118,.75); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--gold-soft); border-color: var(--gold); }
.btn svg { width: 1.05em; height: 1.05em; }

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.1rem var(--pad);
  transition: background .5s var(--ease), backdrop-filter .5s, padding .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(10,8,6,.78); backdrop-filter: blur(16px) saturate(1.3);
  padding-block: .7rem; border-bottom-color: var(--line);
}
.brand { display: flex; align-items: baseline; gap: .55rem; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); letter-spacing: .04em; }
.brand b { font-weight: 700; }
.brand .cn { font-size: .85em; color: var(--gold); }
.brand small { font-family: var(--sans); font-size: .5rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); align-self: center; }

.nav { display: flex; align-items: center; gap: clamp(1rem,1.8vw,1.9rem); }
.nav a { font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); position: relative; padding-block: .3rem; transition: color .3s; }
.nav a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--gold); transition: width .35s var(--ease); }
.nav a:hover { color: var(--ink); } .nav a:hover::after { width: 100%; }

.head-actions { display: flex; align-items: center; gap: 1rem; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang button { padding: .38em .85em; font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #1a1208; }
.lang a { padding: .38em .85em; font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); transition: background .3s, color .3s; display:inline-flex; align-items:center; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--gold); color: #1a1208; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; }
.menu-toggle span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100svh; display: grid; align-items: center; padding-top: 7rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after { content:""; position:absolute; inset:0; background:
  linear-gradient(180deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,.35) 40%, rgba(10,8,6,.92) 100%),
  linear-gradient(90deg, rgba(10,8,6,.8), transparent 55%); }
.hero .wrap { width: 100%; }
.hero-inner { max-width: 50rem; }
.hero h1 { font-size: clamp(4rem, 16vw, 12rem); font-weight: 700; line-height: .82; letter-spacing: -.02em; }
.hero h1 .ru { display: block; }
.hero h1 .sub-cn { display:block; font-size: .14em; letter-spacing: .5em; color: var(--gold); font-weight: 400; margin-top: 1.4rem; -webkit-text-fill-color: var(--gold); }
.hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem,3vw,2.1rem); color: var(--ink); margin: 1.6rem 0 1.2rem; max-width: 30ch; }
.hero-desc { max-width: 44ch; color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; align-items: center; }
.price-chip { display:inline-flex; align-items:center; gap:.5em; padding:.6em 1.1em; border:1px solid var(--line-2); border-radius:999px; font-size:.8rem; letter-spacing:.06em; color:var(--ink); }
.price-chip b { color: var(--gold); font-family: var(--serif); font-size: 1.15em; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display:flex; flex-direction:column; align-items:center; gap:.6rem; }
.hero-scroll span { width:1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0%{transform:scaleY(0)} 40%{transform:scaleY(1)} 100%{transform:scaleY(0); transform-origin:bottom} }

.badge18 { position:absolute; top: 6.5rem; right: var(--pad); z-index:5; width:42px; height:42px; border-radius:50%; border:1.5px solid var(--wine-2); color:var(--wine-2); display:grid; place-items:center; font-size:.7rem; font-weight:800; letter-spacing:.02em; background: rgba(10,8,6,.4); }

/* ============================================================
   ABOUT / PHILOSOPHY
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.split.rev { direction: rtl; } .split.rev > * { direction: ltr; }
.media { position: relative; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.media::after { content:""; position:absolute; inset:0; border:1px solid var(--line); border-radius:4px; pointer-events:none; }
.media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.4s var(--ease); }
.media:hover img { transform: scale(1.05); }
.media.tall img { aspect-ratio: 3/4; }
.about p + p { margin-top: 1.1rem; }
.about h2 { font-size: clamp(2rem,4vw,3.4rem); margin: 1rem 0 1.4rem; }

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; margin-top: clamp(3rem,5vw,4.5rem); overflow: hidden; }
.stat { background: var(--bg-2); padding: 1.8rem 1.4rem; text-align: center; }
.stat b { display:block; font-family: var(--serif); font-size: clamp(2rem,4vw,3rem); color: var(--gold); line-height:1; }
.stat span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; display:block; }

/* ============================================================
   SERVICES (cards)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.2rem; }
.card {
  position: relative; padding: 2.2rem 1.9rem; border: 1px solid var(--line);
  border-radius: 4px; background: linear-gradient(180deg, var(--bg-2), var(--bg));
  transition: transform .5s var(--ease), border-color .5s, background .5s;
  overflow: hidden;
}
.card::before { content:""; position:absolute; inset:0 0 auto 0; height:2px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card:hover::before { transform: scaleX(1); }
.card .ico { width: 46px; height: 46px; color: var(--gold); margin-bottom: 1.3rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--muted); }

/* ============================================================
   PROGRAMS
   ============================================================ */
.filters { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom: 2rem; }
.filters button {
  padding:.55em 1.1em; border:1px solid var(--line-2); border-radius:999px;
  font-size:.76rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color: var(--muted); transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { color: var(--ink); border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--gold); color:#1a1208; border-color: var(--gold); }

.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1px; background: var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden; }
.prog {
  background: var(--bg-2); padding: 1.7rem 1.7rem 1.8rem; display:flex; flex-direction:column; gap:.55rem;
  transition: background .4s, transform .4s; position: relative; min-height: 168px;
}
.prog:hover { background: var(--bg-3); }
.prog-top { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; }
.prog i { font-family: var(--serif); font-style: italic; color: var(--muted-2); font-size: .9rem; }
.prog .cat { font-size:.64rem; letter-spacing:.16em; text-transform:uppercase; color: var(--gold); border:1px solid var(--line-2); border-radius:999px; padding:.3em .7em; white-space:nowrap; }
.prog b { font-weight: 600; color: var(--ink); font-size: 1.28rem; font-family: var(--serif); line-height:1.15; }
.prog p { font-size: .9rem; color: var(--muted); line-height:1.5; }
.prog[hidden] { display:none; }
.note { margin-top: 1.6rem; font-size: .88rem; color: var(--muted); }

/* ============================================================
   FEATURE (thai / barrel)
   ============================================================ */
.feature { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,5rem); align-items:center; }
.feature .media img { aspect-ratio: 4/3; }
.feature ul { list-style:none; margin-top: 1.6rem; display:grid; gap: .9rem; }
.feature li { display:flex; gap:.9rem; align-items:flex-start; font-size:.98rem; }
.feature li svg { flex:none; width:1.3em; height:1.3em; color: var(--gold); margin-top:.15em; }

/* ============================================================
   MASTERS
   ============================================================ */
.masters { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 1.3rem; }
.master {
  border:1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-2);
  display:flex; flex-direction:column; transition: transform .5s var(--ease), border-color .5s;
}
.master:hover { transform: translateY(-6px); border-color: var(--line-2); }
.master .ph { position: relative; aspect-ratio: 3/4; overflow:hidden; background: var(--bg-3); }
.master .ph img { width:100%; height:100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transition: transform 1.2s var(--ease); }
.master:hover .ph img { transform: scale(1.06); }
.master .ph::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(10,8,6,.7)); }
.master .ph .name { position:absolute; inset:auto 0 0 0; padding: 1rem 1.2rem; z-index:2; display:flex; align-items:baseline; gap:.6rem; }
.master .ph .name b { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); line-height:1; }
.master .ph .name em { font-style:normal; font-size:.8rem; color: var(--gold); }
.master .body { padding: 1.1rem 1.2rem 1.3rem; display:flex; flex-direction:column; gap:.9rem; }
.params { display:grid; grid-template-columns: repeat(2,1fr); gap:1px; background: var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden; }
.params div { background: var(--bg); padding:.55rem .7rem; }
.params .k { font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color: var(--muted-2); display:block; }
.params .v { font-size:.98rem; color: var(--ink); font-family: var(--serif); }
.master .bio { font-size:.88rem; color: var(--muted); line-height:1.55; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { columns: 3; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin-bottom: 1rem; border-radius: 4px; overflow: hidden; position: relative; }
.gallery img { width: 100%; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.gallery figure:hover img { transform: scale(1.05); filter: saturate(1.05); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; text-align: center; overflow: hidden; }
.cta-band .bg { position:absolute; inset:0; z-index:-1; }
.cta-band .bg img { width:100%; height:100%; object-fit:cover; opacity:.5; }
.cta-band .bg::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at center, rgba(10,8,6,.4), rgba(10,8,6,.92)); }
.cta-band h2 { font-size: clamp(2.4rem,6vw,5rem); }
.cta-band .price-big { font-family: var(--serif); font-size: clamp(3rem,9vw,7rem); color: var(--gold); line-height:1; margin: 1rem 0; }
.cta-band .price-big small { font-size: .26em; color: var(--ink-soft); letter-spacing:.1em; }

/* ============================================================
   CONTACTS
   ============================================================ */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items:start; }
.info-list { display:grid; gap: 1.5rem; margin-top: 2rem; }
.info-item { display:grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.info-item svg { width: 1.5rem; height:1.5rem; color: var(--gold); margin-top:.2rem; }
.info-item .k { font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; color: var(--muted); }
.info-item .v { font-size: 1.05rem; color: var(--ink); }
.info-item .v a:hover { color: var(--gold); }
.map-wrap { border-radius:4px; overflow:hidden; border:1px solid var(--line); min-height: 420px; height: 100%; }
.map-wrap iframe { width:100%; height:100%; min-height:420px; border:0; filter: grayscale(.35) brightness(.92) contrast(1.05); }
.map-wrap { background: var(--bg-3); position: relative; }
.map-wrap::before { content: "ул. Бориса Галушкина, 14 · м. Алексеевская"; position:absolute; inset:auto 0 0 0; z-index:0; padding:1rem; text-align:center; font-size:.8rem; color:var(--muted-2); }

.bform { display:grid; gap: 1rem; margin-top: 1.8rem; }
.bform .row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.bform input, .bform select, .bform textarea {
  width:100%; padding: .95em 1.1em; background: var(--bg-2); border:1px solid var(--line); border-radius:4px;
  color: var(--ink); font: inherit; font-size:.95rem; transition: border-color .3s, background .3s;
}
.bform input:focus, .bform select:focus, .bform textarea:focus { outline:none; border-color: var(--gold); background: var(--bg-3); }
.bform label { font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); margin-bottom:.4rem; display:block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { border-top: 1px solid var(--line); padding-block: clamp(3rem,5vw,4rem) 2rem; }
.foot-top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:2rem; }
.foot-nav { display:flex; flex-wrap:wrap; gap: 1.4rem; }
.foot-nav a { font-size:.84rem; color: var(--muted); transition: color .3s; }
.foot-nav a:hover { color: var(--gold); }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.6rem; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; font-size:.78rem; color: var(--muted-2); }
.disclaimer { max-width: 70ch; font-size:.76rem; color: var(--muted-2); margin-top:1.2rem; line-height:1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .split, .feature, .contact-grid { grid-template-columns: 1fr; }
  .split.rev { direction: ltr; }
  .feature .media { order: -1; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .gallery { columns: 2; }
}
@media (max-width: 760px) {
  .nav, .head-actions .btn-phone { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display:flex; flex-direction:column; align-items:flex-start; gap:1.4rem;
    position: fixed; inset: 0; padding: 6rem var(--pad) 2rem; background: rgba(10,8,6,.97);
    backdrop-filter: blur(10px); z-index: 90; overflow:auto;
  }
  .nav.open a { font-size: 1.5rem; font-family: var(--serif); }
  body.menu-open .menu-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2){ opacity:0; }
  body.menu-open .menu-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 1; }
  .bform .row { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.4rem, 22vw, 6rem); }
}

/* ============================================================
   SUBPAGES (detail / listing)
   ============================================================ */
.subpage { padding-top: 8.5rem; }
.crumb { display:flex; gap:.6rem; align-items:center; font-size:.78rem; letter-spacing:.06em; color: var(--muted); margin-bottom: 1.6rem; }
.crumb a { color: var(--muted); transition: color .3s; } .crumb a:hover { color: var(--gold); }
.crumb span { color: var(--muted-2); }

.detail { display:grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,5vw,4.5rem); align-items:start; }
.detail .ph { border-radius:6px; overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow); position:relative; }
.detail .ph img { width:100%; aspect-ratio:3/4; object-fit:cover; }
.detail h1 { font-size: clamp(2.6rem,6vw,4.5rem); margin:.4rem 0 .2rem; }
.detail .age { font-family: var(--serif); font-style:italic; color: var(--gold); font-size:1.3rem; margin-bottom:1.6rem; }
.detail .params { max-width: 30rem; margin-bottom:1.8rem; }
.detail .params div { padding:.8rem 1rem; }
.detail .bio { font-size:1.08rem; color: var(--ink-soft); max-width:46ch; margin-bottom:2rem; }

.pdetail { max-width: 60rem; }
.pdetail .cat { display:inline-block; font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color: var(--gold); border:1px solid var(--line-2); border-radius:999px; padding:.4em .9em; }
.pdetail h1 { font-size: clamp(2.6rem,7vw,5rem); margin:1.2rem 0; }
.pdetail .desc { font-size: clamp(1.1rem,1.4vw,1.4rem); color: var(--ink-soft); max-width: 50ch; }
.pdetail .facts { display:flex; flex-wrap:wrap; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:4px; overflow:hidden; margin:2.4rem 0; }
.pdetail .facts div { background: var(--bg-2); padding:1.4rem 1.8rem; flex:1 1 150px; }
.pdetail .facts b { display:block; font-family:var(--serif); font-size:1.8rem; color:var(--gold); }
.pdetail .facts span { font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.related-head { font-family:var(--serif); font-size:1.6rem; color:var(--ink); margin:1rem 0 1.4rem; }

@media (max-width: 880px) { .detail { grid-template-columns:1fr; } .detail .ph { max-width: 380px; } }

/* lang visibility helper */
[data-lang-en] { display: none; }
html[lang="en"] [data-lang-ru] { display: none; }
html[lang="en"] [data-lang-en] { display: revert; }
