/* ============================================================
   Дженрикс Системс — внедрение маркировки «Честный знак»
   Дизайн: светлая база + фирменный жёлтый + тёмные скруглённые блоки
   (по мотивам официального стиля «Честного знака»)
   ============================================================ */

:root {
  --yellow: #ffd200;
  --yellow-2: #ffdd55;
  --yellow-dark: #e0b900;
  --yellow-soft: rgba(255, 210, 0, .16);

  --dark: #16161f;          /* тёмные скруглённые блоки: hero, CTA */
  --dark-2: #1d1d29;
  --footer: #111117;

  --text: #1b1c24;
  --muted: #62647a;
  --muted-2: #8b8ea3;

  --bg: #ffffff;
  --bg-2: #f6f7fa;          /* светло-серые секции */
  --card: #ffffff;
  --border: #e9eaf1;
  --border-2: #d9dbe6;

  --ok: #1d9e3f;
  --err: #e02424;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --shadow-card: 0 1px 2px rgba(22, 22, 31, .04), 0 10px 30px rgba(22, 22, 31, .06);
  --shadow-card-h: 0 2px 4px rgba(22, 22, 31, .05), 0 18px 44px rgba(22, 22, 31, .12);
  --shadow-y: 0 10px 26px rgba(255, 210, 0, .35);

  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PT Sans", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

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

/* Появление блоков при скролле (только если есть JS) */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .08s; }
html.js .reveal.d2 { transition-delay: .16s; }
html.js .reveal.d3 { transition-delay: .24s; }
html.js .reveal.d4 { transition-delay: .32s; }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; border: 0;
  font-weight: 700; font-size: 16.5px; line-height: 1.2; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--yellow-soft); outline-offset: 2px; }

.btn--y { background: var(--yellow); color: #17171d; box-shadow: var(--shadow-y); }
.btn--y:hover { background: var(--yellow-2); }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #23232f; }

/* ghost на тёмном фоне */
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .38); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ghost на светлом фоне */
.btn--line { background: transparent; color: var(--text); border: 1.5px solid var(--border-2); }
.btn--line:hover { border-color: var(--dark); }

.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ============ ШАПКА ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(22, 22, 31, .07); }

