/* ABK Medical - сайт. Язык референса methodproducts.com (пилюли, пастельные плитки),
   палитра от логотипа ABK и этикеток: индиго, вода, цвет цветка на этикетке. */
/* шрифты свои: Onest (вариативный, 400-500) - текст, Geist (вариативный, 500-700, SIL OFL, fonts/Geist-OFL.txt) - заголовки, как на cloudplus.uz; кириллица + латиница */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/onest-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/onest-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* фолбэк с метриками Onest/Geist: пока шрифт грузится, строки не меняют ширину и высоту (иначе сдвиг верстки) */
@font-face { font-family: "Onest-fb"; src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue"); size-adjust: 104.4%; ascent-override: 92.9%; descent-override: 29.7%; line-gap-override: 0%; }
@font-face { font-family: "Geist-fb"; src: local("Arial Bold"), local("Liberation Sans Bold"), local("Helvetica Neue Bold"), local("Arial"); font-weight: 500 700; size-adjust: 102%; ascent-override: 98.5%; descent-override: 28.9%; line-gap-override: 0%; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/geist-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(fonts/geist-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #1a1452;
  --text: #383a5c;
  --muted: #5b5f7e;
  --line: #e3e7f0;
  --bg: #ffffff;
  --soft: #f1f8fb;
  --soft-2: #e8f4f8;
  --aqua: #08788d;
  --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", "Onest-fb", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Geist", "Geist-fb", "Onest", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ez: cubic-bezier(.16, 1, .3, 1); /* «выезд» с длинным хвостом, как на cloudplus.uz */
  --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: 600; text-transform: none; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: 76px; line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: .98; letter-spacing: -.045em; }
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; }
.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); }

