/* DTB site styles — построено на DTB Design System 1.0 (tokens.css) */
@font-face { font-family: Kazimir; src: url(fonts/kazimir-400.woff) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: Kazimir; src: url(fonts/kazimir-500.woff) format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: Kazimir; src: url(fonts/kazimir-600.woff) format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: Kazimir; src: url(fonts/kazimir-700.woff) format('woff'); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-ink); color: var(--color-paper);
  font-family: Kazimir, Georgia, 'Times New Roman', serif;
  font-size: var(--type-body-size); line-height: var(--type-body-lh);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--color-gold); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

.wrap { max-width: var(--container-wide); margin: 0 auto; padding: 0 40px; }
section { padding: var(--space-section-sm) 0; border-top: 1px solid rgba(255,255,255,.12); }
section.light { background: var(--color-paper); color: var(--color-ink); border-top-color: rgba(13,27,42,.12); }
/* синий #7394BD светлый: белый текст даёт 3.1:1 — текст и акценты внутри блока чернильные */
section.blue { background: var(--color-blue); color: var(--color-ink); border-top: 0; }
section.gray { background: var(--color-gray-100); color: var(--color-ink); border-top-color: rgba(13,27,42,.12); }

/* header */
.header { padding: 28px 0; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: 22px; line-height: 1; font-weight: 700; letter-spacing: -.2px; color: var(--color-paper); }
.logo span { color: var(--color-gold); }
.nav { display: flex; gap: 28px; font-size: var(--type-small-size); }
.nav a { color: var(--color-paper); opacity: .8; }
.nav a:hover { opacity: 1; text-decoration: none; color: var(--color-gold); }

/* hero */
.hero { border-top: 0; padding: 72px 0 var(--space-section-md); }
.hero .wrap { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: center; }
.eyebrow { font-size: var(--type-overline-size); line-height: var(--type-overline-lh); font-weight: 600;
  letter-spacing: var(--type-overline-ls); text-transform: uppercase; color: var(--color-gold); margin: 0 0 28px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: var(--type-h1-size); line-height: var(--type-h1-lh); font-weight: 700; text-wrap: balance; }
h2 { font-size: var(--type-h2-size); line-height: var(--type-h2-lh); font-weight: 700; max-width: 26ch; text-wrap: balance; }
h3 { font-size: var(--type-h3-size); line-height: var(--type-h3-lh); font-weight: 500; }
.lead { font-size: var(--type-lead-size); line-height: var(--type-lead-lh); max-width: 46ch; margin-top: 32px; }
.hero .lead { opacity: .88; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; align-items: center; }
.note { font-size: var(--type-caption-size); line-height: var(--type-caption-lh); opacity: .72; margin-top: 28px; }

.media-round { border-radius: var(--radius-full); overflow: hidden; box-shadow: var(--shadow-raised);
  aspect-ratio: 1; background: var(--color-gray-200); width: 100%; max-width: 380px; justify-self: end; }
.media-round img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 55px; padding: 0 28px;
  font-family: inherit; font-size: var(--type-lead-size); line-height: var(--type-lead-lh);
  border: 2px solid var(--color-gold); border-radius: 0; cursor: pointer; text-decoration: none;
  transition: background-color .15s linear, color .15s linear; }
.btn-primary { background: var(--color-gold); color: var(--color-ink); }
.btn-primary:hover { background: transparent; color: var(--color-gold); text-decoration: none; }
.btn-primary:active { background: #e6c200; color: var(--color-ink); }
.btn-secondary { background: transparent; color: var(--color-gold); }
.btn-secondary:hover { background: var(--color-gold); color: var(--color-ink); text-decoration: none; }
section.light .btn-secondary, section.gray .btn-secondary { border-color: var(--color-ink); color: var(--color-ink); }
section.light .btn-secondary:hover, section.gray .btn-secondary:hover { background: var(--color-ink); color: var(--color-paper); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 2px solid var(--color-ink); align-items: stretch; }
.step { padding: 32px 32px 0 0; border-right: 1px solid rgba(13,27,42,.14); display: flex; flex-direction: column; }
.step:last-child { border-right: 0; padding-right: 0; }
.step + .step { padding-left: 32px; }
.step .num { font-size: 13px; line-height: 14px; font-weight: 600; letter-spacing: .6px; color: var(--color-ink); opacity: .7; }
.step h3 { margin: 16px 0 12px; }
.step p { opacity: .78; }
.step .out { display: block; margin-top: auto; padding-top: 20px; font-size: var(--type-small-size); line-height: var(--type-small-lh);
  padding-top: 16px; border-top: 1px solid rgba(13,27,42,.14); }
.step .out b { font-weight: 600; }

/* signs */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.sign { background: var(--color-paper); padding: 32px; }
.sign .mark { font-size: var(--type-h2-size); line-height: 1; font-weight: 700; color: var(--color-ink); }
.sign p { margin-top: 16px; }
.section-lead { max-width: 52ch; margin-top: 24px; opacity: .8; }

/* method + audit */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.method-list { margin: 32px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.method-list li { margin-bottom: 14px; break-inside: avoid; font-size: var(--type-small-size); line-height: var(--type-small-lh); }
.method-list b { color: var(--color-ink); font-weight: 600; }
.audit { background: var(--color-ink); color: var(--color-paper); padding: 40px; }
.audit .eyebrow { margin-bottom: 16px; }
.audit h3 { font-size: 30px; line-height: 40px; }
.audit ul { margin: 20px 0 0; padding: 0 0 0 18px; }
.audit li { margin-bottom: 10px; font-size: var(--type-small-size); line-height: var(--type-small-lh); opacity: .9; }
.audit .price-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: var(--type-small-size); line-height: var(--type-small-lh); opacity: .82; }

/* contact */
.contact { text-align: left; }
.contact .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.contact .mail { font-size: var(--type-h3-size); line-height: 1.3; }
.contact p.small { margin-top: 14px; font-size: var(--type-small-size); opacity: .7; max-width: 44ch; }

footer { padding: 56px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--type-caption-size); line-height: 20px; opacity: .6; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

@media (min-width: 961px) {
  .step h3 { min-height: 84px; }
}
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  h1 { font-size: 44px; line-height: 50px; max-width: 22ch; }
  h2 { font-size: 36px; line-height: 42px; max-width: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .media-round { max-width: 320px; justify-self: start; }
  .steps { grid-template-columns: 1fr; border-top-width: 2px; }
  .step { border-right: 0; border-bottom: 1px solid rgba(13,27,42,.14); padding: 28px 0; }
  .step + .step { padding-left: 0; }
  .step:last-child { border-bottom: 0; }
  .signs { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact .wrap { grid-template-columns: 1fr; }
  .contact .wrap > * { min-width: 0; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  h1 { font-size: 34px; line-height: 38px; max-width: none; }
  h2 { font-size: 28px; line-height: 34px; }
  h3 { font-size: 24px; line-height: 32px; }
  .lead { font-size: 18px; line-height: 24px; margin-top: 24px; }
  .btn { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .method-list { columns: 1; }
  .contact .btn { font-size: 16px; line-height: 22px; word-break: break-all; padding: 0 16px; }
  .audit { padding: 28px 24px; }
  .audit h3 { font-size: 24px; line-height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
