/* ProAllergy — общие стили для всех страниц (главная, «Для пациентов», «Для врачей») */
@font-face {
  font-family: "Manrope";
  src: url("../Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

/* Бренд: зелёный #6BC884 и тёмно-бирюзовый #1A3E4B из логотипа. Сайт сознательно в одной светлой теме, как в макете. */
:root {
  color-scheme: light;
  --ink: #1a3e4b;
  --ink-2: #0f2a33;
  --text: #2c4a55;
  --muted: #5e757c;
  --green: #6bc884;
  --green-600: #4dae69;
  --green-700: #2f8a4e;
  --green-50: #eef8f1;
  --green-100: #ddf1e3;
  --bg: #eff9e8;
  --surface: #ffffff;
  --tile: #eef4f0;
  --line: #dde8e1;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(26, 62, 75, 0.05), 0 8px 24px -8px rgba(26, 62, 75, 0.1), 0 24px 48px -24px rgba(26, 62, 75, 0.1);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    400 16px/1.55 "Manrope",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 3px;
  border-radius: 8px;
}
.wrap {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s,
    box-shadow 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  background: var(--green);
  color: var(--ink-2);
  box-shadow:
    0 6px 18px -6px rgba(77, 174, 105, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  background: #7dd294;
  box-shadow:
    0 10px 24px -8px rgba(77, 174, 105, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: rgba(26, 62, 75, 0.14);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(26, 62, 75, 0.28);
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: var(--ink-2);
}
.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 16px;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  transition:
    color 0.2s,
    gap 0.2s var(--ease);
}
.link-more svg {
  width: 18px;
  height: 18px;
}
.link-more:hover {
  color: var(--green-700);
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(26, 62, 75, 0.07);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}
.logo .p {
  color: var(--green);
}
.logo .a {
  color: var(--ink);
}
.nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav a:hover {
  background: var(--green-50);
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.burger svg {
  width: 22px;
  height: 22px;
}
.mobile-nav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #dfe9ec url("../hero-one3.jpg") 70% center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239, 249, 232, 0.55) 0%, rgba(239, 249, 232, 0.25) 45%, rgba(239, 249, 232, 0) 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 9vw, 128px) clamp(64px, 8vw, 112px);
}
.hero-content {
  max-width: 780px;
  container-type: inline-size;
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 24px 60px -24px rgba(26, 62, 75, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 62, 75, 0.08);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.eyebrow b {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(26px, calc(3.6vw + 10px), 56px);
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  color: var(--green-700);
}
@media (min-width: 600px) {
  .hero h1 {
    font-size: min(56px, 6.4cqi);
  }
  .hero h1 .l {
    display: block;
    width: max-content;
    white-space: nowrap;
  }
}
.hero-lead {
  margin-top: 22px;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 36px;
  font-size: 16px;
  color: var(--muted);
}
.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-facts svg {
  width: 18px;
  height: 18px;
  color: var(--green-700);
}

/* ---------- Секции ---------- */
.section {
  padding-block: clamp(56px, 7vw, 96px);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.section-head h2,
.h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 700;
}
.section-head p,
.sub {
  margin-top: 12px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
}
.section-head p.one-line {
  max-width: none;
}
@media (min-width: 1024px) {
  .section-head p.one-line {
    white-space: nowrap;
  }
}
.kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
}

/* Плейсхолдер изображений */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 80% at 80% 0%, rgba(107, 200, 132, 0.22), transparent 60%), linear-gradient(160deg, #e8f2ec, #dceae2);
  color: #7c979f;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../molecule.webp") right -20% bottom -30%/60% no-repeat;
  opacity: 0.18;
}
.ph span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}
.ph svg {
  width: 40px;
  height: 40px;
  opacity: 0.75;
}

/* Найдите свой раздел */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.aud {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.aud:hover {
  box-shadow:
    0 2px 4px rgba(26, 62, 75, 0.05),
    0 22px 44px -18px rgba(26, 62, 75, 0.22);
}
.aud .media {
  aspect-ratio: 16/8.5;
}
.aud .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.aud-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  flex: 1;
}
.aud-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 16px;
  font-weight: 700;
}
.aud h3 {
  font-size: clamp(22px, 2vw, 26px);
}
.aud p {
  color: var(--muted);
}
.checks {
  display: grid;
  gap: 10px;
  margin-block: 4px 8px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--text);
}
.checks svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--green-700);
}
.aud .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Метод */
.method {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 96px);
  background: #eaf5ec;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../bg-molecules.jpg") center/cover no-repeat;
  opacity: 0.55;
}
.method::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(239, 249, 232, 0.15), rgba(239, 249, 232, 0.45));
}
.method-glass {
  padding: clamp(24px, 4vw, 56px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 30px 70px -30px rgba(26, 62, 75, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
.method > * {
  position: relative;
  z-index: 1;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: s;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-100);
}
.ico svg {
  width: 26px;
  height: 26px;
}
.step-n {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.25;
  min-height: 2.5em;
}
.step p {
  font-size: 16px;
  color: var(--muted);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -17px;
  width: 18px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 4px, transparent 4px 7px);
  z-index: 2;
}

/* Видео */
.video-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.video {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 51, 0) 45%, rgba(15, 42, 51, 0.65));
}
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.25);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.play:hover {
  box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.2);
}
.play svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}
.video-meta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.video-meta .dur {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.video-toast {
  position: absolute;
  left: 50%;
  top: calc(50% + 64px);
  transform: translateX(-50%);
  z-index: 3;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 42, 51, 0.85);
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}
.video-text p {
  margin-top: 16px;
  font-size: 18px;
}
.video-text h4 {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
}
.video-text .checks {
  margin-top: 14px;
}

/* Цифры */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.65fr;
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.stat {
  padding: 28px clamp(18px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat-v {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-v small {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--green-700);
}
.stat-v .pre {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-700);
}
.stat-v.reg .pre {
  align-self: baseline;
}
.stat p {
  font-size: 16px;
  color: var(--muted);
  max-width: 26ch;
}

/* Партнёры */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marq 40s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.partner {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 96px;
  min-width: 240px;
  padding: 0 32px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: #8aa2a9;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.partner:hover {
  color: var(--ink);
  border-color: var(--green);
}
.partner img {
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: saturate(0.9);
  transition:
    filter 0.2s,
    transform 0.3s var(--ease);
}
.partner:hover img {
  filter: none;
}
@keyframes marq {
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

/* История */
.history {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}
.history-text p {
  margin-top: 16px;
  max-width: 66ch;
  font-size: 18px;
}
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.tl {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tl-y {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.tl-y::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-100);
}
.tl p {
  font-size: 16px;
  color: var(--muted);
}
.tl.now {
  background: var(--ink);
  border-color: var(--ink);
}
.tl.now .tl-y {
  color: #fff;
}
.tl.now .tl-y::before {
  background: #8cf0a6;
  box-shadow:
    0 0 0 4px rgba(140, 240, 166, 0.2),
    0 0 14px rgba(140, 240, 166, 0.8);
}
.tl.now p {
  color: #b9cdd2;
}
.history-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: #e4ecee;
  box-shadow: var(--shadow);
}
.history-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 41% 45%;
}
.history-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 16px;
  color: var(--muted);
}
.history-photo figcaption b {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

/* Отзывы */
.rev-nav {
  display: flex;
  gap: 8px;
}
.arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s var(--ease);
}
.arrow:hover:not(:disabled) {
  background: var(--green-50);
  border-color: var(--green);
}

.arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
.arrow svg {
  width: 20px;
  height: 20px;
}
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(560px, calc((100% - 48px) / 2.3));
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-right: calc((100% - 100vw) / 2);
  padding: 4px var(--gutter) 24px 0;
  scroll-padding-left: 0;
}
.reviews::-webkit-scrollbar {
  display: none;
}
.review {
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.review .q {
  width: 36px;
  height: 36px;
  color: var(--green);
}
.review blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}
.review footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 800;
}
.review footer b {
  display: block;
  color: var(--ink);
}
.review footer small {
  color: var(--muted);
  font-size: 16px;
}
.rev-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* Новости */
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.post:hover {
  box-shadow:
    0 2px 4px rgba(26, 62, 75, 0.05),
    0 22px 44px -18px rgba(26, 62, 75, 0.22);
}
.post .ph {
  aspect-ratio: 16/10;
}
.post-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 26px;
  flex: 1;
}
.post-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: var(--green-50);
  color: var(--green-700);
}
.post-tag.doc {
  background: #e6eef1;
  color: var(--ink);
}
.post h3 {
  font-size: 19px;
  line-height: 1.3;
  transition: color 0.2s;
}
.post:hover h3 {
  color: var(--green-700);
}
.post p {
  font-size: 16px;
  color: var(--muted);
}

/* FAQ */
.faq-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.5vw, 44px);
}
.faq-aside {
  position: static;
}
.faq-aside .deco {
  width: min(260px, 70%);
  margin-top: 28px;
  opacity: 0.9;
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.07);
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.faq details[open] {
  box-shadow: var(--shadow);
  border-color: var(--green-100);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary i {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-50);
  display: grid;
  place-items: center;
  color: var(--green-700);
  transition:
    transform 0.3s var(--ease),
    background 0.2s;
}
.faq summary i svg {
  width: 16px;
  height: 16px;
}
.faq details[open] summary i {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--ink-2);
}
.faq .ans {
  padding: 0 24px 22px;
  max-width: 90ch;
}