/* шапка */
.header { position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: var(--s6); height: 88px; }
.logo { flex: none; }
.logo img { height: 64px; 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: 13px; 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 .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: 600; color: var(--ink); letter-spacing: -.05em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stage { position: relative; height: 660px; }
.bottle { position: absolute; bottom: 70px; animation: bottle-in 1.2s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes bottle-in { from { opacity: 0; transform: translateY(48px) scale(.96); } }
/* левитация: только сдвиг по вертикали, тень на самой картинке, чтобы браузер не перерисовывал кадр */
.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: 490px; z-index: 2; rotate: -7deg; transform-origin: 50% 100%; }
.bottle-2 { left: 50%; margin-left: -110px; height: 525px; bottom: 80px; z-index: 3; animation-delay: .32s; }
.bottle-3 { right: 1%; height: 425px; z-index: 2; animation-delay: .44s; 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; } }
/* ореол вокруг ДС-1: кольцо в цветах ABK крутится, нижняя дуга копией идет поверх флакона */
.hero { background: #fff; }
.hero h1 { color: #000; font-size: clamp(34px, 4.6vw, 66px); line-height: .98; letter-spacing: -.045em; }
.stage { container-type: inline-size; --b: 80px; --r: min(290px, 46cqw); }
/* центр колец считается от низа ДС-1: дуга на 5 px выше его дна, в нижней точке левитации кольцо слегка перекрывает флакон */
.halo { position: absolute; left: 50%; top: calc(100% - var(--b) - 5px - var(--r)); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; pointer-events: none; will-change: transform; }
.halo-glow { width: min(440px, 70%); background: radial-gradient(closest-side, rgba(23,103,201,.14), rgba(23,103,201,0)); animation: glow 6s ease-in-out infinite; }
.halo-dash { width: min(660px, 102%); border: 1.5px dashed #c7d0ea; animation: spin 60s linear infinite reverse; }
.halo-ring { width: calc(var(--r) * 2); }
.halo-ring i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #2bc4d6, #1767c9, #2a35a8, #1767c9, #2bc4d6);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 14s linear infinite; will-change: transform; }
/* окно неподвижно и по ширине флакона, внутри крутится та же дуга: поверх видна только часть кольца под ДС-1 */
.halo-front { z-index: 4; clip-path: inset(62% 31.5% 0 31.5%); }
@keyframes spin { to { transform: rotate(360deg); } }
/* ДС-1 парит ровно: вверх на 14 px, вниз на 10 px; в нижней точке кольцо проходит по дну флакона */
.bottle-2 img { animation: float-ds 6s ease-in-out infinite; animation-delay: 0s; }
.sh-2 { animation: shadow 6s ease-in-out -3s infinite; }
@keyframes float-ds { 0%, 100% { transform: translateY(-14px); } 50% { transform: translateY(10px); } }
/* живость: встречная дуга, свечение за ДС-1 дышит в такт его левитации,
   подписи парят вместе со своими флаконами. Только transform и opacity, чтобы не грузить браузер */
.halo-arc { width: calc(var(--r) * 2 + 44px); border: 2px solid transparent; border-top-color: rgba(43,196,214,.55); border-right-color: rgba(23,103,201,.25); animation: spin 22s linear infinite reverse; }
@keyframes glow { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.halo-ring { animation: ring-in 1.4s var(--ease) both; }
@keyframes ring-in { from { opacity: 0; transform: scale(.82) rotate(-40deg); } to { opacity: 1; transform: none; } }
.bottle-1 .tag { animation: float 6s ease-in-out infinite; }
.bottle-2 .tag { animation: float-ds 6s ease-in-out infinite; }
.bottle-3 .tag { animation: float 6s ease-in-out -4s infinite; }
.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 i { background: #c8231b; } .tag-2 i { background: #2a35a8; } .tag-3 i { background: var(--aqua); }
/* подпись стоит над крышкой своего флакона и поворачивается обратно, чтобы читалась ровно */
.bottle .tag { bottom: calc(100% + 14px); }
.tag-1 { left: 18%; rotate: 7deg; }
.tag-2 { left: 50%; translate: -50% 0; }
.tag-3 { right: 0; rotate: -7deg; }

@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: #07707f; 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); }

/* карточки товаров */
.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 .4s var(--ease), transform .45s var(--ease); }
.card:hover { box-shadow: 0 0 0 1px transparent, var(--shadow-up); transform: translateY(-6px); }
.card-img { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; }
/* один спокойный фон у всех карточек: цвет дают этикетка и плашка типа, а не стена; флакон стоит на полу с отражением, верх не выше 44 px от края, чтобы не залезать под плашку */
.card-img { background: linear-gradient(#f3f5fa 0 82%, #e9edf5 82%); }
.card-img .badge { z-index: 3; }
.card-img img { position: absolute; left: 50%; bottom: 12%; height: min(82%, calc(88% - 44px)); -webkit-box-reflect: below 0 linear-gradient(transparent 70%, rgba(255,255,255,.3)); width: auto; translate: -50% 0; filter: drop-shadow(0 16px 14px rgba(26,20,82,.15)); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-img img { transform: translateY(-12px) rotate(-2.5deg) scale(1.05); }
.badge { position: absolute; left: 14px; top: 14px; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); text-transform: none; white-space: nowrap; box-shadow: 0 0 0 1px var(--line); }
.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.1; text-transform: none; letter-spacing: -.025em; }
.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: 13px; color: var(--muted); font-weight: 400; }
.add { position: relative; z-index: 2; }

/* флаг и о компании */
.about { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s7); align-items: center; min-height: 560px; padding-block: var(--s8); }
/* флаг развевается фоном под всем блоком: на всю ширину окна, логотип слева, справа спокойная ткань под текстом */
.flag { position: absolute; z-index: 0; top: calc(-1 * var(--s8)); bottom: calc(-1 * var(--s8)); left: calc(50% - 50vw); width: 100vw; background: #fff;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.flag video { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.flag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 42%, rgba(255,255,255,.55) 62%, rgba(255,255,255,.7)); pointer-events: none; }
.about > :not(.flag) { position: relative; z-index: 1; grid-column: 2; }
.flag-cap { display: none; }
#about { overflow: hidden; }
.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: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(20,24,60,.06); border-radius: var(--radius-sm); padding: var(--s4) var(--s4) var(--s5); }
.fact b { display: block; font-family: var(--font-head); font-weight: 600; 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: 600; color: var(--aqua); font-size: 18px; }
.step h3 { font-size: 22px; margin: var(--s2) 0 var(--s2); }
.step p { font-size: 15px; color: var(--muted); }

/* клиенты: плотная панель на мягком фоне, два ряда логотипов навстречу */
.clients { padding-block: var(--s8); }
.clients-in { background: var(--grad-soft); border-radius: var(--radius); padding: var(--s7) 0 var(--s7); overflow: hidden; }
.clients .sec-head { padding-inline: var(--s7); margin-bottom: var(--s6); align-items: end; }
.clients-num { display: grid; gap: var(--s2); margin: 0; max-width: none; color: var(--muted); font-size: 15px; line-height: 1.35; }
.clients-num b { font-family: var(--font-head); font-weight: 600; font-size: 56px; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.clients-num span { max-width: 13em; }
.logos { display: grid; gap: var(--s4); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent); }
.logos-track { display: flex; gap: var(--s4); width: max-content; animation: run 46s linear infinite; }
.logos-rev { animation-direction: reverse; animation-duration: 54s; }
.logos:hover .logos-track { animation-play-state: paused; }
.logo-tile { flex: none; width: 248px; height: 128px; background: #fff; border-radius: var(--radius-md); display: grid; place-items: center; padding: var(--s4) var(--s5); box-shadow: 0 1px 2px rgba(26,20,82,.04); }
.logo-tile img { max-height: 88px; max-width: 100%; width: auto; height: 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, .field-cap { 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); }
.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: var(--ink); color: #d4d6ea; padding-top: var(--s8); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s6); padding-bottom: var(--s7); }
.footer h2 { color: #fff; font-size: 18px; letter-spacing: -.01em; 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: #8fd3ff; }
.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: #b9bcd8; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: var(--s5); font-size: 13px; color: #b9bcd8; 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); white-space: nowrap; }
.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; }
.specs dd::first-letter { text-transform: uppercase; }
.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: 600; letter-spacing: -.02em; }
.buy .actions { display: flex; gap: var(--s3); margin-left: auto; flex-wrap: wrap; }
.pd-abbr { margin-top: var(--s3); font-size: 14px; color: var(--muted); }
.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; }

/* появление при прокрутке */
/* блок «больше, чем средства»: светлые карточки с фото */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.svc-card { background: var(--soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc-ph { aspect-ratio: 3 / 2; overflow: hidden; }
.svc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-ph img { transform: scale(1.04); }
.svc-tx { padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); flex: 1; }
.svc-tx h3 { color: var(--ink); font-size: 28px; }
.svc-tx p { font-size: 17px; }
.svc-tx .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 980px) { .svc { grid-template-columns: 1fr; } .svc-ph { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .svc-tx { padding: var(--s5); } .svc-tx h3 { font-size: 24px; } }

.rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ez), transform 1s var(--ez); }
.rv.in { opacity: 1; transform: none; }

/* планшет */
@media (max-width: 1380px) {
  .bottle-1 { height: 425px; } .bottle-2 { height: 460px; margin-left: -96px; } .bottle-3 { height: 370px; }
  .tag { font-size: 13px; padding: 6px 14px 6px 6px; } .tag i { width: 24px; height: 24px; font-size: 12px; }
  .tag-3 { right: 22%; }
}

@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: 88px 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; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: var(--s7) var(--s8); }
  .stage { height: 580px; max-width: 680px; width: 100%; margin-inline: auto; }
  .bottle-1 { height: 420px; } .bottle-2 { height: 445px; margin-left: -93px; } .bottle-3 { height: 365px; }
  .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: minmax(0, 1fr); min-height: 0; padding-block: 0; gap: var(--s6); }
  .flag { position: relative; top: auto; bottom: auto; left: auto; margin-left: calc(50% - 50vw); aspect-ratio: 16 / 10; max-height: 520px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 10%, #000 80%, transparent); }
  .flag::after { display: none; }
  .flag video { object-position: 0% 50%; }
  .about > :not(.flag) { grid-column: auto; }
  .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; } h2 { font-size: 36px; line-height: 1; } h3 { font-size: 24px; }
  .lead { font-size: 17px; }
  .header-in { height: 68px; }
  .logo img { height: 48px; }
  .mnav { inset: 68px 0 auto; }
  .head-tel { display: none; }
  .head-req .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .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 { display: grid; grid-template-columns: auto auto 1fr; gap: var(--s5); }
  .hero-facts li { font-size: 14px; }
  .hero-facts b { font-size: 36px; }
  .stage { height: 480px; }
  .bottle-1 { height: 255px; left: 1%; bottom: 50px; } .bottle-2 { height: 280px; margin-left: -58px; bottom: 56px; } .bottle-3 { height: 222px; right: 1%; bottom: 50px; }
  .bottle-shadow { bottom: 30px; }
  .tag { font-size: 13px; padding: 6px 12px 6px 6px; } .tag i { width: 22px; height: 22px; font-size: 12px; }
  .tag-d { display: none; }
  .bottle .tag { bottom: calc(100% + 8px); } .tag-1 { left: 16px; } .tag-3 { right: 12px; }
  .stage { --b: 56px; }
  .section { padding-block: var(--s8); }
  .section-sm { padding-block: var(--s7); }
  .clients { padding-block: var(--s6); }
  .clients-in { padding-block: var(--s6); border-radius: var(--radius-md); }
  .clients .sec-head { padding-inline: var(--s5); margin-bottom: var(--s5); gap: var(--s4); align-items: flex-start; }
  .clients-num { grid-template-columns: auto 1fr; align-items: center; gap: var(--s3); font-size: 14px; }
  .clients-num b { font-size: 40px; }
  .logos { gap: var(--s3); }
  .logos-track { gap: var(--s3); }
  .logo-tile { width: 168px; height: 96px; padding: var(--s3) var(--s4); border-radius: var(--radius-sm); }
  .logo-tile img { max-height: 66px; }
  .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 .badge { left: 10px; top: 10px; font-size: 12px; padding: 3px 9px; }
  .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: 13px; }
  /* «ISO 9001» не влезает в треть экрана: факты строками, цифра слева */
  .facts { grid-template-columns: 1fr; }
  .fact { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); }
  .fact span { margin-top: 0; font-size: 14px; }
  .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; }
}

