:root {
  --black: #050606;
  --ink: #101318;
  --muted: #6d7480;
  --line: #e7e9ee;
  --soft: #f6f7f9;
  --white: #fff;
  --yellow: #ffd21f;
  --red: #ff3730;
  --green: #2cae57;
  --blue: #2f6dff;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .24);
  font-family: "Onest", Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Onest", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 210, 31, .12), transparent 30%),
    radial-gradient(circle at 12% 86%, rgba(255, 55, 48, .1), transparent 28%),
    linear-gradient(180deg, #060607 0%, #08090b 100%);
  position: relative;
  overflow: hidden;
}

.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .23;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
}

.container {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo {
  min-width: 0;
  width: clamp(255px, 20vw, 320px);
  max-width: 34vw;
}

.brand-image {
  width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .32));
}

.brand-mark {
  width: 4px;
  height: 24px;
  border-radius: 3px;
  background: var(--yellow);
  box-shadow: 0 0 24px rgba(255,210,31,.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover,
.read-link,
.breadcrumb a {
  color: var(--yellow);
}

.outline-btn,
.primary-btn,
.ghost-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
}

.outline-btn {
  min-height: 42px;
  color: var(--yellow);
  border-color: rgba(255,210,31,.55);
  padding: 0 18px;
}

.primary-btn {
  color: #090909;
  background: linear-gradient(180deg, #ffe269, var(--yellow));
  padding: 0 24px;
}

.ghost-btn {
  color: var(--white);
  border-color: rgba(255,210,31,.48);
  background: rgba(255,255,255,.04);
  padding: 0 24px;
}

.case-hero {
  position: relative;
  padding: 46px 0 70px;
  overflow: hidden;
}

.case-hero-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: min(58vw, 1080px);
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .78;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.16) 10%, #000 26%, #000 100%);
}

.case-hero--ai::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,6,6,.96) 0%, rgba(5,6,6,.82) 36%, rgba(5,6,6,.28) 64%, rgba(5,6,6,.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 62%, rgba(5,6,6,.76) 100%);
}

.case-hero--ai .hero-grid {
  grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
  min-height: 430px;
}

.case-hero--plastic .case-hero-bg {
  width: 100%;
  object-position: center center;
  opacity: .92;
  filter: saturate(1.06) contrast(1.04);
  mask-image: none;
}

.case-hero--plastic::after {
  background:
    linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.9) 42%, rgba(5,6,6,.34) 70%, rgba(5,6,6,.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 62%, rgba(5,6,6,.78) 100%);
}

.case-hero--pts .case-hero-bg {
  width: 100%;
  object-position: center center;
  opacity: .9;
  filter: saturate(1.05) contrast(1.05);
  mask-image: none;
}

.case-hero--pts::after {
  background:
    linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.9) 42%, rgba(5,6,6,.36) 70%, rgba(5,6,6,.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(5,6,6,.82) 100%);
}

.case-hero--phlebology .case-hero-bg {
  width: 100%;
  object-position: center center;
  opacity: .9;
  filter: saturate(1.04) contrast(1.05);
  mask-image: none;
}

.case-hero--phlebology::after {
  background:
    linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.91) 42%, rgba(5,6,6,.34) 70%, rgba(5,6,6,.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(5,6,6,.82) 100%);
}

.case-hero--sro .case-hero-bg {
  width: 100%;
  object-position: center center;
  opacity: .9;
  filter: saturate(1.04) contrast(1.05);
  mask-image: none;
}

.case-hero--sro::after {
  background:
    linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.91) 42%, rgba(5,6,6,.34) 70%, rgba(5,6,6,.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(5,6,6,.82) 100%);
}

.case-hero--hair .case-hero-bg {
  width: 100%;
  object-position: center center;
  opacity: .9;
  filter: saturate(1.04) contrast(1.05);
  mask-image: none;
}

.case-hero--hair::after {
  background:
    linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.91) 42%, rgba(5,6,6,.34) 70%, rgba(5,6,6,.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(5,6,6,.82) 100%);
}

.case-hero--education .case-hero-bg {
  width: 100%;
  object-position: center center;
  opacity: .9;
  filter: saturate(1.04) contrast(1.05);
  mask-image: none;
}

.case-hero--education::after {
  background:
    linear-gradient(90deg, rgba(5,6,6,.98) 0%, rgba(5,6,6,.91) 42%, rgba(5,6,6,.34) 70%, rgba(5,6,6,.08) 100%),
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(5,6,6,.82) 100%);
}

.hero-visual-spacer {
  min-height: 360px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: .96;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 1000;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.8);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
}

.hero-card img {
  aspect-ratio: 1.42;
  height: 100%;
  object-fit: contain;
  background: #070809;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.stat {
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.stat:last-child {
  border-right: 0;
}

.stat span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.content {
  padding: 74px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 64px;
  align-items: start;
}

.article {
  font-size: 18px;
  line-height: 1.72;
}

.article h2 {
  margin: 48px 0 14px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.article h2:first-child {
  margin-top: 0;
}

.article p {
  margin: 0 0 18px;
}

.article ul,
.article ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article li {
  margin-bottom: 10px;
}

.article-image {
  margin: 34px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}

.article-image img,
.article-image video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article-image figcaption {
  display: none;
}

.highlight {
  margin: 34px 0;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #111317, #070809);
  border: 1px solid rgba(255,210,31,.28);
}

.highlight strong {
  color: var(--yellow);
}

.sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.side-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.side-box h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.side-box ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #515966;
  font-weight: 750;
  font-size: 14px;
}

.side-box li {
  display: flex;
  gap: 8px;
}

.side-box i {
  color: var(--green);
}

.max-box {
  color: var(--white);
  border-color: rgba(255, 210, 31, .18);
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 109, 255, .18), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(255, 210, 31, .12), transparent 34%),
    linear-gradient(145deg, #101318, #060708);
}

