/* ===== Tokens ===== */
:root {
  --blue: #2035f2;
  --blue-dark: #1626c4;
  --blue-soft: rgba(32, 53, 242, .08);
  --black: #111;
  --text: #333;
  --muted: #6b6f7b;
  --gray-bg: #f5f6fa;
  --line: #e6e8f0;
  --dark: #141414;
  --white: #fff;
  --error: #e5383b;
  --radius: 12px;
  --container: 1200px;
  --header-h: 84px;
  --shadow: 0 10px 40px rgba(20, 30, 90, .08);
  --z-header: 50;
  --z-cookie: 90;
  --z-modal: 1000;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
h1, h2, h3 { margin: 0; color: var(--black); line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 832px; }
.accent { color: var(--blue); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 2000; background: var(--white); padding: 8px 16px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.empty { color: var(--muted); padding: 24px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border: 2px solid var(--blue); border-radius: 8px;
  background: var(--blue); color: var(--white);
  font: 600 14px/1.2 Inter, sans-serif; text-transform: uppercase; letter-spacing: .04em; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--sm { padding: 12px 20px; font-size: 12px; white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn--white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn--full { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--black); cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.admin-bar .header { top: 32px; }
.header.is-scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, .06); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header__phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--black); white-space: nowrap; }
.header__phone-icon { width: 20px; height: 20px; }
.header__phone:hover { color: var(--blue); }

.logo { display: flex; align-items: center; flex: none; }
.logo__img { height: 48px; width: auto; }
.logo__text { font-size: 20px; font-weight: 700; color: var(--black); }
.logo--light .logo__text { color: var(--white); }

.nav__list { display: flex; gap: 28px; }
.nav__link { font-size: 13px; white-space: nowrap; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--black); position: relative; padding: 6px 0; display: block; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blue); transition: width .25s; }
.nav__link:hover, .is-active > .nav__link, .current-menu-item > .nav__link { color: var(--blue); }
.nav__link:hover::after, .is-active > .nav__link::after, .current-menu-item > .nav__link::after { width: 100%; }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: var(--black); margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,0) 72%); }
.hero__inner { position: relative; z-index: 2; }
.hero__title { font-size: clamp(34px, 5.2vw, 72px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 28px; max-width: 900px; }
.hero__text { max-width: 540px; font-size: 18px; color: var(--text); margin-bottom: 40px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* ===== Page head (внутренние страницы) ===== */
.page-head { position: relative; overflow: hidden; background: var(--gray-bg); padding: calc(var(--header-h) + 56px) 0 56px; }
.page-head__bg { position: absolute; inset: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(245,246,250,.97) 0%, rgba(245,246,250,.85) 55%, rgba(245,246,250,.5) 100%); }
.page-head__inner { position: relative; z-index: 2; }
.page-head__title { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.01em; }
.page-head__text { max-width: 640px; margin-top: 16px; color: var(--muted); font-size: 18px; }
.page-head__meta { margin-top: 12px; color: var(--muted); font-size: 14px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs__sep { opacity: .5; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section--compact { padding: 64px 0; }
.section--gray { background: var(--gray-bg); }
.section--blue { background: var(--blue); color: rgba(255, 255, 255, .85); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row .section__title { margin-bottom: 0; }
.section__label { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 16px; }
.section__title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin-bottom: 24px; letter-spacing: -.01em; }
.section__text { color: var(--muted); }
.section--blue .section__title, .section--blue h3 { color: var(--white); }
.section--blue .section__label { color: rgba(255, 255, 255, .7); }
.section--blue .section__text { color: rgba(255, 255, 255, .8); }
.rich p + p { margin-top: 1em; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about--reverse .about__media { order: -1; }
.about--no-media .about__grid { grid-template-columns: 1fr; max-width: 860px; }
.roles { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.roles__item a { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--black); padding: 6px 0; }
.roles__item a:hover { color: var(--blue); }
.roles__icon { flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; }
.roles__icon img { width: 22px; height: 22px; }
.about__media { position: relative; padding-bottom: 80px; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about__img--main { width: 80%; aspect-ratio: 580 / 540; }
.about__img--side { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 435 / 620; border: 6px solid var(--white); }
.about__media--1 { padding-bottom: 0; }
.about__media--1 .about__img--main { width: 100%; }

/* ===== Advantages ===== */
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.advantages__grid--1 { grid-template-columns: 1fr; }
.advantages__grid--2 { grid-template-columns: repeat(2, 1fr); }
.advantages__grid--4 { grid-template-columns: repeat(4, 1fr); }
.adv { background: var(--white); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow); transition: transform .3s; }
.adv:hover { transform: translateY(-6px); }
.adv__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; margin-bottom: 24px; }
.adv__icon img { width: 34px; height: 34px; }
.adv__title { font-size: 22px; margin-bottom: 12px; color: var(--black) !important; }
.adv__text { color: var(--muted); }

/* ===== Facts ===== */
.facts { position: relative; overflow: hidden; }
.facts::after { content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; border: 80px solid rgba(255, 255, 255, .05); pointer-events: none; }
.facts__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.facts--no-media .facts__grid { grid-template-columns: 1fr; }
.facts__media img { border-radius: var(--radius); width: 100%; max-width: 480px; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.counter__num { font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1; margin-bottom: 12px; color: var(--blue); }
.section--blue .counter__num { color: var(--white); }
.counter__label { font-size: 15px; }

/* ===== Cards ===== */
.cards { display: grid; gap: 32px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .3s; }
.card:hover { transform: translateY(-6px); }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--blue-soft); }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__icon { position: absolute; left: 24px; bottom: -24px; width: 56px; height: 56px; border-radius: 14px; background: var(--blue); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(32,53,242,.3); }
.card__icon img { width: 30px; height: 30px; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.card__date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.card__title { font-size: 20px; margin-bottom: 10px; color: var(--black) !important; }
.card__text { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.card__more { margin-top: auto; color: var(--blue); font-weight: 600; font-size: 14px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); font-weight: 600; color: var(--black); transition: transform .3s, color .2s; }
.tile:hover { transform: translateY(-4px); color: var(--blue); }
.tile__icon { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; }
.tile__icon img { width: 28px; height: 28px; }

/* ===== Partners ===== */
.partners__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.partner { height: 110px; display: grid; place-items: center; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); transition: transform .3s; }
.partner:hover { transform: translateY(-4px); }
.partner a { display: grid; place-items: center; width: 100%; height: 100%; }
.partner img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }
.partners--strip .partner { background: transparent; box-shadow: none; height: 80px; }

/* ===== CTA ===== */
.cta { background: var(--blue); color: rgba(255, 255, 255, .85); padding: 90px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 0 100%, rgba(255,255,255,.06) 0 2px, transparent 2px 28px); pointer-events: none; }
.cta--pattern::before { background: var(--cta-bg) center / cover no-repeat; opacity: .35; }
.cta__inner { position: relative; display: grid; grid-template-columns: 200px 1fr 380px; gap: 48px; align-items: center; }
.cta__inner--no-media { grid-template-columns: 1fr 380px; }
.cta__inner--no-form { grid-template-columns: 200px 1fr; }
.cta__inner--no-media.cta__inner--no-form { grid-template-columns: 1fr; }
.cta__media img { width: 100%; max-width: 200px; }
.cta__title { color: var(--white); font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 12px; }
.cta__text { margin-bottom: 12px; }
.cta__phone { font-size: 28px; font-weight: 700; color: var(--white); }
.cta__phone:hover { opacity: .8; }