/* ===== магазин: кнопки покупки, количество, корзина, 1 клик, оформление ===== */
.card-foot { flex-direction: column; align-items: stretch; gap: var(--s3); }
.card-buy { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.card-buy .add, .card-buy .qty { flex: 1 1 auto; }
/* над растянутой ссылкой карточки, иначе клики по количеству и «в 1 клик» уходят на страницу товара */
.card-buy .qty, .card-buy .oneclick { position: relative; z-index: 2; }
.oneclick { border: 0; background: none; color: var(--blue); font: inherit; font-size: 14px; font-weight: 500; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(23,103,201,.35); cursor: pointer; white-space: nowrap; }
.oneclick:hover { text-decoration-color: var(--blue); }
.qty { display: inline-flex; align-items: center; justify-content: space-between; min-height: 52px; border-radius: 999px; background: var(--soft-2); padding: 4px; gap: 4px; min-width: 132px; }
.qty[hidden] { display: none; }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font: 500 22px/1 var(--font); cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--ink); color: #fff; }
.qty span { min-width: 28px; text-align: center; font-weight: 500; color: var(--ink); }
.qty-sm { min-height: 44px; min-width: 112px; }
.qty-sm button { width: 36px; height: 36px; font-size: 19px; }
.pd-call { margin-top: var(--s3); font-size: 15px; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }
body.lock { overflow: hidden; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; flex: none; }
.x:hover { background: var(--soft-2); }

