/* =========================================================
   GT Agency — лендинг. Светлая тема.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:          #FFFFFF;
  --bg-soft:     #F4F5F7;
  --bg-cream:    #FEEDBA;
  --ink:         #12110B;
  --ink-2:       #3C3B35;
  --muted:       #6E6D66;
  --line:        #E4E5E8;
  --line-2:      #D3D5DA;

  --accent:      #0A8560;
  --accent-dark: #076B4C;
  --accent-soft: #E5F4EE;

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --container: 1240px;
  --gutter: 20px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .68, .32, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(18, 17, 11, .05);
  --shadow: 0 18px 44px -22px rgba(18, 17, 11, .28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--bg-cream); color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 7vw, 110px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }
.section--ink { background: var(--ink); color: #fff; }

.section-head { max-width: 900px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.is-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 28px;
  align-items: end;
}
.section-head p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.section--ink .section-head p { color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .section-head.is-split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Type ---------- */
.h1 { font-size: clamp(36px, 6vw, 76px); }
.h2 { font-size: clamp(28px, 4.2vw, 52px); }
.h3 { font-size: clamp(20px, 2.2vw, 28px); }
.h4 { font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.025em; }
.lead { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }
.tiny { font-size: 13px; line-height: 1.5; }
.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.section--ink .eyebrow { color: rgba(255,255,255,.6); }
.section--cream .eyebrow::before { background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(10, 133, 96, .75); }
.btn:active { transform: translateY(0); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2A2820; box-shadow: 0 14px 26px -16px rgba(18,17,11,.7); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bg-cream); box-shadow: none; }
.btn--sm { padding: 12px 22px; font-size: 14.5px; }
.btn--lg { padding: 19px 38px; font-size: 17px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--accent); transition: gap .25s var(--ease); }
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 13px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18,17,11,.5); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

/* Логотип — PNG из макета */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
@media (max-width: 520px) { .logo img { height: 36px; } }

