/* ABK Medical - сайт. Язык референса methodproducts.com (lowercase-заголовки, пилюли, градиентные полосы,
   пузыри, пастельные плитки), палитра от логотипа ABK и этикеток: индиго, вода, цвет цветка на этикетке. */
:root {
  --ink: #1a1452;
  --text: #383a5c;
  --muted: #5b5f7e;
  --line: #e3e7f0;
  --bg: #ffffff;
  --soft: #f1f8fb;
  --soft-2: #e8f4f8;
  --aqua: #0a8299;
  --blue: #1767c9;
  --indigo: #2a35a8;
  --red: #c8231b;
  --grad: linear-gradient(118deg, #0a8299 0%, #127aae 34%, #1767c9 66%, #2a35a8 100%);
  --grad-soft: linear-gradient(160deg, #eefafd 0%, #e6f1ff 55%, #f4f1ff 100%);
  --grad-ring: linear-gradient(100deg, #2bc4d6, #1767c9 55%, #2a35a8);
  --radius: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 6px 24px rgba(26, 20, 82, .08);
  --shadow-up: 0 16px 40px rgba(26, 20, 82, .14);
  --container: 1312px;
  --font: "Onest", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Nunito", "Onest", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1::first-letter, h2::first-letter, h3::first-letter, h4::first-letter, .kicker::first-letter { text-transform: uppercase; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; font-weight: 800; text-transform: none; letter-spacing: -.025em; }
h1 { font-size: 76px; line-height: 1.0; }
h2 { font-size: 52px; line-height: 1.05; }
h3 { font-size: 28px; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; border-radius: 999px; padding: 6px 14px 6px 6px; box-shadow: var(--shadow); }
.eyebrow b { white-space: nowrap; flex: none; background: var(--grad); color: #fff; font-weight: 500; border-radius: 999px; padding: 2px 10px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--text); max-width: 34em; }

/* кнопки: основная - индиго, вторая - белая пилюля с градиентной обводкой, как у референса */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 500; font-size: 17px; text-transform: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2270; transform: translateY(-2px); box-shadow: var(--shadow-up); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: linear-gradient(#fff, #fff) padding-box, var(--grad-ring) border-box; border: 2px solid transparent; color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.link { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: rgba(23,103,201,.3); }
.link:hover { text-decoration-color: var(--blue); }

/* полоса сверху и шапка */
.strip { background: var(--grad); color: #fff; font-size: 14px; text-align: center; padding: 9px 16px; }
.strip .short-only { display: none; }
.strip a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-color: var(--line); }
.header-in { display: flex; align-items: center; gap: var(--s6); height: 76px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: var(--s1); margin-right: auto; }
.nav a { padding: 10px 12px; border-radius: 999px; font-weight: 500; font-size: 22px; color: var(--ink); text-transform: none; transition: background .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft-2); }
.head-tel { font-weight: 500; color: var(--ink); font-size: 16px; white-space: nowrap; }
.head-tel span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.head-req { position: relative; }
.req-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px; font-weight: 500; }
.req-count[hidden] { display: none; }
.burger { display: none; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--soft-2); place-items: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.mnav { display: none; }

/* первый экран */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: var(--s7); align-items: center; min-height: 680px; padding-block: var(--s8) var(--s9); }
.hero h1 { margin-top: 0; max-width: 11em; }
.hero h1 em { font-style: normal; background: var(--grad); color: #fff; border-radius: 22px; padding: 0 .18em .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lead { margin-top: var(--s5); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); margin-top: var(--s6); }
.hero-facts { display: flex; gap: var(--s7); margin-top: var(--s7); padding: 0; list-style: none; }
.hero-facts li { font-size: 15px; color: var(--muted); line-height: 1.35; }
.hero-facts b { display: block; font-family: var(--font-head); font-size: 56px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.stage { position: relative; height: 600px; }
.stage-ring { position: absolute; inset: 40px 20px 60px 40px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 40%, rgba(255,255,255,0) 70%); }
.bottle { position: absolute; bottom: 70px; animation: rise-in .9s var(--ease) both; }
/* левитация: только сдвиг по вертикали, тень на самой картинке, чтобы браузер не перерисовывал кадр */
.bottle img { display: block; height: 100%; width: auto; filter: drop-shadow(0 30px 28px rgba(26,20,82,.16)); animation: float 6s ease-in-out infinite; will-change: transform; }
.bottle-2 img { animation-delay: -2s; }
.bottle-3 img { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
/* веер: крайние флаконы развернуты наружу, между флаконами воздух */
.bottle-1 { left: 1%; height: 440px; z-index: 2; rotate: -7deg; transform-origin: 50% 100%; }
.bottle-2 { left: 50%; margin-left: -98px; height: 470px; bottom: 80px; z-index: 3; animation-delay: .12s; }
.bottle-3 { right: 1%; height: 380px; z-index: 2; animation-delay: .24s; rotate: 7deg; transform-origin: 50% 100%; }
.bottle-shadow { position: absolute; bottom: 44px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26,20,82,.18), rgba(26,20,82,0)); animation: shadow 6s ease-in-out infinite; will-change: transform, opacity; }
.sh-2 { animation-delay: -2s; } .sh-3 { animation-delay: -4s; }
@keyframes shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.82); opacity: .6; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.tag { position: absolute; z-index: 4; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 14px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-up); display: flex; align-items: center; gap: var(--s2); white-space: nowrap; }
.tag i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 13px; }
.tag-1 { left: 0; top: 0; } .tag-1 i { background: #c8231b; }
.tag-2 { right: 0; top: 20px; } .tag-2 i { background: #2a35a8; }
.tag-3 { right: 0; bottom: 6px; } .tag-3 i { background: #0a8299; }

/* бегущая строка на градиенте */
.ticker { background: var(--grad); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: var(--s6); width: max-content; animation: run 38s linear infinite; }
.ticker span { font-family: var(--font-head); font-weight: 800; font-size: 26px; text-transform: none; letter-spacing: -.01em; white-space: nowrap; display: flex; align-items: center; gap: var(--s6); }
.ticker span::after { content: ""; width: 12px; height: 12px; background: rgba(255,255,255,.85); border-radius: 3px; rotate: 45deg; }
@keyframes run { to { transform: translateX(-50%); } }

/* секции */
.section { padding-block: var(--s10); }
.section-sm { padding-block: var(--s9); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s6); margin-bottom: var(--s7); }
.sec-head p { color: var(--muted); max-width: 30em; margin-top: var(--s3); }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.kicker { font-size: 14px; font-weight: 500; color: var(--aqua); text-transform: none; margin-bottom: var(--s3); display: block; }

/* плитки по задаче */
.tasks { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
/* карточки задач: фото по задаче, текст поверх; отличаются от карточек товаров */
.task { position: relative; border-radius: var(--radius); min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; color: #fff; background: #20242c; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.task:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); }
.task-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.task:hover .task-img { transform: scale(1.04); }
.task::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,16,24,0) 30%, rgba(12,16,24,.55) 55%, rgba(12,16,24,.88) 100%); }
.task-body { padding: var(--s6); }
.task h3 { font-size: 28px; color: #fff; }
.task p { font-size: 15px; color: rgba(255,255,255,.88); margin-top: var(--s2); max-width: 18em; }
.task .go { margin-top: var(--s4); display: inline-flex; align-items: center; gap: var(--s2); font-weight: 500; color: #fff; font-size: 15px; }
.task .go svg { transition: transform .2s; }
.task:hover .go svg { transform: translateX(4px); }
.t-blue { background: #e4ebff; } .t-aqua { background: #dff4f6; } .t-pink { background: #ffe4ea; } .t-sun { background: #fff1d2; }

/* карточки товаров */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 24px; margin: -8px -4px 0; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.arrows { display: flex; gap: var(--s2); }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--soft-2); color: var(--ink); transition: background .2s, transform .2s; }
.arrow:hover { background: #d6ebf2; }
.arrow:active { transform: scale(.94); }
.arrow[disabled] { opacity: .35; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: 0 0 0 1px transparent, var(--shadow-up); transform: translateY(-4px); }
.card-img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
.card-img img { position: absolute; left: 50%; bottom: 7%; height: 80%; width: auto; translate: -50% 0; filter: drop-shadow(0 16px 14px rgba(26,20,82,.15)); transition: transform .35s var(--ease); }
.card:hover .card-img img { transform: translateY(-10px) rotate(-1.5deg); }
.badge { position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); text-transform: none; }
.badge-ready { background: var(--ink); color: #fff; }
.card-body { padding: var(--s5) var(--s5) var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.card-cat { font-size: 13px; color: var(--muted); }
.card h3 { font-size: 23px; line-height: 1.12; text-transform: none; letter-spacing: -.015em; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-desc { font-size: 15px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: auto; padding-top: var(--s3); }
.price { font-weight: 500; color: var(--ink); font-size: 18px; white-space: nowrap; }
.price small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.add { position: relative; z-index: 2; }
.add.is-in { background: var(--soft-2); color: var(--ink); }

/* флаг и о компании */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s7); align-items: center; }
.flag { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1280 / 704; background: #eef0f3; box-shadow: var(--shadow-up); }
.flag video { width: 100%; height: 100%; object-fit: cover; }
.flag-cap { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.about h2 { margin-bottom: var(--s5); }
.about p + p { margin-top: var(--s4); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s6); }
.fact { background: var(--soft); border-radius: var(--radius-sm); padding: var(--s4) var(--s4) var(--s5); }
.fact b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; margin-top: var(--s1); }

/* цикл производства */
.cycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); counter-reset: st; margin-top: var(--s7); }
.step { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.step::before { counter-increment: st; content: "0" counter(st); font-family: var(--font-head); font-weight: 800; color: var(--aqua); font-size: 18px; }
.step h4 { font-size: 22px; margin: var(--s2) 0 var(--s2); }
.step p { font-size: 15px; color: var(--muted); }

/* для учреждений */
.band { background: var(--grad); color: #fff; border-radius: 40px; padding: var(--s8); position: relative; overflow: hidden; }
.band h2, .band h3 { color: #fff; }
.band .sec-head p { color: rgba(255,255,255,.9); }
.band .kicker { color: #fff; opacity: .9; }
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); position: relative; z-index: 1; }
.offer { background: #fff; color: var(--text); border-radius: var(--radius-md); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); min-height: 300px; transition: transform .25s var(--ease); }
.offer:hover { transform: translateY(-4px); }
.offer h3 { color: var(--ink); font-size: 26px; }
.offer p { font-size: 15px; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--soft-2); color: var(--blue); }

/* клиенты */
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-track { display: flex; gap: var(--s5); width: max-content; animation: run 40s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logo-tile { width: 200px; height: 108px; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; padding: var(--s4) var(--s5); }
.logo-tile img { max-height: 64px; width: auto; object-fit: contain; }

/* заявка */
.req { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s7); background: var(--grad-soft); border-radius: 40px; padding: var(--s8); }
.req h2 { margin-bottom: var(--s4); }
.contacts { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s4); }
.contacts li { display: flex; gap: var(--s3); align-items: flex-start; }
.contacts svg { flex: none; margin-top: 3px; color: var(--blue); }
.contacts a { color: var(--ink); font-weight: 500; }
.contacts small { display: block; color: var(--muted); font-size: 14px; }
.form { background: #fff; border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow); display: grid; gap: var(--s4); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 2px solid transparent; border-radius: var(--radius-sm); padding: 12px 16px; min-height: 52px; transition: border-color .2s, background .2s; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field textarea:hover { background: #e9f3f7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field .err { color: var(--red); font-size: 13px; display: none; }
.field.bad input { border-color: var(--red); }
.field.bad .err { display: block; }
.req-list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.req-list:empty::before { content: "Пока пусто - добавьте средства из каталога кнопкой «в заявку» или напишите, что нужно, в комментарии."; font-size: 14px; color: var(--muted); }
.chip-x { display: inline-flex; align-items: center; gap: 6px; background: var(--soft-2); color: var(--ink); border: 0; border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 14px; }
.chip-x b { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 500; }
.form-note { font-size: 13px; color: var(--muted); }
.form-ok { display: none; text-align: center; padding: var(--s7) var(--s5); }
.form-ok.on { display: block; }
.form-ok h3 { margin: var(--s4) 0 var(--s2); }
.ok-ico { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; }

/* подвал */
.footer { margin-top: var(--s6); background: #f6f8fb; color: var(--text); padding-top: var(--s8); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s6); padding-bottom: var(--s7); }
.footer h4 { color: var(--ink); font-size: 18px; margin-bottom: var(--s4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); font-size: 15px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--blue); }
.foot-logo { display: inline-block; }
.foot-logo img { height: 52px; width: auto; }
.foot-about { font-size: 15px; margin-top: var(--s4); max-width: 24em; color: var(--muted); }
.foot-bottom { border-top: 1px solid var(--line); padding-block: var(--s5); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }

/* каталог */
.page-head { background: var(--grad-soft); padding-block: var(--s8) var(--s7); position: relative; overflow: hidden; }
.page-head h1 { font-size: 68px; }
.page-head p { margin-top: var(--s4); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: var(--s4); display: flex; gap: var(--s2); flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-bottom: var(--s6); }
.filters .lbl { font-size: 14px; color: var(--muted); margin-right: var(--s2); }
.chip { border: 0; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 500; font-size: 15px; text-transform: none; transition: background .2s, color .2s; }
.chip:hover { background: #e2eff5; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sep { width: 1px; height: 28px; background: var(--line); margin-inline: var(--s3); }
.count { margin-left: auto; font-size: 14px; color: var(--muted); }
.empty { grid-column: 1 / -1; text-align: center; padding: var(--s8) var(--s5); background: var(--soft); border-radius: var(--radius); }
.empty h3 { margin-bottom: var(--s3); }
.note { margin-top: var(--s7); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); background: var(--soft); border-radius: var(--radius); padding: var(--s6); }
.note h3 { font-size: 26px; }
.note p { color: var(--muted); margin-top: var(--s2); }

/* карточка товара */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s8); align-items: start; padding-block: var(--s6) var(--s9); }
.pd-img { position: sticky; top: 100px; border-radius: 36px; aspect-ratio: 1 / 1.05; overflow: hidden; }
.pd-img img { position: absolute; left: 50%; top: 9%; height: 82%; width: auto; translate: -50% 0; filter: drop-shadow(0 30px 26px rgba(26,20,82,.18)); }
.pd h1 { font-size: 60px; text-transform: none; letter-spacing: -.03em; }
.pd-sub { font-size: 18px; color: var(--muted); margin-top: var(--s3); }
.pd-badges { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s4); }
.pd-badges span { font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--soft-2); color: var(--ink); text-transform: none; }
.pd-badges .dark { background: var(--ink); color: #fff; }
.pd-desc { margin-top: var(--s5); font-size: 18px; }
.specs { margin: var(--s6) 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 200px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 15px; }
.specs dd { margin: 0; color: var(--ink); font-weight: 500; }
.buy { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; background: var(--soft); border-radius: var(--radius-md); padding: var(--s5); }
.buy .price { font-size: 28px; font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; }
.buy .actions { display: flex; gap: var(--s3); margin-left: auto; flex-wrap: wrap; }
.docs { margin-top: var(--s5); display: grid; gap: var(--s2); }
.doc { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border: 1px dashed #c6cddd; border-radius: var(--radius-sm); font-size: 15px; color: var(--muted); }
.doc svg { color: var(--blue); flex: none; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--grad-soft); position: relative; overflow: hidden; }
.nf b { font-family: var(--font-head); font-size: 180px; line-height: 1; color: var(--ink); letter-spacing: -.05em; display: block; }
.nf p { margin: var(--s4) auto var(--s6); max-width: 28em; }

/* появление при прокрутке */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* планшет */
@media (max-width: 1380px) {
  .bottle-1 { height: 380px; } .bottle-2 { height: 410px; margin-left: -86px; } .bottle-3 { height: 330px; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-in { gap: var(--s4); }
  .head-tel { margin-left: auto; }
  .mnav { display: none; position: fixed; inset: 76px 0 auto; background: #fff; padding: var(--s4) 24px var(--s6); box-shadow: var(--shadow-up); z-index: 49; }
  .mnav.open { display: grid; gap: var(--s1); }
  .mnav a { padding: 14px 8px; font-size: 20px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); text-transform: none; }
  h1 { font-size: 60px; } h2 { font-size: 44px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: var(--s7) var(--s8); }
  .stage { height: 520px; max-width: 640px; width: 100%; margin-inline: auto; }
  .bottle-1 { height: 380px; } .bottle-2 { height: 400px; margin-left: -83px; } .bottle-3 { height: 330px; }
  .tasks { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offer { min-height: 0; }
  .req { grid-template-columns: 1fr; padding: var(--s6); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; gap: var(--s6); }
  .pd-img { position: relative; top: 0; max-width: 620px; }
  .cycle { grid-template-columns: repeat(2, 1fr); }
}

/* телефон */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  h1 { font-size: 42px; line-height: 1.04; } h2 { font-size: 34px; } h3 { font-size: 24px; }
  .hero h1 em { border-radius: 12px; }
  .lead { font-size: 17px; }
  .strip { font-size: 13px; }
  .strip .long { display: none; }
  .strip .short-only { display: inline; }
  .eyebrow { font-size: 13px; line-height: 1.3; }
  .header-in { height: 64px; }
  .logo img { height: 34px; }
  .mnav { inset: 64px 0 auto; }
  .head-tel { display: none; }
  .head-req .lbl { display: none; }
  .head-req { margin-left: auto; padding: 0 16px; }
  .hero-in { padding-block: var(--s6) var(--s7); gap: var(--s5); }
  .hero-cta { gap: var(--s4); }
  .hero-cta .btn { width: 100%; }
  .hero-facts { gap: var(--s5); flex-wrap: wrap; }
  .hero-facts b { font-size: 40px; }
  .stage { height: 440px; }
  .bottle-1 { height: 230px; left: 1%; bottom: 50px; } .bottle-2 { height: 250px; margin-left: -52px; bottom: 56px; } .bottle-3 { height: 200px; right: 1%; bottom: 50px; }
  .bottle-shadow { bottom: 30px; }
  .tag { font-size: 12px; padding: 6px 12px 6px 6px; } .tag i { width: 22px; height: 22px; font-size: 11px; }
  .tag-1 { top: 0; } .tag-2 { top: 42px; } .tag-3 { bottom: 0; }
  .ticker span { font-size: 20px; }
  .section { padding-block: var(--s8); }
  .section-sm { padding-block: var(--s7); }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: var(--s6); }
  .tasks { grid-template-columns: 1fr; gap: var(--s4); }
  .task { min-height: 380px; }
  .task-body { padding: var(--s5); }
  .rail { grid-auto-columns: 78%; gap: 16px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid .card-body { padding: var(--s3); }
  .grid .card h3 { font-size: 18px; }
  .grid .card-desc { display: none; }
  .grid .card-foot { flex-direction: column; align-items: stretch; }
  .grid .add { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: var(--s2); }
  .fact { padding: var(--s3); } .fact b { font-size: 24px; } .fact span { font-size: 12px; }
  .band { border-radius: 28px; padding: var(--s6) var(--s4); }
  .offer { padding: var(--s5); }
  .req { padding: var(--s5) var(--s4); border-radius: 28px; }
  .form { padding: var(--s5) var(--s4); }
  .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .page-head h1 { font-size: 44px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .count { display: none; }
  .note { flex-direction: column; align-items: flex-start; padding: var(--s5); }
  .pd h1 { font-size: 40px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .buy .actions { margin-left: 0; width: 100%; }
  .buy .actions .btn { flex: 1; }
  .cycle { grid-template-columns: 1fr; }
  .nf b { font-size: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
