/* «Филин» — судебное курьерство.
   Идея: бумага и чернила. Кремовый фон как у логотипа, тёмно-коричневый «чернильный» цвет,
   янтарный акцент как сургуч на печати. Плотная деловая сетка, печать с вращающимся кольцом. */
:root {
  --paper: #f7f0e1;      /* фон, как у логотипа */
  --paper-2: #efe5d0;    /* карточки */
  --paper-3: #e6d9bf;    /* линии, рамки */
  --ink: #3a2a1f;        /* основной цвет, как у совы */
  --ink-2: #6b5646;      /* второстепенный текст */
  --wax: #a5532c;        /* акцент: сургуч */
  --wax-2: #c46c3f;
  --night: #241a13;      /* тёмные блоки */
  --white: #fffaf0;

  --f-display: "Rubik", "Arial Black", Arial, sans-serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --r: 4px;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --hdr: 76px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; }
svg.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.sec { padding-block: 96px; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wax); }
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); margin-top: 14px; max-width: 16em; }
/* лёгкая «бумажная» фактура */
.grain { position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Кнопки ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 26px; border-radius: var(--r); font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, background-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wax); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px rgba(58,42,31,.22); }
.btn--line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { color: var(--paper); box-shadow: inset 0 0 0 2px var(--wax); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { color: var(--paper); }
.link { position: relative; font-weight: 700; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--wax); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Шапка ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.hdr.solid { background: rgba(247,240,225,.88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--paper-3); }
.hdr.hide { transform: translateY(-110%); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-20deg); }
.brand b { font-family: var(--f-display); font-size: 22px; line-height: 1; letter-spacing: .02em; }
.brand small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wax); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.hdr__tel { font-weight: 700; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .3s; }
.hdr__tel:hover { color: var(--wax); }
.ftr__c { margin-top: 18px; font-weight: 700; color: var(--paper); }
.hdr .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--paper); padding: calc(var(--hdr) + 24px) 24px 32px; display: flex; flex-direction: column; gap: 8px;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }
.menu-open .mnav { clip-path: inset(0 0 0 0); }
.mnav a { font-family: var(--f-display); font-size: 34px; font-weight: 700; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
.menu-open .mnav a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .06s); }
.mnav .btn { margin-top: auto; }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding-top: calc(var(--hdr) + 56px); padding-bottom: 80px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 80px); margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--wax); }
.hero__lead { margin-top: 26px; font-size: 20px; max-width: 30em; color: var(--ink-2); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__terms { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: 15px; font-weight: 600; }
.hero__terms li { display: flex; align-items: center; gap: 8px; }
.hero__terms li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wax); }
.line-in { display: block; overflow: hidden; padding-bottom: .06em; }
.line-in > span { display: inline-block; animation: lineUp 1s var(--ease) both; animation-delay: calc(.15s + var(--i) * .1s); }
@keyframes lineUp { from { transform: translateY(105%); } }
.fade { animation: fade .9s var(--ease) both; animation-delay: var(--d, .5s); }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }

/* Печать: кольцо с надписью вращается, сова неподвижна */
.seal { position: relative; width: min(460px, 100%); aspect-ratio: 1; justify-self: center; animation: stamp 1.1s var(--spring) both .3s; }
@keyframes stamp { from { opacity: 0; transform: scale(1.25) rotate(-8deg); } }
.seal__ring, .seal__core { position: absolute; inset: 0; background: url(img/seal.png) center / contain no-repeat; }
.seal__ring { -webkit-mask: radial-gradient(circle, transparent 0 50.5%, #000 51%); mask: radial-gradient(circle, transparent 0 50.5%, #000 51%); animation: spin 40s linear infinite; }
.seal__core { -webkit-mask: radial-gradient(circle, #000 0 50.5%, transparent 51%); mask: radial-gradient(circle, #000 0 50.5%, transparent 51%); transition: transform .6s var(--ease); }
.seal:hover .seal__ring { animation-duration: 12s; }
.seal:hover .seal__core { transform: scale(1.04); }
.seal::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; box-shadow: 0 30px 60px -30px rgba(58,42,31,.35); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Бегущая лента */
.tape { background: var(--ink); color: var(--paper); overflow: hidden; padding-block: 18px; transform: rotate(-1.2deg); margin-block: 10px; }
.tape__track { display: flex; gap: 40px; width: max-content; animation: marquee 34s linear infinite; font-family: var(--f-display); font-size: 22px; font-weight: 600; white-space: nowrap; }
.tape__track span { display: inline-flex; align-items: center; gap: 40px; }
.tape__track span::after { content: "✦"; color: var(--wax-2); }
@keyframes marquee { to { transform: translateX(-50%); } }
.tape:hover .tape__track { animation-play-state: paused; }

/* ---------- Услуги ---------- */
.svc-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.svc-head p { max-width: 26em; color: var(--ink-2); }
.svc { margin-top: 56px; border-top: 2px solid var(--ink); }
.svc__i { border-bottom: 1px solid var(--paper-3); }
.svc__q { width: 100%; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px; padding: 30px 0; text-align: left; transition: padding .5s var(--ease); }
.svc__q:hover { padding-left: 14px; }
.svc__n { font-family: var(--f-display); font-size: 18px; color: var(--wax); font-weight: 600; }
.svc__t { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; }
.pm { width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); position: relative; transition: background-color .4s, transform .5s var(--spring); }
.pm::before, .pm::after { content: ""; position: absolute; left: 14px; right: 14px; top: 22px; height: 2px; background: var(--ink); transition: transform .45s var(--ease), background-color .3s; }
.pm::after { transform: rotate(90deg); }
.svc__q:hover .pm { transform: rotate(90deg); }
.open .pm { background: var(--ink); }
.open .pm::before, .open .pm::after { background: var(--paper); }
.open .pm::after { transform: rotate(0); }
.svc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.open .svc__a { grid-template-rows: 1fr; }
.svc__a > div { overflow: hidden; }
.svc__body { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 24px; padding-bottom: 34px; opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease); }
.open .svc__body { opacity: 1; transform: none; transition-delay: .12s; }
.svc__body p { grid-column: 2; color: var(--ink-2); font-size: 18px; }
.svc__body ul { grid-column: 3; display: grid; gap: 10px; }
.svc__body li { display: flex; gap: 12px; font-weight: 600; }
.svc__body li::before { content: ""; width: 14px; height: 2px; margin-top: 12px; background: var(--wax); flex: none; }

/* ---------- Как работаем ---------- */
.dark { background: var(--night); color: var(--paper); position: relative; overflow: hidden; }
.dark .label { color: var(--wax-2); }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: rgba(247,240,225,.15); }
.steps__fill { position: absolute; left: 0; top: 27px; height: 2px; width: 100%; background: var(--wax-2); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; padding-right: 28px; }
.step__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--night); box-shadow: inset 0 0 0 2px rgba(247,240,225,.3);
  font-family: var(--f-display); font-weight: 700; font-size: 20px; position: relative; transition: background-color .5s, box-shadow .5s, transform .5s var(--spring); }
.step.lit .step__n { background: var(--wax); box-shadow: none; }
.step:hover .step__n { transform: scale(1.12) rotate(-8deg); }
.step h3 { margin-top: 26px; font-size: 23px; }
.step p { margin-top: 10px; color: rgba(247,240,225,.72); font-size: 16px; }
.owl-bg { position: absolute; right: -80px; bottom: -120px; width: 520px; opacity: .05; filter: invert(1); pointer-events: none; }

/* ---------- Принципы ---------- */
.principles { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--paper-3); border: 2px solid var(--paper-3); }
.pr { background: var(--paper); padding: 32px 26px 34px; min-height: 250px; display: flex; flex-direction: column; position: relative; overflow: hidden; isolation: isolate; transition: color .5s; }
.pr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: circle(0 at 0 0); transition: clip-path .7s var(--ease); }
.pr:hover { color: var(--paper); }
.pr:hover::before { clip-path: circle(150% at 0 0); }
.pr svg { width: 40px; height: 40px; color: var(--wax); transition: transform .6s var(--spring), color .4s; }
.pr:hover svg { transform: rotate(-12deg) scale(1.1); color: var(--wax-2); }
.pr h3 { margin-top: auto; padding-top: 40px; font-size: 24px; }
.pr p { margin-top: 10px; font-size: 15px; color: var(--ink-2); transition: color .5s; }
.pr:hover p { color: rgba(247,240,225,.75); }

/* ---------- Для кого ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.quote { font-family: var(--f-display); font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.2; }
.quote em { font-style: normal; color: var(--wax); }
.who ul { display: grid; gap: 18px; }
.who li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; background: var(--paper-2); border-radius: var(--r); transition: transform .5s var(--ease), background-color .4s; }
.who li:hover { transform: translateX(8px); background: var(--paper-3); }
.who li svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.who b { display: block; font-size: 18px; }
.who span { color: var(--ink-2); font-size: 15px; }

/* ---------- Заявка ---------- */
.order { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: var(--ink); color: var(--paper); border-radius: var(--r); overflow: hidden; }
.order__l { padding: 56px 48px; position: relative; overflow: hidden; }
.order__l .h2 { color: var(--paper); }
.order__l p { margin-top: 20px; color: rgba(247,240,225,.75); }
.contacts { margin-top: 40px; display: grid; gap: 14px; }
.contacts a, .contacts span { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 18px; }
.contacts svg { width: 42px; height: 42px; padding: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(247,240,225,.3); transition: background-color .4s, box-shadow .4s, transform .5s var(--spring); }
.contacts a:hover svg { background: var(--wax); box-shadow: none; transform: rotate(-10deg); }
.todo { color: var(--wax-2); font-weight: 700; }
.order__l .seal-mini { position: absolute; right: -70px; bottom: -70px; width: 260px; opacity: .08; filter: invert(1); animation: spin 60s linear infinite; }
.order__r { background: var(--paper); color: var(--ink); padding: 48px; position: relative; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--paper-3);
  padding: 22px 0 8px; outline: none; border-radius: 0; transition: border-color .3s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 90px; resize: vertical; }
