@import url("fonts.css");

/* ==========================================================================
   Recruit Central — дизайн-система
   Токены и типографика перенесены один в один из исходного макета.
   ========================================================================== */

:root {
  /* цвет */
  --navy: #02234f;
  --navy-ink: #1c274c;
  --blue: #0168b0;
  --blue-soft: #d6ebff;
  --head: #363636;
  --body: #787878;
  --title: #1f1f1f;
  --surface: #fafafa;
  --surface-2: #f2f2f2;
  --white: #fff;
  --line: rgba(0, 0, 0, .15);
  --line-card: rgba(33, 69, 62, .15);
  --line-soft: rgba(0, 0, 0, .08);

  /* типографика: десктоп (>=1200px) */
  --fs-h1: 55px;
  --fs-h2: 50px;
  --fs-h3: 46px;
  --fs-card: 28px;
  --fs-lead: 22px;
  --fs-body: 20px;
  --fs-label: 18px;
  --fs-stat: 64px;

  /* сетка */
  --container: 1200px;
  --gutter: 25px;
  --radius-lg: 32px;
  --radius-md: 26px;
  --radius-sm: 14px;
}

@media (max-width: 1199px) {
  :root {
    --fs-h1: 42px;
    --fs-h2: 40px;
    --fs-h3: 36px;
    --fs-card: 26px;
    --fs-lead: 20px;
    --fs-body: 17px;
    --fs-label: 17px;
    --fs-stat: 52px;
  }
}

@media (max-width: 809px) {
  :root {
    --fs-h1: 38px;
    --fs-h2: 35px;
    --fs-h3: 32px;
    --fs-card: 24px;
    --fs-lead: 19px;
    --fs-body: 17px;
    --fs-label: 17px;
    --fs-stat: 46px;
    --gutter: 18px;
  }
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* все инлайновые svg — иконки: размер по умолчанию, чтобы ничего
   не растянулось до дефолтных 300×150, если забыли задать явно */
svg { width: 24px; height: 24px; flex: none; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--head); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
}

.skip-link:focus { left: 0; }

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

.h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.04em; }
.h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -.04em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.04em; }
.card-title { font-size: var(--fs-card); line-height: 1.3; letter-spacing: -.02em; color: var(--title); }
.lead { font-size: var(--fs-lead); line-height: 1.45; letter-spacing: -.03em; color: var(--body); }
.label { font-size: var(--fs-label); line-height: 1.3; letter-spacing: -.02em; color: var(--head); font-weight: 500; }
.muted { color: var(--body); }
.accent { color: var(--blue); }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 1000px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: #043069; }

.btn--secondary { background: transparent; color: var(--head); border-color: rgba(0, 0, 0, .25); }
.btn--secondary:hover { background: rgba(0, 0, 0, .04); border-color: rgba(0, 0, 0, .4); }

.btn--block { width: 100%; }

/* пилюля-заголовок секции */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 1000px;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
}

/* ---------- шапка ---------- */

.site-header {
  position: relative;
  z-index: 60;
  padding: 20px 0;
  background: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo { flex: none; }
.site-logo img { width: 132px; height: auto; }

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.3;
  color: #000;
  transition: color .2s ease;
}

.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 1000px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 90px 28px 36px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }

  .site-header__nav.is-open { transform: translateX(0); }

  .site-header__nav .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .site-header__nav .nav a { font-size: 24px; }
  .site-header__nav .btn { align-self: flex-start; }

  .nav-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 1000px;
    background: var(--surface);
    color: var(--navy);
    cursor: pointer;
  }

  .nav-close svg { width: 24px; height: 24px; }

  body.nav-open { overflow: hidden; }
}

@media (min-width: 901px) {
  .nav-close { display: none; }
}

/* ---------- hero ---------- */

.hero { padding: 48px 0; overflow: hidden; }

.hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  gap: 38px;
  align-items: start;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
  padding-right: 28px;
}

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

.hero__tag svg { width: 18px; height: 18px; flex: none; color: var(--navy-ink); }
.hero__tag span { font-size: var(--fs-body); color: var(--body); }