/* Подвал */
.footer {
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--ink-2);
  color: #a9c0c6;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  background: url("../molecule.webp") center/contain no-repeat;
  opacity: 0.12;
  transform: rotate(20deg);
}
.footer .wrap {
  position: relative;
}
.f-top {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr;
  gap: 40px;
  padding-block: 56px 40px;
}
.footer .logo .a {
  color: #fff;
}
.f-about {
  margin-top: 16px;
  max-width: 36ch;
  font-size: 16px;
}
.f-h {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.f-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  font-size: 16px;
}
.f-nav a:hover,
.f-bottom a:hover {
  color: #fff;
}
.phone {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  user-select: all;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.socials a:hover {
  background: var(--green);
  color: var(--ink-2);
}
.socials svg {
  width: 20px;
  height: 20px;
}
.disclaimer {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f8c93;
  text-align: center;
}
.f-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
}
.f-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* Диалог консультации */
dialog.modal {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(15, 42, 51, 0.45);
}
dialog.modal::backdrop {
  background: rgba(15, 42, 51, 0.45);
  backdrop-filter: blur(4px);
}
.modal-in {
  padding: 32px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.modal h3 {
  font-size: 24px;
}
.modal p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}
.x {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.x svg {
  width: 18px;
  height: 18px;
}
.form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select {
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: сenter;
  font-size: 16px;
  color: var(--muted);
}
.consent input {
  margin-top: 3px;
  accent-color: var(--green-700);
}
.form .btn {
  margin-top: 6px;
}
.done {
  text-align: center;
  padding-block: 12px;
}
.done .ico {
  margin: 0 auto 16px;
  width: 64px;
  height: 64px;
}

/* Появление при прокрутке — только где поддерживается; по умолчанию всё видно */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero-lead,
  .hero-cta,
  .hero-facts,
  .eyebrow {
    animation: rise 0.9s var(--ease) both;
  }
  .eyebrow {
    animation-delay: 0.05s;
  }
  .hero h1 {
    animation-delay: 0.12s;
  }
  .hero-lead {
    animation-delay: 0.22s;
  }
  .hero-cta {
    animation-delay: 0.3s;
  }
  .hero-facts {
    animation-delay: 0.38s;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .faq-aside .deco {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1300px) {
  .nav a {
    padding: 8px 8px;
  }
  .header .wrap {
    gap: 16px;
  }
}
@media (max-width: 1180px) {
  .nav,
  .header-actions .btn {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .mobile-nav {
    display: grid;
    gap: 4px;
    padding: 8px var(--gutter) 20px;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .mobile-nav a {
    padding: 12px 4px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav .btn {
    margin-top: 12px;
    color: #fff;
    border-bottom: 0;
  }
  .hero {
    background-position: 65% center;
  }
  .hero::after {
    background: rgba(239, 249, 232, 0.35);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .video-grid,
  .history,
  .faq-wrap {
    grid-template-columns: 1fr;
  }
  .history-photo {
    min-height: 360px;
  }
  .faq-aside {
    position: static;
  }
  .faq-aside .deco {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .news {
    grid-template-columns: 1fr 1fr;
  }
  .f-top {
    grid-template-columns: 1fr 1fr;
  }
  .f-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 720px) {
  .split,
  .news,
  .timeline {
    grid-template-columns: 1fr;
  }
  .reviews {
    grid-auto-columns: 86%;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step h3 {
    min-height: 0;
  }
  .f-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-cta .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding-block: 12px;
  }
  .hero-content {
    padding: 20px;
    border-radius: 22px;
  }
  .eyebrow {
    border-radius: 16px;
  }
  .logo {
    font-size: 23px;
  }
  .partner {
    height: 80px;
    min-width: 200px;
    padding: 0 20px;
  }
  .partner img {
    max-width: 170px;
  }
  .modal-in {
    padding: 24px;
  }
}

/* ================= Страница «Для пациентов» ================= */
.nav a[aria-current="page"] {
  color: var(--green-700);
  background: var(--green-50);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn-lg {
  min-height: 56px;
  padding: 0 36px;
  font-size: 18px;
}

/* Hero */
.p-hero {
  padding-block: 16px 0;
}
.p-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(26, 62, 75, 0.04),
    0 24px 60px -32px rgba(26, 62, 75, 0.18);
}
.p-hero-text {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  padding: clamp(28px, 3vw, 48px) clamp(24px, 3vw, 40px);
  container-type: inline-size;
}
.p-hero h1 {
  font-size: clamp(28px, calc(3.4vw + 8px), 52px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 700px) {
  .p-hero h1 {
    font-size: min(48px, 5.6cqi);
  }
  .p-hero h1 .l {
    display: block;
    width: max-content;
    white-space: nowrap;
  }
}
.p-hero h1 .brand {
  color: var(--green);
}
.p-lead {
  margin-top: 24px;
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 18px);
}
.p-hero .hero-cta {
  margin-top: 40px;
}
.p-hero-art {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: calc(100% - 24px);
  width: auto;
  max-width: none;
  pointer-events: none;
}
@media (max-width: 1180px) {
  .p-hero-card {
    display: block;
    min-height: 0;
  }
  .p-hero-art {
    position: relative;
    display: block;
    height: auto;
    width: min(460px, 90%);
    margin: 0 0 0 auto;
  }
}

/* Признаки */
.signs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.signs li {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
}
.signs .ico {
  flex: none;
}

/* Что такое аллергочип */
.about-chip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
}
.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e4ecee;
  box-shadow: var(--shadow);
  /* aspect-ratio: 5/4; */
}

/* .docs-grid{
    height: 700px;
} */

@media (min-width: 991px) {
  .about-photo {
    position: sticky;
    top: 90px;
  }
  .docs-grid .about-photo {
    height: 700px;
  }
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-text p {
  margin-top: 18px;
  font-size: 18px;
}
.about-text h4 {
  margin-top: 24px;
  font-size: 17px;
}
.about-text .checks {
  margin-top: 14px;
  margin-bottom: 28px;
}

/* Разные причины */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reason {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.reason:hover {
  box-shadow:
    0 2px 4px rgba(26, 62, 75, 0.05),
    0 22px 44px -18px rgba(26, 62, 75, 0.22);
}
.reason .ico {
  margin-bottom: auto;
}
.reason h3 {
  font-size: 22px;
}

/* Отчёт */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.report-text p {
  margin-top: 18px;
  font-size: 18px;
}
.report {
  margin: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: 0 30px 70px -30px rgba(26, 62, 75, 0.3);
}
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.report-head b {
  display: block;
  color: var(--ink);
  font-size: 18px;
}
.report-head span {
  color: var(--muted);
  font-size: 16px;
}
.demo-tag {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4dc;
  color: #8a5a00 !important;
  font-weight: 600;
  font-size: 14px !important;
  white-space: nowrap;
}
.r-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.4fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--text);
}
.r-row b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.r-cols {
  padding-top: 14px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lvl {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lvl i {
  position: relative;
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--tile);
  overflow: hidden;
}
.lvl i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--c, #6bc884);
}
.lvl i[data-l="4"] {
  --c: #1a3e4b;
}
.lvl i[data-l="3"] {
  --c: #2f8a4e;
}
.lvl i[data-l="2"] {
  --c: #6bc884;
}
.lvl i[data-l="0"] {
  --c: #c9d6da;
}
.lvl em {
  font-style: normal;
  min-width: 98px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.report-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.dot-major {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ink);
}

/* Сравнение */
.cmp-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 17px;
}
.cmp th,
.cmp td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td {
  border-bottom: 0;
}
.cmp thead th {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  padding-top: 22px;
}
.cmp thead th.us {
  color: var(--green-700);
}
.cmp tbody th {
  font-weight: 500;
  color: var(--text);
  width: 44%;
}
.cmp td {
  color: var(--muted);
}
.cmp td.us {
  font-weight: 700;
  color: var(--ink);
  background: var(--green-50);
}
.cmp thead th.us {
  background: var(--green-50);
  border-radius: 14px 14px 0 0;
}

/* Где сдать */
.where {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: stretch;
}
.labs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.labs select {
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.lab-list {
  display: grid;
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
}
.lab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f5f5f5;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.lab:hover {
  border-color: var(--green);
}
.lab b {
  display: block;
  color: var(--ink);
}
.lab small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}
.lab .btn {
  flex: none;
}
.map {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, 0.95) 46.4%, rgba(255, 255, 255, 0.95) 47.6%, transparent 48%), linear-gradient(20deg, transparent 60%, rgba(255, 255, 255, 0.9) 60.3%, rgba(255, 255, 255, 0.9) 61.2%, transparent 61.5%), linear-gradient(160deg, transparent 30%, rgba(107, 200, 132, 0.25) 30.5%, rgba(107, 200, 132, 0.25) 36%, transparent 36.5%), repeating-linear-gradient(0deg, transparent 0 58px, rgba(26, 62, 75, 0.06) 58px 60px), repeating-linear-gradient(90deg, transparent 0 78px, rgba(26, 62, 75, 0.06) 78px 80px), #e6f0ea;
}
.pin {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -26px 0 0 -13px;
  border-radius: 50% 50% 50% 0;
  background: var(--green-700);
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px -4px rgba(26, 62, 75, 0.5);
}
.pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}
.map-note {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.map-note svg {
  width: 20px;
  height: 20px;
  color: var(--green-700);
}

/* Вебинары */
.webinars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.web {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.web:hover {
  box-shadow:
    0 2px 4px rgba(26, 62, 75, 0.05),
    0 22px 44px -18px rgba(26, 62, 75, 0.22);
}
.web-thumb {
  position: relative;
  aspect-ratio: 16/9.5;
  overflow: hidden;
  background-color: var(--tile);
  background-position: var(--pos, center);
  background-size: cover;
  background-repeat: no-repeat;
}
.web-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 51, 0), rgba(15, 42, 51, 0.18));
}
.web-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.web .play {
  width: 64px;
  height: 64px;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3);
}
.web .play svg {
  width: 24px;
  height: 24px;
}
.web h3 {
  flex: 1;
  padding: 18px 22px 22px;
  font-size: 19px;
  line-height: 1.3;
  transition: color 0.2s;
}
.web:hover h3 {
  color: var(--green-700);
}
.video-toast-fixed {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15, 42, 51, 0.9);
  color: #fff;
}

