/* ==========================================================================
   LUMOSMAXIMA — сайт-визитка
   Дизайн-система выведена из логотипа: тонкая линия, монохром, тёплый свет.
   ========================================================================== */

:root {
  --paper: #faf9f7;
  --paper-2: #f1efeb;
  --ink: #121110;
  --ink-soft: #56514b;
  --ink-mute: #726c64;
  --line: rgba(18, 17, 16, 0.14);
  --line-soft: rgba(18, 17, 16, 0.07);
  --night: #0a0a09;
  --night-2: #121211;
  --light: #e9a461;
  --light-soft: rgba(233, 164, 97, 0.38);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(64px, 8.5vw, 128px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 1px solid var(--light);
  outline-offset: 4px;
}

/* ---------- сетка ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--sec);
  border-top: 1px solid var(--line);
}

.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--dark {
  background: var(--night);
  color: var(--paper);
  border-top-color: rgba(250, 249, 247, 0.12);
}

/* ---------- типографика ---------- */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 300; letter-spacing: 0; line-height: 1.3; }

p { margin: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--light);
}

.section--dark .kicker { color: rgba(250, 249, 247, 0.55); }

.lead {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 58ch;
}

.section--dark .lead { color: rgba(250, 249, 247, 0.62); }

.muted { color: var(--ink-mute); }

/* ---------- шапка раздела ---------- */

.shead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(32px, 4.5vw, 64px);
}

.shead__row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.shead__num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ink-mute);
  padding-top: 0.55em;
}

.shead__note {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  max-width: 34ch;
}

.section--dark .shead__num,
.section--dark .shead__note { color: rgba(250, 249, 247, 0.55); }

@media (min-width: 900px) {
  .shead {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
    align-items: end;
    gap: 40px;
  }
  .shead__note { text-align: right; justify-self: end; }
}

/* ---------- кнопки ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 26px 16px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn:hover { --btn-bg: #000; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
}

.btn--ghost:hover {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}

.section--dark .btn--ghost,
.hero .btn--ghost {
  --btn-fg: var(--paper);
  --btn-bd: rgba(250, 249, 247, 0.28);
}

.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  --btn-bd: var(--paper);
}

.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: rgba(250, 249, 247, 0.28);
}

.btn--light:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-bd: var(--paper);
}

/* ---------- логотип ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo__mark {
  width: 22px;
  height: 30px;
  color: currentColor;
  flex-shrink: 0;
}

.logo__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  border-left: 1px solid currentColor;
  line-height: 1;
}

.logo__word {
  font-size: 15px;
  font-weight: 200;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.logo__tag {
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ---------- хедер ---------- */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), height 0.4s var(--ease);
}

.hdr::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  opacity: 0.14;
  transition: opacity 0.4s var(--ease);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.hdr.is-solid {
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  height: 66px;
}

.hdr.is-solid::after { opacity: 1; }

.nav {
  display: none;
  margin-left: auto;
  gap: 26px;
}

.nav a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 0.3s var(--ease);
  position: relative;
  padding-block: 6px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }

.hdr__phone {
  display: none;
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.hdr__phone:hover { opacity: 0.7; }

.burger {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .hdr__phone { display: block; margin-left: 34px; }
  .burger { display: none; }
}

/* мобильное меню */

.drawer {
  position: fixed;
  inset: 66px 0 auto;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--gutter) 32px;
  display: grid;
  gap: 2px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }

.drawer a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.drawer .btn { margin-top: 20px; }

/* ---------- герой ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(40px, 6vw, 76px);
  color: var(--paper);
  overflow: hidden;
  background: var(--night);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  filter: saturate(1.05) contrast(1.02);
  animation: heroZoom 26s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.72) 0%, rgba(6, 6, 6, 0.12) 34%, rgba(6, 6, 6, 0.62) 74%, rgba(6, 6, 6, 0.95) 100%),
    linear-gradient(96deg, rgba(6, 6, 6, 0.86) 0%, rgba(6, 6, 6, 0.5) 42%, rgba(6, 6, 6, 0) 72%);
}

.hero__in {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  max-width: 17ch;
  font-weight: 200;
}

.hero h1 em {
  font-style: normal;
  color: var(--light);
}

.hero__lead {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.25vw, 1.0625rem);
  color: rgba(250, 249, 247, 0.74);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 42px);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: clamp(36px, 5vw, 64px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(250, 249, 247, 0.16);
  list-style: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.62);
}

.hero__meta li { display: flex; align-items: center; gap: 10px; }

.hero__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border: 1px solid var(--light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- направления ---------- */

.split {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s var(--ease);
}

.card:hover { background: var(--paper-2); }

.card__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.card__list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: baseline;
}

.card__list li::before {
  content: "";
  width: 7px;
  height: 1px;
  background: var(--ink-mute);
  transform: translateY(-4px);
}

.card__link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 0.3s var(--ease);
}

.card__link:hover { border-bottom-color: var(--light); }

/* ---------- услуги ---------- */

.prices {
  border-top: 1px solid var(--line);
}

.price {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 24px;
  align-items: baseline;
  padding: 20px 0 19px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  transition: padding 0.35s var(--ease);
}

.price::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--light);
  transition: width 0.5s var(--ease);
}

.price:hover::before { width: 100%; }

.price__name {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  font-weight: 300;
  letter-spacing: 0;
}