.cart-ov { position: fixed; inset: 0; z-index: 90; background: rgba(16,14,50,.38); }
.cart-ov[hidden] { display: none; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(440px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(16,14,50,.18); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s var(--ease); visibility: hidden; }
.cart.open { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s5) var(--s5) var(--s4); border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 28px; }
.cart-items { flex: 1; overflow-y: auto; padding: var(--s2) var(--s5); }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: var(--s4); padding: var(--s6); color: var(--muted); text-align: center; }
.cart-empty[hidden], .cart-foot[hidden] { display: none; }
.cart-foot { padding: var(--s4) var(--s5) var(--s5); border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
.cart-total, .co-total, .oc-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; color: var(--muted); }
.cart-total b, .co-total b { font-family: var(--font-head); font-size: 28px; color: var(--ink); }
.cart-note, .co-note { font-size: 13px; color: var(--muted); margin: 0; }
.ci { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "img t x" "img q s"; gap: 6px var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.ci img { grid-area: img; width: 56px; height: 90px; object-fit: contain; background: var(--soft); border-radius: 12px; padding: 6px; }
.ci-t { grid-area: t; display: grid; gap: 2px; font-size: 15px; }
.ci-t a { color: var(--ink); font-weight: 500; }
.ci-t span { font-size: 13px; color: var(--muted); }
.ci .qty { grid-area: q; justify-self: start; }
.ci-s { grid-area: s; color: var(--ink); }
.ci-x { grid-area: x; justify-self: end; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.ci-x:hover { background: var(--soft); color: var(--red); }

.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: var(--s4); }
.modal[hidden] { display: none; }
.modal-ov { position: absolute; inset: 0; background: rgba(16,14,50,.45); }
.modal-box { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: var(--radius); padding: var(--s6); box-shadow: var(--shadow-up); }
.modal-box > .x { position: absolute; top: 14px; right: 14px; }
.modal-box form { display: grid; gap: var(--s4); }
.modal-box h3 { font-size: 30px; padding-right: 48px; }
.oc-what { display: grid; gap: 6px; background: var(--soft); border-radius: var(--radius-sm); padding: var(--s3) var(--s4); font-size: 15px; }
.oc-what div { display: flex; justify-content: space-between; gap: var(--s3); }
.oc-what b { color: var(--ink); white-space: nowrap; }
.oc-total { border-top: 1px solid var(--line); padding-top: 6px; }
.oc-ok, .co-ok { display: grid; gap: var(--s3); justify-items: start; }
.oc-ok[hidden], .co-ok[hidden] { display: none; }
.oc-ok h3, .co-ok h3 { font-size: 28px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 96; transform: translate(-50%, 20px); opacity: 0; transition: transform .3s var(--ease), opacity .3s; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 10px 10px 20px; display: flex; align-items: center; gap: var(--s3); box-shadow: var(--shadow-up); font-size: 15px; max-width: calc(100% - 24px); }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast[hidden] { display: none; }
.toast span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; padding: 8px 14px; cursor: pointer; white-space: nowrap; }