/* ===== Forms ===== */
.form { display: flex; flex-direction: column; gap: 14px; }
.form__field { display: flex; flex-direction: column; gap: 4px; }
.form__hp { position: absolute; left: -9999px; }
.form__input {
  width: 100%; padding: 16px 18px; border-radius: 8px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.1); color: var(--white); font: 15px Inter, sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form__input::placeholder { color: rgba(255,255,255,.75); }
.form__input:focus { border-color: var(--white); box-shadow: 0 0 0 3px rgba(255,255,255,.2); }
.form__agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.45; cursor: pointer; }
.form__agree input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.form__agree a { text-decoration: underline; }
.form__error { font-size: 12px; min-height: 0; color: #ffd4d4; }
.form__error:empty { display: none; }
.is-invalid .form__input { border-color: #ff9d9f; box-shadow: 0 0 0 3px rgba(229,56,59,.25); }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 8px; background: rgba(255,255,255,.15); font-weight: 600; }
.form__status.is-error { background: rgba(229,56,59,.2); }
.form.is-sent > :not(.form__status) { display: none; }

.form--on-light .form__input { border-color: var(--line); background: var(--white); color: var(--black); }
.form--on-light .form__input::placeholder { color: #999; }
.form--on-light .form__input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form--on-light .form__agree { color: var(--muted); }
.form--on-light .form__error { color: var(--error); }
.form--on-light .is-invalid .form__input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(229,56,59,.12); }
.form--on-light .form__status { background: var(--blue-soft); color: var(--blue); }
.form--on-light .form__status.is-error { background: rgba(229,56,59,.1); color: var(--error); }

.search-form { display: flex; gap: 12px; }
.search-form__input { flex: 1; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; font: 16px Inter, sans-serif; outline: none; }
.search-form__input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }

/* ===== Entry / single ===== */
.entry__image { margin: 0 0 32px; }
.entry__image img { width: 100%; border-radius: var(--radius); }
.entry__content { font-size: 17px; }
.entry__content > * + * { margin-top: 1em; }
.entry__content h2 { font-size: 28px; margin-top: 1.6em; }
.entry__content h3 { font-size: 22px; margin-top: 1.4em; }
.entry__content a { color: var(--blue); text-decoration: underline; }
.entry__content ul { list-style: disc; padding-left: 1.4em; }
.entry__content ol { padding-left: 1.4em; }
.entry__content li + li { margin-top: .4em; }
.post-navigation { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { font-weight: 600; color: var(--black); }
.post-navigation a:hover { color: var(--blue); }
.post-navigation span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }

.service { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.service__aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.service__box { padding: 32px; border-radius: var(--radius); background: var(--gray-bg); }
.service__box--blue { background: var(--blue); color: rgba(255,255,255,.85); }
.service__box--blue .service__box-title { color: var(--white); }
.service__box--blue p { margin-bottom: 20px; }
.service__box-title { font-size: 20px; margin-bottom: 16px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li + li { margin-top: 10px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 11px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ===== Contacts ===== */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contacts__list { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; margin: 0 0 40px; }
.contacts__list dt { color: var(--muted); }
.contacts__list dd { margin: 0; font-weight: 600; color: var(--black); }
.contacts__list a:hover { color: var(--blue); }
.contacts__form-title { font-size: 20px; margin-bottom: 16px; }
.contacts__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--gray-bg); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ===== Search results ===== */
.search-results { margin: 40px 0 0; padding: 0; list-style: none; }
.search-result { padding: 24px 0; border-bottom: 1px solid var(--line); }
.search-result__type { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.search-result__title { font-size: 22px; margin: 6px 0 8px; }
.search-result__title a:hover { color: var(--blue); }
.search-result__text { color: var(--muted); }
.search-result mark { background: rgba(32,53,242,.14); color: inherit; padding: 0 2px; border-radius: 3px; }

/* ===== Pagination ===== */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 8px; background: var(--gray-bg); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--blue); color: var(--white); }

/* ===== 404 ===== */
.notfound { padding-top: calc(var(--header-h) + 80px); }
.notfound__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.notfound__media img { width: 100%; max-width: 420px; margin: 0 auto; }
.notfound__code { font-size: 160px; font-weight: 800; color: var(--blue); line-height: 1; }
.notfound .section__text { margin-bottom: 28px; }
.notfound .search-form { margin-bottom: 28px; }
.notfound__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: rgba(255, 255, 255, .6); padding: 72px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col a:hover { color: var(--white); }
.footer__menu { display: flex; flex-direction: column; gap: 10px; }
.footer__title { color: var(--white); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 8px; }
.footer__slogan { margin-top: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer__up:hover { color: var(--white); }

/* ===== Modals ===== */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10, 15, 40, .6); cursor: pointer; }
.modal__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: var(--white); border-radius: 16px; padding: 40px 32px 32px; transform: translateY(20px); transition: transform .3s; }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; font-size: 32px; line-height: 1; color: var(--muted); cursor: pointer; }
.modal__close:hover { background: var(--gray-bg); color: var(--black); }
.modal__title { font-size: 26px; margin-bottom: 8px; padding-right: 32px; }
.modal__text { color: var(--muted); margin-bottom: 24px; font-size: 14px; }
.modal--search .modal__box { max-width: 640px; }
.modal--search .modal__title { margin-bottom: 20px; }
.modal--pdf .modal__box { max-width: 960px; height: calc(100vh - 32px); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 24px; border-bottom: 1px solid var(--line); }
.modal__bar .modal__close { position: static; }
.modal__download { color: var(--blue); font-weight: 600; font-size: 14px; }
.pdf { position: relative; flex: 1; background: #525659; }
.pdf__frame { width: 100%; height: 100%; border: 0; display: block; }
.pdf__loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--gray-bg); color: var(--muted); font-weight: 600; transition: opacity .3s; }
.pdf__loader.is-hidden { opacity: 0; pointer-events: none; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--blue-soft); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Cookie ===== */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-cookie); background: var(--white); box-shadow: 0 -4px 30px rgba(0,0,0,.08); padding: 16px 0; transform: translateY(100%); transition: transform .4s; }
.cookie.is-visible { transform: none; }
.cookie__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.cookie a { text-decoration: underline; }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .header__btn { display: none; }
}
@media (max-width: 1100px) {
  .header__inner { gap: 24px; }
  .nav__list { gap: 20px; }
  .header__phone span { display: none; }
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
  .cta__inner, .cta__inner--no-form { grid-template-columns: 1fr 1fr; }
  .cta__inner--no-media.cta__inner--no-form { grid-template-columns: 1fr; }
  .cta__media { display: none; }
  .advantages__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr 300px; gap: 40px; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow: auto;
    background: var(--white); padding: 8px 16px 24px; box-shadow: 0 20px 30px rgba(0,0,0,.08);
    transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility .35s; z-index: -1;
  }
  .admin-bar .nav { top: calc(var(--header-h) + 46px); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid #eee; }
  .nav__link::after { display: none; }
  .section { padding: 72px 0; }
  .about__grid, .facts__grid, .footer__grid, .contacts__grid, .notfound__inner, .service { grid-template-columns: 1fr; gap: 48px; }
  .about--reverse .about__media { order: 0; }
  .advantages__grid, .advantages__grid--2, .cards--3 { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .facts__media { order: 2; }
  .hero::before { background: rgba(255,255,255,.84); }
  .cta__inner, .cta__inner--no-form, .cta__inner--no-media { grid-template-columns: 1fr; }
  .service__aside { position: static; }
  .notfound__media img { max-width: 260px; }
}
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
@media (max-width: 600px) {
  .header__phone span { display: none; }
  .header__phone-icon { width: 24px; height: 24px; }
  .header__actions { gap: 4px; }
  .logo__img { height: 40px; }
  .roles, .counters, .advantages__grid, .advantages__grid--2, .advantages__grid--4, .cards--3, .tiles { grid-template-columns: 1fr; }
  .counters { gap: 24px; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .cookie__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .hero__buttons .btn { flex: 1 1 100%; }
  .search-form { flex-direction: column; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
  .modal__box { padding: 36px 20px 24px; }
}

/* Карточка услуги без фото */
.card__media--icon { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue) 0%, #4a5cff 100%); }
.card__media--icon .card__icon { position: static; width: 96px; height: 96px; border-radius: 24px; background: rgba(255,255,255,.14); box-shadow: none; }
.card__media--icon .card__icon img { width: 52px; height: 52px; }
.card__media--icon + .card__body { padding-top: 24px; }
.card__media:not(.card__media--icon):has(.card__icon) + .card__body { padding-top: 40px; }

/* ===== Реквизиты ===== */
.requisites__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.requisites__head .section__title { margin-bottom: 0; }
.requisites__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.requisites__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.requisites__table th, .requisites__table td { padding: 18px 28px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.requisites__table tr:last-child th, .requisites__table tr:last-child td { border-bottom: 0; }
.requisites__table tr:nth-child(even) { background: #fafbfe; }
.requisites__table th { width: 34%; font-weight: 500; color: var(--muted); }
.requisites__table td { font-weight: 600; color: var(--black); word-break: break-word; }
.requisites__copy.is-copied { background: var(--blue); color: var(--white); }
.section--gray .requisites__table tr:nth-child(even) { background: #f8f9fd; }
@media (max-width: 600px) {
  .requisites__table th, .requisites__table td { display: block; width: 100%; padding: 0 20px; border: 0; }
  .requisites__table th { padding-top: 16px; font-size: 13px; }
  .requisites__table td { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .requisites__table tr:last-child td { border-bottom: 0; }
  .requisites__copy { width: 100%; }
}