.price__note {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.75rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.price__val {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price__val small {
  font-size: 0.7em;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

@media (max-width: 559px) {
  .price {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 18px 0;
  }
  .price__name,
  .price__val,
  .price__note { grid-column: 1; grid-row: auto; }
  .price__val {
    text-align: left;
    order: 2;
    font-weight: 400;
  }
  .price__note { order: 3; }
  .price__name { order: 1; }
}

.prices__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: baseline;
  padding-top: 26px;
  font-size: 0.8125rem;
  color: var(--ink-mute);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 6px;
  border: 1px solid var(--light-soft);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- работы ---------- */

.works {
  display: grid;
  gap: 12px;
}

@media (min-width: 760px) {
  .works {
    grid-template-columns: 1.32fr 1fr;
    grid-template-rows: auto auto;
  }
  .work--tall { grid-row: span 2; }
}

.work {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.work--tall img { aspect-ratio: 3 / 4; }

@media (min-width: 760px) {
  .work--tall img { aspect-ratio: auto; height: 100%; }
  .work:not(.work--tall) img { aspect-ratio: 16 / 11; }
}

.work:hover img { transform: scale(1.035); filter: brightness(1.06); }

.work__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 58px 20px 18px;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0) 0%, rgba(6, 6, 6, 0.62) 42%, rgba(6, 6, 6, 0.94) 100%);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.work__cap > span:first-child {
  min-width: 0;
}

.work__cap b {
  font-weight: 400;
  display: block;
  overflow-wrap: anywhere;
}

.work__cap small {
  display: block;
  margin-top: 3px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
  overflow-wrap: anywhere;
}

.work__cap > span:last-child {
  opacity: 0.6;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.work--more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  min-height: 200px;
  transition: background 0.4s var(--ease);
}

.work--more:hover { background: #e9e6e0; }

.work--more .num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.03em;
}

.work--more .cap {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  max-width: 24ch;
}

/* ---------- процесс ---------- */

.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.step__num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  padding-top: 0.4em;
}

.step__body { display: grid; gap: 7px; }

.step p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

@media (min-width: 900px) {
  .step { grid-template-columns: 90px 1fr; padding: 30px 0; }
}

/* ---------- гарантия ---------- */

.trust {
  display: grid;
  gap: 1px;
  background: rgba(250, 249, 247, 0.14);
  border-block: 1px solid rgba(250, 249, 247, 0.14);
  margin-top: clamp(28px, 3.4vw, 44px);
}

@media (min-width: 860px) {
  .trust { grid-template-columns: repeat(3, 1fr); }
}

.trust__item {
  background: var(--night);
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 10px;
  align-content: start;
}

.trust__item h3 { color: var(--paper); }

.trust__item p {
  font-size: 0.8125rem;
  color: rgba(250, 249, 247, 0.55);
}

.trust__icon {
  width: 26px;
  height: 26px;
  color: var(--light);
  margin-bottom: 6px;
}

/* ---------- отзывы ---------- */

.quotes {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

@media (min-width: 860px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

.quote {
  background: var(--paper);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote__stars {
  display: flex;
  gap: 4px;
  color: var(--light);
}

.quote__stars svg { width: 11px; height: 11px; }

.quote__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

.quote__who {
  margin-top: auto;
  padding-top: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.quote__who b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 3px; letter-spacing: 0.14em; }

.reviews__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 26px;
  font-size: 0.8125rem;
  color: var(--ink-mute);
}

/* ---------- контакты ---------- */

.contact {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
}

@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1.05fr; }
}

.contact__list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.contact__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.contact__row dt {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.contact__row dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.contact__row a:hover { color: var(--ink-soft); }

/* форма */

.form {
  background: var(--paper-2);
  padding: clamp(24px, 3.2vw, 40px);
  display: grid;
  gap: 14px;
  border: 1px solid var(--line-soft);
}

.form__title { font-size: 1.0625rem; font-weight: 300; letter-spacing: 0; line-height: 1.4; }

.form__row { display: grid; gap: 12px; }

@media (min-width: 560px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: 7px; }

.field label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
}

.field textarea { resize: vertical; min-height: 88px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-mute); opacity: 0.7; }

.form__note {
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--ink-mute);
}

.form__note a { border-bottom: 1px solid var(--line); }
.form__note a:hover { border-bottom-color: var(--ink); }

.form .btn { width: 100%; margin-top: 4px; }

.form__ok {
  display: none;
  padding: 14px;
  border: 1px solid var(--light-soft);
  font-size: 0.8125rem;
  color: var(--ink);
}

.form.is-sent .form__ok { display: block; }

/* ---------- подвал ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(36px, 4vw, 56px);
  font-size: 0.75rem;
  color: var(--ink-mute);
}

.foot__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.foot .logo { color: var(--ink); }

.foot__req {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  line-height: 1.7;
  max-width: 62ch;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
}

.foot__links a { border-bottom: 1px solid transparent; }
.foot__links a:hover { border-bottom-color: var(--line); }

/* ---------- анимация появления ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- лайтбокс ---------- */

.lbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 6, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lbox.is-open { opacity: 1; pointer-events: auto; }

.lbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(250, 249, 247, 0.3);
  color: var(--paper);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.lbox__close:hover { border-color: var(--paper); }

/* ---------- текстовые страницы (политика) ---------- */

.doc {
  padding-top: 140px;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.doc .wrap { max-width: 820px; }

.doc h1 {
  margin: 18px 0 10px;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.doc__date {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.doc h2 {
  margin: 40px 0 12px;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
}

.doc p,
.doc li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.doc p { margin: 0 0 12px; }

.doc ul {
  margin: 0 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.doc li::marker { color: var(--light); }

.doc a {
  color: var(--ink);
  border-bottom: 1px solid var(--light-soft);
}

.doc a:hover { border-bottom-color: var(--ink); }

.doc__back {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ---------- утилиты ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