.max-box p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.45;
}

.max-link {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.max-link:hover {
  border-color: rgba(255, 210, 31, .45);
}

.max-link img {
  width: 96px;
  height: auto;
  object-fit: contain;
}

.max-link span {
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.related {
  padding: 64px 0;
  background: var(--soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mini-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.mini-card img {
  aspect-ratio: 1.72;
  object-fit: cover;
}

.mini-card div {
  padding: 18px;
}

.mini-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.18;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--blue);
}

.footer {
  color: rgba(255,255,255,.65);
  background: var(--black);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(330px, 430px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 68px);
}

.footer .container:not(.footer-grid) {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(330px, 430px) minmax(360px, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: clamp(28px, 4vw, 68px);
}

.footer-logo {
  width: clamp(220px, 22vw, 300px);
  max-width: 76vw;
}

.footer-logo .brand-image {
  max-height: 48px;
}

.footer-legal {
  display: grid;
  gap: 5px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.35;
}

.footer-legal strong {
  color: var(--white);
  font-size: 14px;
}

.footer-legal a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  align-items: start;
  gap: 10px 12px;
  max-width: min(100%, 620px);
}

.footer-links a {
  color: rgba(255,255,255,.84);
  font-weight: 800;
}

.footer-links > a:not(.footer-social-link) {
  grid-column: 1 / -1;
  justify-self: start;
  font-size: 15px;
  line-height: 1.25;
}

.footer-social-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  white-space: nowrap;
}

.footer-social-link i {
  color: #27a7e7;
  font-size: 19px;
}

.footer-social-link--max img {
  width: 56px;
  height: auto;
  object-fit: contain;
}

.legal-hero {
  min-height: 420px;
}

.legal-content {
  background: var(--white);
}

.legal-doc {
  max-width: 860px;
  font-size: 17px;
  line-height: 1.7;
}

.legal-doc h2 {
  margin: 38px 0 12px;
  font-size: 26px;
  line-height: 1.16;
}

.legal-doc p {
  margin: 0 0 16px;
}

.legal-updated {
  color: var(--muted);
  font-weight: 800;
}

.legal-note {
  display: grid;
  gap: 6px;
  margin-top: 36px;
  padding: 18px;
  border: 1px solid rgba(255,210,31,.45);
  border-radius: var(--radius);
  background: rgba(255,210,31,.12);
}

.legal-note strong {
  color: var(--ink);
}


    .cookie {
      position: fixed;
      left: 16px;
      right: 16px;
      bottom: 16px;
      z-index: 9000;
      max-width: 620px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
      padding: 18px 20px;
      color: var(--white);
      background: rgba(10, 11, 12, .94);
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: var(--radius);
      box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
      backdrop-filter: blur(16px);
    }

    .cookie[hidden] {
      display: none;
    }

    .cookie__text {
      margin: 0;
      color: rgba(255, 255, 255, .76);
      font-size: 13px;
      line-height: 1.5;
    }

    .cookie__text a {
      color: var(--yellow);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .cookie__actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .cookie__btn {
      min-height: 42px;
      min-width: 140px;
      padding: 0 18px;
      border: 0;
      border-radius: var(--radius);
      cursor: pointer;
      font: inherit;
      font-size: 14px;
      font-weight: 900;
    }

    .cookie__btn--primary {
      color: #090909;
      background: linear-gradient(180deg, #ffe269, var(--yellow));
    }

@media (max-width: 980px) {
  .container {
    width: min(100% - 36px, 760px);
  }

  .nav {
    display: none;
  }

  .brand-logo {
    width: min(285px, 72vw);
    max-width: 72vw;
  }

  .hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .case-hero-bg {
    width: 100%;
    opacity: .26;
    object-position: center right;
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.72) 48%, transparent 100%);
  }

  .case-hero--pts .case-hero-bg {
    opacity: .32;
    object-position: center right;
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.72) 48%, transparent 100%);
  }

  .case-hero--phlebology .case-hero-bg {
    opacity: .32;
    object-position: center right;
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.72) 48%, transparent 100%);
  }

  .case-hero--sro .case-hero-bg {
    opacity: .32;
    object-position: center right;
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.72) 48%, transparent 100%);
  }

  .case-hero--hair .case-hero-bg {
    opacity: .32;
    object-position: center right;
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.72) 48%, transparent 100%);
  }

  .case-hero--education .case-hero-bg {
    opacity: .32;
    object-position: center right;
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.72) 48%, transparent 100%);
  }

  .case-hero--ai .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual-spacer {
    display: none;
  }

  .hero-card {
    max-width: 620px;
  }

  .stats,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid,
  .footer .container:not(.footer-grid) {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-self: stretch;
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .footer-social-link {
    width: 100%;
    justify-content: center;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 520px);
  }

  .outline-btn {
    display: none;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .lead,
  .article {
    font-size: 16px;
  }

  .stats,
  .cards {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .stat:last-child {
    border-bottom: 0;
  }
}