/* Подписка */
.subscribe {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px);
  background: url("../bg-molecules.jpg") center/cover;
}
.subscribe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(239, 249, 232, 0.25);
}
.subscribe .wrap {
  position: relative;
}
.sub-glass {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 30px 70px -30px rgba(26, 62, 75, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
.sub-glass p {
  margin-top: 14px;
  color: var(--text);
  font-size: 18px;
}
.sub-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.sub-form input {
  height: 56px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.sub-form input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.sub-form .btn {
  min-height: 56px;
  padding: 0 32px;
}
.sub-msg {
  grid-column: 1/-1;
  margin: 0;
  font-size: 16px;
  color: var(--green-700);
  font-weight: 600;
}
.sub-msg.err {
  color: #b3261e;
}

/* Отзывы на этой странице — две колонки без выхода за край */
main.inner #reviews .reviews {
  grid-auto-columns: calc((100% - 24px) / 2);
  margin-right: 0;
  padding-right: 0;
}

@media (max-width: 1180px) {
  .where {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 360px;
  }
  .webinars {
    grid-template-columns: 1fr 1fr;
  }
  .sub-glass {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1060px) {
  .about-chip,
  .report-grid,
  .reasons {
    grid-template-columns: 1fr;
  }
  .reason {
    min-height: 0;
  }
  .reason .ico {
    margin-bottom: 16px;
  }
}
@media (max-width: 720px) {
  .signs,
  .webinars {
    grid-template-columns: 1fr;
  }
  main.inner #reviews .reviews {
    grid-auto-columns: 86%;
  }
  .sub-form {
    grid-template-columns: 1fr;
  }
  .r-row {
    grid-template-columns: 0.7fr 1fr;
    row-gap: 6px;
  }
  .r-row .lvl {
    grid-column: 1/-1;
  }
  .r-cols span:last-child {
    display: none;
  }
  .map-note {
    white-space: normal;
    text-align: center;
    width: calc(100% - 32px);
  }
}
@media (max-width: 480px) {
  .btn-lg {
    width: 100%;
  }
  .report-head {
    flex-direction: column;
  }
}

/* ================= Страница «Для врачей» ================= */
.d-hero-card {
  min-height: 520px;
}
.d-hero-card .p-hero-text {
  max-width: 860px;
}
.d-hero-card .hero-cta {
  margin-top: 40px;
}
.d-hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
  margin: 0;
  z-index: 1;
}
.d-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 30%);
}
.d-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
@media (max-width: 1180px) {
  .d-hero-photo {
    position: relative;
    width: auto;
    height: 280px;
    margin: 0 16px 16px;
    border-radius: 18px;
    overflow: hidden;
  }
  .d-hero-photo::before {
    display: none;
  }
}

.reg-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.reg-banner .ico {
  flex: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #8cf0a6;
}
.reg-banner p {
  flex: 1;
  font-size: 18px;
  color: #d6e4e8;
}
.reg-banner .btn {
  flex: none;
}

.d-stats {
  margin-top: 0;
  grid-template-columns: repeat(4, 1fr) !important;
}
.d-stats .stat {
  min-height: 150px;
  justify-content: space-between;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.tabs button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  transition:
    background 0.2s,
    color 0.2s;
}
.tabs button:hover {
  background: var(--green-50);
  color: var(--ink);
}
.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}
.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  transition:
    background 0.2s,
    color 0.2s;
}
.tabs a:hover {
  background: var(--green-50);
  color: var(--ink);
}
.tabs a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.case:hover {
  box-shadow:
    0 2px 4px rgba(26, 62, 75, 0.05),
    0 22px 44px -18px rgba(26, 62, 75, 0.22);
}
.case .ph {
  aspect-ratio: 16/9;
}
.case-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
  flex: 1;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 14px;
  font-weight: 700;
}
.case h3 {
  font-size: 22px;
}
.case .link-more {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.cases-empty {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.docs-grid {
  align-items: stretch;
  grid-template-columns: 1.2fr 0.8fr;
}
.docs-grid .about-text {
  display: flex;
  flex-direction: column;
}
.docs {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}
.docs a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  transition:
    border-color 0.2s,
    transform 0.2s var(--ease);
}
.docs a:hover {
  border-color: var(--green);
}
.docs .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.docs .ico svg {
  width: 22px;
  height: 22px;
}
.docs b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.docs small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.docs span:nth-child(2) {
  flex: 1;
}
.docs .dl {
  width: 22px;
  height: 22px;
  color: var(--green-700);
}
.need-reg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-700);
}
.need-reg svg {
  width: 13px;
  height: 13px;
}
.docs .locked .dl {
  color: var(--muted);
}

