/* ============ RESET & BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Полное отключение синего overlay на iOS Safari при тапах */
a, button, input, textarea, select, label {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}

:root {
  --bg: #FFFFFF;
  --ink: #0A0A0A;
  --muted: #8A8A8A;
  --muted-2: #B5B5B5;
  --line: #E5E5E5;
  --accent: #C8102E;
  --accent-hover: #A00D24;
  --dark: #0A0A0A;
  --dark-text: #F5F5F5;
  --dark-muted: rgba(245, 245, 245, 0.55);
  --dark-line: rgba(245, 245, 245, 0.15);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1280px;
  --pad: clamp(24px, 5vw, 80px);
  /* Отступы уменьшены примерно в 2 раза */
  --section-pad: clamp(40px, 6vw, 80px);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 400;
}

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px var(--pad);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============ ЛОГОТИП LYTERA с иконкой ============ */
.nav__logo {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.28em;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  position: relative;
  transition: color 0.45s ease, letter-spacing 0.45s ease;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-right: 0.28em;
}

.nav__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.nav__logo:hover .nav__logo-img {
  transform: rotate(30deg);
}

.nav__logo:hover {
  color: var(--accent);
  letter-spacing: 0.32em;
}

/* Анимация подчёркивания по hover */
.nav__logo::after {
  content: '';
  position: absolute;
  left: 54px; /* сдвинуть, чтобы линия была под текстом, а не под иконкой */
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.nav__logo:hover::after {
  width: calc(100% - 54px - 0.28em);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav__menu a:not(.nav__cta) {
  position: relative;
  color: var(--ink);
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .nav__menu a:not(.nav__cta):hover {
    color: var(--accent);
  }
}

.nav__cta {
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

@media (hover: hover) {
  .nav__cta:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
}

.nav__cta:active {
  transform: scale(0.98);
}

/* Modifier — кнопка видна только на mobile (для страниц где нет CTA в шапке на десктопе) */
.nav__cta--mobile-only {
  display: none;
}

/* ============ HAMBURGER TOGGLE (mobile only) ============ */
.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
  margin-left: auto;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
  transform-origin: center;
}

/* Анимация в X при открытии */
body.menu-open .nav__toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

body.menu-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav__toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============ HERO (общее) ============ */
.hero {
  padding: 120px var(--pad) 60px;
  position: relative;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s 0.1s ease forwards;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.8vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
}

.hero__title .line {
  display: block;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.hero__title .line:nth-child(1) { animation-delay: 0.2s; }
.hero__title .line:nth-child(2) { animation-delay: 0.35s; }
.hero__title .line:nth-child(3) { animation-delay: 0.5s; }

.hero__action {
  opacity: 0;
  animation: fadeUp 1s 0.7s ease forwards;
}

/* ============ HERO НА ГЛАВНОЙ (текст сверху + широкое фото снизу) ============ */
.hero--home {
  padding-bottom: 40px;
}

.hero__top {
  max-width: var(--max-w);
  margin: 0 auto 60px;
  text-align: center;
}

.hero__top .hero__meta {
  justify-content: center;
}

.hero__top .hero__title {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero__image-wrap {
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1.5s 0.5s ease forwards;
}

.hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* ============ HERO НА ВНУТРЕННИХ (split, как было) ============ */
.hero--inner {
  min-height: auto;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero--inner .hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.hero__visual {
  position: relative;
  opacity: 0;
  animation: fadeIn 1.4s 0.4s ease forwards;
}

.hero__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.02);
}

/* Широкое фото (mountain.jpg) — сдвигаем чтобы мужчина+солнце оба остались в кадре */
.hero__visual-img--wide {
  object-position: 60% center;
}

.hero__visual-meta {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============ HERO ТЕКСТОВЫЙ (для men.html) ============ */
.hero--text {
  text-align: center;
  padding: 160px var(--pad) clamp(60px, 8vw, 100px);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero__inner--text {
  max-width: 900px;
  margin: 0 auto;
}

.hero__inner--text .hero__meta {
  justify-content: center;
}

.hero__title--text {
  margin-left: auto;
  margin-right: auto;
}

.hero__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 44px;
  max-width: 560px;
}

.hero__lead--center {
  margin-left: auto;
  margin-right: auto;
}

.hero__action--center {
  display: flex;
  justify-content: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 38px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  z-index: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: -1;
}

/* Hover-эффект только на устройствах с реальным hover (мышь) */
@media (hover: hover) {
  .btn:hover::before {
    transform: translateY(0);
  }

  .btn:hover {
    border-color: var(--accent);
  }
}

/* На touch-устройствах — короткая обратная связь при нажатии */
.btn:active {
  transform: scale(0.98);
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:disabled::before {
  transform: translateY(100%);
}

.btn--large {
  padding: 22px 52px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
  margin-top: 8px;
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-pad) var(--pad);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.label--light {
  color: var(--dark-muted);
}

/* ============ MEANING ============ */
.big-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 1000px;
}

/* ============ TWO COLUMNS ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.col-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.col-title--muted {
  color: var(--muted);
}

.plain-list li {
  font-size: 17px;
  line-height: 1.6;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.plain-list--muted li {
  color: var(--muted);
}

/* ============ DIFFERENCE ============ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.diff-item {
  padding-top: 24px;
  border-top: 1px solid var(--accent);
}

.diff-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.diff-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.diff-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 320px;
}

/* ============ MANIFESTO ============ */
.section--manifesto {
  background: var(--dark);
  color: var(--dark-text);
  text-align: center;
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(56px, 8vw, 110px);
}

.manifesto {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 1000px;
  margin: 0 auto;
}

.section--manifesto em {
  color: var(--accent);
}

/* ============ ABOUT ============ */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about__photo {
  aspect-ratio: 3 / 4;
  background: #F5F2EE;
  position: relative;
  overflow: hidden;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.about__detail {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 18px;
}

.about__detail:last-child {
  margin-bottom: 0;
}

/* ============ PROCESS ============ */
.process {
  display: flex;
  flex-direction: column;
}

.process__step {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.process__step:last-child {
  border-bottom: 1px solid var(--line);
}

.process__head {
  display: flex;
  align-items: baseline;
  gap: 28px;
}

.process__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 18px;
  min-width: 36px;
}

.process__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.01em;
}

.process__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 520px;
}

/* ============ CONFIDENTIALITY ============ */
.section--conf {
  background: var(--dark);
  color: var(--dark-text);
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(40px, 6vw, 70px);
}

.conf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.005em;
  line-height: 1.3;
}

.conf__item {
  display: inline-block;
}

.conf__divider {
  color: var(--accent);
  font-size: 0.8em;
  opacity: 0.8;
}

/* ============ FAQ ============ */
.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(19px, 2vw, 26px);
  letter-spacing: -0.005em;
  line-height: 1.3;
  list-style: none;
  transition: color 0.2s ease;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--accent);
}