.header__in { display: flex; align-items: center; gap: 18px; height: 76px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
   .logo svg { width: 46px; height: 46px; flex-shrink: 0; }
   .logo img.logo__icon { width: auto; height: 46px; flex-shrink: 0; }
   .logo img.logo__full { display: block; width: auto; height: 56px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.12; font-weight: 800; font-size: 15.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.logo__text span:last-child { color: var(--muted); font-weight: 700; font-size: 13.5px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0; }
.nav__link {
  display: block; padding: 9px 10px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: #43454f; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav__cta { display: none; }
.nav__link:hover { color: var(--text); background: var(--bg-2); }
.nav__link.is-active { color: var(--text); background: var(--yellow-soft); }

.header__contacts { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 800; font-size: 16.5px; color: var(--text); white-space: nowrap; }
.header__phone:hover { color: var(--yellow-dark); }

.burger {
  display: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); border: 0; position: relative;
  box-shadow: var(--shadow-y); flex-shrink: 0;
}
.burger span {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 2.4px;
  background: #17171d; border-radius: 2px; transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.burger span:nth-child(1) { transform: translate(-50%, -7px); }
.burger span:nth-child(3) { transform: translate(-50%, 5px); }
.burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ============ ГЕРОЙ (главная) ============ */
.hero-wrap { padding: 22px 0 0; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(255, 210, 0, .13), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--dark);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 64px 64px 58px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero__grid > *, .cta-card__grid > * { min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: #17171d;
  font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}

.hero h1 {
  font-size: clamp(25px, 2.9vw, 35px);
  line-height: 1.16; font-weight: 800; letter-spacing: -.01em;
  margin: 20px 0 16px;
}
.hero h1 .y { color: var(--yellow); }

.hero__lead { font-size: 19px; color: #c3c5d4; max-width: 520px; margin-bottom: 30px; }
.hero__lead b { color: #fff; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #9fa2b6; font-size: 14.5px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { flex-shrink: 0; }

/* Фото + преимущества */
.hero__media { display: grid; gap: 16px; }
.hero__photo {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 210, 0, .32), 0 24px 60px rgba(0, 0, 0, .45);
}
.hero__photo img { transition: transform .6s ease; }
.hero__photo:hover img { transform: scale(1.03); }
.hero__photo img { width: 100%; height: 300px; object-fit: cover; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 13, 20, .55));
}
.hero__chip {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: #17171d;
  font-size: 13.5px; font-weight: 800;
  padding: 9px 14px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.hero__pluses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plus {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
}
.plus__ic {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: var(--yellow); display: flex; align-items: center; justify-content: center;
}
.plus b { display: block; font-size: 15px; line-height: 1.25; }
.plus span { font-size: 13px; color: #9fa2b6; }

/* ============ СЕКЦИИ ============ */
.section { padding: 92px 0; }
.section--gray { background: var(--bg-2); }
.section--tight { padding: 64px 0; }

.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: #a07c00; margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 8px; border-radius: 4px; background: var(--yellow); }
.sec-head--center .kicker::before { display: none; }

.sec-head h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.16; font-weight: 800; letter-spacing: -.01em; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

/* ============ ЛОГОТИПЫ КЛИЕНТОВ ============ */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  height: 108px; display: flex; align-items: center; justify-content: center; padding: 18px;
  filter: grayscale(1); opacity: .78; transition: filter .2s ease, opacity .2s ease, transform .2s ease, border-color .2s ease;
}
.logo-item:hover { filter: none; opacity: 1; transform: translateY(-3px); border-color: var(--yellow); }
.logo-item img { max-width: 100%; max-height: 68px; object-fit: contain; }

/* ============ ШИРОКИЕ КАРТОЧКИ УСЛУГ (с фото) ============ */
.svc-list { display: grid; gap: 20px; }
.svc {
  display: grid; grid-template-columns: 400px 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); border-color: var(--yellow); }
.svc__ph { position: relative; min-height: 260px; overflow: hidden; }
.svc__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.svc:hover .svc__ph img { transform: scale(1.045); }
.svc__body { padding: 34px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.svc__tag {
  display: inline-block; background: var(--yellow); color: #17171d;
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.svc h3 { font-size: 21px; font-weight: 800; line-height: 1.25; }
.svc p { color: var(--muted); font-size: 16.5px; }
.svc__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: var(--text);
}
.svc__more i {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; font-style: normal;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.svc:hover .svc__more i { background: var(--yellow); border-color: var(--yellow); transform: rotate(-45deg); }

/* ============ ТЁМНАЯ ПОЛОСА ЦИФР ============ */
.stats-band {
  background:
    radial-gradient(700px 340px at 12% 0%, rgba(255, 210, 0, .12), transparent 60%),
    var(--dark);
  border-radius: var(--radius-lg);
  color: #fff; padding: 46px 56px;
}
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.sb { text-align: left; }
.sb__num { font-size: clamp(38px, 4vw, 54px); font-weight: 800; color: var(--yellow); line-height: 1; letter-spacing: -.01em; }
.sb__cap { margin-top: 8px; color: #b9bcc9; font-size: 15.5px; }

/* ============ КАРТОЧКИ (универсальные) ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px 28px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 3px;
  border-radius: 0 0 4px 4px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .3s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); border-color: var(--yellow); }

.card__ic {
  width: 54px; height: 54px; border-radius: 15px; background: var(--yellow);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.card h3 { font-size: 18px; font-weight: 800; line-height: 1.28; }
.card p, .card li { color: var(--muted); font-size: 15.5px; }
.card ul { display: grid; gap: 7px; }
.card ul li { display: flex; gap: 9px; }
.card ul li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow); flex-shrink: 0; margin-top: 8px;
}
.card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15.5px; color: var(--text);
}
.card__link i {
  font-style: normal; transition: transform .2s ease;
}
.card:hover .card__link i { transform: translateX(4px); }
.card__link .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.card:hover .card__link .dot { background: var(--yellow); }

/* карточка с фото сверху */
.card--photo { padding: 0; }
.card--photo::before { display: none; }
.card--photo .card__ph { position: relative; overflow: hidden; }
.card--photo .card__ph img { width: 100%; height: 210px; object-fit: cover; transition: transform .45s ease; }
.card--photo:hover .card__ph img { transform: scale(1.05); }
.card--photo .card__bd { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card--photo h3 { font-size: 19px; }

.tag {
  display: inline-block; background: var(--yellow); color: #17171d;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; width: fit-content;
}
.tag--soft { background: var(--yellow-soft); color: #a07c00; }

/* ============ ТАЙМЛАЙН 01–04 ============ */
.tl { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.tl::before {
  content: ""; position: absolute; top: 34px; left: 7%; right: 7%;
  border-top: 3px dashed rgba(255, 210, 0, .75);
}
.tl__item { position: relative; text-align: left; background: transparent; }
.tl__num {
  position: relative; z-index: 1;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--yellow); color: #17171d;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px #fff, 0 12px 26px rgba(255, 210, 0, .4);
  margin-bottom: 18px;
}
.tl__item h3 { font-size: 19.5px; font-weight: 800; margin-bottom: 8px; }
.tl__item p { color: var(--muted); font-size: 15.5px; }
.section--gray .tl__num { box-shadow: 0 0 0 8px var(--bg-2), 0 12px 26px rgba(255, 210, 0, .4); }

/* ============ КЕЙСЫ (строки) ============ */
.case-list { display: grid; gap: 16px; }
.case-row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 26px 20px 20px; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: var(--text); text-decoration: none;
}
.case-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-h); border-color: var(--yellow); }
.case-row__img {
  width: 130px; height: 104px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2);
}
.case-row__img img { width: 100%; height: 100%; object-fit: cover; }
.case-row h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.case-row__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.case-row p { color: var(--muted); font-size: 15.5px; }
.case-row__arrow {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  font-size: 19px; color: var(--text);
}
.case-row:hover .case-row__arrow { background: var(--yellow); border-color: var(--yellow); transform: rotate(-45deg); }

/* ============ АУДИТ ЛИНИИ (компактный текст) ============ */
.audit-cards .card h3 { font-size: 17px; }
.audit-cards .card p { font-size: 14.5px; }
@media (max-width: 640px) {
  .sb__num { font-size: 30px; }
  .sb__cap { font-size: 14px; }
}

/* ============ ГАЛЕРЕЯ ФОТО ============ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.05); }

/* галерея скриншотов: крупнее и шире */
.gallery--wide { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery--wide a { aspect-ratio: 16 / 10; }
img.zoomable { cursor: zoom-in; }

/* ============ ЛАЙТБОКС ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(13, 13, 20, .92);
  padding: 30px; cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 94%; max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  cursor: default;
}
.lightbox__cap {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; color: #c3c5d4; font-size: 14.5px;
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--yellow); color: #17171d;
  font-size: 24px; line-height: 1; font-weight: 800; cursor: pointer;
  box-shadow: var(--shadow-y);
}
.lightbox__close:hover { background: var(--yellow-2); }

/* ============ ТАРИФЫ ============ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-h); }
.plan--hit { border-color: var(--yellow); box-shadow: 0 20px 50px rgba(255, 210, 0, .22); }
.plan__hit {
  position: absolute; top: -15px; left: 28px;
  background: var(--yellow); color: #17171d;
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-y);
}
.plan h3 { font-size: 20px; font-weight: 800; }
.plan__price { font-size: 30px; font-weight: 800; color: var(--text); }
.plan__price span { display: block; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.plan ul { display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: 15.5px; }
.plan li::before {
  content: "✓"; color: #a07c00; font-weight: 800; flex-shrink: 0;
}
.plan .btn { margin-top: auto; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq__item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .2s ease;
}
.faq__item[open] { border-color: var(--yellow); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  font-size: 18px; font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--yellow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a07c00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ============ CTA (тёмная карточка с формой) ============ */
.cta-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(820px 460px at 90% -20%, rgba(255, 210, 0, .16), transparent 62%),
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--dark);
  border-radius: var(--radius-lg);
  color: #fff; padding: 64px;
}
.cta-card__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.16; font-weight: 800; margin: 16px 0 14px; }
.cta-card h2 .y { color: var(--yellow); }
.cta-card__lead { color: #c3c5d4; font-size: 18px; margin-bottom: 24px; }
.cta-card__pluses { display: grid; gap: 12px; margin-bottom: 0; }
.cta-card__pluses li { display: flex; gap: 12px; align-items: flex-start; color: #d9dae4; font-size: 16px; }
.cta-card__pluses svg { flex-shrink: 0; margin-top: 3px; }

.form-card {
  background: #fff; border-radius: var(--radius-md);
  padding: 34px 32px; color: var(--text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.form-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.form-card__sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.form-card__alt { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--muted); }
.form-card__alt a { font-weight: 800; color: var(--text); white-space: nowrap; }
.form-card__alt a:hover { color: var(--yellow-dark); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: #3c3e4c; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  background: #f4f5f8; border: 1.5px solid #e6e8f0; border-radius: 11px;
  font: inherit; font-size: 16px; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-soft);
}
.field input.is-invalid { border-color: var(--err); box-shadow: 0 0 0 4px rgba(224, 36, 36, .12); }
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2362647a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }

.form-status { display: none; margin-top: 12px; font-size: 14.5px; font-weight: 600; }
.form-status--err { display: block; color: var(--err); }
.form-status:not(.form-status--err) { display: block; color: var(--muted); }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 13px; color: var(--muted-2); }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--yellow-dark); flex-shrink: 0; }
.check a { text-decoration: underline; }