.events {
  display: grid;
  gap: 12px;
}
.event {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.ev-date b {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ev-date span {
  color: var(--muted);
}
.event h3 {
  font-size: 20px;
}
.event p {
  margin-top: 6px;
  max-width: 80ch;
}
.ev-kind {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 14px;
  font-weight: 700;
}
.event .link-more {
  white-space: nowrap;
}
.event h3 a:hover {
  color: var(--green-700);
}

.web-lock {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 42, 51, 0.8);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.web-lock svg {
  width: 14px;
  height: 14px;
}

.ask {
  padding-block: 0;
}
.ask-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 30px 70px -30px rgba(26, 62, 75, 0.3);
}
.ask-form-wrap {
  padding: clamp(24px, 4vw, 56px);
}
.ask-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}
.ask-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.ask-fields {
  display: grid;
  gap: 14px;
}
.ask-q {
  display: flex;
  flex-direction: column;
}
.ask-q textarea {
  flex: 1;
  min-height: 170px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
}
.ask-q textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.ask-form .field input {
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.ask-form .field input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.ask-form .consent {
  align-self: center;
  font-size: 14px;
}
.ask-form .consent a {
  text-decoration: underline;
}
.ask-photo {
  margin: 0;
  position: relative;
  min-height: 320px;
  background: radial-gradient(90% 70% at 70% 30%, rgba(255, 255, 255, 0.7), transparent 60%), linear-gradient(160deg, #cfebc9, #8fd19e);
}
.ask-photo img {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: 110%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1180px) {
  .ask-card {
    grid-template-columns: 1fr;
  }
  .ask-photo {
    min-height: 220px;
  }
  .ask-photo img {
    width: 60%;
    right: 0;
    bottom: -20%;
  }
  .d-stats {
    grid-template-columns: 1fr 1fr !important;
  }
  .cases {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .reg-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cases,
  .ask-form {
    grid-template-columns: 1fr;
  }
  .event {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ev-date {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .ev-date b {
    font-size: 36px;
  }
  .d-hero-card .hero-cta .btn {
    width: 100%;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .d-stats {
    grid-template-columns: 1fr !important;
  }
}

/* ================= Страница «Партнёрам» ================= */
.pt-hero-card {
  min-height: 560px;
}
.pt-hero-card .p-hero-text {
  max-width: 820px;
}
.pt-h1 {
  margin-top: 22px;
  font-size: clamp(28px, calc(2.4vw + 12px), 46px) !important;
  line-height: 1.15;
}
.pt-hero-card .eyebrow {
  margin-bottom: 4px;
}
.pt-lead2 {
  margin-top: 14px;
}
.pt-hero-card .hero-cta {
  margin-top: 36px;
}
.pt-hero-ph {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 36%;
  z-index: 1;
}
@media (max-width: 1180px) {
  .pt-hero-ph {
    position: relative;
    width: auto;
    height: 260px;
    margin: 0 16px 16px;
    border-radius: 18px;
  }
}

.pt-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pt-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.pt-card h3 {
  font-size: 21px;
  line-height: 1.25;
}
.pt-card p {
  font-size: 16px;
}

.pt-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pt-format {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.pt-format-tag {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pt-format:nth-child(2) {
  background: var(--ink);
}
.pt-format:nth-child(2) .pt-format-tag {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}
.pt-format:nth-child(2) .checks li {
  color: #d6e4e8;
}
.pt-format:nth-child(2) .checks svg {
  color: #8cf0a6;
}

.pubs {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.pubs summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  cursor: pointer;
}
.pubs summary::-webkit-details-marker {
  display: none;
}
.pubs summary .kicker {
  margin-bottom: 8px;
}
.pubs-title {
  display: block;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pubs-sub {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}
.pubs summary i {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-50);
  display: grid;
  place-items: center;
  color: var(--green-700);
  transition:
    transform 0.3s var(--ease),
    background 0.2s;
}
.pubs summary i svg {
  width: 20px;
  height: 20px;
}
.pubs[open] summary i {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--ink-2);
}
.pubs[open] .pubs-sub {
  display: none;
}
.pubs-body {
  padding: 0 32px 32px;
}
.pubs-body > p {
  font-size: 18px;
  margin-bottom: 20px;
}
.pub-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pub {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 16px;
  background: #f5f5f5;
}
.pub-cover {
  width: 96px;
  aspect-ratio: 3/4;
  border-radius: 10px;
  box-shadow: 0 6px 16px -8px rgba(26, 62, 75, 0.35);
}
.pub-cover span {
  padding: 6px;
  font-size: 12px;
  line-height: 1.25;
}
.pub-cover svg {
  width: 24px;
  height: 24px;
}
.pub-topic {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-700);
}
.pub h3 {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.35;
}
.pub > div:not(.ph) {
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}
.pub p {
  margin-top: 6px;
  color: var(--muted);
}

.pt-support-ph {
  border-radius: var(--radius);
  aspect-ratio: 5/4;
  box-shadow: var(--shadow);
}
.pt-support {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.pt-support li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.pt-support b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 18px;
}
.pt-support .ico {
  flex: none;
}

.pt-value {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--ink);
}
.pt-value h2 {
  color: #fff;
}
.pt-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pt-value-grid article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pt-value-grid .ico {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #8cf0a6;
}
.pt-value-grid h3 {
  color: #fff;
  font-size: 21px;
}
.pt-value-grid p {
  color: #c9d9dd;
}
.pt-scale {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.pt-scale i {
  flex: 1;
  padding: 6px 0;
  border-radius: 8px;
  text-align: center;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
}
.pt-scale i:nth-child(1) {
  background: #dde6e9;
}
.pt-scale i:nth-child(2) {
  background: #cdefd6;
}
.pt-scale i:nth-child(3) {
  background: #8fdca4;
}
.pt-scale i:nth-child(4) {
  background: #4dae69;
  color: #fff;
}
.pt-scale i:nth-child(5) {
  background: #2f8a4e;
  color: #fff;
}

.pt-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pt-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}

.pt-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--ink-2);
  font-size: 20px;
  font-weight: 800;
}
.pt-flow h3 {
  font-size: 22px;
  margin-top: 6px;
}

.pt-form-card {
  grid-template-columns: 1.35fr 0.65fr;
}
.pt-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.pt-form .field input {
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.pt-form .field input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.pt-wide {
  grid-column: 1/-1;
}
.pt-form .consent {
  font-size: 14px;
}
.pt-form .consent a {
  text-decoration: underline;
}
.pt-form .btn {
  justify-self: start;
  min-width: 220px;
}
.pt-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(160deg, #cfebc9, #9ed8ab);
}
.pt-contacts h3 {
  font-size: 22px;
}
.pt-contact {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
}
.pt-contact small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.pt-contact b {
  color: var(--ink);
  font-size: 18px;
  user-select: all;
}
.pt-contacts p {
  margin-top: auto;
  color: var(--text);
}

@media (max-width: 1180px) {
  .pt-benefits,
  .pt-formats,
  .pt-value-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pt-form-card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .pt-flow {
    grid-template-columns: 1fr;
  }
  .pt-flow li::after {
    display: none;
  }
}
@media (max-width: 720px) {
  .pt-benefits,
  .pt-formats,
  .pt-value-grid,
  .pt-form {
    grid-template-columns: 1fr;
  }
  .pub {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pub-cover {
    width: 72px;
  }
  .pub .btn {
    justify-self: start;
  }
  .pubs summary {
    padding: 22px 20px;
  }
  .pubs-body {
    padding: 0 20px 20px;
  }
  .pt-form .btn {
    width: 100%;
  }
}

/* ================= Страница «О компании» ================= */
.ab-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ab-mission article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
}
.ab-mission h3 {
  font-size: clamp(24px, 2.2vw, 30px);
}
.ab-mission p {
  font-size: 18px;
}
.ab-idea {
  background: var(--surface);
}
.ab-goal {
  background: var(--ink);
}
.ab-goal h3 {
  color: #fff;
}
.ab-goal p {
  color: #d6e4e8;
}
.ab-goal .ico {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #8cf0a6;
}
.ab-prod-head {
  margin-bottom: 24px;
}
.ab-prod-ph {
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}
.ab-prod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ab-value-sub {
  color: #c9d9dd !important;
}
.ab-vector {
  grid-template-columns: repeat(4, 1fr);
}
.ab-cta {
  margin-top: 0;
}
@media (max-width: 1180px) {
  .ab-vector {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .ab-mission,
  .ab-prod {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .ab-vector {
    grid-template-columns: 1fr;
  }
}

/* Выравнивание заголовков и подписей в плитках одного ряда («Партнёрам», «О компании»).
   Базовый вариант для всех браузеров: заголовок всегда занимает две строки */
.pt-benefits .pt-card h3,
.ab-prod .pt-card h3,
.pt-value-grid h3,
.pt-flow h3 {
  line-height: 1.25;
  min-height: 2.5em;
}
.ab-mission h3 {
  line-height: 1.25;
}
.pt-format-tag {
  line-height: 1.25;
  min-height: calc(2.5em + 17px);
}
@media (max-width: 720px) {
  .pt-benefits .pt-card h3,
  .ab-prod .pt-card h3,
  .pt-value-grid h3,
  .pt-flow h3,
  .pt-format-tag {
    min-height: 0;
  }
}
/* Там, где есть subgrid, высота строк подстраивается под самый длинный заголовок ряда */
@supports (grid-template-rows: subgrid) {
  .pt-benefits .pt-card,
  .ab-prod .pt-card,
  .ab-mission article,
  .pt-flow li {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 14px;
    align-content: start;
  }
  .pt-value-grid article {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 14px;
    align-content: start;
  }
  .pt-format {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 18px;
  }
  .pt-benefits,
  .ab-prod,
  .ab-mission,
  .pt-flow,
  .pt-value-grid,
  .pt-formats {
    row-gap: 24px;
  }
  .pt-flow h3 {
    margin-top: 0;
  }
  .pt-scale {
    margin-top: 0;
    padding-top: 0;
  }
}

/* ================= Страница мероприятия ================= */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 20px 16px;
  font-size: 14px;
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--green-700);
}
.crumbs b {
  color: var(--ink);
  font-weight: 600;
}
.ev-hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 48px);
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(26, 62, 75, 0.04),
    0 24px 60px -32px rgba(26, 62, 75, 0.18);
}
.ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ev-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 14px;
  font-weight: 700;
}
.ev-tag-done {
  background: #e6ecee;
  color: var(--ink);
}
.ev-tag-live {
  background: #fff4dc;
  color: #8a5a00;
}
.ev-tag-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.ev-tag-live.is-live {
  background: #fde4e2;
  color: #b3261e;
}
.ev-tag-live.is-live i {
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.25;
  }
}
.ev-title {
  margin-top: 18px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ev-lead {
  margin-top: 16px;
  max-width: 64ch;
  font-size: 18px;
}
.ev-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.ev-facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: #f5f5f5;
}
.ev-facts .ico {
  flex: none;
}
.ev-facts small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.ev-facts b {
  display: block;
  color: var(--ink);
  line-height: 1.35;
}
.ev-facts em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 15px;
}
.ev-ext {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-weight: 600;
  color: var(--green-700);
}
.ev-ext svg {
  width: 14px;
  height: 14px;
}
.ev-hero .hero-cta {
  margin-top: 28px;
  align-items: flex-start;
  position: relative;
  z-index: 30;
}
.ev-top {
  position: relative;
  z-index: 5;
  padding-bottom: clamp(40px, 5vw, 72px);
}
.cal {
  position: relative;
}
.cal-up .cal-menu {
  top: auto;
  bottom: calc(100% + 8px);
}
.pt-contacts .cal-btn {
  width: 100%;
  justify-content: center;
  background: #fff;
}
.pt-contacts .cal-menu {
  min-width: 0;
  width: 100%;
}
.cal-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  min-width: 360px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -20px rgba(26, 62, 75, 0.35);
}
.cal-menu a,
.cal-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.cal-menu a:hover,
.cal-menu button:hover {
  background: var(--green-50);
}
.cal-menu svg {
  width: 16px;
  height: 16px;
  color: var(--green-700);
}
.ev-countdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
  padding: 24px;
  border-radius: 20px;
  background: var(--ink);
  color: #c9d9dd;
}
.ev-countdown small {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8cf0a6;
}
.cd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cd span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
}
.cd b {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.ev-stream-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ev-online {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
}
.ev-online i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f8a4e;
  box-shadow: 0 0 0 4px var(--green-100);
  animation: pulse 1.8s ease-in-out infinite;
}
.ev-online b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ev-player {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow);
}
.ev-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ev-player-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(107, 200, 132, 0.25), transparent 70%),
    url("../bg-molecules.jpg") center/cover;
}
.ev-player-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 51, 0.72);
}
.ev-player-ph > * {
  position: relative;
}
.ev-player-ph .play {
  position: relative;
  inset: auto;
  margin: 0;
}
.ev-player-ph b {
  font-size: clamp(18px, 2vw, 24px);
}
.ev-player-ph small {
  color: #b9cdd2;
}