.co-title { font-size: 56px; margin: var(--s4) 0 var(--s6); }
.co { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s7); align-items: start; padding-bottom: var(--s9); }
.co-form { display: grid; gap: var(--s5); }
.co-form[hidden], .co-sum[hidden] { display: none; }
.co-form fieldset { border: 0; margin: 0; padding: var(--s5); background: var(--soft); border-radius: var(--radius); display: grid; gap: var(--s4); }
.co-form legend { float: left; width: 100%; padding: 0; font-family: var(--font-head); font-weight: 600; font-size: 24px; color: var(--ink); }
.co-form legend::first-letter { text-transform: uppercase; }
.co-form .field input, .co-form .field textarea { background: #fff; }
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; gap: 4px; justify-self: start; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; border-radius: 999px; font-weight: 500; color: var(--ink); }
.seg span::first-letter { text-transform: uppercase; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.co-hint { margin: 0; font-size: 14px; color: var(--muted); }
.co-hint[hidden], [data-org][hidden], [data-addr][hidden], .pay-opt[hidden] { display: none; }
.pay { display: grid; gap: var(--s2); }
.pay-opt { display: flex; gap: var(--s3); align-items: flex-start; background: #fff; border: 2px solid transparent; border-radius: var(--radius-sm); padding: var(--s3) var(--s4); cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--ink); }
.pay-opt input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; }
.pay-opt b { display: block; color: var(--ink); font-weight: 500; }
.pay-opt b::first-letter { text-transform: uppercase; }
.pay-logo { display: inline-block; height: 20px; width: auto; margin-left: 6px; vertical-align: -4px; }
.pay-opt small { color: var(--muted); font-size: 14px; }
.pay-opt.is-off { opacity: .6; cursor: default; }
.soon { font-style: normal; font-size: 12px; background: var(--soft-2); color: var(--blue); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.co-sum { position: sticky; top: 100px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s5); display: grid; gap: var(--s4); }
.co-sum h3 { font-size: 26px; }
.co-items .ci:last-child { border-bottom: 0; }
.co-empty[hidden] { display: none; }
.co-go { width: 100%; }
.co-go:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.co-ok { grid-column: 1 / -1; background: var(--soft); border-radius: var(--radius); padding: var(--s7); }
@media (max-width: 980px) { .co { grid-template-columns: 1fr; } .co-sum { position: static; } .co-title { font-size: 40px; } }
@media (max-width: 560px) {
  .co-form fieldset { padding: var(--s4); }
  .modal-box { padding: var(--s5); }
  .card-buy { flex-direction: column; align-items: stretch; }
  .card-buy .qty { min-width: 0; }
  .oneclick { padding: 4px; }
  .toast { width: calc(100% - 24px); justify-content: space-between; font-size: 14px; }
}

/* ===== раунд 2 (V20): страница товара - покупка выше описания, нижняя полоса, подробности; полный прайс; состояния ===== */
#main > .container > .crumbs { margin-top: var(--s6); }
.pd-main .buy { margin-top: var(--s5); }
.pd-main .pd-desc { margin-top: var(--s6); }
.btn-ghost:active, .btn-white:active { transform: none; }
.btn-ghost.is-on { background: linear-gradient(var(--soft-2), var(--soft-2)) padding-box, var(--grad-ring) border-box; }
.chip:focus-visible, .qty button:focus-visible, .arrow:focus-visible, .x:focus-visible, .ci-x:focus-visible { outline-offset: 2px; border-radius: 999px; }
.mnav a[aria-current="page"] { color: var(--blue); }
/* бургер превращается в крестик, пока меню открыто */
.burger span, .burger span::before, .burger span::after { transition: transform .2s var(--ease), background .2s, top .2s var(--ease); }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.sbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(26,20,82,.08); padding-block: 10px calc(10px + env(safe-area-inset-bottom)); animation: sbar-in .25s var(--ease); }
@keyframes sbar-in { from { transform: translateY(100%); } to { transform: none; } }
.sbar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.sbar-t { display: grid; min-width: 0; line-height: 1.25; }
.sbar-t b { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar-t span { font-weight: 500; color: var(--ink); font-size: 15px; }
.sbar .btn { flex: none; min-width: 148px; }
body.has-sbar { padding-bottom: 72px; }
body.has-sbar .toast { bottom: 88px; }

.pd-more { padding-top: 0; }
.more-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s5); align-items: start; }
.more-col { display: grid; gap: var(--s5); }
.more-card { background: var(--soft); border-radius: var(--radius); padding: var(--s6); }
.more-card h3 { font-size: 26px; margin-bottom: var(--s4); }
.more-card p { font-size: 16px; }
.modes { width: 100%; border-collapse: collapse; font-size: 16px; }
.modes thead th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 var(--s3) var(--s2) 0; border-bottom: 1px solid var(--line); }
.modes .mode-h th { text-align: left; padding: var(--s4) 0 var(--s1); font-size: 15px; font-weight: 600; color: var(--aqua); }
.modes td { padding: 9px var(--s3) 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.modes td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; width: 1%; }
.modes td:last-child { color: var(--text); }
.pd-note { margin-top: var(--s3); font-size: 14px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); font-size: 16px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2px solid var(--aqua); border-bottom: 2px solid var(--aqua); transform: rotate(-45deg); }