.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease;
}

.faq__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  margin-top: -0.5px;
}

.faq__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
}

.faq__item[open] .faq__icon::after {
  transform: scaleY(0);
}

.faq__a {
  padding: 0 0 28px;
  max-width: 760px;
}

.faq__a p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============ FINAL CTA ============ */
.section--final {
  text-align: center;
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

.final-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.final-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ============ FOOTER ============ */
.footer {
  padding: 56px var(--pad) 28px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 44px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: 0.28em;
  margin-bottom: 8px;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.footer__brand:hover {
  color: var(--accent);
  letter-spacing: 0.32em;
}

.footer__tagline {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__col--links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.footer__group a {
  font-size: 15px;
  color: var(--ink);
  transition: color 0.2s ease;
}

.footer__group a:hover {
  color: var(--accent);
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.open {
  display: flex;
  opacity: 1;
}

.modal__inner {
  background: #fff;
  width: 100%;
  max-width: 520px;
  padding: 56px 48px 48px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
  font-family: var(--font-body);
  font-weight: 300;
  transition: color 0.2s;
}

.modal__close:hover {
  color: var(--accent);
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.modal__sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Form/Success state switching */
.modal__form-state { display: block; }
.modal__success-state { display: none; }

.modal.success .modal__form-state { display: none; }
.modal.success .modal__success-state { display: block; text-align: center; }

/* Success checkmark */
.modal__success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: markScale 0.5s ease;
}

.modal__success-mark span {
  display: block;
  width: 22px;
  height: 12px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) translateY(-3px);
}

@keyframes markScale {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.modal.success .modal__title {
  margin-top: 0;
}

/* ============ FORM ============ */
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form__field input,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  transition: border-color 0.2s;
  resize: none;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ INNER PAGES ============ */
.nav__active {
  color: var(--accent) !important;
}

/* Exclusion */
.exclusion {
  max-width: 760px;
}

.exclusion__list li {
  font-size: 18px;
  padding: 20px 0;
}

/* Long manifesto with subtitle */
.manifesto--long {
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.25;
}

.manifesto__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--dark-muted);
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Benefits list */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  margin-bottom: 40px;
}

.benefits__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.benefits__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.benefits__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.benefits__final {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 720px;
  margin: 56px auto 0;
}

/* ============ CONSENT CHECKBOX В ФОРМЕ ============ */
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding: 4px 0;
}

.form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form__consent label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
}

.form__consent a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}

.form__consent a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============ LEGAL PAGE ============ */
.legal {
  padding: 120px var(--pad) 80px;
  max-width: 860px;
  margin: 0 auto;
}

.legal__head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
  margin-bottom: 48px;
}

.legal__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.legal__tabs {
  display: flex;
  gap: 32px;
}

.legal__tab {
  background: none;
  border: none;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}

.legal__tab:hover {
  color: var(--ink);
}

.legal__tab--active {
  color: var(--ink);
}

.legal__tab--active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
}

.legal__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.legal__lang-btn {
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0.14em;
}