.ev-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}
.ev-desc {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.ev-desc p {
  margin-top: 16px;
  font-size: 18px;
  max-width: 70ch;
}
.ev-desc h4 {
  margin-top: 24px;
  font-size: 18px;
}
.ev-desc .checks {
  margin-top: 12px;
}
.ev-org {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.ev-org .kicker {
  margin: 0;
}
.ev-org-logo {
  height: 90px;
  border-radius: 14px;
}
.ev-org b {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}
.ev-org p {
  color: var(--muted);
}
.ev-org .btn {
  align-self: flex-start;
}
.ev-org .btn svg {
  width: 16px;
  height: 16px;
}

.ev-program {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ev-program li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}
.ev-program li:last-child {
  border-bottom: 0;
}
.ev-program time {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ev-program h3 {
  font-size: 18px;
  line-height: 1.35;
}
.ev-program p {
  margin-top: 6px;
  color: var(--muted);
}
.ev-program .is-break {
  background: #f5f5f5;
}
.ev-program .is-break h3 {
  font-weight: 500;
  color: var(--muted);
}
.ev-program .is-ours {
  background: var(--green-50);
}
.ev-ours {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
.ev-who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ev-who .avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.ev-speakers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ev-speaker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 22px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.ev-photo {
  aspect-ratio: 1;
  border-radius: 14px;
  margin-bottom: 8px;
}
.ev-speaker h3 {
  font-size: 19px;
}
.ev-speaker p {
  color: var(--muted);
}
.ev-speaker .ev-ours {
  align-self: flex-start;
  margin: 4px 0 0;
}

.ev-partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ev-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.ev-partner-logo {
  width: 100%;
  height: 96px;
  border-radius: 12px;
}
.ev-partner-logo span {
  font-size: 14px;
}
.ev-partner b {
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
}

.ev-format {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
.ev-format legend {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.ev-format label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #f5f5f5;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.ev-format label:has(input:checked) {
  background: var(--green-50);
  border-color: var(--green);
}
.ev-format input {
  accent-color: var(--green-700);
}

@media (max-width: 1180px) {
  .ev-hero {
    grid-template-columns: 1fr;
  }
  .ev-countdown {
    max-width: 420px;
  }
  .ev-cols {
    grid-template-columns: 1fr;
  }
  .ev-speakers {
    grid-template-columns: 1fr 1fr;
  }
  .ev-partners {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .ev-facts {
    grid-template-columns: 1fr;
  }
  .ev-program li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }
  .ev-partners {
    grid-template-columns: 1fr 1fr;
  }
  .ev-countdown {
    display: none;
  }
  .cal-menu {
    min-width: 0;
    width: min(320px, calc(100vw - 32px));
  }
  .ev-hero .hero-cta .btn {
    width: 100%;
  }
  .cal {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .ev-speakers {
    grid-template-columns: 1fr;
  }
}

/* ================= Страница новости ================= */
.nw {
  padding-bottom: clamp(8px, 2vw, 24px);
}
.nw-head {
  max-width: 920px;
  margin-top: clamp(8px, 2vw, 24px);
}
.nw-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 16px;
  color: var(--muted);
}
.nw-when {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.nw-when i {
  font-style: normal;
  opacity: 0.6;
}
.nw-title {
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.nw-lead {
  margin-top: 18px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--text);
  max-width: 60ch;
}
.nw-cover {
  margin-top: clamp(28px, 3.5vw, 44px);
  aspect-ratio: 21/9;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nw-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}
.nw-body {
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
}
.nw-body > * + * {
  margin-top: 18px;
}
.nw-body h2 {
  margin-top: 40px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  color: var(--ink);
}
.nw-body a:not(.btn) {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nw-places {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.nw-places li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #f5f5f5;
  line-height: 1.4;
}
.nw-places .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  color: var(--green-700);
}
.nw-places .ico svg {
  width: 20px;
  height: 20px;
}
.nw-places b {
  display: block;
  color: var(--ink);
  font-size: 16px;
}
.nw-places li > span:last-child {
  font-size: 16px;
  color: var(--muted);
}
.nw-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: nw;
}
.nw-steps li {
  position: relative;
  padding-left: 48px;
  counter-increment: nw;
}
.nw-steps li::before {
  content: counter(nw);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.nw-quote {
  margin-block: 32px;
  margin-inline: 0;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--green-50);
  border-left: 4px solid var(--green);
}
.nw-quote p {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}
.nw-quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--muted);
}
.nw-quote footer b {
  display: block;
  color: var(--ink);
}
.nw-quote .avatar {
  background: #fff;
}
.nw-meta .post-tag {
  background: #fff;
}
.nw-related .post h3 {
  min-height: 3.9em;
}
.nw-figure {
  margin-inline: 0;
  margin-block: 32px;
}
.nw-figure .ph {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
}
.nw-figure figcaption {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}
.nw-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #f5f5f5;
  font-size: 16px;
  line-height: 1.5;
}
.nw-note svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--green-700);
}
.nw-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.nw-share,
.nw-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.nw-share > b {
  font-size: 18px;
  color: var(--ink);
}
.nw-share-row {
  display: grid;
  gap: 8px;
}
.nw-share-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.nw-share-btn:hover {
  background: var(--green-50);
  border-color: var(--green);
}
.nw-share-btn svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--green-700);
}
.nw-share-btn .vk {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--green-700);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nw-share-btn.is-done {
  background: var(--green-50);
  border-color: var(--green);
}
.nw-cta {
  background: linear-gradient(160deg, #cfebc9, #9ed8ab);
}
.nw-cta .ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  color: var(--green-700);
}
.nw-cta .ico svg {
  width: 24px;
  height: 24px;
}
.nw-cta b {
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
}
.nw-cta p {
  font-size: 16px;
  color: var(--text);
}
.nw-cta .btn {
  align-self: stretch;
  justify-content: center;
}
.post-date {
  margin-top: auto;
  padding-top: 4px;
  font-size: 16px;
  color: var(--muted);
}
@media (max-width: 1180px) {
  .nw-cols {
    grid-template-columns: 1fr;
  }
  .nw-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .nw-cover {
    aspect-ratio: 4/3;
  }
  .nw-side {
    grid-template-columns: 1fr;
  }
  .nw-quote {
    padding: 22px 20px;
  }
  .nw-quote p {
    font-size: 18px;
  }
  .nw-body {
    font-size: 17px;
  }
  .nw-related .post h3 {
    min-height: 0;
  }
}