.hero__heading { max-width: 800px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__media {
  position: relative;
  height: 424px;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero__badge {
  position: absolute;
  left: -19px;
  bottom: 80px;
  z-index: 10;
  width: 219px;
  padding: 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--head);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__badge svg { width: 18px; height: 18px; flex: none; color: var(--blue); }

@media (max-width: 1199px) {
  .hero__grid { gap: 30px; }
  .hero__media { height: 380px; }
  .hero__badge { left: -12px; }
}

@media (max-width: 809px) {
  .hero { padding: 32px 0 12px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__text { padding-right: 0; gap: 28px; }
  .hero__media { height: 279px; }
  .hero__badge { left: 20px; bottom: 50px; }
}

/* ---------- статистика ---------- */

.stats { padding: 28px var(--gutter); }

.stats__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px;
  max-width: var(--container);
  margin: 0 auto;
}

.stat { text-align: center; }

.stat__value {
  font-size: var(--fs-stat);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--navy-ink);
}

.stat__label { font-size: var(--fs-body); color: var(--body); }

.stats__dot {
  width: 7px;
  height: 7px;
  border-radius: 1000px;
  background: var(--navy-ink);
  flex: none;
}

/* точки-разделители имеют смысл только пока строка не переносится */
@media (max-width: 1199px) {
  .stats__inner { gap: 30px 40px; }
  .stats__dot { display: none; }
  .stat { flex: 1 1 150px; }
}

@media (max-width: 809px) {
  .stats__inner { gap: 26px 20px; }
  .stat { flex: 1 1 40%; }
}

/* ---------- секции с картинкой ---------- */

.features { padding: 44px 28px; }

@media (max-width: 809px) { .features { padding: 44px var(--gutter); } }

.features__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  gap: 54px;
  align-items: center;
}

.feature-row__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 42px;
  max-width: 750px;
}

.feature-row__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--head);
}

.section-tag img,
.section-tag svg { width: 24px; height: 24px; flex: none; color: var(--navy-ink); }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-body);
  color: var(--body);
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: .2em;
  color: var(--navy-ink);
}

.feature-row__media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.feature-row--reverse .feature-row__media { order: -1; }

@media (max-width: 1199px) {
  .feature-row { gap: 24px; }
  .feature-row__text { gap: 38px; }
  .features__inner { gap: 56px; }
}

@media (max-width: 809px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row__text { gap: 28px; }
  .feature-row--reverse .feature-row__media { order: 0; }
  .feature-row__media img { min-height: 260px; }
}

/* ---------- преимущества / услуги ---------- */

.benefits { padding: 44px 0 0; }

.benefits__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 84px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.benefits__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 780px;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  gap: 24px;
  width: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  padding: 30px;
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-card:hover {
  border-color: rgba(2, 35, 79, .35);
  box-shadow: 0 10px 30px rgba(2, 35, 79, .08);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 81px;
  height: 81px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.service-card__icon img { width: 53px; height: 53px; object-fit: contain; }

.service-card__body { display: flex; flex-direction: column; gap: 12px; }
.service-card__body p { font-size: var(--fs-body); color: var(--body); }

.benefits__media { width: 100%; }

.benefits__media img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 28px;
}

@media (max-width: 1199px) {
  .benefits__inner { gap: 56px; }
  .cards-grid { grid-template-columns: repeat(2, minmax(50px, 1fr)); }
  .benefits__media img { height: 450px; }
}

@media (max-width: 809px) {
  .cards-grid { grid-template-columns: 1fr; }
  .service-card { gap: 28px; }
  .benefits__media img { height: 380px; }
}

/* ---------- команда ---------- */

.team { padding: 84px 0 44px; }

.team__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 84px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.team__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 780px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  gap: 40px;
  width: 100%;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 420px;
  padding: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blue-soft);
}

.team-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.team-card__info {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 24px;
  border-radius: 24px;
  background: rgba(250, 250, 250, .92);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-card__role {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.team-card__name {
  font-size: var(--fs-card);
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--title);
  font-weight: 600;
}

a.team-card { transition: transform .2s ease, box-shadow .2s ease; }
a.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(2, 35, 79, .14); }

@media (max-width: 1199px) {
  .team { padding: 56px 0 32px; }
  .team__inner { gap: 48px; }
  .team-grid { gap: 30px; }
  .team-card { height: 380px; }
}

@media (max-width: 809px) {
  .team-grid { grid-template-columns: 1fr; gap: 30px; }
  .team-card { height: 420px; }
}

@media (min-width: 810px) and (max-width: 1199px) {
  .team-grid { grid-template-columns: repeat(2, minmax(50px, 1fr)); }
}

/* ---------- CTA ---------- */

.cta { padding: 44px 0 64px; background: var(--white); }

.cta__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cta__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 33px;
  min-height: 450px;
  padding: 38px;
  border-radius: 37px;
  background: var(--surface-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  text-align: center;
}

.cta__box h2 { max-width: 780px; }

@media (max-width: 809px) {
  .cta__box { min-height: 340px; padding: 32px 22px; border-radius: 28px; }
}