.hp { position: absolute; left: -6000px; top: -6000px; }

/* ============ КОНТАКТЫ ============ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.contact-item__ic {
  width: 48px; height: 48px; border-radius: 13px; background: var(--yellow);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item b { display: block; font-size: 17px; }
.contact-item span { color: var(--muted); font-size: 15px; }
.map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ============ ПОДВАЛ ============ */
.footer { background: var(--footer); color: #c3c5d4; margin-top: 96px; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; padding: 60px 0 44px; }
.footer .logo__text { color: #fff; }
.footer .logo__text span:last-child { color: #8b8ea3; }
.footer__about { font-size: 15px; margin-top: 16px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { font-size: 15.5px; color: #c3c5d4; transition: color .15s ease; }
.footer__nav a:hover { color: var(--yellow); }
.footer__contacts { display: grid; gap: 10px; font-size: 15.5px; }
.footer__contacts b { color: #fff; }
.footer__contacts a:hover { color: var(--yellow); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13.5px; color: #8b8ea3;
}
.footer__bottom a { text-decoration: underline; }
.footer__bottom a:hover { color: var(--yellow); }

/* ============ НИЖНЯЯ ПАНЕЛЬ (моб.) ============ */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar__tel {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--border-2); border-radius: 12px;
  font-weight: 800; font-size: 15.5px; padding: 12px;
}

/* ============ СТРАНИЦЫ (внутренние) ============ */
.page-hero-wrap { padding: 22px 0 0; }
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 380px at 90% -30%, rgba(255, 210, 0, .14), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--dark);
  border-radius: var(--radius-lg);
  color: #fff; padding: 52px 60px 50px;
}
.page-hero h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.14; font-weight: 800; margin: 18px 0 14px; max-width: 800px; }
.page-hero__lead { color: #c3c5d4; font-size: 18px; max-width: 640px; }
.page-hero .badge { margin-top: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); padding: 14px 0 4px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--muted-2); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

/* текстовые блоки на страницах */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; margin: 40px 0 14px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #43454f; margin-bottom: 14px; }
.prose ul { display: grid; gap: 8px; margin: 0 0 16px; }
.prose ul li { display: flex; gap: 10px; color: #43454f; }
.prose ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; margin-top: 8px; }

/* таблица */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); }
table.t { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
table.t th { background: var(--dark); color: #fff; text-align: left; padding: 14px 18px; font-weight: 700; }
table.t td { padding: 13px 18px; border-top: 1px solid var(--border); color: #43454f; }
table.t tr:nth-child(even) td { background: var(--bg-2); }

/* ============ АДАПТИВ ============ */
@media (max-width: 1240px) {
  .hero, .cta-card { padding: 52px 44px; }
  .page-hero { padding: 44px 40px; }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; z-index: 49;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(22, 22, 31, .1);
    max-height: calc(100vh - 76px); overflow-y: auto;
    display: none; padding: 12px 24px 24px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 13px 14px; font-size: 17px; border-radius: 12px; }

  .burger { display: block; order: 3; }
  .nav__cta { display: block; margin-top: 10px; }
  .nav__cta .btn { width: 100%; }
  .header__contacts { margin-left: auto; }

  .hero__grid, .cta-card__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__lead, .cta-card__lead { max-width: 620px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .svc__ph { min-height: 220px; }
  .stats-band { padding: 40px 36px; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tl { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .tl::before { content: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }

  .mobile-bar { display: flex; }
  body { padding-bottom: 66px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .header__in { height: 66px; gap: 14px; }
  .nav { top: 66px; max-height: calc(100vh - 66px); }
  .header__contacts { margin-left: auto; }
  .header__phone { font-size: 15.5px; }

  .hero, .cta-card { padding: 34px 20px; border-radius: 22px; }
  .page-hero { padding: 30px 20px; border-radius: 22px; }
  .hero__photo img { height: 220px; }
  .hero__pluses { grid-template-columns: 1fr 1fr; }
  .plus { padding: 11px 12px; }
  .plus__ic { width: 34px; height: 34px; border-radius: 9px; }
  .plus__ic svg { width: 17px; height: 17px; }
  .plus b { font-size: 13.5px; }
  .plus span { font-size: 12px; }

  .logos { grid-template-columns: repeat(2, 1fr); }
  .logo-item { height: 86px; }
  .logo-item img { max-height: 48px; }
  .stats-band { padding: 32px 20px; }
  .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; }
  .svc__body { padding: 24px 20px; }
  .svc h3 { font-size: 19px; }
  .tl { grid-template-columns: 1fr; }
  .tl__num { width: 56px; height: 56px; font-size: 20px; }
  .case-row { grid-template-columns: 76px 1fr; padding: 16px; gap: 12px; }
  .case-row__img { width: 76px; height: 76px; }
  .case-row__arrow { display: none; }
  .case-row h3 { font-size: 17px; overflow-wrap: anywhere; }
  .case-row p { font-size: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery--wide { grid-template-columns: 1fr; }
  .lightbox { padding: 14px; }
  .lightbox img { max-width: 100%; max-height: 78vh; }
  .lightbox__close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .form-card { padding: 26px 20px; }
  .footer__in { grid-template-columns: 1fr; padding: 44px 0 32px; gap: 28px; }
  .hero__actions .btn { width: 100%; }
  .page-hero__actions .btn { width: 100%; }
  .btn { white-space: normal; }
}

@media (max-width: 480px) {
  .header__phone { display: none; }
  .header__in { gap: 10px; }
  .logo__text { font-size: 13.5px; }
  .logo__text span:last-child { font-size: 12px; }
   .logo svg { width: 40px; height: 40px; }
   .logo img.logo__icon { height: 40px; }
   .logo img.logo__full { height: 46px; }
}

@media (max-width: 400px) {
  .hero__pluses { grid-template-columns: 1fr; }
}

/* Печать */
@media print {
  .header, .footer, .mobile-bar, .cta-card, .nav { display: none !important; }
  body { color: #000; }
}

/* Доступность */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: #17171d; font-weight: 700;
  padding: 10px 18px; border-radius: 10px; transition: top .2s ease;
}
.skip:focus { top: 12px; }

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

/* ============ СЛУЖЕБНЫЕ СТРАНИЦЫ ============ */
.privacy-content { max-width: 820px; padding: 56px 24px 90px; }
.privacy-content h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.privacy-content h2 { font-size: 21px; font-weight: 800; margin: 32px 0 10px; }
.privacy-content p { color: #43454f; margin-bottom: 10px; }
.privacy-content ul { padding-left: 22px; list-style: disc; }
.privacy-content li { color: #43454f; margin-bottom: 6px; }