.legal__lang-btn--active {
  color: var(--accent);
}

.legal__lang-btn:hover {
  color: var(--ink);
}

.legal__lang-divider {
  color: var(--muted-2);
}

.legal__section {
  display: none;
}

.legal__section--active {
  display: block;
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal__meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 56px;
}

.legal__content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 48px 0 20px;
}

.legal__content h2:first-of-type {
  margin-top: 0;
}

.legal__content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 16px;
}

.legal__content ul {
  margin: 12px 0 20px;
  padding-left: 0;
}

.legal__content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  list-style: none;
}

.legal__content li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1.4;
}

.legal__content a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}

.legal__content a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.legal__content strong {
  font-weight: 500;
  color: var(--ink);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav {
    padding: 18px var(--pad);
    /* Убираем backdrop-filter — он создаёт containing block, что ломает
       position:fixed внутри для мобильного overlay-меню */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  .nav__logo {
    font-size: 24px;
    letter-spacing: 0.22em;
    gap: 10px;
  }

  .nav__logo-img {
    width: 32px;
    height: 32px;
  }

  .nav__logo::after {
    display: none; /* убираем hover-подчёркивание на touch-устройствах */
  }

  /* Показываем гамбургер */
  .nav__toggle {
    display: block;
  }

  /* Меню становится overlay */
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    font-size: 18px;
  }

  body.menu-open .nav__menu {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav__menu a:not(.nav__cta) {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: -0.01em;
    font-weight: 400;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
  }

  body.menu-open .nav__menu a:not(.nav__cta) {
    opacity: 1;
    transform: translateY(0);
  }

  body.menu-open .nav__menu a:nth-child(1):not(.nav__cta) { transition-delay: 0.1s; }
  body.menu-open .nav__menu a:nth-child(2):not(.nav__cta) { transition-delay: 0.15s; }
  body.menu-open .nav__menu a:nth-child(3):not(.nav__cta) { transition-delay: 0.2s; }

  /* CTA — работает единообразно и как <button>, и как <a> */
  .nav__menu .nav__cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 32px;
    margin-top: 20px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    cursor: pointer;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.25s ease, color 0.25s ease;
    transition-delay: 0s;
    white-space: nowrap;
  }

  body.menu-open .nav__menu .nav__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
  }

  .nav__menu .nav__cta {
    -webkit-tap-highlight-color: transparent;
  }

  .nav__menu .nav__cta:active {
    transform: scale(0.98);
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero--text {
    min-height: auto;
    padding-top: 120px;
  }

  .hero--home .hero__top {
    margin-bottom: 40px;
  }

  /* На мобильном фото более вертикальное — обрезается по бокам */
  .hero__image {
    aspect-ratio: 4 / 5;
  }

  .hero--inner .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .hero__visual img {
    aspect-ratio: 4 / 5;
  }

  .hero__visual-meta {
    display: none;
  }

  .hero__lead {
    font-size: 17px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__photo {
    max-width: 400px;
  }

  .process__step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .process__head {
    gap: 16px;
  }

  .conf {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .conf__divider {
    display: none;
  }

  .benefits__item {
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .benefits__text {
    font-size: 18px;
  }

  .benefits__final {
    margin-top: 40px;
  }

  .exclusion__list li {
    font-size: 16px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__col--links {
    gap: 32px;
  }

  .footer__brand {
    font-size: 26px;
    letter-spacing: 0.22em;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .modal__inner {
    padding: 48px 24px 32px;
  }

  .modal__title {
    font-size: 28px;
  }

  .form__consent label {
    font-size: 12px;
    line-height: 1.5;
  }

  .legal {
    padding: 90px var(--pad) 60px;
  }

  .legal__head {
    padding-bottom: 24px;
    margin-bottom: 36px;
  }

  .legal__controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .legal__tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    align-items: flex-start;
  }

  .legal__tab {
    font-size: 11px;
    letter-spacing: 0.12em;
    padding: 6px 0;
  }

  .legal__tab--active::after {
    bottom: 0;
  }

  .legal__meta {
    margin-bottom: 40px;
  }

  .legal__title {
    word-break: break-word;
    hyphens: auto;
  }

  .legal__content h2 {
    margin: 36px 0 16px;
  }
}

@media (max-width: 500px) {
  .nav {
    padding: 14px var(--pad);
  }

  .nav__logo {
    font-size: 20px;
    letter-spacing: 0.2em;
    gap: 8px;
  }

  .nav__logo-img {
    width: 28px;
    height: 28px;
  }

  .nav__menu a {
    font-size: 26px;
  }

  .label {
    margin-bottom: 32px;
  }

  .plain-list li {
    font-size: 16px;
  }

  .process__text {
    font-size: 16px;
  }

  .faq__q {
    padding: 22px 0;
    font-size: 17px;
  }

  .faq__a {
    padding-bottom: 22px;
  }

  .hero--home .hero__top {
    margin-bottom: 32px;
  }
}