.nav { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav a {
  padding: 9px 13px; border-radius: 999px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover, .nav a.is-active { background: var(--bg-soft); color: var(--ink); }

.header__contacts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; flex: none; }
.header__contacts a { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.header__contacts a:hover { color: var(--accent); }
.header__contacts span { font-size: 12px; color: var(--muted); }

.burger {
  display: none; width: 46px; height: 46px; flex: none;
  border-radius: 14px; border: 1.5px solid var(--line-2);
  background: transparent; cursor: pointer; position: relative;
}
.burger span { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; padding: 24px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.m-link {
  display: block; padding: 17px 0; border-bottom: 1px solid var(--line);
  font-size: 23px; font-weight: 800; letter-spacing: -.03em;
}
.mobile-menu__foot { margin-top: 28px; display: grid; gap: 12px; }

/* Планшет: прячем меню-строку, показываем бургер */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__contacts { margin-left: auto; }
}
/* Узкие экраны: телефон уезжает внутрь меню, чтобы бургер всегда был виден */
@media (max-width: 900px) {
  .header__inner { gap: 14px; }
  .header__contacts { display: none; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .header__actions .btn { display: none; }
}

/* Контакты в мобильном меню */
.mobile-menu__contacts { margin-top: 26px; display: grid; gap: 4px; }
.mobile-menu__contacts a { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.mobile-menu__contacts a:hover { color: var(--accent); }
.mobile-menu__contacts span { font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + clamp(40px, 6vw, 76px)) 0 clamp(48px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 720px; height: 720px; right: -180px; top: -320px;
  background: radial-gradient(circle, rgba(10,133,96,.14), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; z-index: 0;
  width: 560px; height: 560px; left: -220px; bottom: -300px;
  background: radial-gradient(circle, rgba(254,237,186,.75), transparent 62%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__title { max-width: 16ch; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__desc { max-width: 62ch; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

.principles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin-top: clamp(40px, 5vw, 68px);
}
.principle {
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.principle b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.principle span { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.principle i {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-style: normal;
}
.principle:nth-child(2) i { background: var(--bg-cream); color: var(--ink); }
.principle:nth-child(3) i { background: #EDEFF2; color: var(--ink); }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__item { font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--muted); white-space: nowrap; }
.marquee__item::after { content: "•"; margin-left: 44px; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services grid ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }
.service {
  position: relative; padding: 30px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.service__ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--ink); margin-bottom: 22px;
}
.service:nth-child(3n+1) .service__ico { background: var(--accent-soft); color: var(--accent); }
.service:nth-child(3n+2) .service__ico { background: var(--bg-cream); color: var(--ink); }
.service h3 { margin-bottom: 10px; }
.service p { font-size: 15px; color: var(--muted); }
.service__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.service__tags span {
  font-size: 12.5px; font-weight: 600; padding: 6px 12px;
  border-radius: 999px; background: var(--bg-soft); color: var(--ink-2);
}
.service__more { margin-top: 22px; }

/* ---------- Capabilities cloud ---------- */
.cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.cloud span {
  padding: 13px 22px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff;
  font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: -.02em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.cloud span:nth-child(4n+1) { background: var(--ink); color: #fff; border-color: var(--ink); }
.cloud span:nth-child(4n+3) { background: var(--bg-cream); border-color: var(--bg-cream); }
.cloud span:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Channels ---------- */
.channels { border-top: 1px solid rgba(255,255,255,.14); }
.channel {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 420px);
  gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14);
  transition: padding .3s var(--ease);
}
.channel:hover { padding-left: 12px; }
.channel__num { font-size: 14px; font-weight: 800; color: var(--bg-cream); letter-spacing: .1em; }
.channel__name { font-size: clamp(21px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.035em; }
.channel__desc { color: rgba(255,255,255,.65); font-size: 15px; }
@media (max-width: 860px) {
  .channel { grid-template-columns: 46px minmax(0, 1fr); }
  .channel__desc { grid-column: 2; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 40px; font-weight: 800; letter-spacing: -.06em;
  color: var(--line-2); margin-bottom: 14px; line-height: 1;
}
.step:hover::before { color: var(--accent); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Problems ---------- */
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 940px) { .problems { grid-template-columns: 1fr; } }
.problem {
  padding: 30px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
}
.problem__bad { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px dashed var(--line-2); margin-bottom: 20px; }
.problem__bad i {
  flex: none; width: 26px; height: 26px; border-radius: 8px; font-style: normal;
  background: #FDEBEB; color: #D64545; display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.problem__bad b { font-size: 16.5px; font-weight: 800; letter-spacing: -.025em; }
.problem__good { display: flex; gap: 12px; align-items: flex-start; }
.problem__good i {
  flex: none; width: 26px; height: 26px; border-radius: 8px; font-style: normal;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.problem__good span { font-size: 15px; color: var(--muted); }
.problem__good b { display: block; font-size: 15.5px; margin-bottom: 4px; }

/* ---------- Клиенты и партнёры ---------- */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 940px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .logos { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.logo-tile {
  display: grid; place-items: center;
  min-height: 124px; padding: 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.logo-tile img {
  max-width: 82%; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(.86); opacity: .85;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.logo-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 680px) { .logo-tile { min-height: 100px; padding: 18px; } }

/* ---------- Form ---------- */
.lead-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 940px) { .lead-block { grid-template-columns: 1fr; } }
.lead-benefits { display: grid; gap: 14px; margin-top: 28px; }
.lead-benefits li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.lead-benefits li::before { content: "→"; color: var(--accent); font-weight: 800; }
.section--ink .lead-benefits li { color: rgba(255,255,255,.78); }
.section--ink .lead-benefits li::before { color: var(--bg-cream); }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-xl); padding: clamp(26px, 3vw, 38px); box-shadow: 0 30px 70px -40px rgba(18,17,11,.6); }
.form { display: grid; gap: 16px; }
.form__body { display: grid; gap: 16px; }
.field { position: relative; }
.field label { position: absolute; top: 9px; left: 17px; font-size: 11.5px; font-weight: 600; color: var(--muted); pointer-events: none; }
.field input, .field textarea, .field select {
  width: 100%; padding: 25px 17px 10px;
  border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg-soft); color: var(--ink); font-size: 15.5px; outline: none; appearance: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 140px; padding-top: 27px; line-height: 1.5; resize: vertical; }
.field select { cursor: pointer; color: var(--ink); font-weight: 600; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; }
.field.has-error input, .field.has-error textarea { border-color: #D64545; }
.field__err { display: none; color: #D64545; font-size: 12px; margin-top: 6px; padding-left: 4px; }
.field.has-error .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-top: 6px; margin-bottom: 10px; }
.consent input { width: 17px; height: 17px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form .btn { margin-top: 2px; }
.form__body > .tiny { margin-top: 6px; text-align: center; }
/* Сообщение об успешной отправке */
.form__ok {
  display: none; padding: 34px 26px; border-radius: 22px;
  background: var(--accent-soft); color: var(--ink); text-align: center;
}
.form.is-sent .form__ok { display: grid; justify-items: center; gap: 12px; }
.form.is-sent .form__body { display: none; }
.form__ok-ico {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 24px; font-weight: 800;
}
.form__ok b { font-size: 21px; letter-spacing: -.03em; }
.form__ok span:not(.form__ok-ico) { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 36ch; }

/* Ошибка отправки */
.form__error {
  display: none; padding: 14px 16px; border-radius: 14px;
  background: #FDECEC; color: #B23B34; font-size: 14px; line-height: 1.5;
}
.form__error.is-visible { display: block; }

/* Ловушка для ботов — скрыта от людей, но доступна для автозаполнения ботов */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-weight: 800; font-size: clamp(17px, 1.8vw, 22px); letter-spacing: -.03em;
  transition: color .25s var(--ease);
}
.acc__btn:hover { color: var(--accent); }
.acc__ico {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: grid; place-items: center; position: relative;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.acc__ico::before { width: 13px; height: 2px; }
.acc__ico::after { width: 2px; height: 13px; transition: transform .3s var(--ease); }
.acc.is-open .acc__ico { background: var(--accent); border-color: var(--accent); color: #fff; }
.acc.is-open .acc__ico::after { transform: scaleY(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { color: var(--muted); font-size: 15.5px; padding-bottom: 26px; max-width: 85ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-top: clamp(48px, 6vw, 80px); }
.footer .logo img { height: 58px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 48px; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; gap: 30px; } }
.footer__about { max-width: 40ch; color: rgba(255,255,255,.62); font-size: 14.5px; margin-top: 18px; }
.footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.footer__socials a {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.8);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer__socials a:hover { background: var(--bg-cream); color: var(--ink); border-color: var(--bg-cream); }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.45); margin-bottom: 18px; font-weight: 700; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col li { color: rgba(255,255,255,.72); font-size: 14.5px; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--bg-cream); }
.footer__col b { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.footer .btn--white, .footer .btn--white:hover { color: var(--ink); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 32px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer__bottom a:hover { color: #fff; }
/* Юридическая строка — отдельной строкой, приглушённая */
.footer__legal {
  flex-basis: 100%; order: 2;
  font-size: 12px; line-height: 1.5;
  color: rgba(255, 255, 255, .32);
  letter-spacing: 0;
}


/* ---------- Внутренняя страница (политика) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(36px, 5vw, 68px)) 0 clamp(30px, 3.5vw, 48px);
  background: var(--bg-soft);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--accent); }
.page-hero .lead { max-width: 62ch; }

.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(20px, 2.1vw, 26px); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.prose ul { display: grid; gap: 9px; margin: 0 0 18px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose a.btn { color: var(--ink); text-decoration: none; }
.prose strong { color: var(--ink); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
  background: rgba(18,17,11,.6); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  width: min(760px, 100%); max-height: 84vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
  transform: translateY(14px); transition: transform .3s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: sticky; top: 0; margin-left: auto; display: block;
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2);
  background: #fff; cursor: pointer; font-size: 18px; line-height: 1;
}
.modal__close:hover { background: var(--bg-soft); }
.modal h2 { font-size: 26px; margin-bottom: 18px; }
.modal h3 { font-size: 17px; margin: 24px 0 10px; }
.modal p, .modal li { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.modal ul { display: grid; gap: 8px; margin-bottom: 14px; }
.modal ul li { position: relative; padding-left: 18px; }
.modal ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.text-center { text-align: center; }
.flex-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), visibility .3s, transform .3s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--bg-cream); }