.field label { position: absolute; left: 0; top: 20px; font-size: 16px; color: var(--ink-2); pointer-events: none; transition: top .3s var(--ease), font-size .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select:valid + label { top: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wax); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.sel::before { content: ""; position: absolute; right: 4px; top: 30px; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.err input, .err select { border-color: var(--wax); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.err-msg { display: none; font-size: 13px; color: var(--wax); margin-top: 4px; }
.err .err-msg { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 30px; box-shadow: inset 0 0 0 2px var(--paper-3); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .3s, color .3s, box-shadow .3s, transform .3s var(--spring); }
.chip span:hover { transform: translateY(-2px); }
.chip input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--wax); outline-offset: 2px; }
.q { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.check { display: flex; gap: 12px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check i { width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 3px; flex: none; position: relative; transition: background-color .3s; }
.check i::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--spring); }
.check input:checked + i { background: var(--ink); }
.check input:checked + i::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + i { outline: 2px solid var(--wax); outline-offset: 2px; }
.check.err i { border-color: var(--wax); animation: shake .4s; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { padding: 12px 14px; border-left: 3px solid var(--wax); background: var(--paper-2); font-size: 14px; }
.form-err a { font-weight: 700; text-decoration: underline; }
.btn.loading { pointer-events: none; color: transparent; }
.btn.loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(247,240,225,.35); border-top-color: var(--paper); animation: spin .8s linear infinite; }
.done-box { display: none; position: absolute; inset: 0; background: var(--paper); padding: 48px; flex-direction: column; justify-content: center; align-items: flex-start; }
.done .done-box { display: flex; }
.done-box .stamp { width: 150px; height: 150px; border-radius: 50%; border: 4px double var(--wax); color: var(--wax); display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.1; text-transform: uppercase; transform: rotate(-12deg); animation: stampIn .6s var(--spring) both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-30deg) scale(2); } }
.done-box h3 { margin-top: 30px; font-size: 32px; }
.done-box p { margin-top: 12px; color: var(--ink-2); max-width: 26em; }
.done-box button { margin-top: 24px; }

/* ---------- Подвал ---------- */
.ftr { background: var(--night); color: rgba(247,240,225,.75); padding-block: 64px 32px; margin-top: 96px; font-size: 14px; }
.ftr__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(247,240,225,.15); }
.ftr .brand img { filter: invert(1) sepia(.3); }
.ftr .brand b { color: var(--paper); }
.ftr .brand small { color: rgba(247,240,225,.6); }
.ftr p { margin-top: 16px; max-width: 26em; }
.ftr h4 { margin: 0 0 14px; color: var(--paper); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.ftr ul { display: grid; gap: 8px; }
.ftr a:hover { color: var(--paper); }
.req { display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.req b { color: var(--paper); font-weight: 700; }
.ftr__bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.ftr__bot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Появление при прокрутке ---------- */
.pre { opacity: 0; transform: translateY(30px); }
.rv { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  .nav, .hdr .btn, .hdr__tel { display: none; }
  .burger { display: block; }
  .hero__grid, .who, .order { grid-template-columns: 1fr; }
  .seal { width: min(320px, 80%); order: -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps::before, .steps__fill { display: none; }
  .principles { grid-template-columns: 1fr 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .sec { padding-block: 64px; }
  .hero { padding-top: calc(var(--hdr) + 20px); }
  .hero__lead { font-size: 18px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .svc__q { grid-template-columns: 34px 1fr auto; gap: 14px; }
  .pm { width: 38px; height: 38px; } .pm::before, .pm::after { left: 11px; right: 11px; top: 18px; }
  .svc__body { grid-template-columns: 1fr; padding-left: 48px; }
  .svc__body p, .svc__body ul { grid-column: 1; }
  .steps, .principles { grid-template-columns: 1fr; }
  .pr { min-height: 0; }
  .order__l, .order__r { padding: 36px 22px; }
  .form { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .tape__track { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pre { opacity: 1; transform: none; }
}