.pl-tools { display: grid; gap: var(--s4); margin-bottom: var(--s3); }
.pl-search { max-width: 460px; }
.pl-nav { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pl-nav .chip { display: inline-flex; align-items: center; gap: 6px; }
.pl-nav .chip span { color: var(--muted); font-size: 13px; }
.pl-count { margin: var(--s3) 0 0; }
.pl-grp { margin-top: var(--s7); scroll-margin-top: 96px; }
.pl-grp h2 { font-size: 32px; margin-bottom: var(--s3); }
.pl { width: 100%; border-collapse: collapse; }
/* одинаковые колонки во всех разделах прайса */
.pl { table-layout: fixed; }
.pl thead th:nth-child(1) { width: 54%; } .pl thead th:nth-child(2) { width: 13%; } .pl thead th:nth-child(3) { width: 16%; } .pl thead th:nth-child(4) { width: 17%; }
.pl-act { text-align: right; }
.pl thead th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); }
.pl tbody th, .pl tbody td { padding: 12px var(--s3); border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.pl tbody th { font-weight: 500; color: var(--ink); }
.pl tbody tr { scroll-margin-top: 96px; transition: background .2s; }
.pl tbody tr:hover { background: #f7fbfd; }
.pl tbody tr:target { background: var(--soft-2); }
.pl-pack { white-space: nowrap; color: var(--text); }
.pl-price { white-space: nowrap; font-weight: 600; color: var(--ink); }
.pl-req { font-weight: 400; color: var(--muted); }
.pl-act { white-space: nowrap; }
.pl-act .card-buy { flex-wrap: nowrap; justify-content: flex-end; }
.pl-act .btn, .pl-act .qty { min-width: 128px; }
.pl-foot { margin-top: var(--s6); }

.cart-empty svg { color: #aab4d0; }
.cart-empty p b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.cart-empty-go { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.ci-ph { grid-area: img; width: 56px; height: 90px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font: 600 12px var(--font-head); color: #8e98bb; letter-spacing: .04em; }

@media (max-width: 980px) { .more-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  #main > .container > .crumbs { margin: var(--s3) 0 var(--s3); font-size: 13px; }
  .pd { padding-top: 0; gap: var(--s4); }
  .pd-img { aspect-ratio: 16 / 9; border-radius: 24px; }
  .pd-img img { top: 7%; height: 86%; }
  .pd-badges { margin-bottom: var(--s3); }
  .pd-badges span:nth-child(n+3) { display: none; }
  .pd h1 { font-size: 34px; }
  .pd-sub { font-size: 16px; margin-top: var(--s2); }
  .pd-main .buy { margin-top: var(--s4); padding: var(--s4); gap: var(--s3); }
  .buy .price { font-size: 26px; }
  .buy .actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .buy .actions .btn { padding: 0 12px; font-size: 16px; }
  .buy .actions .qty { min-width: 0; }
  .more-card { padding: var(--s5) var(--s4); border-radius: 24px; }
  .more-card h3 { font-size: 22px; }
  .modes td:first-child { white-space: normal; width: 42%; }
  .sbar-t b { font-size: 16px; }
  .sbar .btn { min-width: 120px; }
  .pl-grp h2 { font-size: 26px; }
  .pl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pl, .pl tbody { display: block; }
  .pl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "n n n" "k p a"; align-items: center; gap: 6px var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .pl tbody th, .pl tbody td { display: block; padding: 0; border: 0; }
  .pl tbody th { grid-area: n; }
  .pl-pack { grid-area: k; font-size: 14px; color: var(--muted); white-space: normal; }
  .pl-price { grid-area: p; text-align: right; }
  .pl-act { grid-area: a; width: auto; }
  .pl-act .card-buy { flex-direction: row; }
  .pl-act .btn, .pl-act .qty { min-width: 112px; padding-inline: 16px; }
}

/* движение (12.10): только transform и opacity; все выключается в prefers-reduced-motion ниже */
/* переход между страницами: браузеры без View Transitions просто открывают страницу */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
::view-transition-old(root) { animation: vt-out .2s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) .05s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.header { view-transition-name: site-head; }
/* флакон из карточки или hero перелетает в фото товара: имя карточке ставит app.js на pageswap */
.pd-img img { view-transition-name: bottle; }
::view-transition-group(bottle) { animation-duration: .6s; animation-timing-function: cubic-bezier(.3, .8, .2, 1); }

/* шапка при прокрутке становится ниже и получает тень; высота в потоке не меняется (без сдвига страницы) */
.header { pointer-events: none; }
.header::before, .header::after { content: ""; position: absolute; inset: 0; z-index: -1; transform-origin: 50% 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.header::before { background: #fff; }
.header::after { box-shadow: 0 10px 30px rgba(26,20,82,.08), 0 1px 0 var(--line); opacity: 0; transform: scaleY(.773); }
.header-in, .header-in .logo { transition: transform .45s var(--ease); }
.header-in > *, .header > :not(.header-in) { pointer-events: auto; }
.header.is-scrolled::before { transform: scaleY(.773); }
.header.is-scrolled::after { opacity: 1; }
.header.is-scrolled .header-in { transform: translateY(-10px); }
.header.is-scrolled .logo { transform: scale(.8); }
.header-in .logo { transform-origin: 0 50%; }
body:has(.mnav.open) .header.is-scrolled::before, body:has(.mnav.open) .header.is-scrolled::after, body:has(.mnav.open) .header.is-scrolled .header-in, body:has(.mnav.open) .header.is-scrolled .logo { transform: none; }

/* первый экран: слова заголовка, текст, кнопки, цифры по очереди; флаконы поднимаются следом */
/* поля обертки и отрицательные отступы - чтобы маска не срезала Й, хвосты у/д и выступ буквы при плотном трекинге */
.w { display: inline-block; vertical-align: top; overflow: hidden; padding: .1em .08em .16em; margin: -.1em -.08em -.16em; }
.w > span { display: inline-block; }
.hero h1 .w > span { animation: word-in 1.15s var(--ez) both; animation-delay: calc(.05s + var(--i) * 70ms); }
@keyframes word-in { from { transform: translateY(112%); } }
.hero .lead { animation: rise-in .9s var(--ease) .38s both; }
.hero-cta { animation: rise-in .9s var(--ease) .48s both; }
.hero-facts li { animation: rise-in .9s var(--ease) .58s both; }
.hero-facts li:nth-child(2) { animation-delay: .66s; } .hero-facts li:nth-child(3) { animation-delay: .74s; }

/* заголовки секций проявляются по словам */
.split .w > span { transform: translateY(112%); transition: transform 1.15s var(--ez); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }

/* кнопки: отклик на нажатие, стрелка подается вперед */
.btn:active, .chip:active, .arrow:active, .qty button:active, .oneclick:active, .burger:active { transform: scale(.96); transition-duration: .08s; }
.btn > svg:last-child { transition: transform .3s var(--ease); }
.btn:hover > svg:last-child { transform: translateX(3px); }

/* «Купить»: флакон летит в корзину, счетчик подпрыгивает */
.fly { position: fixed; left: 0; top: 0; z-index: 97; pointer-events: none; will-change: transform; }
.fly > * { display: block; will-change: transform, opacity; transform-origin: 50% 50%; }
.fly img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(26,20,82,.2)); }
.fly-dot { border-radius: 50%; background: var(--blue); }
.req-count.bump { animation: bump .55s cubic-bezier(.3, 1.6, .5, 1); }
.head-req.bump { animation: nudge .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
@keyframes nudge { 35% { transform: scale(1.06); } }

/* приемы cloudplus.uz в цветах ABK */
/* акцентные слова заголовка - градиентом бренда (как .hz-w .em, .ig-h span) */
.w.em > span, .em .w > span, .em:not(:has(.w)) { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* главная кнопка первого экрана: мягкое свечение снизу и блик, пробегающий по ней (cloudplus .hz-btn, hzShim) */
.hero-cta .btn-primary { position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 14px 40px -12px rgba(23,103,201,.7); transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, background .2s; }
.hero-cta .btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 18px 46px -12px rgba(23,103,201,.95); }
.hero-cta .btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(140,210,255,.45) 50%, transparent 70%); transform: translateX(-100%); animation: sheen 1.4s var(--ez) 1.6s both; pointer-events: none; }
.hero-cta .btn-primary:hover::after { animation: sheen 1.1s var(--ez) both; }
@keyframes sheen { to { transform: translateX(100%); } }
/* шапка при прокрутке - матовое стекло (cloudplus nav: blur 14px, saturate 120%) */
.header::before { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
/* заявка: медленное сияние фона (cloudplus hzAur, 60 с на круг); двигается только transform - без перерисовки */
.req { position: relative; overflow: hidden; isolation: isolate; }
.req::before { content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none; background: radial-gradient(30% 30% at 30% 35%, rgba(43,196,214,.22), transparent 70%), radial-gradient(28% 28% at 70% 65%, rgba(42,53,168,.16), transparent 70%); animation: aurora 60s linear infinite; will-change: transform; }
@keyframes aurora { to { transform: rotate(360deg); } }
/* шаги 01-04: тонкая линия-волосок и номер табличными цифрами, как разметка секций cloudplus */
.step { border-top-width: 1px; border-top-color: rgba(26,20,82,.18); }
.step::before { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .split .w > span { opacity: 1; transform: none; }
  .fly { display: none; }
  .logos { mask-image: none; -webkit-mask-image: none; padding-inline: var(--s5); }
  .logos-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .logos-rev, .logo-tile[aria-hidden] { display: none; }
}

/* ===== 14.10: главная плотнее, лента доверия, темный блок услуг, задачи 2x2 на телефоне ===== */
/* на главной секции были по 128 px сверху и снизу - между блоками выходило по полэкрана */
.home .section { padding-block: clamp(64px, 6.5vw, 96px); }
.home .section-sm { padding-block: clamp(56px, 5.5vw, 80px); }
.home .hero-in { min-height: 0; padding-block: var(--s7) var(--s4); }
.home .clients { padding-block: var(--s7); }

/* лента доверия под первым экраном */
.trust { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: var(--s4) var(--s6); list-style: none; margin-block: 0; padding-block: var(--s5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.trust li { display: flex; align-items: center; gap: var(--s3); font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.trust svg { flex: none; color: var(--aqua); }

/* «Больше, чем средства» - на фирменном темно-синем */
.dark { background: var(--ink); color: #d4d6ea; }
.dark h2, .dark h3 { color: #fff; }
.dark .kicker { color: #7fd8e6; }
.dark .sec-head p { color: #b9bcd8; }
.dark .svc-card { background: #251f63; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.dark .svc-tx h3 { color: #fff; }
.dark .svc-tx p { color: #d4d6ea; }
.dark .btn-ghost { background: #fff; border-color: #fff; }

@media (max-width: 1180px) {
  .trust { grid-template-columns: repeat(2, auto); justify-content: start; }
}
@media (max-width: 720px) {
  .home .hero-in { padding-block: var(--s6) 0; }
  .trust { grid-template-columns: 1fr 1fr; gap: var(--s4); padding-block: var(--s4); }
  .trust li { font-size: 14px; align-items: flex-start; gap: var(--s2); }
  .trust svg { width: 20px; height: 20px; }
}
/* телефон: четыре задачи сеткой 2x2 вместо четырех почти полноэкранных карточек; описание прячем - в полкарточки оно не помещается, заголовок и ссылка остаются */
@media (max-width: 640px) {
  .tasks { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .task { min-height: 0; aspect-ratio: 3 / 4; border-radius: var(--radius-md); }
  .task-body { padding: var(--s3) var(--s3) var(--s4); }
  .task h3 { font-size: 17px; line-height: 1.12; letter-spacing: -.02em; }
  .task p { display: none; }
  /* стрелку убираем: в полкарточки «смотреть средства» с ней переносится, а ссылка - вся карточка */
  .task .go { margin-top: var(--s2); font-size: 13px; white-space: nowrap; }
  .task .go svg { display: none; }
  .task::after { background: linear-gradient(180deg, rgba(12,16,24,0) 25%, rgba(12,16,24,.6) 55%, rgba(12,16,24,.9) 100%); }
}

.dev-credit { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dev-credit:hover { color: #9fd3ff; }