/* ================= Страница видео ================= */
.vd-main {
  display: grid;
  gap: 24px;
  min-width: 0;
  margin-top: clamp(8px, 2vw, 24px);
}
.vd-poster {
  position: absolute;
  inset: 0;
  background: var(--ink-2) center/cover no-repeat;
}
.vd-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 51, 0.15), rgba(15, 42, 51, 0.55));
}
.vd-poster .play {
  cursor: pointer;
}
.vd-dur {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(15, 42, 51, 0.85);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.vd-info {
  display: grid;
  gap: 18px;
}
.vd-player {
  margin-top: 6px;
}
.vd-title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.vd-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.vd-share > b {
  margin-right: 8px;
  font-size: 16px;
  color: var(--ink);
}
.vd-share .nw-share-btn {
  min-height: 44px;
}
.vd-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.vd-card h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--ink);
}
.vd-card h3 {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink);
}
.vd-card p {
  max-width: 80ch;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}
.vd-card .checks {
  margin-top: 12px;
}
.nw-related .web h3 {
  min-height: calc(2.6em + 40px);
}
@media (max-width: 720px) {
  .vd-share > b {
    flex-basis: 100%;
  }
  .vd-share .nw-share-btn {
    flex: 1 1 calc(50% - 4px);
  }
  .vd-share [data-share="copy"] {
    flex-basis: 100%;
  }
  .vd-card p {
    max-width: 80ch;
    font-size: 17px;
  }
  .nw-related .web h3 {
    min-height: 0;
  }
}

