/* IMMUNOMED — www.immunomodulin.uz
   Фирменные цвета взяты из каталога «Иммуномодулин». */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-var.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --red: #ED1C24;
  --red-dark: #C8141B;
  --red-tint: #FDE8EA;
  --navy: #1A468D;
  --navy-deep: #112F61;
  --mist: #E4EAF8;
  --mist-soft: #F1F4FB;
  --ink: #231F20;
  --grey: #5E5A5B;
  --grey-light: #A9A6A7;
  --line: #D9DFEB;
  --row: #F4F4F4;
  --white: #FFFFFF;

  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "kern", "liga", "calt";
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
strong, b { font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.85rem, 4.6vw, 3.55rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 68ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.55; color: var(--ink); }
.muted { color: var(--grey); }
.small { font-size: .875rem; line-height: 1.5; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 8px; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; box-shadow: 0 18px 30px -20px rgba(17,47,97,.35); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--red); }
  .nav .btn { margin: 16px 0 0; text-align: center; border-bottom: 0; border-radius: 999px; }
  .brand img { height: 46px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--mist); color: var(--navy); }
.nav .btn--red { color: #fff; padding: 11px 20px; }
.nav .btn--red:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec--tight { padding: clamp(44px, 6vw, 72px) 0; }
.sec--mist { background: var(--mist-soft); }
.sec--navy { background: var(--navy-deep); color: #fff; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--grey); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Cube texture — фирменный фон каталога */
.cubes { position: relative; isolation: isolate; }
.cubes::before { content: ""; position: absolute; top: 0; right: 0; width: min(46vw, 560px); height: 400px; background: url("../img/cubes.jpg") right top / 560px auto no-repeat; mix-blend-mode: multiply; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom left, #000 30%, transparent 78%); mask-image: linear-gradient(to bottom left, #000 30%, transparent 78%); }

.cubes--left::before { right: auto; left: 0; background-position: left top; -webkit-mask-image: linear-gradient(to bottom right, #000 30%, transparent 78%); mask-image: linear-gradient(to bottom right, #000 30%, transparent 78%); }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-brand { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: 1rem; letter-spacing: .02em; margin-bottom: 18px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(1.8rem, 3.6vw + .4rem, 3.05rem); }
.hero .lead { max-width: 46ch; margin-bottom: 32px; }
.hero-tag { margin-top: 36px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.02rem; max-width: 34ch; }

.shield-stage { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 560 / 600; }
.shield-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.shield-stage .shield-path { fill: none; stroke: var(--red); stroke-width: 15; stroke-linejoin: round; }
.shield-stage img { position: absolute; }
.shield-stage .p-main { width: 71%; left: 12%; top: 24.5%; }
.shield-stage .p-for { width: 36%; left: 17.5%; top: 60.5%; }
.shield-stage .p-kom { width: 40%; left: 53.4%; top: 56%; }
@media (prefers-reduced-motion: no-preference) {
  .shield-stage .shield-path { stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: draw 1.6s .2s cubic-bezier(.6,.05,.2,1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .shield-stage { margin: 8px auto 0; max-width: 440px; }
  .hero h1 { max-width: none; }
}

/* ---------- Facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 28px 22px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 10px; }
.fact b.is-red { color: var(--red); }
.fact span { display: block; font-size: .9rem; line-height: 1.4; color: var(--grey); }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .fact:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* ---------- Product line ---------- */
.line-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.line-scale span { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.line-scale span::after { content: ""; flex: 1; height: 2px; background: var(--navy); opacity: .35; }
.line-scale span:first-child { color: var(--red); }
.line-scale span:first-child::after { background: var(--red); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.product-img { display: flex; align-items: center; justify-content: center; height: 250px; padding: 28px; background: #fff; border-bottom: 1px solid var(--line); }
.product-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.product-role { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--red); margin-bottom: 6px; }
.product h3 { font-size: 1.35rem; margin-bottom: 12px; }
.product-comp { font-weight: 600; font-size: .95rem; line-height: 1.45; margin-bottom: 12px; }
.product p { font-size: .97rem; color: var(--grey); }
.product .btn { margin-top: auto; align-self: flex-start; }
.line-motto { margin: 36px 0 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.45; color: var(--navy); max-width: 60ch; }
@media (max-width: 900px) {
  .products { grid-template-columns: 1fr; }
  .line-scale { display: none; }
  .product { display: grid; grid-template-columns: 200px 1fr; }
  .product-img { height: auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 20px; }
}
@media (max-width: 560px) {
  .product { display: flex; }
  .product-img { height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Split blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
@media (max-width: 860px) { .split, .split--wide-left, .split--wide-right { grid-template-columns: minmax(0, 1fr); } }

/* Founder */
.founder { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.founder-photo { position: relative; }
.founder-photo img { border-radius: 4px; width: 100%; }
.founder-photo::before { content: ""; position: absolute; left: -14px; top: 28px; bottom: 40%; width: 18px; border: 3px solid var(--red); border-right: 0; border-radius: 10px 0 0 10px; }
.founder-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin: 18px 0 4px; }
.founder-title { font-size: .9rem; color: var(--grey); line-height: 1.45; }
.quote { margin: 28px 0 0; padding: 0; font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; color: var(--navy); }
.quote::before { content: "“"; display: block; color: var(--red); font-size: 3.2rem; line-height: .6; margin-bottom: 8px; font-style: normal; }
.regalia { list-style: none; padding: 0; margin: 0; }
.regalia li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .97rem; }
.regalia li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 260px; margin-left: 14px; } }

/* Production gallery */
.gallery { display: grid; grid-template-columns: 1.1fr .8fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 10px; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-a { grid-row: 1 / 3; }
.gallery .g-b { grid-row: 1 / 3; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; } .gallery .g-a { grid-row: 1 / 3; } .gallery .g-b { grid-row: auto; } }

.gallery-5 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.gallery-5 figure { margin: 0; overflow: hidden; border-radius: 10px; background: var(--mist); position: relative; }
.gallery-5 img { width: 100%; height: 100%; object-fit: cover; }
.gallery-5 figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(17,47,97,.78)); }
.gallery-5 .w3 { grid-column: span 3; } .gallery-5 .w2 { grid-column: span 2; } .gallery-5 .tall { grid-row: span 2; }
@media (max-width: 860px) { .gallery-5 { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } .gallery-5 .w3, .gallery-5 .w2 { grid-column: span 1; } .gallery-5 .tall { grid-row: span 2; } }

/* Quality points */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.point { padding: 22px 0 24px; border-top: 2px solid var(--navy); }
.point h3 { font-size: 1.06rem; margin-bottom: 6px; }
.point p { margin: 0; font-size: .96rem; color: var(--grey); }
@media (max-width: 860px) { .points { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* Notes */
.note { background: var(--mist); border-left: 5px solid var(--navy); padding: 20px 24px; border-radius: 0 10px 10px 0; font-size: .98rem; }
.note p:last-child { margin-bottom: 0; }
.note b:first-child { color: var(--navy); }
.note--red { background: var(--red-tint); border-left-color: var(--red); }
.note--red b:first-child { color: var(--red); }

/* ---------- Page head ---------- */
.page-head { padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 4vw, 56px); }
.crumbs { font-size: .88rem; color: var(--grey); margin-bottom: 22px; }
.crumbs a { color: var(--grey); }
.crumbs a:hover { color: var(--red); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { max-width: 60ch; margin-top: 8px; }

/* Product hero */
.p-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.p-hero-img { position: relative; width: 100%; max-width: 500px; margin: 0 auto; aspect-ratio: 560 / 600; }
.p-hero-img svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.p-hero-img .shield-path { fill: none; stroke: var(--red); stroke-width: 15; stroke-linejoin: round; }
.p-hero-img img { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 66%; height: auto; }
.p-hero .role { font-family: var(--font-head); font-weight: 700; color: var(--red); margin-bottom: 14px; }
.p-hero h1 { margin-bottom: 18px; }
.p-hero dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 24px 0 28px; font-size: .97rem; }
.p-hero dt { color: var(--grey); }
.p-hero dd { margin: 0; font-weight: 600; }
.badge { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; padding: 5px 12px; border-radius: 999px; background: var(--navy); color: #fff; vertical-align: middle; }
.badge--line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
@media (max-width: 860px) { .p-hero .wrap { grid-template-columns: 1fr; } .p-hero-img { order: -1; max-width: 340px; } }

.p-hero--photo .p-hero-img { aspect-ratio: 4 / 5; max-width: 480px; }
.p-hero--photo .p-hero-img img { position: static; transform: none; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .p-hero--photo .p-hero-img { aspect-ratio: 16 / 11; max-width: none; } }
.p-hero + .sec--tight { padding-top: 0; }

/* Key figures (product) */
.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.key { background: var(--mist); border-radius: 12px; padding: 22px 20px; }
.key b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1.05; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.02em; }
.key b.is-red { color: var(--red); }
.key span { display: block; font-size: .88rem; line-height: 1.4; color: var(--grey); }
@media (max-width: 860px) { .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
caption { text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; padding-bottom: 12px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; }
thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
thead th.is-red { background: var(--red); }
tbody tr { border-bottom: 2px solid #fff; }
tbody tr:nth-child(odd) { background: var(--row); }
tbody th { color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.hl { color: var(--red); font-weight: 600; }
.table-compare { min-width: 760px; }
.table-compare tbody th { width: 150px; }
.table-spec tbody th { width: 34%; }
.table-note { font-size: .85rem; color: var(--grey); margin-top: 12px; }

.d-tag { display: inline-block; min-width: 38px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .72rem; padding: 3px 7px; border-radius: 5px; background: var(--navy); color: #fff; }
.d-tag--rct { background: var(--red); }
.d-tag--obs { background: #8A8687; }
.d-tag--exp { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }

/* ---------- Lists ---------- */
.dots { list-style: none; padding: 0; margin: 0 0 1em; }
.dots li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.areas { columns: 3 260px; column-gap: 48px; }
.area { break-inside: avoid; margin-bottom: 22px; }
.area h3 { font-size: .98rem; margin-bottom: 6px; }
.area .dots { font-size: .94rem; margin: 0; }
.area .dots li { margin-bottom: 3px; }

.reasons { display: grid; gap: 18px; }
.reasons p { margin: 0; }
.reasons b { color: var(--navy); }

/* Components (Kompleks) */
.comps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.comp { border-top: 4px solid var(--navy); padding-top: 18px; }
.comp-dose { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--red); line-height: 1; margin-bottom: 10px; }
.comp h3 { margin-bottom: 2px; }
.comp-role { font-size: .88rem; font-weight: 600; color: var(--grey); margin-bottom: 12px; }
.comp p { font-size: .96rem; }
@media (max-width: 860px) { .comps { grid-template-columns: 1fr; } }

.dose-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dose { background: var(--mist); border-radius: 12px; padding: 20px; }
.dose h3 { font-size: .95rem; color: var(--ink); margin-bottom: 8px; }
.dose b { display: block; white-space: nowrap; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.2rem, 1.9vw, 1.5rem); color: var(--red); line-height: 1.1; margin-bottom: 6px; }
.dose b.is-navy { color: var(--navy); }
.dose span { font-size: .9rem; color: var(--grey); }
@media (max-width: 640px) { .dose-cards { grid-template-columns: 1fr; } }

/* Observations (Forte) */
.obs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.obs li { background: var(--mist-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px 14px 46px; position: relative; font-size: .98rem; }
.obs li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 3px solid var(--red); }
.cite { margin: 0 0 28px; }
.cite blockquote { margin: 0 0 8px; font-family: var(--font-head); font-weight: 600; font-style: italic; font-size: 1.12rem; line-height: 1.45; color: var(--navy); }
.cite figcaption { font-size: .86rem; color: var(--grey); }

.practice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.practice div { background: var(--navy); color: #fff; border-radius: 12px; padding: 22px; }
.practice h3 { color: #ffb3b6; font-size: .95rem; margin-bottom: 8px; }
.practice p { margin: 0; font-size: .96rem; }
@media (max-width: 860px) { .practice { grid-template-columns: 1fr; } }

.mech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mech article { border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; background: #fff; }
.mech .m-num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; align-items: center; justify-content: center; font-size: .9rem; margin-bottom: 12px; }
.mech h3 { margin-bottom: 4px; }
.mech .m-val { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 1.45rem; margin: 6px 0 4px; }
.mech .m-data { font-size: .86rem; color: var(--grey); margin-bottom: 10px; }
.mech p { font-size: .95rem; margin: 0; }
@media (max-width: 760px) { .mech { grid-template-columns: 1fr; } }

/* ---------- Charts ---------- */
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--grey); margin-bottom: 16px; }
.chart-legend i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: 7px; vertical-align: middle; }
.chart-legend i.c-red { background: var(--red); }
.chart-legend i.c-grey { background: #B4B9C4; }
.chart-legend i.c-dot { width: 10px; height: 10px; border-radius: 50%; }
.chart-legend i.c-tick { width: 3px; height: 14px; background: var(--navy); border-radius: 0; }

.div-chart { display: grid; gap: 2px; }
.dc-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dc-label b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; }
.dc-label span { display: block; font-size: .8rem; color: var(--grey); line-height: 1.35; }
.dc-label em { display: block; font-style: normal; font-size: .78rem; color: #1E8A4C; font-weight: 600; margin-top: 2px; }
.dc-bars { position: relative; display: grid; gap: 6px; }
.dc-bars::before { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 1.5px; background: var(--ink); }
.dc-bar { position: relative; height: 16px; }
.dc-bar span { position: absolute; top: 0; height: 100%; border-radius: 2px; }
.dc-bar.is-forte span { background: var(--red); }
.dc-bar.is-ctrl span { background: #B4B9C4; }
.dc-bar small { position: absolute; top: -1px; font-size: .78rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dc-bar.is-forte small { color: var(--red); }
.dc-bar.is-ctrl small { color: var(--grey); }
.dc-axis { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; font-size: .75rem; color: var(--grey); padding-top: 6px; }
.dc-axis div { display: flex; justify-content: space-between; }
@media (max-width: 640px) { .dc-row, .dc-axis { grid-template-columns: 1fr; gap: 8px; } .dc-axis > span { display: none; } }

.dumbbell { width: 100%; height: auto; display: block; font-family: var(--font-body); }
.dumbbell text { font-size: 13px; fill: var(--grey); }
.dumbbell .lbl { font-size: 14px; font-weight: 600; fill: var(--ink); }
.dumbbell .v-red { fill: var(--red); font-weight: 600; }
.dumbbell .v-navy { fill: var(--navy); font-weight: 600; }

/* Evidence cards */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.result { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; display: flex; flex-direction: column; }
.result .r-area { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .88rem; margin-bottom: 4px; }
.result h3 { font-size: 1.05rem; margin-bottom: 12px; }
.result .r-num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); line-height: 1.15; margin-bottom: 6px; }
.result p { font-size: .93rem; margin-bottom: 10px; }
.result .r-src { margin-top: auto; font-size: .8rem; color: var(--grey); }
@media (max-width: 960px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .results { grid-template-columns: 1fr; } }

.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
@media (max-width: 760px) { .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.refs { font-size: .88rem; line-height: 1.5; color: var(--grey); padding-left: 1.4em; columns: 2 380px; column-gap: 48px; }
.refs li { margin-bottom: 8px; break-inside: avoid; }

.study { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.study-arm { border-radius: 12px; padding: 20px 22px; }
.study-arm h3 { font-size: 1.05rem; margin-bottom: 6px; }
.study-arm p { margin: 0; font-size: .95rem; }
.study-arm.is-main { background: var(--red-tint); }
.study-arm.is-main h3 { color: var(--red); }
.study-arm.is-ctrl { background: var(--mist); }
@media (max-width: 640px) { .study { grid-template-columns: 1fr; } }

/* Download */
.download { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--navy-deep); color: #fff; border-radius: var(--radius); padding: 28px 32px; }
.download h3 { color: #fff; margin-bottom: 4px; }
.download p { margin: 0; color: #C9D4EA; font-size: .95rem; }
.download-ico { width: 56px; height: 68px; border: 2px solid #fff; border-radius: 6px; position: relative; font-family: var(--font-head); font-weight: 800; font-size: .8rem; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.download-ico::before { content: ""; position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: var(--navy-deep); border-left: 2px solid #fff; border-bottom: 2px solid #fff; border-radius: 0 0 0 4px; }
@media (max-width: 700px) { .download { grid-template-columns: 1fr; } .download-ico { display: none; } }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card h2 { font-size: 1.4rem; }
.contact-card dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0 0 20px; }
.contact-card dt { color: var(--grey); font-size: .92rem; }
.contact-card dd { margin: 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } .contact-card dl { grid-template-columns: 1fr; gap: 2px; } .contact-card dd { margin-bottom: 10px; } }
.buy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; }
.buy-steps li { list-style: none; border-top: 2px solid var(--navy); padding-top: 18px; }
.buy-steps h3 { font-size: 1.06rem; }
.buy-steps p { font-size: .96rem; color: var(--grey); margin: 0; }
@media (max-width: 760px) { .buy-steps { grid-template-columns: 1fr; } }

/* Band */
.band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.band p { margin: 0; color: #D3DCEE; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #C9D4EA; padding: 64px 0 32px; font-size: .93rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb3b6; text-decoration: underline; }
.f-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.16); }
.f-logo img { width: 150px; margin-bottom: 18px; }
.f-grid h2 { font-size: .95rem; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.f-grid ul { list-style: none; padding: 0; margin: 0; }
.f-grid li { margin-bottom: 8px; }
.f-legal { padding-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; font-size: .82rem; line-height: 1.5; color: #9FB0D1; }
.f-legal p { margin: 0; max-width: 80ch; }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr; gap: 28px; } .f-legal { grid-template-columns: 1fr; } }

/* ---------- HCP modal ---------- */
.hcp { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(17,47,97,.55); backdrop-filter: blur(3px); }
.hcp[hidden] { display: none; }
.hcp-box { background: #fff; border-radius: 16px; max-width: 520px; width: 100%; padding: 32px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.hcp-box h2 { font-size: 1.4rem; margin-bottom: 12px; }
.hcp-box p { color: var(--grey); font-size: .98rem; }
.hcp-box .btn-row { margin-top: 22px; }
html.hcp-lock, html.hcp-lock body { overflow: hidden; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.mb-s { margin-bottom: 16px; } .mb-m { margin-bottom: 32px; } .mb-l { margin-bottom: 56px; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

@media print {
  .site-header, .nav-toggle, .hcp, .site-footer .f-grid { display: none !important; }
  .sec { padding: 24px 0; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: linear-gradient(90deg, var(--red), var(--navy) 45%, var(--navy) 85%, var(--red)); }
.timeline li { position: relative; padding: 36px 18px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px #fff; }
.timeline li.is-key::before { background: var(--red); width: 23px; height: 23px; top: -2px; }
.timeline b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.timeline li.is-key b { color: var(--red); }
.timeline p { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--grey); }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; padding-left: 34px; }
  .timeline::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; background: linear-gradient(180deg, var(--red), var(--navy) 20%, var(--navy) 80%, var(--red)); }
  .timeline li { padding: 0 0 26px; }
  .timeline li::before { left: -34px; top: 4px; }
  .timeline li.is-key::before { left: -36px; top: 2px; }
}

/* spacing between adjacent sections */
.page-head + .sec--tight { padding-top: 0; }
.sec:not(.sec--mist):not(.sec--navy) + .sec--tight { padding-top: 0; }

.table-groups tbody tr, .table-groups tbody tr:nth-child(odd) { background: transparent; border-bottom: 1px solid var(--line); }
.table-groups tbody tr.g-start { border-top: 2px solid #C3CDE2; }
.table-groups tbody th { background: rgba(26,70,141,.05); }

@media (max-width: 560px) { .key span, .fact span, tbody th, .dc-label span, .product-comp { -webkit-hyphens: auto; hyphens: auto; } }
@media (max-width: 560px) {
  .key { padding: 18px 16px; }
  .key b { font-size: 1.5rem; }
  th, td { padding: 10px 10px; }
  .table-spec tbody th { width: 40%; }
}

/* ---------- Фармаконадзор ---------- */
.pv-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pv-aside { position: static; }
.pv-aside h2 { font-size: 1.15rem; margin: 26px 0 8px; }
.pv-aside p, .pv-aside li { font-size: .95rem; }
@media (max-width: 960px) { .pv-layout { grid-template-columns: minmax(0, 1fr); } .pv-aside { position: static; } }
.pv-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 4px; margin: 0 0 18px; background: #fff; min-width: 0; }
.pv-group > legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.12rem; padding: 0 8px; margin-left: -8px; }
.pv-group > legend span { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; align-items: center; justify-content: center; }
.pv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { margin: 0 0 18px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--group { border: 0; padding: 0; }
.f-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); padding: 0; }
.req { color: var(--red); }
.hint { font-size: .82rem; color: var(--grey); margin: 5px 0 0; line-height: 1.4; }
.pv-form input[type=text], .pv-form input[type=email], .pv-form input[type=tel], .pv-form input[type=date], .pv-form select, .pv-form textarea, .pv-text {
  width: 100%; font: inherit; font-size: 1rem; line-height: 1.4; padding: 11px 13px; border: 1.5px solid #C3CBDB; border-radius: 8px; background: #fff; color: var(--ink); }
.pv-form textarea, .pv-text { resize: vertical; min-height: 90px; }
.pv-form select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A468D' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.pv-form input:focus, .pv-form select:focus, .pv-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,70,141,.18); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; cursor: pointer; }
.choices .choice { border: 1.5px solid #C3CBDB; border-radius: 999px; padding: 7px 14px 7px 10px; background: #fff; }
.choices .choice:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); flex-shrink: 0; }
.consent { align-items: flex-start; font-size: .93rem; margin-top: 6px; }
.consent input { margin-top: 3px; }
.is-invalid input, .is-invalid select, .is-invalid textarea, fieldset.is-invalid .choice { border-color: var(--red) !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pv-result { border-radius: var(--radius); padding: 24px 26px; margin-top: 8px; }
.pv-result h3 { margin-bottom: 8px; }
.pv-result--ok { background: #E7F5EC; border-left: 5px solid #1E8A4C; }
.pv-result--ok h3 { color: #1E6B3C; }
.pv-result--warn { background: var(--red-tint); border-left: 5px solid var(--red); }
.pv-result--warn h3 { color: var(--red-dark); }
.pv-result .pv-text { margin-top: 16px; font-size: .85rem; font-family: var(--font-body); }
.pv-result .btn-row a { cursor: pointer; }
@media (max-width: 640px) { .pv-grid { grid-template-columns: minmax(0, 1fr); } .pv-group { padding: 18px 16px 2px; } }

.pv-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; border: 1.5px solid var(--line); border-left: 5px solid var(--red); border-radius: 10px; padding: 18px 22px; margin-bottom: 20px; }
.pv-strip p { margin: 0; font-size: .96rem; }
@media (max-width: 700px) { .pv-strip { grid-template-columns: 1fr; } }
.f-pv { grid-column: 1 / -1; }
.f-pv a { color: #fff; text-decoration: underline; }

/* Боты аптек */
.bots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.bot:hover { border-color: var(--navy); color: var(--ink); }
.bot-ico { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; }
.bot-ico svg { margin-left: -2px; }
.bot-txt b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1.15; }
.bot-txt span { display: block; font-size: .92rem; color: var(--grey); margin-top: 2px; }
.bot-cta { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff; background: var(--red); padding: 11px 18px; border-radius: 999px; white-space: nowrap; }
.bot:hover .bot-cta { background: var(--red-dark); }
@media (max-width: 860px) { .bots { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bot { grid-template-columns: auto minmax(0, 1fr); } .bot-cta { grid-column: 1 / -1; text-align: center; } }

/* Контакты: три карточки */
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 999px) { .contact-card--pv { grid-column: 1 / -1; } }
.contact-card--pv { background: var(--mist-soft); }

.contact-grid .contact-card dl { grid-template-columns: 1fr; gap: 2px; }
.contact-grid .contact-card dd { margin-bottom: 12px; }

/* Полоса «Где купить»: две кнопки */
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.btn--ghost { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
@media (max-width: 760px) { .band-actions { justify-content: flex-start; } }

/* Карточка liki.uz */
.bot--site { margin-top: 20px; grid-template-columns: auto minmax(0, 1fr) auto; }
.bot--site .bot-ico { background: var(--red); }
.site-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.site-links .bot-cta { text-decoration: none; }
.site-links .bot-cta:hover { background: var(--red-dark); color: #fff; }
@media (max-width: 860px) { .bot--site { grid-template-columns: auto minmax(0, 1fr); } .site-links { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 480px) { .site-links .bot-cta { flex: 1 1 100%; text-align: center; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--navy); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item summary:hover { color: var(--red); }
.faq-item p { margin: 0 0 20px; max-width: 68ch; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* Переключатель языка */
.lang-switch { order: 3; flex-shrink: 0; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); text-decoration: none; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; line-height: 1.2; }
.lang-switch:hover { border-color: var(--navy); color: var(--navy); }
.site-header .nav { order: 2; margin-left: auto; }
.site-header .brand { order: 1; }
.nav-toggle { order: 4; }
@media (max-width: 900px) { .lang-switch { margin-left: auto; } }
@media (max-width: 440px) { .fact span { font-size: .82rem; } .fact b { font-size: 1.6rem; } }