/* ---------- страница услуг / внутренние страницы ---------- */

.page-hero {
  padding: 56px 0 12px;
  text-align: center;
}

.page-hero .container { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.section-block { padding: 44px 0; }

.prose {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.prose__item { display: flex; flex-direction: column; gap: 20px; }
.prose__item p { font-size: var(--fs-body); color: var(--body); }
.prose__item p + p { margin-top: 14px; }

.prose__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
}

.prose__list li {
  position: relative;
  padding-left: 42px;
  font-size: var(--fs-body);
  color: var(--body);
}

.prose__list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: .15em;
  width: 28px;
  height: 28px;
  border-radius: 1000px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.benefit-note {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line-card);
  border-radius: var(--radius-md);
  background: var(--white);
}

.benefit-note svg { width: 28px; height: 28px; color: var(--navy-ink); flex: none; }
.benefit-note p { font-size: var(--fs-body); color: var(--body); }

@media (max-width: 1199px) { .benefit-notes { grid-template-columns: repeat(2, minmax(50px, 1fr)); } }
@media (max-width: 809px) { .benefit-notes { grid-template-columns: 1fr; } .prose { gap: 40px; } }

/* ---------- FAQ ---------- */

.faq { padding: 56px 0; }

.faq__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.faq__head { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; }

.faq-item { border-bottom: 1px solid rgba(34, 34, 34, .2); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--head);
  font-size: var(--fs-lead);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.faq-item__q svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--navy-ink);
  transition: transform .25s ease;
}

.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }

/* высотой управляет JS: без него ответы просто видны */
.js .faq-item__a {
  height: 0;
  overflow: hidden;
  transition: height .28s ease;
}

.faq-item__a p {
  padding-bottom: 22px;
  font-size: var(--fs-body);
  color: var(--body);
}

/* ---------- контакты / форма ---------- */

.contact { padding: 48px 0 64px; }

.contact__box {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  gap: 64px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: 0 18px 60px rgba(2, 35, 79, .06);
}

.contact__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 22px;
}

.contact__aside-head { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

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

.contact__links a,
.contact__links span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-body);
  color: var(--body);
}

.contact__links a:hover { color: var(--navy); }
.contact__links svg { width: 20px; height: 20px; flex: none; color: var(--navy); }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  gap: 36px 24px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--surface);
}

.form__field { display: flex; flex-direction: column; gap: 7px; }
.form__field--wide { grid-column: span 2; }

.form__field > span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--head);
}

.form input,
.form textarea {
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  background: transparent;
  font: inherit;
  font-size: 17px;
  color: var(--head);
  border-radius: 0;
  transition: border-color .2s ease;
}

.form textarea { min-height: 110px; resize: vertical; }

.form input::placeholder,
.form textarea::placeholder { color: #b3b3b3; }

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

.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] { border-bottom-color: #d64545; }

.form__error {
  font-size: 14px;
  color: #d64545;
  min-height: 0;
}

.form__actions {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.form__note { font-size: 16px; color: var(--body); }

.form__status {
  grid-column: span 2;
  display: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 17px;
}

.form__status.is-visible { display: block; }
.form__status--ok { background: #e8f5ec; color: #1d6b3a; }
.form__status--err { background: #fdeceb; color: #a32b23; }

@media (max-width: 1199px) {
  .contact__box { gap: 32px; }
}

@media (max-width: 809px) {
  .contact__box { grid-template-columns: 1fr; padding: 14px; gap: 24px; }
  .contact__aside { padding: 14px; }
  .form { grid-template-columns: 1fr; gap: 26px; padding: 22px; }
  .form__field--wide,
  .form__actions,
  .form__status { grid-column: span 1; }
}

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

.site-footer { padding: 40px 0 48px; }

.site-footer__line { height: 1px; background: var(--line); margin-bottom: 36px; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
}

.site-footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
.site-footer__brand img { width: 132px; height: auto; }
.site-footer__brand p { font-size: 17px; color: var(--body); }

.site-footer__col-title {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--head);
  margin-bottom: 16px;
}

.site-footer__links { display: flex; flex-direction: column; gap: 10px; }

.site-footer__links a {
  font-size: 17px;
  color: var(--body);
  transition: color .2s ease;
}

.site-footer__links a:hover { color: var(--navy); }

.site-footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--body);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

@media (max-width: 809px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  padding: 64px var(--gutter);
}

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

/* прячем только если JS реально работает — иначе контент виден всегда */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service-card:hover, a.team-card:hover { transform: none; }
}