/* ================= Списки новостей и видео ================= */
.ls {
  padding-bottom: clamp(56px, 7vw, 96px);
}
.ls-head {
  margin: clamp(8px, 2vw, 24px) 0 clamp(28px, 3.5vw, 44px);
}
.ls-title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ls-sub {
  margin-top: 12px;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--text);
}
.ls-grid .post h3 {
  min-height: 3.9em;
}
.ls-grid .web h3 {
  min-height: calc(2.6em + 40px);
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: clamp(36px, 4vw, 56px);
}
.pager ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pager-num,
.pager-arrow {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition:
    background 0.2s,
    color 0.2s;
}
.pager-num:hover,
.pager-arrow[href]:hover {
  background: var(--green-50);
  color: var(--green-700);
}
.pager-num[aria-current="page"] {
  background: var(--green);
  color: var(--ink-2);
  box-shadow: none;
}
.pager-arrow svg {
  width: 20px;
  height: 20px;
}
.pager-arrow[aria-disabled="true"] {
  opacity: 0.4;
  box-shadow: none;
  cursor: default;
}
.pager-gap {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 48px;
  color: var(--muted);
  font-weight: 700;
}
@media (max-width: 1180px) {
  .ls-grid .post h3,
  .ls-grid .web h3 {
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .pager,
  .pager ul {
    gap: 6px;
  }
  .pager-num,
  .pager-arrow {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 12px;
  }
  .pager-gap {
    min-width: 14px;
    height: 40px;
  }
}

/* ================= Список мероприятий ================= */
.el-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.el-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(26, 62, 75, 0.06);
  box-shadow: var(--shadow);
  color: inherit;
}
.el-item:hover h3 {
  color: var(--green-700);
}
.el-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 16px 8px;
  border-radius: 16px;
  background: var(--green-50);
  text-align: center;
}
.el-date b {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.el-date span {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.el-date small {
  font-size: 14px;
  color: var(--muted);
}
.el-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.el-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.el-tags .ev-kind {
  margin: 0;
  background: #f5f5f5;
  color: var(--ink);
}
.el-body h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.2s;
}
.el-body p {
  font-size: 16px;
  color: var(--text);
  max-width: 80ch;
}
.el-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 4px;
  font-size: 16px;
  color: var(--muted);
}
.el-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.el-meta svg {
  width: 18px;
  height: 18px;
  color: var(--green-700);
}
.el-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.el-more svg {
  width: 18px;
  height: 18px;
}
.el-item.is-done .el-date {
  background: #f5f5f5;
}
.el-item.is-done .el-date b,
.el-item.is-done .el-date span {
  color: var(--muted);
}
@media (max-width: 900px) {
  .el-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 20px;
  }
  .el-more {
    grid-column: 2;
  }
}
@media (max-width: 560px) {
  .el-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }
  .el-date {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 14px;
    align-self: start;
    justify-self: start;
  }
  .el-date b {
    font-size: 28px;
  }
  .el-more {
    grid-column: auto;
  }
  .ls .tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
  }
  .ls .tabs button,
  .ls .tabs a {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 10px;
  }
}

/* Завершённое мероприятие: без колонки с таймером */
.ev-hero-past {
  grid-template-columns: 1fr;
}

/* ================= Регистрация специалиста ================= */
dialog.modal-reg {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 16px;
}
.reg-grid > * {
  grid-column: span 3;
}
.reg-grid > :nth-child(-n + 3) {
  grid-column: span 2;
}
.reg-grid > [data-combo="spec"] {
  grid-column: 1/-1;
}
.field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.combo-box {
  position: relative;
}
.combo-box input,
.reg-grid .field > input {
  width: 100%;
  min-width: 0;
}
.combo-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  color: var(--muted);
  pointer-events: none;
}
[data-combo="spec"] input {
  padding-right: 44px;
}
.combo-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10;
  max-height: 264px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -20px rgba(26, 62, 75, 0.35);
}
.combo-list li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.combo-list li small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.combo-list li:hover,
.combo-list li[aria-selected="true"] {
  background: var(--green-50);
}
.combo-list .combo-empty {
  color: var(--muted);
  cursor: default;
}
.combo-list .combo-empty:hover {
  background: none;
}
@media (max-width: 640px) {
  .reg-grid {
    grid-template-columns: 1fr;
  }
  .reg-grid > *,
  .reg-grid > :nth-child(-n + 3) {
    grid-column: auto;
  }
}

/* ================= Вход и восстановление пароля ================= */
dialog.modal-auth {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
.field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-700);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(47, 138, 78, 0.35);
}
.link-btn:hover {
  text-decoration-color: currentColor;
}
.link-btn svg {
  width: 16px;
  height: 16px;
  transform: scaleX(-1);
}
.pass-box {
  position: relative;
}
.pass-box input {
  width: 100%;
  min-width: 0;
  padding-right: 52px;
}
.pass-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.pass-eye:hover {
  background: var(--green-50);
  color: var(--ink);
}
.pass-eye svg {
  width: 20px;
  height: 20px;
}
.field .pass-box input {
  height: 50px;
  padding-left: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.field .pass-box input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.modal-foot {
  margin-top: 20px;
  padding-top: 18px;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}
.form-error {
  padding: 12px 16px;
  border-radius: 12px;
  background: #fde4e2;
  color: #b3261e;
  font-size: 16px;
  font-weight: 500;
}
.field-hint {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

/* ================= Личный кабинет ================= */
.lk {
  padding-bottom: clamp(56px, 7vw, 96px);
}
.lk-title {
  margin: clamp(8px, 2vw, 24px) 0 clamp(24px, 3vw, 36px);
}
.lk-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.lk-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.lk-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.lk-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink-2);
  font-size: 20px;
  font-weight: 800;
}
.lk-user b {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}
.lk-user div span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}
.lk-nav {
  display: grid;
  gap: 4px;
}
.lk-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition:
    background 0.2s,
    color 0.2s;
}
.lk-nav a:hover {
  background: #f5f5f5;
  color: var(--ink);
}
.lk-nav a[aria-current] {
  background: var(--green-50);
  color: var(--ink);
}
.lk-nav svg {
  width: 20px;
  height: 20px;
  color: var(--green-700);
}
.lk-nav .lk-logout {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  color: var(--muted);
}
.lk-nav .lk-logout svg {
  color: var(--muted);
}
.lk-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}
.lk-card {
  scroll-margin-top: 96px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.lk-card-head h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--ink);
}
.lk-card-head p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}
.lk-card .form {
  margin-top: 24px;
}
.lk-pass-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
}
.lk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.lk-actions .btn {
  margin-top: 0;
}
.lk-actions .btn:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}
.lk-msg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-700);
}
.lk-msg[hidden] {
  display: none;
}
.lk-msg svg {
  width: 20px;
  height: 20px;
}
.hdr-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px 0 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.hdr-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 1000px) {
  .lk-grid {
    grid-template-columns: 1fr;
  }
  .lk-side {
    position: static;
  }
  .lk-nav {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .lk-nav .lk-logout {
    margin-top: 0;
    border-top: 0;
    border-radius: 12px;
  }
}
@media (max-width: 720px) {
  .lk-pass-grid {
    grid-template-columns: 1fr;
  }
  .lk-empty {
    display: none;
  }
  .hdr-user span:last-child {
    display: none;
  }
  .hdr-user {
    padding: 0 4px;
  }
  .lk-actions .btn {
    flex: 1 1 100%;
  }
}
