/* 61 development — стили. Токены вверху, дальше блоки сверху вниз по странице. */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-tight-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-tight-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/inter-tight-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-tight-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-tight-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/inter-tight-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+20BD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-tight-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/inter-tight-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-500-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F1EFEA;
  --ink: #141414;
  --muted: #5F5C56;
  --faint: #8C8880;
  --line: #D9D5CD;
  --accent: #C2412D;
  --cream: #F1EFEA;
  --glow: 247, 198, 107;
  --brass: #B08A4A;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --gutter: 80px;
  --maxw: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.ico { width: 14px; height: 14px; flex: none; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 999px; z-index: 100; font-size: 13px; }
.skip:focus { top: 12px; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.3;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 22px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #2A2A28; }
.btn-outline { height: 34px; padding: 0 16px; border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.link {
  font-size: 13px; font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  transition: opacity .2s;
}
.link:hover { opacity: .6; }

/* ---------- Header ---------- */
.header {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 74px;
  border-bottom: 1px solid var(--line);
}
.logo { font-size: 17px; letter-spacing: -0.035em; font-weight: 400; justify-self: start; display: inline-flex; align-items: baseline; }
.logo b { font-weight: 600; margin-right: 3px; }
.logo-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 2px; align-self: flex-end; margin-bottom: 4px; }
.nav { display: flex; gap: 32px; font-size: 13px; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { justify-self: end; }
.burger { display: none; }

.menu { position: fixed; inset: 0; z-index: 50; background: var(--bg); padding-top: 90px; }
.menu-nav { display: flex; flex-direction: column; gap: 6px; }
.menu-nav a:not(.btn) { font-size: 40px; letter-spacing: -0.04em; line-height: 1.2; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu-nav .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 44px; padding-bottom: 48px; }
.eyebrow-row { display: flex; justify-content: space-between; gap: 24px; position: relative; z-index: 2; }

.h1 {
  position: relative; z-index: 2;
  margin-top: 62px;
  font-size: clamp(52px, 8.75vw, 112px);
  font-weight: 500;
  line-height: 0.885;
  letter-spacing: -0.055em;
}
.h1-line { display: block; }
.h1 .lit {
  font-size: 1.04em;
  letter-spacing: -0.02em;
  padding-left: 0.04em; padding-right: 0.08em;
  background: linear-gradient(90deg, #B4AFA6 0%, #8A7E68 30%, #574D3E 62%, #26231F 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Лампа: висит от линии хедера. Позиция задаётся переменными, на mobile перекрывается. */
.lamp {
  --x: 57.8%;
  --cord: 66px;
  --shade: 106px;
  position: absolute; top: -1px; left: var(--x);
  z-index: 3;
  width: 0; height: 0;
  pointer-events: none;
}
.lamp-swing {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0;
  animation: swing 6.5s ease-in-out infinite;
}
.lamp-cord { position: absolute; left: -0.5px; top: 0; width: 1.4px; height: var(--cord); background: #1d1d1d; }
.lamp-cap {
  position: absolute; top: var(--cord); left: -4px;
  width: 8px; height: 11px;
  background: linear-gradient(90deg, #7d6233, #d0aa62 45%, #8f6f38);
  border-radius: 1px;
}
.lamp-shade {
  position: absolute; top: calc(var(--cord) + 10px); left: calc(var(--shade) / -2);
  width: var(--shade); height: calc(var(--shade) * .55);
  border-radius: calc(var(--shade) / 2) calc(var(--shade) / 2) 3px 3px / calc(var(--shade) * .55) calc(var(--shade) * .55) 3px 3px;
  background:
    radial-gradient(120% 90% at 30% 16%, rgba(255,255,255,.13), transparent 40%),
    linear-gradient(180deg, #1e1e1e, #070707 70%);
  box-shadow: inset 0 -2px 0 rgba(255,255,255,.06);
}
.lamp-bulb {
  position: absolute; left: 12%; right: 12%; bottom: -3px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fffdf4, #fbe7b5 55%, rgba(var(--glow), 0) 100%);
  box-shadow: 0 0 10px 3px rgba(var(--glow), .9), 0 0 26px 8px rgba(var(--glow), .55);
  animation: bulb 1.6s steps(1, end) both;
}
.glow {
  position: absolute; top: calc(var(--cord) + 10px + var(--shade) * .55); left: 0;
  transform: translate(calc(-50% + var(--px, 0px)), var(--py, 0px));
  width: 540px; height: 250px;
  filter: blur(38px);
  opacity: 1;
  animation: ignite 1.6s var(--ease) both;
  transition: transform .9s var(--ease);
}
.glow-cone {
  position: absolute; inset: 0;
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(var(--glow), .85) 0%, rgba(var(--glow), .5) 40%, rgba(var(--glow), .12) 78%, rgba(var(--glow), 0) 100%);
}
.glow-pool {
  position: absolute; left: 8%; right: 8%; top: 34%; height: 46%;
  background: radial-gradient(closest-side, rgba(var(--glow), .4), rgba(var(--glow), 0));
}

@keyframes swing { 0%, 100% { transform: rotate(-1.1deg); } 50% { transform: rotate(1.1deg); } }
@keyframes ignite {
  0% { opacity: 0; } 8% { opacity: .7; } 14% { opacity: .1; } 22% { opacity: .85; } 28% { opacity: .3; } 100% { opacity: 1; }
}
@keyframes bulb { 0% { opacity: .2; } 8% { opacity: 1; } 14% { opacity: .3; } 22% { opacity: 1; } 28% { opacity: .5; } 34% { opacity: 1; } }

.hero-foot {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 426px 1fr; align-items: end;
  margin-top: 44px;
}
.lead { font-size: 14.5px; line-height: 1.6; color: #3c3a36; max-width: 330px; }
.actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }

.dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; margin-bottom: 0; }
.dirs a {
  display: block; padding-top: 14px;
  border-top: 1px solid var(--ink);
  font-size: 13.5px; letter-spacing: -0.01em; line-height: 1.3;
  transition: opacity .2s;
}
.dirs a:hover { opacity: .6; }
.dirs small { display: block; font-size: 10px; color: var(--faint); margin-bottom: 8px; letter-spacing: .02em; }

/* ---------- Заголовки секций ---------- */
.h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.h2 .serif { font-size: 1.1em; letter-spacing: -0.01em; font-weight: 400; }

/* ---------- Услуги ---------- */
.services { padding-top: 120px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-head .eyebrow { margin-bottom: 24px; }
.sec-note { max-width: 288px; font-size: 12.5px; line-height: 1.6; color: var(--muted); padding-bottom: 6px; }

.rows { margin-top: 62px; border-top: 1px solid var(--line); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 49px 332px minmax(0, 1fr) auto 32px;
  column-gap: 24px;
  align-items: center;
  min-height: 99px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.row::before { content: ""; position: absolute; inset: 0 -16px; background: rgba(20,20,20,.025); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.row:hover::before { opacity: 1; }
.row-num { font-size: 11px; color: var(--faint); }
.row-title { font-size: 25px; font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; }
.row-body { max-width: 390px; }
.row-body p { font-size: 12.5px; line-height: 1.55; color: #3c3a36; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 11px; margin-top: 8px; }
.tags li { font-size: 10px; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.tags li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.price { font-size: 30px; font-weight: 500; letter-spacing: -0.04em; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; padding-left: 24px; }
.price small { font-size: 12px; font-weight: 400; color: var(--faint); letter-spacing: 0; margin-right: 4px; vertical-align: 2px; }
.row-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.row-btn .ico { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.row:hover .row-btn { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.row:hover .row-btn .ico { transform: translate(2px, -2px); }

/* ---------- Почему мы ---------- */
.why { padding-top: 128px; display: grid; grid-template-columns: 53.6% 1fr; }
.why-head .eyebrow { margin-bottom: 22px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 38px; row-gap: 46px; padding-top: 32px; }
.why-item { border-top: 1px solid var(--line); padding-top: 18px; }
.why-num { display: block; font-size: 17px; color: var(--faint); line-height: 1; }
.why-item h3 { margin-top: 18px; font-size: 17px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; }
.why-item p { margin-top: 10px; font-size: 12px; line-height: 1.65; color: #4a4843; max-width: 245px; }

/* ---------- CTA ---------- */
.cta-wrap { padding-top: 112px; }
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  min-height: 152px;
  padding: 36px 48px;
  background: var(--ink); color: var(--bg);
}
.cta-title { font-size: 30px; font-weight: 500; letter-spacing: -0.045em; line-height: 1.1; }
.cta-title .serif { font-size: 1.1em; color: #CFCAC0; letter-spacing: -0.005em; }
.cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-mail { font-size: 12px; color: #A9A49B; }
.cta-mail:hover { color: var(--bg); }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 96px; padding-bottom: 28px; border-top: 1px solid var(--ink); font-size: 13px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr 0.9fr;
  column-gap: 32px;
  padding: 36px 0 44px;
}
.foot-brand .logo { font-size: 19px; }
.foot-brand p { margin-top: 14px; max-width: 250px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.foot-col .eyebrow { margin-bottom: 16px; }
.foot-list { display: grid; gap: 9px; }
.foot-link { display: inline-flex; gap: 6px; align-items: baseline; border-bottom: 1px solid transparent; transition: border-color .2s; line-height: 1.35; }
.foot-link span { color: var(--muted); }
.foot-link:hover { border-color: currentColor; }
.foot-muted { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.foot-name { line-height: 1.45; letter-spacing: -0.01em; }
.req { margin: 14px 0 0; display: grid; gap: 6px; }
.req div { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; }
.req dt { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.req dd { margin: 0; }
.copy {
  font: inherit; font-size: 13px; color: inherit; font-variant-numeric: tabular-nums; letter-spacing: .01em;
  background: none; border: 0; padding: 0; cursor: copy;
  border-bottom: 1px dashed var(--line); transition: border-color .2s;
}
.copy:hover { border-color: var(--ink); }
.foot-legal {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: 18px 0; border-top: 1px solid var(--line);
  font-size: 11.5px; line-height: 1.6; color: var(--faint);
}
.foot-legal p { max-width: 470px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--faint); }
.copy-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); font-size: 12.5px;
  padding: 10px 16px; border-radius: 999px;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }

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

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .row { grid-template-columns: 40px minmax(180px, 26%) minmax(0, 1fr) auto 32px; column-gap: 20px; }
  .price { font-size: 26px; padding-left: 0; }
  .hero-foot { grid-template-columns: 1fr; gap: 48px; }
  .why { grid-template-columns: 44% 1fr; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .nav, .header-cta { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .burger {
    display: grid; gap: 7px; align-content: center; justify-items: end;
    width: 40px; height: 40px; margin-right: -8px; padding: 8px;
    background: none; border: 0; cursor: pointer; z-index: 60; position: relative;
  }
  .burger span { width: 22px; height: 1.4px; background: var(--ink); transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }
  .header { position: relative; }
  .menu-open .header { position: fixed; top: 0; left: 0; right: 0; width: auto; padding-inline: var(--gutter); z-index: 60; background: var(--bg); }

  .row {
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    grid-template-areas: "num title btn" ". body body" ". price price";
    align-items: start; row-gap: 12px; padding: 22px 0 24px;
  }
  .row-num { grid-area: num; padding-top: 6px; }
  .row-title { grid-area: title; font-size: 22px; }
  .row-btn { grid-area: btn; }
  .row-body { grid-area: body; max-width: none; }
  .price { grid-area: price; text-align: left; font-size: 26px; padding-top: 4px; }
  .row::before { inset: 0 -12px; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sec-note { max-width: 420px; font-size: 14px; }

  .why { grid-template-columns: 1fr; padding-top: 104px; }
  .why-grid { grid-template-columns: 1fr; row-gap: 0; padding-top: 36px; }
  .why-item { padding: 26px 0 30px; }
  .why-item p { font-size: 13.5px; max-width: 420px; }
  .why-item h3 { font-size: 19px; margin-top: 14px; }

  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; gap: 28px; }
  .cta-side { align-items: flex-start; }
  .cta-title { font-size: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .header { height: 64px; }
  .logo { font-size: 17px; }
  .hero { padding-top: 24px; }
  .eyebrow-right { display: none; }

  .lamp { --x: 74%; --cord: 112px; --shade: 66px; }
  .glow { width: 260px; height: 150px; filter: blur(24px); }

  .h1 { margin-top: 30px; font-size: clamp(44px, 14vw, 60px); line-height: 0.95; }
  .h1 .lit { display: block; text-align: right; font-size: 0.98em; padding: 0.4em 0 0.06em; }

  .hero-foot { margin-top: 34px; gap: 40px; }
  .lead { font-size: 15px; max-width: none; color: #3c3a36; }
  .actions { gap: 20px; justify-content: space-between; }
  .btn { height: 44px; }
  .dirs { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 20px; }

  .services { padding-top: 88px; }
  .h2 { font-size: clamp(34px, 9.6vw, 44px); }
  .rows { margin-top: 36px; }
  .row-body p { font-size: 13.5px; }
  .tags li { font-size: 11.5px; }

  .cta-wrap { padding-top: 80px; }
  .cta-title { font-size: 26px; }
  .footer { margin-top: 72px; }
  .foot-grid { grid-template-columns: 1fr; row-gap: 30px; padding: 30px 0 34px; }
  .foot-legal { grid-template-columns: 1fr; gap: 10px; }
  .foot-bottom { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lamp-swing, .glow, .lamp-bulb { animation: none !important; }
  .glow { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Страница документа (политика) ---------- */
.doc-header { grid-template-columns: 1fr auto; }
.doc-header .btn .ico { transition: transform .25s var(--ease); }
.doc-header .btn:hover .ico { transform: translateX(-3px); }
.doc { display: grid; grid-template-columns: 40% 1fr; column-gap: 48px; padding-top: 72px; }
.doc-head { position: sticky; top: 40px; align-self: start; }
.doc-title { margin-top: 22px; font-size: clamp(36px, 4vw, 50px); }
.nw { white-space: nowrap; }
.doc-lead { margin-top: 26px; max-width: 360px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.doc-body { counter-reset: doc; border-top: 1px solid var(--line); }
.doc-body > li { counter-increment: doc; position: relative; padding: 26px 0 28px 64px; border-bottom: 1px solid var(--line); }
.doc-body > li::before {
  content: counter(doc, decimal-leading-zero);
  position: absolute; left: 0; top: 27px;
  font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--faint); line-height: 1;
}
.doc-body h2 { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.25; }
.doc-body p, .doc-body ul { margin-top: 12px; font-size: 14px; line-height: 1.65; color: #3c3a36; max-width: 560px; }
.doc-body ul { display: grid; gap: 6px; }
.doc-body ul li { position: relative; padding-left: 16px; }
.doc-body ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.doc-body a { border-bottom: 1px solid currentColor; }
.doc-body a:hover { opacity: .6; }
.doc-footer { margin-top: 80px; border-top: 0; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; padding-top: 44px; }
  .doc-head { position: static; margin-bottom: 40px; }
  .doc-header .btn { height: 34px; }
}
@media (max-width: 640px) {
  .doc-body > li { padding-left: 40px; }
  .doc-body p, .doc-body ul { font-size: 14.5px; }
  .doc-footer { margin-top: 56px; }
}
