@import './variables.css';

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Контентная колонка макета — 1180px (как в Figma) */
.content-grid {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.ph {
  background: var(--card-placeholder);
  backdrop-filter: blur(40px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--blue:hover,
.btn--blue:focus-visible {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.btn--orange-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--orange);
  min-height: 44px;
  font-size: 13px;
}

.bar {
  height: 14px;
  padding: 2px;
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: var(--radius-pill);
  box-sizing: border-box;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: var(--radius-pill);
}

/* Header — Figma: 1440×70, logo x≈30, CTA 190×50 */
.head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  overflow: visible;
  background: rgba(242, 249, 254, 0.3);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-bottom: 1px solid var(--blue);
}
body.is-menu-open .head {
  background: var(--text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(87, 157, 255, 0.45);
}
.head__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--header-pad);
}
.head__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-logo-top);
  padding: 0;
}
.head__logo img {
  display: block;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  flex-shrink: 0;
}
.head__nav {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(24px, 3.5vw, 50px);
  min-width: 0;
  margin-top: var(--header-nav-top);
  padding: 0 16px;
}
.head__nav a,
.head__drop {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.head__nav a.is-active { color: var(--blue); }
.head__drop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.head__drop-trigger {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.head__drop-trigger:hover,
.head__drop-trigger:focus-visible {
  opacity: 0.82;
}
.head__drop i,
.head__drop-trigger i {
  display: block;
  width: 10px;
  height: 8px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 1l4 5 4-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.head__item--drop {
  position: relative;
  flex: 0 0 auto;
  align-self: flex-start;
  transform: translateY(-1px);
}
.head__drop-panel {
  position: relative;
  display: inline-block;
  vertical-align: top;
  line-height: 1.174;
}
.head__drop-panel::after {
  content: "";
  position: absolute;
  left: -18px;
  top: -14px;
  width: calc(100% + 18px);
  min-width: 146px;
  height: 154px;
  pointer-events: none;
}
.head__item--drop:hover,
.head__item--drop:focus-within {
  z-index: 40;
}
.head__item--drop:hover .head__drop-panel::after,
.head__item--drop:focus-within .head__drop-panel::after {
  pointer-events: auto;
}
.head__item--drop:hover .head__drop-trigger,
.head__item--drop:focus-within .head__drop-trigger,
.head__item--drop:hover .head__drop-trigger.is-active,
.head__item--drop:focus-within .head__drop-trigger.is-active {
  color: var(--white);
  opacity: 1;
}
.head__item--drop:hover .head__drop-trigger:hover,
.head__item--drop:hover .head__drop-trigger:focus-visible,
.head__item--drop:focus-within .head__drop-trigger:hover,
.head__item--drop:focus-within .head__drop-trigger:focus-visible {
  opacity: 0.82;
}
.head__item--drop:hover .head__drop-trigger i,
.head__item--drop:focus-within .head__drop-trigger i,
.head__item--drop:hover .head__drop-trigger.is-active i,
.head__item--drop:focus-within .head__drop-trigger.is-active i {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 1l4 5 4-5' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
}
.head__drop-trigger.is-active {
  color: var(--blue);
}
.head__drop-trigger.is-active i {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 1l4 5 4-5' fill='none' stroke='%23579dff' stroke-width='1.5'/%3E%3C/svg%3E");
}
.head__submenu {
  position: absolute;
  top: -14px;
  left: -18px;
  z-index: 1;
  box-sizing: border-box;
  width: fit-content;
  min-width: 132px;
  padding: calc(15px * 1.174 + 14px) 5px 10px 18px;
  border-radius: 12px;
  background: transparent;
  pointer-events: none;
}
.head__submenu a {
  display: none;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  white-space: nowrap;
}
.head__item--drop:hover .head__submenu,
.head__item--drop:focus-within .head__submenu {
  background: var(--blue);
  pointer-events: auto;
}
.head__item--drop:hover .head__submenu a,
.head__item--drop:focus-within .head__submenu a {
  display: block;
  padding: 5px 0;
}
.head__item--drop:hover .head__submenu a:first-child,
.head__item--drop:focus-within .head__submenu a:first-child {
  padding-top: 12px;
}
.head__submenu a:hover,
.head__submenu a:focus-visible {
  color: var(--white);
  opacity: 0.82;
}
.head__submenu a.is-active {
  color: var(--white);
}
.head__item--drop:has(.head__drop-trigger[href*="funds"]) .head__drop-panel::after,
.head__item--drop:has(.head__drop-trigger[href*="zbori"]) .head__drop-panel::after {
  min-width: 185px;
}
.head__item--drop:has(.head__drop-trigger[href*="funds"]) .head__submenu,
.head__item--drop:has(.head__drop-trigger[href*="zbori"]) .head__submenu {
  min-width: 173px;
  padding-right: 3px;
}
.head__aside {
  display: none;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 51px;
  height: 100%;
}
.head__lang {
  margin-top: var(--header-nav-top);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  color: var(--text);
  white-space: nowrap;
}
.head__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 190px;
  min-width: 190px;
  height: var(--header-btn-h);
  margin-top: var(--header-btn-top);
  padding: 0 30px;
  border: none;
  border-radius: var(--radius-head-btn);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.174;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  overflow: visible;
  position: relative;
  z-index: 2;
  transition: background 0.2s ease;
}
.head__btn,
.head__btn:visited,
.head__btn:hover,
.head__btn:focus-visible {
  color: var(--white);
}
.head__btn:hover,
.head__btn:focus-visible {
  background: var(--gradient-bl);
}
.head__burger {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: var(--header-logo-top);
  border: 0;
  background: url("/images/burger.svg") no-repeat center / 30px 30px;
  opacity: 1;
  cursor: pointer;
}
.head__burger[aria-expanded="true"] {
  background: url("/images/burger-open.svg") no-repeat center / 30px 30px;
}

/* Drawer — mobile menu panel under fixed header */
.drawer {
  --drawer-h: 85vh;
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  width: 100%;
  height: calc(var(--drawer-h) - var(--header-h));
  max-height: calc(var(--drawer-h) - var(--header-h));
  z-index: 95;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__bar {
  display: none;
}
.drawer__close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: url("/images/burger-open.svg") no-repeat center / 30px 30px;
  cursor: pointer;
}
.drawer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 28px var(--header-pad) 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.drawer__nav::-webkit-scrollbar {
  display: none;
}
.drawer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-bottom: 28px;
}
.drawer__cols > div {
  display: flex;
  flex-direction: column;
}
.drawer__cols > div:last-child {
  text-align: right;
}
.drawer__cols a {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 2.65;
  text-decoration: none;
}
.drawer__cols a:hover,
.drawer__sub a:hover {
  opacity: 0.85;
}
.drawer__ua {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--white);
}
.drawer__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 calc(-1 * var(--header-pad));
  padding: 24px var(--header-pad) 0;
  border-top: 1px solid var(--white);
}
.drawer__sub a {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.drawer__cta {
  flex-shrink: 0;
  width: auto;
  margin: auto calc(-1 * var(--gutter)) calc(-1 * 24px);
  min-height: 64px;
  padding: 20px 24px;
  border: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
.drawer__backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.35);
}
.drawer__backdrop[hidden] { display: none; }

/* Hero — full viewport (Figma Frame 2: 1440×790 + partners) */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(242, 249, 254, 0) 0%,
    rgba(242, 249, 254, 0.45) 65%,
    rgba(242, 249, 254, 0.92) 88%,
    var(--bg) 100%
  );
  pointer-events: none;
}
.hero__viewport {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}
.wrap.hero__shell {
  padding-inline: var(--hero-gutter);
}
.hero__shell {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 0;
  padding-bottom: clamp(24px, 4vh, 48px);
  min-height: 0;
}
/* Figma 15:2 — x:127 y:391 w:1182, justify first line */
.hero__title {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: var(--hero-title-max);
  margin: 0 0 clamp(40px, 9vh, 73px);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(34px, 5.8vw, 87px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: var(--shadow-text-hero);
}
.hero__title-l1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  width: 100%;
}
.hero__title-l2 {
  display: block;
  text-align: left;
}
.hero__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
  max-width: var(--hero-title-max);
  align-items: end;
}
.hero__col--left {
  max-width: 567px;
}
.hero__lead {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  text-align: left;
}
.hero__accent {
  display: block;
  margin-top: 0.4em;
  color: var(--blue);
  font-weight: 600;
}
.hero__col--right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  width: 100%;
  max-width: 579px;
}
.hero__sub {
  width: 100%;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.174;
  color: var(--text);
  text-align: left;
}
.hero__sub-top,
.hero__sub-rest {
  display: block;
}
.hero__btns {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: stretch;
  align-items: stretch;
  align-self: stretch;
  gap: 20px;
  width: 100%;
}
.btn--hero {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 50px;
  padding: 0 20px;
  white-space: nowrap;
}
.hero-logos {
  position: relative;
  z-index: 2;
  width: 100%;
  flex-shrink: 0;
  padding: clamp(12px, 2vh, 24px) 0 clamp(16px, 3vh, 32px);
  overflow: hidden;
  --hero-logo-w: 180px;
  --hero-logo-gap: 20px;
  --hero-logo-set: 8;
}
.hero-logos__viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}
.hero-logos__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: hero-logos-scroll 45s linear infinite;
}
.hero-logos__track:hover {
  animation-play-state: paused;
}
.hero-logos__list {
  display: flex;
  align-items: stretch;
  gap: var(--hero-logo-gap);
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-logos__item {
  flex: 0 0 var(--hero-logo-w);
  width: var(--hero-logo-w);
  height: 60px;
  border: 1px solid #636363;
  border-radius: 8px;
  background: rgba(242, 249, 254, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-logos__item img {
  max-width: 80%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes hero-logos-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(
      calc(-1 * var(--hero-logo-set) * (var(--hero-logo-w) + var(--hero-logo-gap))),
      0,
      0
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logos__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    gap: 20px;
  }
  .hero-logos__list[aria-hidden="true"] {
    display: none;
  }
  .hero-logos__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Stats — Figma Group 14 (1180×558) */
.stats-section {
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--gray);
  overflow: visible;
}
.stats-section__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.stats-section__title {
  padding: 48px 0 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.stats-section__tag {
  margin: 0;
  padding: 150px 0 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.stats__mosaic {
  display: none;
}
.stats__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.stat {
  position: absolute;
  overflow: visible;
}
.stat:not(.stat--center)::after,
.stat__card--center::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: var(--stat-card-overlay);
  -webkit-backdrop-filter: blur(var(--stat-card-overlay-blur));
  backdrop-filter: blur(var(--stat-card-overlay-blur));
  -webkit-mask-image: var(--stat-card-overlay-blur-mask);
  mask-image: var(--stat-card-overlay-blur-mask);
}
.stat--tl::after {
  top: 10.92%;
  left: 0;
  width: 86.53%;
  max-width: 380px;
  height: 210px;
  border-radius: var(--radius-stat);
}
.stat--tr::after {
  top: 25.87%;
  left: 0;
  width: 86.53%;
  max-width: 380px;
  height: 210px;
  border-radius: var(--radius-stat) var(--radius-stat) 0 0;
}
.stat--bl::after {
  top: 14.17%;
  left: 0;
  width: 89.41%;
  max-width: 380px;
  height: 210px;
  border-radius: var(--radius-stat) var(--radius-stat) 0 0;
}
.stat--br::after {
  top: 21.35%;
  left: 0;
  width: 86.53%;
  max-width: 380px;
  height: 210px;
  border-radius: var(--radius-stat) var(--radius-stat) 0 0;
}
.stat__card--center::after {
  inset: 0;
  border-radius: inherit;
}

/* Синяя панель (Rectangle 4/5/8) — не на всю высоту группы */
.stat__panel {
  position: absolute;
  z-index: 0;
  width: 86.53%;
  max-width: 380px;
  height: 210px;
  pointer-events: none;
}
.stat__panel-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #579dff;
}
.stat__panel-fade {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--stat-card-overlay);
}
.stat--tl .stat__panel {
  top: 10.92%;
  left: 0;
  border-radius: var(--radius-stat);
}
.stat--tr .stat__panel,
.stat--bl .stat__panel,
.stat--br .stat__panel {
  border-radius: var(--radius-stat) var(--radius-stat) 0 0;
}
.stat--tr .stat__panel {
  top: 25.87%;
  left: 0;
}
.stat--bl .stat__panel {
  top: 14.17%;
  left: 0;
  width: 89.41%;
}
.stat--br .stat__panel {
  top: 21.35%;
  left: 0;
}

.stat__card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-stat);
  overflow: visible;
}
.stat__card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--blue) 0%,
    #8ec0ff 22%,
    #c5e4fc 48%,
    #e8f4fd 68%,
    var(--bg) 100%
  );
}

.stat__photo-wrap {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.stat__photo-wrap--tl {
  top: 0;
  left: 42.92%;
  width: 57.08%;
  height: 99.16%;
}
.stat__photo-wrap--tr {
  top: -9px;
  left: 40%;
  width: 46.53%;
  height: calc(100% + 7px);
  overflow: hidden;
  border-top-right-radius: var(--radius-stat);
}
.stat__photo-wrap--tr .stat__photo {
  width: 126%;
  height: 122%;
  max-width: none;
  object-fit: contain;
  object-position: top right;
  mask-image: linear-gradient(180deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.72) 63%, transparent 84%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 44%, rgba(0, 0, 0, 0.72) 63%, transparent 84%);
}
.stat__photo-wrap--bl {
  top: 0;
  left: 37.88%;
  width: 62.12%;
  height: 99.19%;
}
.stat__photo-wrap--br {
  top: 3px;
  left: 10.84%;
  width: 74.79%;
  height: 100%;
}
.stat__photo-wrap--center {
  top: 14.8%;
  left: 86px;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.stat__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top right;
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
}
.stat__photo-wrap--br .stat__photo {
  object-position: top center;
}
.stat__photo-wrap--center .stat__photo {
  width: 223%;
  max-width: none;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 95%);
}

.stat__body {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.stat__lbl {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}
.stat__num {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 400;
  line-height: 1.174;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: var(--blue);
}
.stat--tl .stat__lbl { top: 19.33%; left: 4.57%; }
.stat--tl .stat__num { top: 62.18%; left: 4.57%; }
.stat--tr .stat__lbl { top: 32.87%; left: 3.68%; }
.stat--tr .stat__num { top: 68.53%; left: 5.26%; }
.stat--bl .stat__lbl { top: 22.27%; left: 5.18%; }
.stat--bl .stat__num { top: 63.56%; left: 4.71%; }
.stat--br .stat__lbl { top: 28%; left: 5.26%; }
.stat--br .stat__num { top: 66%; left: 5.26%; }

.stat__body--center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  box-sizing: border-box;
}
.stat__center-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.2vw, 64px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
}
.stat__center-title-line {
  display: block;
}
.stat__center-sub {
  position: absolute;
  top: 20px;
  right: 20px;
  max-width: 9em;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--white);
  text-align: right;
  letter-spacing: 0.02em;
}

.stat-m {
  --stat-m-h: 210px;
  --stat-m-fade: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(247, 251, 254, 0.5) 50%,
    #f2f9fe 100%
  );
  --stat-m-blue: linear-gradient(180deg, #579dff 0%, #6ca8ff 42%, #8ebbff 58%);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: 350px;
  height: var(--stat-m-h);
  min-height: var(--stat-m-h);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  padding: 16px 0 0 20px;
  border: none;
  border-radius: var(--radius-stat) var(--radius-stat) 0 0;
  overflow: visible;
  text-align: left;
  background: var(--stat-m-blue);
  box-shadow: none;
}
.stat-m:not(.stat-m--wide)::after {
  content: "";
  position: absolute;
  top: -34%;
  right: -4%;
  bottom: -4%;
  left: 18%;
  z-index: 0;
  background-image: var(--stat-m-photo);
  background-repeat: no-repeat;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 4%, #000 58%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 4%, #000 58%, transparent 94%);
}
.stat-m::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: var(--stat-m-fade);
  pointer-events: none;
}
.stat-m--wide {
  --stat-m-h: clamp(320px, 85vw, 400px);
  display: grid;
  grid-template-columns: 1fr minmax(0, 42%);
  grid-template-rows: auto 1fr;
  align-items: start;
  padding: 20px 20px 0;
  background: linear-gradient(180deg, #579dff 0%, #6ca8ff 36%, #9ec6fb 54%);
}
.stat-m--wide::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-image: url("/images/stats/stat-center.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 135% auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 8%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 8%, #000 58%, transparent 100%);
}
.stat-m--wide::before {
  background: var(--stat-m-fade);
}
.stat-m--wide .stat-m__n {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.1;
  color: var(--white);
  text-align: left;
}
.stat-m--wide .stat-m__sub {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin: 4px 0 0;
  max-width: 11em;
  text-align: right;
}
.stat-m__n {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 0;
  padding: 12px 8px 14px 0;
  font-family: var(--font-heading);
  font-size: clamp(52px, 15vw, 64px);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: #8ec5ff;
  text-transform: uppercase;
}
.stat-m__l {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  padding-right: 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}
.stat-m__sub {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
}
.stat-m--bl { --stat-m-photo: url("/images/stats/stat-patients-5fcf79.png"); }
.stat-m--tl { --stat-m-photo: url("/images/stats/stat-prosthesis.png"); }
.stat-m--tr { --stat-m-photo: url("/images/stats/stat-operations-38df6a.png"); }
.stat-m--br { --stat-m-photo: url("/images/stats/stat-employees-113537.png"); }
.stat-m--tl::after {
  top: -42%;
  left: 12%;
  background-position: 100% 100%;
  background-size: 85% auto;
}
.stat-m--tr::after {
  top: -32%;
  left: 22%;
  right: 0px !important;
  background-position: 100% 0;
  background-size: 61% auto;
}
.stat-m--bl::after {
  top: -28%;
  left: 14%;
  background-position: 100% 100%;
      background-size: 79% auto;
    right: -51px !important;
}
.stat-m--br::after {
  top: -24%;
  left: 0;
  background-position: 100% 0;
  background-size: 105% auto;
      top: -50px !important;
    right: 0px !important;
}

/* About */
.about {
  padding: 24px 0 0;
  background: var(--white);
}
.about__copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 48px;
  margin-bottom: -46px;
}
.about__logo {
  display: block;
  width: 144px;
  height: auto;
  flex: 0 0 auto;
  align-self: flex-start;
}
.about__intro {
  display: block;
  margin: 0;
  z-index: 9;
  width: 100%;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  color: var(--text);
}
.about__intro-mark {
  color: var(--blue-dark);
}
.about__visual {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  min-height: 420px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: var(--white);
}
.about__arc {
  position: absolute;
  width: min(780px, 100%);
  height: min(794px, 90vw);
  border: 20px solid var(--white);
  border-radius: 50%;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.about__photo {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin-top: -40px;
  object-fit: cover;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.about__goal-wrap {
  position: relative;
  z-index: 2;
  margin-top: clamp(-72px, -6vw, -40px);
  margin-bottom: 0;
  pointer-events: none;
}
.about__goal {
  margin: 0;
  margin-left: auto;
  width: 100%;
  max-width: 841px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
  color: var(--text);
}
.about__goal-mark {
  color: var(--blue-dark);
}

/* About panel — цитата, волонтер, лінія (всередині .about) */
.about-panel__inner {
  padding-top: 48px;
  width: 100%;
  max-width: 1220px;
}
.about-panel__inner.content-grid {
  max-width: 1220px;
}
.about-panel__quote {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 110px;
  padding: 30px 24px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
}
.about-panel__quote-line {
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
}
.about-panel__quote-mark {
  color: var(--blue-dark);
}
.about-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}
.about-panel__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.about-panel__btn {
  flex-shrink: 0;
  min-height: 50px;
  padding-inline: 30px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  border-color: var(--text);
}
.about-panel__line {
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  border-top: 1px solid var(--gray);
}
.about--panel {
  padding-top: 0;
  background: var(--white);
}

/* Pro nas page */
.page-about {
  background: var(--bg);
}
.pn-section {
  padding: clamp(32px, 4vw, 56px) 0;
}
.pn-section__inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.pn-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.pn-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.pn-hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(242, 249, 254, 0) 0%,
    rgba(242, 249, 254, 0.35) 55%,
    rgba(242, 249, 254, 0.88) 82%,
    var(--bg) 100%
  );
  pointer-events: none;
}
.pn-hero__viewport {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
}
.pn-hero__shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(100px, 18vh, 300px) var(--hero-gutter) clamp(40px, 6vh, 72px);
}
.pn-hero__title {
  margin: 0 0 clamp(48px, 10vw, 145px);
  max-width: 12ch;
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.8vw, 87px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: var(--shadow-text-hero);
}
.pn-hero__title span {
  display: block;
}
.pn-hero__partners {
  align-self: stretch;
  width: 100%;
  max-width: 1180px;
  margin: 0 0 50px;
}
.pn-hero__partners-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pn-hero__partner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pn-hero__partner img {
  display: block;
  width: auto;
  height: 80px;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 899px) {
  .pn-hero__partner:last-child {
    flex-basis: 100%;
  }
  .pn-hero__lead {
    font-size: 18px;
  }
}
.pn-hero__bg {
  object-position: center center;
}
.pn-hero__lead {
  align-self: stretch;
  width: 100%;
  max-width: 1180px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.366;
  text-align: justify;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: var(--text);
}
.pn-intro {
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 50px);
}
.pn-intro__tag {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.pn-intro__line {
  display: block;
  width: 100vw;
  margin: 0 0 32px;
  margin-left: calc(50% - 50vw);
  border: none;
  border-top: 1px solid var(--line);
}
.pn-intro__content {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}
.pn-intro__title {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom:70px;
}
@media (max-width: 899px) {
  .pn-intro__title {
    font-size: 30px;
    text-align: justify;
  }
  .pn-intro__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .pn-intro__body > * {
    min-width: 0;
  }
  .pn-intro__copy {
    width: 100%;
    max-width: 100%;
    text-align: right;
  }
  .pn-intro__text--copy {
    font-size: 18px !important;
    text-align: justify;
    overflow-wrap: break-word;
  }
  .pn-intro__text--copy br {
    display: none;
  }
  .pn-metric__num {
    font-size: 80px !important;
  }
  .pn-metric__lbl {
    font-size: 30px !important;
  }
  .pn-metric__sub {
    font-size: 30px !important;
  }
  .pn-metric__note {
    font-size: 18px !important;
    text-align: right;
  }
  body > main > section.pn-intro > div:nth-child(3) > div > div > article.pn-metric.pn-metric--35 > p.pn-metric__num{
    margin-top: 40px !important;
  }
  body > main > section.pn-intro > div:nth-child(3) > div > div > article.pn-metric.pn-metric--35 > p.pn-metric__lbl{
    margin-top: 0px !important;
  }
  .pn-intro__text--war {
    margin-top: 40px !important;
    font-size: 24px !important;
    text-align: left;
  }
  .pn-intro__text--war br {
    display: none;
  }
}
.pn-intro__body {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}
.pn-intro__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.366;
  color: var(--text);
}
.pn-intro__text--copy {
  margin: 0;
  text-transform: uppercase;
}
.pn-intro__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pn-intro__text--war {
  width: 100%;
  max-width: none;
  text-transform: none;
  font-size: 32px;
  line-height: 1.366;
  text-align:justify;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.pn-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pn-metric__num {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 400;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  
}
.pn-metric__lbl {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--blue);
}
.pn-metric__row {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 60px);
}
.pn-metric__aside {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 0.15em;
}
.pn-metric__sub {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: 500;
  line-height: 1.174;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  text-align:right;
}
.pn-metric__note {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--gray);
}

.pn-text {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.366;
  color: var(--text);
}
.pn-text:last-child,
.pn-heading + .pn-text:last-child {
  margin-bottom: 0;
}
.pn-text--wide {
  max-width: 1019px;
}
.pn-text--center {
  text-align: center;
}
.pn-heading {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.pn-heading--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.pn-heading--section {
  font-size: clamp(22px, 2.8vw, 28px);
  margin-bottom: 24px;
}
.pn-mark {
  color: var(--blue);
}
.pn-story-cards {
  padding-block: clamp(40px, 5vw, 64px);
}
.pn-story-cards__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
}
.pn-story-card {
  position: relative;
  width: min(100%, 400px);
  max-width: 400px;
  height: 400px;
  margin-inline: auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--blue);
}
.pn-story-card__media {
  position: absolute;
  inset: 0;
}
.pn-story-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pn-story-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 48, 130, 0.15) 0%,
    rgba(0, 68, 160, 0.35) 32%,
    rgba(87, 157, 255, 0.88) 58%,
    var(--blue) 100%
  );
}
.pn-story-card__body {
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 210px;
  padding: 24px 22px 28px;
  color: var(--white);
}
.pn-story-card__title {
  margin: 0;
  flex: 0 0 auto;
  min-height: calc(2 * 1.3em);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: var(--white);
  letter-spacing: 0.02em;
}
.pn-story-card__text {
  margin: 12px 0 0;
  margin-top: auto;
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
}
.pn-features {
  padding-block: clamp(40px, 5vw, 64px);
}
.pn-rehab {
  padding-block: clamp(40px, 5vw, 64px);
}
.pn-rehab__intro {
  margin-bottom: clamp(32px, 5vw, 75px);
}
.pn-rehab__lead {
  margin: 0 0 0px;
  max-width: 1019px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.366;
  color: var(--text);
}
.pn-rehab__lead--mark {
  margin-bottom: 0;
  color: var(--blue);
}
@media (max-width: 899px) {
  .pn-rehab__lead {
    font-size: 24px;
    text-align: justify;
  }
}
.pn-story-cards__grid--rehab {
  max-width: 1180px;
}
.pn-split {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}
.pn-split__media {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card-placeholder);
  aspect-ratio: 619 / 413;
}
.pn-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pn-columns__grid,
.pn-highlights__grid,
.pn-features__grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}
.pn-highlight__media {
  margin-bottom: 16px;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 614 / 409;
  background: var(--card-placeholder);
}
.pn-highlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pn-goals {
  padding-block: clamp(48px, 6vw, 80px);
}
.pn-goals__head {
  margin-bottom: clamp(40px, 8vw, 70px);
  text-align: left;
}
.pn-goals__title {
  margin: 0 0 0px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--blue);
}
.pn-goals__lead {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.pn-goals__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1180px;
}
.pn-goals__row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  width: 100%;
}
.pn-goals__card--2,
.pn-goals__card--3 {
  width: 100%;
  max-width: 680px;
}
.pn-goals__card {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: left;
  box-sizing: border-box;
  width: 100%;
  height: 209px;
  min-height: 209px;
  max-height: 209px;
  padding: 16px 20px 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.08);
  overflow: hidden;
}
.pn-goals__card--accent {
  background: var(--blue);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.2);
}
.pn-goals__num {
  position: absolute;
  right: 0;
  top: 1px;
  display: flex;
  align-items: flex-end;
  font-family: var(--font-body);
  font-size: clamp(100px, 22vw, 250px);
  font-weight: 600;
  line-height: 1;
  color: rgb(242 249 254);
  pointer-events: none;
  user-select: none;
}
.pn-goals__card--accent .pn-goals__num {
  color: rgba(255, 255, 255, 0.22);
}
.pn-goals__text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 8px 16px;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  text-align: left;
  color: var(--text);
}
.pn-goals__card--accent .pn-goals__text {
  color: var(--white);
}
.pn-goals__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 4px 0 24px;
}
.pn-goals__card--footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 209px;
  max-height: none;
  padding: 24px 32px 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.08);
  overflow: hidden;
}
.pn-goals__footer-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 161px;
  max-height: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.pn-goals__card--footer .pn-goals__text {
  width: 100%;
  max-width: none;
  text-align: justify;
  top: 18px;
}
.pn-goals__card--footer .pn-goals__num {
  right: 0;
}
@media (max-width: 899px) {
  .pn-goals__title {
    font-size: 25px;
  }
  .pn-goals__text {
    font-size: 24px;
    text-align: justify;
  }
  .pn-goals__num {
    font-size: 250px;
    margin-right: 10px;
  }
  .pn-goals__card--footer {
    grid-template-columns: 1fr;
  }
  .pn-goals__footer-main {
    height: auto;
    min-height: 209px;
    max-height: none;
    z-index: 1;
  }
  .pn-goals__card--footer .pn-goals__num {
    top: auto;
    bottom: -305px;
    z-index: 0;
  }
  .pn-goals__card--footer .pn-goals__aside {
    position: relative;
    z-index: 1;
  }
}
.pn-goals__quote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
}
.pn-goals__cta {
  align-self: stretch;
  width: 100%;
  min-height: 56px;
  font-weight: 600;
}
.pn-docs {
  padding-block: clamp(40px, 5vw, 64px);
}
.pn-docs__tag {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.pn-docs__line {
  display: block;
  width: 100vw;
  margin: 0 0 40px;
  margin-left: calc(50% - 50vw);
  border: none;
  border-top: 1px solid var(--line);
}
.pn-docs__content {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 56px);
}
.pn-docs__block + .pn-docs__block {
  margin-top: 0;
}
.pn-docs__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.pn-docs__sub {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.pn-docs__head .pn-docs__sub {
  margin-bottom: 0;
}
.pn-docs__pager {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.174;
  color: var(--gray);
  letter-spacing: 0.02em;
      text-transform: uppercase;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}
.pn-docs__grid {
  display: grid;
  grid-template-columns: min(280px, 100%);
  justify-content: start;
  gap: 20px;
}
.pn-story-card__nums{
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.pn-doc-card {
  --pn-doc-card-size: 280px;
  --pn-doc-preview-w: 240px;
  --pn-doc-preview-h: 180px;
  --pn-doc-card-pad: calc((var(--pn-doc-card-size) - var(--pn-doc-preview-w)) / 2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 var(--pn-doc-card-size);
  width: var(--pn-doc-card-size);
  height: var(--pn-doc-card-size);
  max-width: 100%;
  padding: var(--pn-doc-card-pad);
  margin-inline: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.pn-doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/images/ramka.svg") no-repeat center / 100% 100%;
  filter: drop-shadow(0 4px 24px rgba(87, 157, 255, 0.08));
  pointer-events: none;
}
.pn-doc-card__preview {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--pn-doc-preview-w);
  height: var(--pn-doc-preview-h);
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 18px;
  overflow: hidden;
  background: #e8f4fd;
  margin-top: 60px;
}
.pn-doc-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px);
  transform: scale(1.08);
  pointer-events: none;
}
.pn-doc-card__btn {
  position: relative;
  z-index: 1;
  min-width: 160px;
  padding: 12px 28px;
  border: 1px solid var(--text);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.pn-doc-card__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.35);
}
.pn-docs__slider-wrap {
  display: grid;
  grid-template-areas: "track next";
  grid-template-columns: minmax(0, 1fr) 56px;
  column-gap: clamp(8px, 1.2vw, 16px);
  align-items: center;
}
.pn-docs__slider-wrap.is-scrolled {
  grid-template-areas: "prev track next";
  grid-template-columns: 56px minmax(0, 1fr) 56px;
}
.pn-docs__slider-track {
  grid-area: track;
  position: relative;
  min-width: 0;
}
.pn-docs__slider {
  --pn-doc-card-w: 280px;
  --pn-docs-gap: 24px;
  display: flex;
  align-items: flex-start;
  gap: var(--pn-docs-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.pn-docs__slider::-webkit-scrollbar {
  display: none;
}
.pn-docs__slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.pn-docs__slider .pn-doc-card {
  --pn-doc-card-size: var(--pn-doc-card-w);
  flex: 0 0 var(--pn-doc-card-w);
  width: var(--pn-doc-card-w);
  height: var(--pn-doc-card-w);
  max-width: none;
  margin-inline: 0;
  scroll-snap-align: start;
}
.pn-docs__fade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(80px, 12vw, 140px);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(242, 249, 254, 0) 0%, var(--bg) 72%);
}
.pn-docs__fade--left {
  right: auto;
  left: 0;
  background: linear-gradient(270deg, rgba(242, 249, 254, 0) 0%, var(--bg) 72%);
  opacity: 0;
  transition: opacity 0.2s;
}
.pn-docs__slider-wrap.is-scrolled .pn-docs__fade--left {
  opacity: 1;
}
.pn-docs__prev,
.pn-docs__next {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.25);
  cursor: pointer;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
.pn-docs__prev {
  grid-area: prev;
  display: none;
}
.pn-docs__slider-wrap.is-scrolled .pn-docs__prev:not(:disabled) {
  display: flex;
}
.pn-docs__next {
  grid-area: next;
}
.pn-docs__prev:hover:not(:disabled),
.pn-docs__next:hover:not(:disabled) {
  transform: scale(1.04);
}
.pn-docs__prev:disabled {
  display: none;
}
.pn-docs__next:disabled {
  opacity: 0.4;
  cursor: default;
}
.pn-feature__media {
  margin-bottom: 16px;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 614 / 409;
  background: var(--card-placeholder);
}
.pn-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Funds */
.funds {
  padding-top: 48px;
  padding-bottom: 80px;
  background: var(--bg);
}
.funds > .wrap {
  max-width: min(var(--container), calc(1220px + 2 * var(--gutter)));
}
.funds__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Fund cards — Potreba / Zbir */
.fund-card {
  display: grid;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.fund-card__media-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fund-card__media {
  border-radius: var(--radius-sm);
  min-height: 220px;
  flex: 1;
}
.fund-card__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.174;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.fund-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.fund-card__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.fund-card__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.174;
  color: var(--text);
}
.fund-card__title--lg {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}
.fund-card__sub {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--text);
}
.fund-card__stats {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.fund-card__stats > .bar {
  margin-bottom: 50px;
}
.fund-card--zbir .fund-card__stats--aside > .bar {
  margin-bottom: 0;
}
.fund-card__labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 33px;
}
.fund-card__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fund-card__stat--r {
  align-items: flex-end;
  text-align: right;
}
.fund-card__stat-lbl {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--blue);
}
.fund-card__stat--r .fund-card__stat-lbl {
  color: var(--text);
}
.fund-card__stat-val {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.174;
  color: var(--blue);
}
.fund-card__stat--r .fund-card__stat-val {
  color: var(--text);
}
.fund-card__desc {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.174;
  color: var(--text);
}
.fund-card--need .fund-card__desc--need {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 0;
}
.fund-card--need .fund-card__stats .fund-card__actions {
  margin-top: 0;
}
.fund-card__desc--zbir p {
  margin: 0 0 1em;
}
.fund-card__desc--zbir p:last-child {
  margin-bottom: 0;
}
.fund-card__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}
.fund-card__btn {
  min-width: 180px;
}
.fund-card__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}
.fund-card__iban {
  font-size: 16px;
  line-height: 1.174;
  color: var(--text);
}
.fund-card__iban-lbl {
  display: block;
  margin-bottom: 8px;
}
.fund-card__copy {
  display: block;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--blue);
  text-align: left;
  cursor: pointer;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.fund-card--zbir .fund-card__actions {
  flex-wrap: wrap;
  gap: 12px;
}

/* Services — full-bleed rows, Manrope, image full height */
.services {
  padding: 80px 0 100px;
  background: var(--bg);
  overflow-x: hidden;
}
.services__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 15px;
}
.services__title {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gray);
}
.services__lead {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.174;
  letter-spacing: 0.02em;
  text-align: right;
  color: var(--gray);
}
.services__lead-line {
  display: block;
  white-space: nowrap;
}
.services__list {
  list-style: none;
  width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.svc {
  --svc-pad-x: clamp(20px, 9.03vw, 130px);
  display: grid;
  grid-template-columns: 80px minmax(160px, 1fr) 156px minmax(0, 1.15fr) 250px;
  grid-template-areas: "n title hint desc media";
  gap: 16px 90px;
  align-items: center;
  min-height: 300px;
  padding: 0 0 0 var(--svc-pad-x);
  font-family: var(--font-manrope);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.svc:first-child {
  border-top: 1px solid var(--line);
}
.svc__n {
  grid-area: n;
  font-size: 40px;
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.0125em;
  color: var(--text);
}
.svc__t {
  grid-area: title;
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.366;
  color: var(--text);
}
.svc__hint {
  grid-area: hint;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.375;
  color: var(--blue);
}
.svc__d {
  grid-area: desc;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.366;
  color: var(--text);
}
.svc__media {
  grid-area: media;
  align-self: stretch;
  justify-self: end;
  width: 250px;
  height: 300px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.svc__media img {
  display: block;
  width: 250px;
  height: 300px;
  object-fit: cover;
  object-position: center;
}
.services__slider-wrap {
  width: 100%;
}
.services__slider {
  --services-gap: 0;
}
.services__nav {
  display: none;
  justify-content: center;
  margin-top: 24px;
}
.services__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 10px;
}
.services__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d6d6d6;
  cursor: pointer;
  transition: background 0.2s;
}
.services__dot.is-on {
  background: var(--text);
}
.services__dot:hover:not(.is-on) {
  background: var(--gray);
}
.services__arrows {
  display: none;
}

/* Team — horizontal slider, blue bg */
.team {
  padding: 80px 0 100px;
  background: var(--bg);
  overflow: hidden;
  font-family: var(--font-manrope);
}
.team__intro {
  margin-bottom: 0;
}
.team__title {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
}
.team__line {
  display: block;
  width: 100vw;
  margin: 24px 0;
  margin-left: calc(50% - 50vw);
  border: none;
  border-top: 1px solid #999999;
}
.team__cats {
  margin-bottom: 32px;
}
.team__filter {
  display: none;
  position: relative;
}
.team__filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--blue);
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s;
}
.team__filter-btn:hover {
  background: var(--blue-dark);
}
.team__filter-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.team__filter.is-open .team__filter-chevron {
  transform: rotate(180deg);
}
.team__filter-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.team__filter-opt {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
}
.team__filter-opt:hover,
.team__filter-opt.is-on {
  background: var(--bg);
  color: var(--blue-dark);
}
.team__chips-wrap {
  margin-bottom: 0;
}
.team .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.team .chips__b {
  padding: 12px 24px;
  border: 1px solid var(--text);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.team .chips__b.is-on {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
.team__slider-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.team__slider {
  --team-gap: 20px;
  --team-card-w: 350px;
  --team-card-h: 430px;
  display: flex;
  gap: var(--team-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px var(--gutter) 16px var(--wrap-content-start);
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--wrap-content-start);
  scroll-padding-inline-end: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.team__slider::-webkit-scrollbar {
  display: none;
}
.team__slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.team-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--team-card-w);
  width: var(--team-card-w);
  height: var(--team-card-h);
  scroll-snap-align: start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.team-card.is-hidden {
  display: none;
}
.team-card__media {
  flex: 1 1 auto;
  min-height: 0;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #d4e8fc 0%, #eef6fe 100%);
}
.team-card__name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text);
}
.team-card__role {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.174;
  color: var(--gray);
}
.team-card__bio {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.366;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.team__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 28px;
}
.team__dots {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 10px;
}
.team__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d6d6d6;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.team__dot.is-on {
  background: var(--text);
}
.team__dot:hover:not(.is-on) {
  background: var(--gray);
}
.team__arrows {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}
.team__arr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, opacity 0.2s;
}
.team__arr:hover:not(:disabled) {
  border-color: var(--text);
}
.team__arr:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Materials (videos slider) */
.materials {
  padding: 80px 0 100px;
  background: var(--bg);
  overflow: hidden;
  font-family: var(--font-manrope);
}
.materials__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.materials__title {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
}
.materials__all {
  flex-shrink: 0;
  min-height: 50px;
  padding-inline: 30px;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  border-color: var(--text);
}
.materials__slider-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.materials__slider {
  --materials-gap: 20px;
  --materials-card-w: 380px;
  display: flex;
  gap: var(--materials-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px var(--gutter) 16px var(--wrap-content-start);
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--wrap-content-start);
  scroll-padding-inline-end: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.materials__slider::-webkit-scrollbar {
  display: none;
}
.materials__slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.materials-card {
  box-sizing: border-box;
  flex: 0 0 var(--materials-card-w);
  width: var(--materials-card-w);
  scroll-snap-align: start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}
.materials-card__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--card-placeholder);
}
.materials-card__play {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--blue);
  background: transparent;
  transition: transform 0.2s, opacity 0.2s;
}
.materials-card__play:hover {
  transform: scale(1.05);
}
.materials-card__play svg {
  display: block;
}
.materials-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text);
}
.materials-card__desc {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.366;
  color: var(--text);
}
.materials__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 28px;
}
.materials__dots {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 10px;
}
.materials__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d6d6d6;
  cursor: pointer;
  transition: background 0.2s;
}
.materials__dot.is-on {
  background: var(--text);
}
.materials__dot:hover:not(.is-on) {
  background: var(--gray);
}
.materials__arrows {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}
.materials__arr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, opacity 0.2s;
}
.materials__arr:hover:not(:disabled) {
  border-color: var(--text);
}
.materials__arr:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Social */
.social {
  padding: 80px 0 100px;
  background: var(--bg);
  font-family: var(--font-manrope);
}
.social__title {
  margin: 0 0 32px;
  font-family: var(--font-manrope);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--gray);
}
.social__grid {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 20px;
}
.social__item {
  display: block;
  width: 380px;
  height: 380px;
  border-radius: var(--radius-card);
  background: var(--card-placeholder);
  transition: opacity 0.2s;
}
.social__item:hover {
  opacity: 0.9;
}

/* Footer */
.foot {
  position: relative;
  padding: 0;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}
.foot__shell {
  --foot-logo-gap: 32px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  column-gap: var(--foot-logo-gap);
  row-gap: 28px;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 0 48px;
}
.foot__top {
  display: contents;
}
.foot__wm-track {
  grid-column: 1 / -1;
  grid-row: 1;
  container-type: inline-size;
  width: 100%;
  margin: clamp(-1px, -2.5vw, -12px) 0 0;
  overflow: hidden;
  line-height: 0.72;
  pointer-events: none;
}
.foot__wm {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: -0.06em 0 0;
  padding: 0;
  font-family: var(--font-heading);
  font-size: clamp(56px, 17.2cqi, 203px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(
    180deg,
    rgb(242 249 254) 0%,
    rgba(87, 157, 255, 0.09) 45%,
    rgba(255, 255, 255, 0.98) 70%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.foot__mission {
  grid-column: 1;
  grid-row: 2 / 4;
  /*justify-self: start;
  align-self: start;*/
 /* margin: clamp(4px, 0.8vw, 12px) 0 0;*/
 max-width: min(480px, 100%);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.366;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  text-align: justify;
  margin-top:-50px;
}
.foot__mission-mark {
  color: var(--blue);
}
.foot__logo {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: start;
  display: flex;
  margin-top: -50px;
}
.foot__logo img {
  width: 50px;
  height: 50px;
}
.foot__col-right {
  --foot-map-gap: clamp(16px, 2.5vw, 48px);
  grid-column: 3;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  justify-self: end;
  /*margin-top: clamp(4px, 0.8vw, 12px);*/
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin-top: -50px;
}
.foot__aside {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--foot-map-gap);
  width: 100%;
}
.foot__block--schedule {
  flex-shrink: 0;
}
.foot__block--contacts {
  flex-shrink: 0;
}
.foot__block {
  flex-shrink: 0;
}
.foot__block--contacts {
  text-align: right;
}
.foot__block--contacts .foot__h {
  text-align: right;
}
.foot__block--contacts .foot__contacts {
  align-items: flex-end;
}
.foot__block--contacts .foot__contact {
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.foot__block--contacts .foot__contact svg {
  margin-top: 0;
}
.foot__h {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue);
}
.foot__text {
  margin: 0 0 6px;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.366;
  text-transform: uppercase;
  color: var(--text);
}
.foot__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.366;
  text-transform: uppercase;
  color: var(--text);
}
.foot__contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}
a.foot__contact:hover {
  color: var(--blue);
}
.foot__mid {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  max-width: 100%;
  margin-top:130px;
}
.foot__form-wrap {
  max-width: 454px;
}
.foot__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.foot__fields {
  display: grid;
  grid-template-columns: 0.35fr 0.64fr;
  gap: 16px;
}
.foot__field input {
  width: 100%;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--text);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.foot__field input::placeholder {
  color: var(--gray);
  opacity: 1;
}
.foot__field input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.foot__form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
.foot__social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot__soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;

  color: var(--white);
  transition: opacity 0.2s;
}
.foot__soc:hover {
  opacity: 0.88;
}
.foot__submit {
  flex: 1 1 200px;
  min-width: min(100%, 280px);
}
.foot__map {
  width: 100%;
  align-self: stretch;
  margin-top: 48px;
}
.foot__map-cols {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  justify-items: start;
  column-gap: var(--foot-map-gap);
  row-gap: 8px;
  width: 100%;
}
.foot__map-col {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.foot__map-col a {
  display: block;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.foot__map-col a:hover {
  color: var(--blue);
}
.foot__bar-outer {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid #579dff24;
}
.foot__bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  font-family: var(--font-manrope);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.foot__legal a:hover {
  color: var(--blue);
}
.foot__credit {
  opacity: 0.85;
}

@media (max-width: 899px) {
  /* —— Homepage mobile —— */
  .wrap.hero__shell {
    padding-inline: 20px;
  }
  .hero {
    min-height: auto;
  }
  .hero__viewport {
    min-height: max(640px, 100svh);
  }
  .hero__shell {
    padding-bottom: 20px;
  }
  .hero__title {
    max-width: none;
    margin-bottom: clamp(20px, 5vh, 32px);
    font-size: clamp(30px, 9.2vw, 44px);
  }
  .hero__title-l1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hero__title-l2 {
    margin-top: 0;
  }
  .hero__bottom {
    max-width: none;
    gap: 20px;
  }
  .hero__col--left,
  .hero__col--right {
    max-width: none;
    width: 100%;
  }
  .hero__lead {
    font-size: clamp(18px, 5.2vw, 24px);
  }
  .hero__sub {
    font-size: 14px;
    line-height: 1.4;
    width: 94%;
  }
  .hero__btns {
    flex-direction: column;
    gap: 12px;
  }
  .btn--hero {
    flex: none;
    width: 100%;
    min-width: 0;
    height: 50px;
  }
  .hero-logos {
    padding: 16px 0 24px;
    --hero-logo-w: 140px;
  }

  .stats-section {
    /*background: var(--white);*/
  }
  .stats-section__title {
    padding: 32px 0 0;
    font-size: 16px;
 
  }
  .stats__stack {
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 12px;
 
    overflow: visible;
  }
  .stats-section__inner {
    overflow: visible;
  }
  .stat-m {
    width: min(350px, 100%);
  }
  .stats-section__tag {
    margin: 0 calc(-1 * var(--gutter));
    padding: 40px var(--gutter) 24px;
    font-size: 16px;
    background: var(--bg);
    box-sizing: border-box;
  }

  .about {
    padding-top: 16px;
  }
  .about__copy {
    gap: 24px;
    margin-bottom: -24px;
  }
  .about__logo {
    width: 120px;
  }
  .about__intro {
    font-size: clamp(18px, 5vw, 24px);
    text-align: left;
    text-align-last: left;
  }
  .about__visual {
    margin: 0 -20px;
    min-height: min(72vw, 420px);
  }
  .about__photo {
    width: min(100%, 400px);
    margin-top: -20px;
  }
  .about__goal-wrap {
    margin-top: -48px;
    padding-inline: 0;
  }
  .about__goal {
    max-width: none;
    font-size: clamp(18px, 5vw, 24px);
    text-align: left;
  }
  .about__goal br {
    display: none;
  }
  .about-panel__inner {
    padding-top: 32px;
  }
  .about-panel__quote {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    margin-bottom: 48px;
    font-size: clamp(17px, 3.13vw, 24px);
    padding: 24px 16px;
    text-align: justify;
    box-sizing: border-box;
  }
  .about-panel__quote-line {
    display: inline;
    width: auto;
    max-width: none;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .about-panel__row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 24px;
  }
  .about-panel__title {
    text-align: center;
  }
  .about-panel__btn {
    width: 100%;
    min-width: 0;
  }

  .funds {
    padding: 32px 0 48px;
  }
  .funds__list {
    gap: 16px;
  }
  .fund-card {
    padding: 16px;
  }
  .fund-card__title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .fund-card__title--lg {
    font-size: clamp(22px, 6vw, 32px);
  }
  .fund-card__sub {
    font-size: 14px;
  }
  .fund-card__stat-lbl {
    font-size: 14px;
  }
  .fund-card__stat-val {
    font-size: 24px;
  }
  .fund-card__labels {
    margin-bottom: 16px;
  }
  .fund-card__stats > .bar {
    margin-bottom: 20px;
  }
  .fund-card--need .fund-card__btn,
  .fund-card--zbir .fund-card__actions .btn {
    width: 100%;
    min-width: 0;
  }
  .fund-card--need .fund-card__body {
    display: grid;
    grid-template-areas:
      "titles"
      "labels"
      "bar"
      "desc"
      "actions";
  }
  .fund-card--need .fund-card__head,
  .fund-card--need .fund-card__stats {
    display: contents;
  }
  .fund-card--need .fund-card__titles {
    grid-area: titles;
  }
  .fund-card--need .fund-card__labels {
    grid-area: labels;
    margin-top: 40px;
  }
  .fund-card--need .fund-card__stats > .bar {
    grid-area: bar;
    margin-bottom: 16px;
  }
  .fund-card--need .fund-card__desc--need {
    grid-area: desc;
    margin-top: 0;
    margin-bottom: 16px;
  }
  .fund-card--need .fund-card__actions {
    grid-area: actions;
    margin-top: 0;
    justify-content: stretch;
  }
  .fund-card--need .fund-card__head {
    margin-bottom: 0;
  }
  .fund-card--zbir .fund-card__actions {
    flex-direction: column;
  }
  .fund-card--zbir .fund-card__foot {
    gap: 20px;
  }

  .services {
    padding: 48px 0 56px;
  }
  .team {
    padding: 48px 0 56px;
  }
  .team__title {
    font-size: clamp(22px, 6vw, 28px);
  }
  .team__cats {
    margin-bottom: 24px;
  }
  .team__filter {
    display: block;
  }
  .team__chips-wrap {
    display: none;
  }
  .team__slider-wrap {
    overflow: hidden;
  }
  .team__slider {
    --team-card-w: min(350px, calc(100vw - 52px));
    --team-peek: 12px;
    gap: var(--team-peek);
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .team-card {
    flex: 0 0 var(--team-card-w);
    width: var(--team-card-w);
    min-width: 0;
    max-width: 350px;
    height: 430px;
    min-height: 430px;
    margin-inline: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .team__nav {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .team__dots {
    grid-column: unset;
  }
  .team__arrows--desk {
    display: none;
  }
  .materials {
    padding: 48px 0 56px;
  }
  .materials__head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 24px;
  }
  .materials__all {
    width: 100%;
    min-width: 0;
  }
  .materials-card {
    --materials-card-w: min(340px, calc(100vw - 40px));
  }
  .materials__slider {
    padding-inline: 20px;
    scroll-padding-inline: 20px;
  }
  .social {
    padding: 48px 0 56px;
  }
  .content-grid {
    max-width: none;
  }
  .services__head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .services__lead {
    text-align: left;
  }
  .services__lead-line {
    display: inline;
    white-space: normal;
  }

  .social__title {
    margin-bottom: 20px;
    text-align: left;
  }
  .social__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .social__item {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    border-radius: 6px;
  }

  .foot {
    padding-top: 8px;
  }
  .foot__shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 40px 0 36px;
  }
  .foot__wm-track {
    display: none;
  }
  .foot__logo {
    order: 1;
    align-self: center;
    margin: 0;
  }
  .foot__mission {
    order: 2;
    /* align-self: center; */
    text-align: justify;
    max-width: 100%;
    margin: 0;
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.4;
    /* text-align: center; */
    /* text-align-last: center; */
    hyphens: none;
    font-size: 16px;
}
  .foot__col-right {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 0;
  }
  .foot__aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 20px 16px;
    width: 100%;
  }
  .foot__block--schedule {
    justify-self: start;
    text-align: left;
  }
  .foot__block--schedule .foot__h,
  .foot__block--schedule .foot__text {
    text-align: left;
    font-size: 16px;
  }
  .foot__block--contacts {
    justify-self: end;
    margin-left: 0;
    margin-top: 115px;
    text-align: right;
  }
  .foot__block--contacts .foot__h {
    text-align: right;
    font-size: 16px;
  }
  .foot__block--contacts .foot__contacts {
    align-items: flex-end;
  }
  .foot__block--contacts .foot__contact {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: right;
  }
  .foot__map {
    display: none;
  }
  .foot__mid {
    order: 4;
    width: 100%;
    margin: 0;
  }
  .foot__form-wrap {
    max-width: none;
    width: 100%;
  }
  .foot__form {
    gap: 16px;
  }
  .foot__fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .foot__form-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .foot__submit {
    order: 1;
    width: 100%;
    min-width: 0;
    flex: none;
  }
  .foot__social {
    order: 2;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }
  .foot__soc {
    width: 40px;
    height: 40px;
  }
  .foot__bar-outer {
    padding: 24px var(--gutter) 20px;
    border-top: none;
  }
  .foot__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "legal legal"
      "divider divider"
      "copy credit";
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
  }
  .foot__bar::before {
    content: "";
    grid-area: divider;
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .foot__legal {
    grid-area: legal;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
  }
  .foot__legal a {
    text-align: center;
  }
  .foot__copy {
    grid-area: copy;
    justify-self: start;
    padding-top: 16px;
    border-top: none;
    text-align: left;
    white-space: nowrap;
    font-size: clamp(10px, 2.7vw, 13px);
    line-height: 1.3;
  }
  .foot__credit {
    grid-area: credit;
    justify-self: end;
    padding-top: 16px;
    border-top: none;
    text-align: right;
    white-space: nowrap;
    font-size: clamp(10px, 2.7vw, 13px);
    line-height: 1.3;
  }
  .services__nav {
    display: flex;
  }
  .services__slider-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
  }
  .services__list.services__slider {
    flex-direction: row;
  }
  .services__slider {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 0;
    gap: 0;
  }
  .services__slider::-webkit-scrollbar {
    display: none;
  }
  .services__slider.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }
  .svc {
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    gap: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-top: 1px solid var(--line);
    border-bottom: none;
    box-sizing: border-box;
  }
  .svc:first-child {
    border-top: 1px solid var(--line);
  }
  .svc__n {
    margin: 24px 20px 0;
    font-size: 40px;
    line-height: 0.72;
  }
  .svc__t {
    margin: 8px 20px 12px;
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.3;
  }
  .svc__hint {
    margin: 0 20px;
    font-size: 16px;
    line-height: 1.375;
  }
  .svc__d {
    margin: 12px 20px 20px;
    font-size: 16px;
    line-height: 1.366;
  }
  .svc__media {
    width: 100%;
    height: 300px;
    margin: 0;
    margin-top: auto;
    flex-shrink: 0;
  }
  .svc__media img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
  }
}

/* Desktop */
@media (min-width: 900px) {
  .head__nav { display: flex; }
  .head__aside { display: flex; }
  .head__burger { display: none; }
  .drawer, .drawer__backdrop { display: none !important; }

  .hero__shell {
    display: grid;
    grid-template-columns: minmax(0, 567px) minmax(0, 579px);
    justify-content: space-between;
    column-gap: clamp(20px, 4.6vw, 67px);
    align-content: end;
  }
  .hero__title {
    grid-column: 1 / -1;
    max-width: none;
    width: 100%;
  }
  .hero__bottom {
    display: contents;
  }
  .hero__col--left {
    grid-column: 1;
    max-width: none;
  }
  .hero__col--right {
    grid-column: 2;
    width: 100%;
    max-width: 579px;
    min-width: min(579px, 100%);
    justify-self: end;
    align-items: stretch;
    margin-left: auto;
  }
  .hero__sub-top {
    text-align: right;
  }
  .hero__sub-rest {
    text-align: justify;
    text-align-last: left;
  }
  .hero__btns {
    width: 100%;
  }

  .stats__stack { display: none; }
  .stats__mosaic {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1180 / 558;
    margin: 0;
    overflow: visible;
  }
  .stat--tl {
    left: 0;
    top: 8.6%;
    width: 37.12%;
    height: 42.65%;
  }
  .stat--tr {
    left: 67.8%;
    top: 0;
    width: 32.2%;
    height: 51.25%;
  }
  .stat--center {
    left: 33.9%;
    top: 13.26%;
    width: 32.2%;
    height: 86.38%;
  }
  .stat--bl {
    left: 0;
    top: 55.73%;
    width: 36.02%;
    height: 44.27%;
  }
  .stat--br {
    left: 67.8%;
    top: 52.15%;
    width: 32.2%;
    height: 47.85%;
  }

  .about__intro {
    font-size: 32px;
    line-height: 1.3;
    text-align: justify;
    text-align-last: left;
  }
  .about__visual { margin: 0; min-height: 780px; }
  .about__photo {         width: 795px;
    max-width: 70vw; }
  .about__goal-wrap {
    margin-top: -135px;
    margin-bottom: 0;
  }
  .about-panel__quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    margin-bottom: 110px;
    font-size: 20px;
    padding: 30px 57px;
    text-align: center;
  }
  .about-panel__quote-line {
    display: block;
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }

  .fund-card--need {
    --fund-progress-w: 340px;
    grid-template-columns: 380px 1fr;
    gap: 0;
    padding: 0;
    min-height: 260px;
  }
  .fund-card--need .fund-card__media-wrap {
    margin: 20px 0 20px 20px;
    width: 340px;
  }
  .fund-card--need .fund-card__media {
    min-height: 220px;
  }
  .fund-card--need .fund-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--fund-progress-w);
    column-gap: 24px;
    align-content: start;
    padding: 30px 20px 20px 50px;
  }
  .fund-card--need .fund-card__head {
    display: contents;
    margin-bottom: 0;
  }
  .fund-card--need .fund-card__titles {
    grid-column: 1;
    grid-row: 1;
  }
  .fund-card--need .fund-card__stats {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    width: var(--fund-progress-w);
  }
  .fund-card--need .fund-card__desc--need {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }
  .fund-card--need .fund-card__actions {
    width: 100%;
  }
  .fund-card--need .fund-card__btn {
    width: 100%;
    min-width: 0;
  }
  .fund-card--need .fund-card__stats .bar {
    width: 100%;
  }

  .fund-card--zbir {
    grid-template-columns: 380px 1fr;
    gap: 0;
    padding: 0;
    min-height: 464px;
  }
  .fund-card--zbir .fund-card__media-wrap--zbir {
    margin: 20px 0 20px 20px;
    width: 340px;
    min-height: calc(100% - 40px);
    justify-content: flex-start;
    gap: 20px;
  }
  .fund-card--zbir .fund-card__media {
    min-height: 300px;
    height: 300px;
    flex: 0 0 auto;
  }
  .fund-card--zbir .fund-card__stats--aside {
    max-width: 340px;
    margin-top: auto;
  }
  .fund-card--zbir .fund-card__body {
    padding: 50px 20px 28px 50px;
  }
  .fund-card--zbir .fund-card__desc--zbir {
    max-width: 584px;
    margin-bottom: 24px;
  }
  .fund-card--zbir .fund-card__actions .btn--outline {
    min-width: 180px;
  }
  .fund-card--zbir .fund-card__actions .btn--blue {
    min-width: 200px;
  }
  .fund-card--zbir .fund-card__foot {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
  }
  .fund-card--zbir .fund-card__iban {
    flex: 1;
    min-width: 0;
  }

  .team__filter {
    display: none;
  }
  .team__chips-wrap {
    display: block;
  }
  .team__slider-wrap {
    overflow: visible;
  }
  .team__slider {
    --team-gap: 20px;
    --team-card-w: 350px;
    --team-card-h: 430px;
    gap: var(--team-gap);
    padding: 4px var(--gutter) 16px var(--wrap-content-start);
    scroll-padding-inline-start: var(--wrap-content-start);
    scroll-padding-inline-end: var(--gutter);
  }
  .team-card {
    flex: 0 0 var(--team-card-w);
    width: var(--team-card-w);
    height: var(--team-card-h);
    min-width: 0;
    max-width: none;
    min-height: 0;
    scroll-snap-stop: auto;
  }
  .team__nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    margin-top: 28px;
  }
  .team__dots {
    grid-column: 2;
    justify-self: center;
  }
  .team__arrows--desk {
    display: flex;
  }

  .services__head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .services__lead {
    text-align: right;
  }
  .services__lead-line {
    display: block;
    white-space: nowrap;
  }
  .materials__all::after {
    content: " →";
  }

  .services__nav {
    display: none;
  }
  .services__slider-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .services__slider {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    gap: 0;
    cursor: default;
  }
  .svc {
    display: grid;
    flex: none;
    width: auto;
    scroll-snap-align: none;
    grid-template-columns: 80px minmax(200px, 340px) 156px minmax(0, 1fr) 250px;
    grid-template-areas: "n title hint desc media";
    gap: 16px 90px;
    align-items: center;
    min-height: 300px;
    padding: 0 0 0 var(--svc-pad-x);
    border-top: none;
    border-bottom: 1px solid var(--line);
  }
  .svc:first-child {
    border-top: 1px solid var(--line);
  }
  .svc__n {
    margin: 0;
    font-size: 40px;
  }
  .svc__t {
    margin: 0;
    font-size: clamp(24px, 3vw, 40px);
  }
  .svc__media {
    width: 250px;
    height: 300px;
    margin: 0;
  }
  .svc__media img {
    width: 250px;
    height: 300px;
  }
  .svc__hint {
    margin: 0;
  }
  .svc__d {
    margin: 0;
  }

  .foot__shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding: 0 0 48px;
  }
  .foot__wm-track {
    display: block;
  }
  .foot__logo {
    order: unset;
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    margin-top: -50px;
  }
  .foot__mission {
    order: unset;
    grid-column: 1;
    grid-row: 2 / 4;
    align-self: start;
    max-width: min(480px, 100%);
    margin-top: -50px;
    font-size: 20px;
    text-align: justify;
    text-align-last: auto;
  }
  .foot__col-right {
    order: unset;
    grid-column: 3;
    grid-row: 2 / 4;
    margin-top: -50px;
    gap: 28px;
  }
  .foot__aside {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .foot__map {
    display: block;
  }
  .foot__mid {
    order: unset;
    grid-column: 1;
    grid-row: 3;
    margin-top: 130px;
  }
  .foot__fields {
    grid-template-columns: 0.35fr 0.64fr;
    gap: 16px;
  }
  .foot__form-foot {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
  }
  .foot__submit {
    order: unset;
    flex: 1 1 200px;
    width: auto;
    min-width: min(100%, 280px);
  }
  .foot__social {
    order: unset;
    justify-content: flex-start;
    width: auto;
  }
  .foot__bar-outer {
    border-top: 1px solid #579dff24;
    padding: 20px var(--gutter) 28px;
  }
  .foot__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: none;
    align-items: center;
    gap: 16px;
  }
  .foot__bar::before {
    content: none;
  }
  .foot__legal {
    grid-area: unset;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    width: auto;
    margin-bottom: 0;
  }
  .foot__legal a {
    text-align: left;
  }
  .foot__copy {
    grid-area: unset;
    justify-self: start;
    padding-top: 0;
    border-top: none;
    text-align: left;
    white-space: normal;
    font-size: 13px;
  }
  .foot__credit {
    grid-area: unset;
    justify-self: end;
    padding-top: 0;
    border-top: none;
    text-align: right;
    white-space: normal;
    font-size: 13px;
  }

  .pn-intro__body {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy stat35"
      "stat10k stat400";
    column-gap: 130px;
    row-gap: clamp(32px, 4vw, 48px);
    align-items: start;
  }
  .pn-intro__copy {
    grid-area: copy;
    justify-self: end;
    max-width: 580px;
    text-align: right;
  }
  .pn-metric--35 {
    grid-area: stat35;
    justify-self: start;
  }
  .pn-metric--clients {
    grid-area: stat10k;
    justify-self: end;
    max-width: 580px;
    width: auto;
  }
  .pn-metric--400 {
    grid-area: stat400;
    justify-self: start;
  }

  .pn-intro__text--war {
    text-align: justify;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
    margin-top:70px;
  }

  .pn-hero__shell {
    padding-top: 300px;
  }
  .pn-hero__title {
    margin-bottom: 145px;
  }
  .pn-split {
    grid-template-columns: minmax(0, 614px) minmax(0, 1fr);
  }
  .pn-split--reverse .pn-split__media {
    order: 2;
  }
  .pn-split--reverse .pn-split__body {
    order: 1;
  }
  .pn-story-cards__grid {
    grid-template-columns: repeat(3, 400px);
    justify-content: center;
    gap: 24px;
  }
  .pn-story-card {
    width: 400px;
    margin-inline: 0;
  }
  .pn-story-card__body {
    height: 215px;
    padding: 28px 24px 32px;
  }
  .pn-story-cards__grid--rehab {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 24px;
    max-width: 1180px;
  }
  .pn-story-cards__grid--rehab .pn-story-card {
    width: 100%;
    max-width: none;
    height: 400px;
    margin-inline: 0;
  }
  .pn-columns__grid,
  .pn-highlights__grid,
  .pn-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pn-goals__title-rest {
    display: block;
  }
  .pn-goals__grid {
    gap: 24px;
  }
  .pn-goals__row {
    gap: 24px;
  }
  .pn-goals__row--split-right {
    grid-template-columns: minmax(0, 1fr) 680px;
  }
  .pn-goals__row--split-left {
    grid-template-columns: 680px minmax(0, 1fr);
  }
  .pn-goals__card--2,
  .pn-goals__card--3 {
    width: 680px;
    max-width: none;
  }
  .pn-goals__card--1,
  .pn-goals__card--4 {
    width: 100%;
  }
  .pn-goals__card:not(.pn-goals__card--footer) {
    height: 209px;
    min-height: 209px;
    max-height: 209px;
    padding: 16px 24px 0;
  }
  .pn-goals__card--footer {
    min-height: 209px;
    padding: 28px 40px 0;
  }
  .pn-goals__aside {
    padding-bottom: 28px;
  }
  .pn-goals__footer-main {
    min-height: 153px;
  }
  .pn-goals__num {
    font-size: 250px;
  }
  .pn-goals__text {
    font-size: 32px;
    padding-bottom: 16px;
  }
  .pn-docs__grid {
    grid-template-columns: repeat(3, 280px);
    justify-content: start;
    gap: 24px;
  }
  .pn-docs__slider {
    --pn-doc-card-w: 280px;
  }
  .pn-health .pn-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 614px);
  }
  .pt-stages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }
  .pt-stage {
    height: 100%;
    min-height: 300px;
  }
  .pt-stage--1 {
    grid-column: 1;
    grid-row: 1;
  }
  .pt-stage--2 {
    grid-column: 2;
    grid-row: 1;
  }
  .pt-stage--3 {
    grid-column: 1;
    grid-row: 2;
  }
  .pt-stage--4 {
    grid-column: 2;
    grid-row: 2;
  }
  .pt-stage--5 {
    grid-column: 2;
    grid-row: 3;
  }
  .pt-section__head--row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
}

/* Patients page */
.page-patients {
  background: var(--bg);
}
.pt-section {
  padding: clamp(40px, 5vw, 72px) 0;
}
.pt-section__tag {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.pt-section__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.pt-section__title--solo {
  max-width: 20ch;
}
.pt-section__head {
  margin-bottom: clamp(24px, 3vw, 32px);
}
.pt-section__head--row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.pt-section__head--row .pt-section__title {
  margin-bottom: 0;
}
.pt-mark {
  color: var(--blue);
}
.pt-hero {
  --pt-hero-h: 100svh;
  --pt-title-size: clamp(34px, 6.04vw, 87px);
  --pt-title-gap: clamp(5px, 1.08vw, 0px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: var(--pt-hero-h);
  background: var(--bg);
}
.pt-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.pt-hero__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(242, 249, 254, 0) 0%,
    rgba(242, 249, 254, 0.08) 42%,
    rgba(242, 249, 254, 0.72) 72%,
    var(--bg) 81%
  );
  pointer-events: none;
}
.pt-hero__viewport {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding-top: var(--header-h);
}
.pt-hero__viewport > .wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}
.pt-hero__shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 1180px;
  margin-top: auto;
  padding: 0 0 clamp(48px, 8vh, 88px);
}
.pt-hero__title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  width: 100%;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--pt-title-size);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: var(--shadow-text-hero);
}
.pt-hero__mid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.4vw, 20px);
  align-items: start;
  width: 100%;
  margin-top: -26px;
}
.pt-hero__title-line {
  display: block;
  width: fit-content;
  max-width: 100%;
}
.pt-hero__title-line--1 {
  grid-row: 1;
  justify-self: start;
}
.pt-hero__title-line--2 {
  grid-row: 2;
  justify-self: start;
  margin-top: var(--pt-title-gap);
  margin-left: 21.1%;
  color: var(--blue);
}
.pt-hero__title-line--3 {
  grid-row: 3;
  justify-self: start;
  margin-top: var(--pt-title-gap);
}
.pt-hero__title-line--4 {
  grid-row: 4;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
  margin-top: var(--pt-title-gap);
  margin-left: auto;
  margin-right: 0;
}
.pt-hero__lead {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.39vw, 20px);
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}
.pt-hero__lead-mark {
  color: var(--blue);
}
.pt-hero__lead--upper {
  width: 100%;
  max-width: 467px;
}
.pt-hero__lead--program {
  width: 100%;
  max-width: 435px;
  color: var(--text);
}
.pt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px clamp(24px, 6.25vw, 90px);
  margin-top: 0;
}
.pt-hero__cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pt-hero__cta-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pt-hero__cta-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--gray);
}
.pt-hero__phone {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
  margin-top: 12px;
  text-transform: uppercase;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}
.pt-hero__phone:hover {
  color: var(--blue);
}
.pt-hero__cta-or {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.3;
  color: var(--gray);
  text-align: center;
}
.pt-hero__btn {
  flex-shrink: 0;
  min-width: min(280px, 100%);
  padding-inline: clamp(24px, 3vw, 35px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pt-intro__text {
  max-width: 1180px;
}
.pt-intro__lead,
.pt-intro__body {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.78vw, 32px);
  line-height: 1.3;
  color: var(--text);
  text-align: justify;
}
.pt-intro__lead {
  font-weight: 600;
}
.pt-intro__body {
  margin-top: 1em;
  font-weight: 600;
}
.pt-intro {
  padding-bottom: clamp(80px, 12vw, 160px);
}
.pt-who {
  padding-top: 0;
}
.pt-who__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}
.pt-who__inner > .pt-who__foot {
  margin-top: clamp(16px, 2vw, 24px);
}
.pt-who__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.pt-who__title {
  margin: 0;
  max-width: min(100%, 640px);
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.pt-who__note {
  margin: 0;
  max-width: min(100%, 280px);
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--blue);
}
.pt-who__note-line {
  display: block;
}
.pt-who__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-who__card {
  position: relative;
  overflow: hidden;
  min-height: clamp(140px, 16vw, 180px);
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.pt-who__card-num {
  position: absolute;
  right: clamp(8px, 1.2vw, 16px);
  bottom: clamp(-30px, -1.4vw, 0px);
  font-family: var(--font-heading);
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 600;
  line-height: 1;
  color: rgb(242 249 254);
  pointer-events: none;
  user-select: none;
}
.pt-who__card-text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 92%;
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.39vw, 12px);
  font-weight: 600;
  line-height: 1.174;
  color: var(--text);
}
.pt-who__foot {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.39vw, 20px);
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.02em;
  color: var(--text);
}
@media (min-width: 720px) {
  .pt-who__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 48px);
  }
  .pt-who__note {
    flex: 0 0 auto;
    max-width: 280px;
    text-align: right;
    font-weight:500;
  }
  .pt-who__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .pt-who__cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pt-who__foot {
    max-width: calc((100% - 60px) * 0.75 + 40px);
  }
}
.pt-tip {
  margin: 0;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.08);
}
.pt-steps {
  --pt-step-w: 380px;
  --pt-step-h: 470px;
  --pt-step-gap: 20px;
  --pt-step-pad: 20px;
}
.pt-steps__title {
  max-width: none;
  color: var(--blue);
 
}
.pt-steps__num{
  color: #000;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.pt-steps__step{
  color: #000;
}
.pt-steps__grid {
  display: grid;
  grid-template-columns: min(var(--pt-step-w), 100%);
  justify-content: center;
  gap: var(--pt-step-gap);
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-step {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(var(--pt-step-w), 100%);
  min-height: var(--pt-step-h);
  padding: var(--pt-step-pad);
  border: 1px solid rgba(87, 157, 255, 0.15);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.08);
  overflow: hidden;
}
.pt-step__num {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 0;
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 600;
  line-height: 0.85;
  color: rgba(87, 157, 255, 0.22);
  pointer-events: none;
  user-select: none;
}
.pt-step__num--mark {
  font-size: 64px;
  color: var(--blue);
  opacity: 0.45;
}
.pt-step__head,
.pt-step__body {
  position: relative;
  z-index: 1;
}
.pt-step__head {
  margin: 0;
}
.pt-step.pt-step--inline-head {
  padding: var(--pt-step-pad);
}
.pt-step--inline-head .pt-step__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.pt-step--inline-head .pt-step__title {
  max-width: none;
}
.pt-step__head .pt-step__num--inline {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  flex-shrink: 0;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  opacity: 1;
  pointer-events: none;
  user-select: none;
}
.pt-step--inline-head .pt-step__body {
  margin-top: clamp(12px, 2vw, 20px);
  gap: clamp(16px, 3vw, 32px);
}
.pt-step__appeal-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 18px);
}
.pt-step__appeal-line {
  margin: 0;
  max-width: 20em;
}
.pt-step__appeal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pt-step__appeal-row--social {
  align-items: center;
}
.pt-step__appeal-label {
  flex: 0 1 auto;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}
.pt-step--appeal .pt-step__or {
  width: 100%;
  text-align: left;
}
.pt-step--appeal .pt-step__phone {
  flex-shrink: 0;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--text);
}
.pt-step--appeal .pt-step__social {
  flex-shrink: 0;
  margin-left: auto;
}
.pt-step--appeal .pt-step__caps {
  max-width: 14em;
  line-height: 1.35;
      margin-top: -54px;
}
.pt-step--corner-head {
  padding: var(--pt-step-pad);
}
.pt-step--corner-head .pt-step__num--corner {
  position: absolute;
  top: var(--pt-step-pad);
  right: var(--pt-step-pad);
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  opacity: 1;
  pointer-events: none;
  user-select: none;
      text-transform: uppercase;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}
.pt-step--corner-head .pt-step__title {
  max-width: calc(100% - 44px);
  padding-right: 8px;
}
.pt-step--corner-head .pt-step__body {
  margin-top: clamp(12px, 2vw, 20px);
  gap: clamp(16px, 3vw, 32px);
}
.pt-step--corner-head .pt-step__note {
  margin-top: 10px;
  padding-left: 0;
}
.pt-step--consult .pt-step__mid-note {
  margin-top: 4px;
  color: var(--blue);
}
.pt-step--consult .pt-step__mid-note .pt-step__link-line {
  color: var(--blue);
}
.pt-step__doctor-title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
}
.pt-step__doctor-sub {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--blue);
}
.pt-step--consult .pt-step__list-item--tail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
}
.pt-step--consult .pt-step__list-item--tail .pt-step__list-text {
  flex: 1 1 auto;
  min-width: 0;
}
.pt-step--consult .pt-step__list-note {
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
  color: var(--blue);
}
.pt-step--consult .pt-step__list-item--tail::before {
  top: 0;
}
.pt-step__title {
  margin: 0;
  max-width: 9em;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);

}
.pt-step__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  min-height: 0;
}
.pt-step__channels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  row-gap: 8px;
  align-items: center;
}
.pt-step__channel p {
  margin: 0;
}
.pt-step__channel .pt-step__link-line {
  display: inline-block;
  margin-top: 2px;
  color: var(--blue);
}
.pt-step__channel .pt-step__social {
  margin-top: 8px;
}
.pt-step__mid {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}
.pt-step__mid p {
  margin: 0;
}
.pt-step__mid-note {
  margin-top: 8px;
}
.pt-step__link-line {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--blue);
}
.pt-step__link-line:hover {
  color: var(--blue-dark);
}
.pt-step__or {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  color: var(--gray);
}
.pt-step__phone {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.pt-step__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-step__soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;

  color: var(--white);
  transition: opacity 0.2s;
}
.pt-step__soc:hover {
  opacity: 0.88;
}
.pt-step__foot {
  margin-top: auto;
  padding-top: 4px;
}
.pt-step__caps {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--text);
}
.pt-step__label {
  margin: 0 0 8px;
}
.pt-step__label-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--blue);
}
.pt-step__label-sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
  color: var(--text);
}
.pt-step__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-step__list li {
  position: relative;
  padding-left: 1.1em;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--text);
}
.pt-step__list li + li {
  margin-top: 8px;
}
.pt-step__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.pt-step__note {
  margin: 10px 0 0;
  padding-left: 1.1em;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--blue);
}
.pt-step--tip .pt-step__title {
  color: var(--blue);
}
.pt-step--tip .pt-step__num--corner.pt-step__num--mark {
  color: var(--blue);
  opacity: 1;
}
.pt-step--tip .pt-step__body {
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 32px);
}
.pt-step--tip .pt-step__foot {
  margin-top: 0;
}
.pt-step--tip .pt-step__caps {
  text-transform: uppercase;
  line-height: 1.35;
  font-size: 15px;
  text-align: justify;
}
.pt-step__alert {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--blue);
}

/* Планшет: 2 колонки по 380px */
@media (min-width: 780px) {
  .pt-steps__grid {
    grid-template-columns: repeat(2, var(--pt-step-w));
    justify-content: center;
  }

  .pt-step {
    width: var(--pt-step-w);
    height: var(--pt-step-h);
    max-height: var(--pt-step-h);
  }
}

/* Десктоп (1180): сітка 3×2, картки 380×470 — Group 188 */
@media (min-width: 1180px) {
  .pt-steps__grid {
    grid-template-columns: repeat(3, var(--pt-step-w));
    grid-template-rows: var(--pt-step-h) var(--pt-step-h);
    justify-content: space-between;
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
  }

  .pt-step {
    width: var(--pt-step-w);
    height: var(--pt-step-h);
    min-height: var(--pt-step-h);
    max-height: var(--pt-step-h);
  }

  .pt-step:nth-child(-n + 3) {
    grid-row: 1;
    align-self: start;
  }

  .pt-step:nth-child(n + 4) {
    grid-row: 2;
    align-self: end;
  }

  .pt-step__channels {
    column-gap: 12px;
  }
}

.pt-stages__title {
  max-width: none;
}
.pt-stages__grid {

  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}
.pt-stage {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 220px;
  padding: clamp(19px, 2.5vw, 22px);
  border: 1px solid rgba(87, 157, 255, 0.12);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.08);
  margin-top: 15px;
}
.pt-stage--1 {
  width: 70%;
}
.pt-stage--2 {
  width: 70%;

  margin-left: auto;
}
.pt-stage--3 {
  width: 70%;
}
.pt-stage--4 {
  width: 70%;

  margin-left: auto;
}
.pt-stage--5 {
  width: 70%;

}
.pt-stage__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--blue);
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.pt-stage__lead {
  margin: auto 0 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}
.pt-stage__list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
}
.pt-stage__lead + .pt-stage__list {
  margin-top: 0;
}
.pt-stage__list li {
  position: relative;
  padding-left: 14px;
  line-height: 24px;
}
.pt-stage__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(0.5lh - 2.5px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray);
}
.pt-stage__list li + li {
  margin-top: 8px;
}
.pt-programs__title {
  max-width: none;
}
.pt-programs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(87, 157, 255, 0.35);
}
.pt-program {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 32px;
  padding: clamp(20px, 2.5vw, 28px) 0;
  border-bottom: 1px solid rgba(87, 157, 255, 0.35);
  align-items: start;
}
.pt-program__aside {
  min-width: 0;
}
.pt-program__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: var(--text);
}
.pt-program__note {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--blue);
}
.pt-program__body {
  min-width: 0;
}
.pt-program__text,
.pt-program__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}
.pt-program__lead {
  margin-bottom: 10px;
}
.pt-program__body .pt-program__text + .pt-program__list {
  margin-top: 12px;
}
.pt-program__list {
  margin: 0;
  padding-left: 1.15em;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}
.pt-program__list li + li {
  margin-top: 6px;
}
.pt-benefits {
  background: var(--bg);
}
.pt-benefits__title {
  max-width: none;
}
.pt-benefits__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}
.pt-benefits__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.pt-benefit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(28px, 3vw, 35px);
  border-radius: var(--radius-card);
  background: var(--white);
}
.pt-benefit--stat {
  flex-direction: row;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.pt-benefit--stat .pt-benefit__text {
  flex: 1;
  min-width: 0;
}
.pt-benefit__num {
  flex-shrink: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.pt-benefit__text,
.pt-benefit__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: var(--text);
}
.pt-benefit__tag {
  margin: 0 0 clamp(12px, 1.5vw, 20px);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--blue);
}
.pt-prep {
  background: var(--bg);
}
.pt-prep__title {
  max-width: none;
}
.pt-prep__lead {
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.pt-prep__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 20px);
  margin-bottom: clamp(20px, 2.5vw, 28px);
}
.pt-prep__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 20px);
  align-items: stretch;
}
.pt-prep__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(160px, 18vw, 200px);
  padding: clamp(24px, 2.5vw, 32px);
  border-radius: var(--radius-card);
  background: var(--white);
}
.pt-prep__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.pt-prep__num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
      text-transform: uppercase;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}
.pt-prep__graphic {
  flex-shrink: 0;
  color: var(--blue);
}
.pt-prep__graphic svg {
  display: block;
  width: clamp(40px, 4vw, 48px);
  height: auto;
}
.pt-prep__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.pt-prep__body .pt-prep__text {
  margin-bottom: 10px;
}
.pt-prep__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pt-prep__list li {
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.pt-prep__list li::before {
  content: '→ ';
}
.pt-prep__list li + li {
  margin-top: 6px;
}
.pt-prep__note {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.pt-prep__note-line {
  display: block;
}
.pt-prep__note-mark {
  color: var(--blue);
  font-weight: inherit;
  text-decoration: none;
}
.pt-prep__note-mark:hover {
  text-decoration: underline;
}
.pt-pricing {
  background: var(--bg);
}
.pt-pricing__title {
  max-width: none;
}
.pt-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 32px);
}
.pt-pricing__col--main,
.pt-pricing__col--side {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
  min-width: 0;
}
.pt-pricing__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}
.pt-pricing__highlight {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
  max-width:81%;
  text-align:justify;
}
.pt-pricing__mark {
  color: var(--blue);
}
.pt-pricing__caps {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
}
.pt-pricing__actions {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: clamp(20px, 3vw, 36px);
  row-gap: 4px;
  width: fit-content;
  max-width: 100%;
}
.pt-pricing__phone,
.pt-pricing__call {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 4px;
}
.pt-pricing__call {
  gap: 8px;
  justify-items: center;
}
.pt-pricing__phone-label,
.pt-pricing__or {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--gray);
}
.pt-pricing__or {
  text-align: center;
}
.pt-pricing__phone-num {
  align-self: end;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
      text-transform: uppercase;
    font-variant-numeric: lining-nums proportional-nums;
    font-feature-settings: "lnum" 1, "pnum" 1;
}
.pt-pricing__phone-num:hover {
  color: var(--blue);
}
.pt-pricing__call-btn {
  align-self: end;
  padding-inline: 58px;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pt-pricing__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  text-align: justify;
}
.pt-pricing__support {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  text-align: right;
}
.pt-pricing__support-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
}
.pt-pricing__support-tag {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--blue);
}
.pt-pricing__support-btn {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  padding-inline: 24px;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pt-faq {
  background: var(--bg);
}
.pt-faq__title {
  max-width: none;
}
.pt-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: none;
}
.pt-faq__item {
  border: none;
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}
.pt-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 2vw, 22px) clamp(20px, 2.5vw, 28px);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.pt-faq__item summary::-webkit-details-marker {
  display: none;
}
.pt-faq__item summary::after {
  flex-shrink: 0;
  content: "+";
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.pt-faq__item[open] summary::after {
  content: "−";
}
.pt-faq__item p {
  margin: 0;
  padding: 0 clamp(20px, 2.5vw, 28px) clamp(18px, 2vw, 22px);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}
.pt-reviews {
  background: var(--bg);
}
.pt-reviews__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 32px);
}
.pt-reviews__title {
  margin-bottom: 0;
  max-width: none;
}
.pt-reviews__all {
  flex-shrink: 0;
  min-height: 50px;
  padding-inline: clamp(24px, 3vw, 32px);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-color: var(--text);
  color: var(--text);
}
.pt-reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 32px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-review__card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pt-review__media {
  display: block;
  margin-bottom: clamp(16px, 2vw, 20px);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 580 / 360;
  background: var(--card-placeholder);
}
.pt-review__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pt-review__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.pt-review__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}
.pt-cta {
  background: var(--white);
}
.pt-cta__inner {
  text-align: center;
}
.pt-cta__inner .pt-section__title {
  max-width: none;
}
.pt-cta__inner p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.45;
}
.pt-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
}

/* fallback: 17.2cqi ≈ 203px при ширині 1180px */
@supports not (font-size: 1cqi) {
  .foot__wm {
    font-size: clamp(56px, 14vw, 203px);
  }
}

@media (min-width: 768px) {
  .pt-benefits__row--7-5 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .pt-benefits__row--5-7 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .pt-benefits__row--8-4 {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
  .pt-prep__row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pt-prep__row--3 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
  .pt-program {
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    gap: 24px 48px;
    align-items: start;
  }
  .pt-pricing__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: stretch;
  }
  .pt-pricing__col--main {
    justify-content: space-between;
    gap: clamp(32px, 4vw, 48px);
  }
  .pt-pricing__col--side {
    justify-content: space-between;
    gap: clamp(32px, 4vw, 48px);
  }
  .pt-reviews__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .pt-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 32px);
  }
}
@media (max-width: 899px) {
  .pt-hero {
    --pt-title-size: clamp(28px, 8.2vw, 40px);
    --pt-title-gap: 4px;
    min-height: auto;
  }
  .pt-hero__viewport > .wrap {
    flex: 0 1 auto;
  }
  .pt-hero__shell {
    margin-top: 150px;
    padding-top: clamp(12px, 3vw, 20px);
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
  }
  .pt-hero__title {
    width: min(100%, 380px);
    margin-inline: auto;
    font-size: 36px;
  }
  .pt-hero__mid {
    margin-top: clamp(20px, 6vw, 28px);
    justify-items: center;
    text-align: center;
  }
  .pt-hero__lead {
    font-size: 18px;
    line-height: 1.35;
    text-align: justify;
  }
  .pt-hero__lead--upper,
  .pt-hero__lead--program {
    max-width: none;
  }
  .pt-hero__cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: clamp(20px, 5vw, 28px);
    gap: 16px;
  }
  .pt-hero__cta-phone {
    align-items: center;
    margin-top: 30px;
  }
  .pt-hero__phone {
    margin-top: 18px;
    font-size: clamp(22px, 6.5vw, 28px);
  }
  .pt-hero__cta-action {
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }
  .pt-hero__btn {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .pt-hero__cta-or{
    margin-top:25px;
    margin-bottom: 25px;
  }
  .pt-intro__lead,
  .pt-intro__body {
    font-size: 19px;
    line-height: 1.35;
    text-align: justify;
  }
  .pt-step__alert{
    font-size: 15px;
    margin-top: 12px;
  }
  .pt-intro__lead {
    margin-bottom: 1em;
  }
  .pt-intro__body {
    margin-top: 0;
    font-weight: 600;

  }
  .pt-who__title{
    font-size: clamp(31px, 3vw, 40px);
  }
  .pt-who__note{
    font-size: clamp(16px, 1.25vw, 16px);
  }
  .pt-who__card-num {
   
    bottom: clamp(-30px, -1.4vw, -24px);
    
    font-size: clamp(140px, 10vw, 120px);
    font-weight: 700;
    
  }
  .pt-who__card-text{
    font-size: 14px;
  }
  .pt-who__foot{
    font-size: 18px;
  }
  .pt-section__title{
    font-size: 34px;
  }
  .pt-steps {
    --pt-step-h: auto;
  }
  .pt-step {
    min-height: 0;
    height: auto;
  }
  .pt-step__body {
    flex: 0 1 auto;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 8px;
  }
  .pt-step--corner-head .pt-step__body,
  .pt-step--inline-head .pt-step__body {
    margin-top: 12px;
    gap: 16px;
  }
  .pt-step__title{
    font-size: 24px;
  }
  .pt-step__head .pt-step__num--inline{
    font-size: 24px;
  }
  .pt-step__appeal-line{
    font-size: 14px;
  }
  .pt-step__appeal-label{
    font-size: 14px;
  }
  .pt-step--appeal .pt-step__phone{
    font-size: 20px;
  }
  .pt-step__mid p{
    font-size: 14px;
  }
  .pt-step__doctor-title{
    font-size: 18px;
  }
  .pt-step__doctor-sub{
    font-size: 14px;
  }
  .pt-step__list li{
    font-size: 18px;
  }
  .pt-step--consult .pt-step__list-note{
    font-size: 14px;
  }
  .pt-step--appeal .pt-step__caps{
    margin-top: 0px;
  }
  .pt-stage__heading{
    font-size: 18px;
  }
  .pt-stage__heading-text,
  .pt-stage__heading-note {
    display: block;
  }
  .pt-stage__list{
    font-size: 14px;
    margin-top: 30px;
  }
  .pt-stage{
    padding: clamp(19px, 2.5vw, 22px);

  }
  .pt-stage__lead {
    margin-top: 30px;
  }
  .pt-program__list{
    padding-left: 0px;
  }
  .pt-benefit{
    display: block;
  }
  .pt-benefit__title{
    margin-top: 65px !important;
  }
  .pt-prep__lead{
    font-size: 18px;
    margin-bottom: 40px;
  }
  .pt-prep__text{
    font-size: 17px;
  }
  .pt-prep__row--2 .pt-prep__card:nth-child(2) .pt-prep__text br {
    display: none;
  }
  .pt-prep__note{
    font-size: 23px;
  }
  .pt-pricing__highlight {
    max-width: none;
    text-align: justify;
  }
  .pt-pricing__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }
  .pt-pricing__phone,
  .pt-pricing__call {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row: auto;
    grid-template-rows: none;
    width: 100%;
  }
  .pt-pricing__phone-label,
  .pt-pricing__or {
    text-align: center;
  }
  .pt-pricing__phone-num {
    align-self: center;
    margin-top: 18px;
    font-size: clamp(22px, 6.5vw, 28px);
  }
  .pt-pricing__or {
    margin-top: 25px;
    margin-bottom: 25px;
  }
  .pt-pricing__call-btn {
    align-self: center;
    width: 100%;
    max-width: 100%;
    padding-inline: 24px;
  }
  .pt-pricing__desc {
    font-size: 14px;
    text-align: justify;
    margin-top:30px;
    margin-bottom: 20px;
  }
  .pt-pricing__support {
    align-items: flex-end;
    text-align: right;
  }
  .pt-pricing__support-title{
    font-size: 24px;
    
  }
  .pt-pricing__support-tag{
    font-size: 18px;
    text-transform: lowercase;
  }
  .pt-faq__item summary {
    font-size: 18px;
  }
  .pt-stages__grid{
    gap: 15px;
  }
  .pt-reviews .content-grid {
    display: flex;
    flex-direction: column;
  }
  .pt-reviews__head {
    display: contents;
    margin-bottom: 0;
  }
  .pt-reviews__title {
    order: 1;
    margin-bottom: clamp(24px, 3vw, 32px);
  }
  .pt-reviews__grid {
    order: 2;
  }
  .pt-reviews__all {
    order: 3;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 40px;;
    justify-content: center;
    text-align: center;
  }
  .pt-stage--1{
    width:100%;
  }
  .pt-stage--2{
    width: 100%;
  }
  .pt-stage--3{
    width: 100%;
  }
  .pt-stage--4{
    width: 100%;
  }
  .pt-stage--5{
    width: 100%;
  }
}
@media (min-width: 900px) {
  .pt-hero__shell {
    gap: 0;
  }
  .pt-hero__mid {
    grid-template-columns: 467px minmax(280px, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(32px, 8vw, 123px);
    row-gap: clamp(12px, 1.4vw, 20px);
    margin-top: -44px;
  }
  .pt-hero__lead--upper {
    grid-column: 1;
    grid-row: 1;
    width: 467px;
    max-width: none;
    font-size: 20px;
    letter-spacing: -0.01em;
    hyphens: none;
  }
  .pt-hero__lead--program {
    grid-column: 1;
    grid-row: 2;
    width: 435px;
    max-width: none;
    font-size: 20px;
    letter-spacing: -0.01em;
    hyphens: none;
  }
  .pt-hero__cta {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: end;
    flex-wrap: nowrap;
    gap: clamp(24px, 6.25vw, 90px);
  }

}
@media (min-width: 1100px) {
  .hero__title-l2 {
    white-space: nowrap;
  }
}

/* Zbori / Potrebi / Zvitnist pages */
.page-zbori,
.page-potrebi,
.page-zvitnist {
  background: var(--bg);
}
.zb {
  padding: calc(var(--header-h) + clamp(32px, 4vw, 48px)) 0 clamp(48px, 6vw, 72px);
}
.zb__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}
.zb__funds.funds {
  padding: 0;
  background: transparent;
}
.zb__funds > .wrap {
  max-width: none;
  padding: 0;
}
.zb-reports {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.zb-report-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 380 / 360;
  min-height: 0;
  padding: clamp(28px, 2.8vw, 40px) clamp(22px, 2.2vw, 25px) clamp(25px, 3vw, 26px);
  box-sizing: border-box;
  background: transparent;
  overflow: visible;
}
.zb-report-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/images/bigramka.svg") no-repeat center / 100% 100%;
  filter: drop-shadow(0 4px 24px rgba(87, 157, 255, 0.08));
  pointer-events: none;
}
.zb-report-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.zb-report-card__date {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--gray);
}
.zb-report-card__title {
  margin: 0;
  margin-right: 70px;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.zb-report-card__desc {
  margin: 0;
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.zb-report-card__btn {
  align-self: center;
  margin-top: auto;
  min-width: 160px;
  padding: 12px 103px;
  border: 1px solid var(--text);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.zb-report-card__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(255, 255, 255, 0.85);
}
@media (max-width: 899px) {
  .zb-reports {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 559px) {
  .zb-reports {
    grid-template-columns: 1fr;
  }
}

/* Gallery page */
.page-gallery {
  background: var(--bg);
}
.gl {
  padding: calc(var(--header-h) + clamp(32px, 4vw, 48px)) 0 clamp(48px, 6vw, 72px);
}
.gl__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}
.gl__intro {
  margin: 0;
  max-width: min(780px, 72%);
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.gl__mark {
  color: var(--blue);
}
.gl__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.zb__tabs-filter {
  display: none;
  position: relative;
}
.page-zbori .zb__tabs.gl__tabs,
.page-potrebi .zb__tabs.gl__tabs,
.page-zvitnist .zb__tabs.gl__tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.page-zbori .zb__tabs .gl__tab,
.page-potrebi .zb__tabs .gl__tab,
.page-zvitnist .zb__tabs .gl__tab {
  padding: 0 clamp(8px, 1.5vw, 16px);
  font-size: clamp(11px, 1.4vw, 15px);
  white-space: nowrap;
}
.gl__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--blue);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gl__tab:hover {
  background: rgba(87, 157, 255, 0.08);
}
.gl__tab.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
@media (max-width: 899px) {
  .zb__tabs-filter {
    display: block;
  }
  .page-zbori .zb__tabs,
  .page-potrebi .zb__tabs,
  .page-zvitnist .zb__tabs {
    display: none;
  }
}
.gl__panel {
  display: none;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}
.gl__panel.is-active {
  display: flex;
}
.gl__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gl__grid--video {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gl__cell {
  aspect-ratio: 373 / 280;
  border-radius: 12px;
  min-height: 0;
}
.gl__cell--video {
  aspect-ratio: 16 / 10;
}
.gl__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.gl__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.gl__page:hover {
  background: rgba(87, 157, 255, 0.08);
}
.gl__page.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
@media (max-width: 899px) {
  .gl__grid,
  .gl__grid--video,
  .gl__grid--video-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 559px) {
  .gl__grid,
  .gl__grid--video,
  .gl__grid--video-cards {
    grid-template-columns: 1fr;
  }
  .gl__cell {
    aspect-ratio: 16 / 10;
  }
}

.gl__grid--video-cards {
  align-items: stretch;
}
.gl__grid--video-cards > li {
  display: flex;
  min-height: 0;
}
.gl__video-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.12);
  overflow: hidden;
}
.gl__video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 373 / 220;
  flex-shrink: 0;
  overflow: hidden;
}
.gl__video-thumb.ph {
  border-radius: 0;
}
.gl__video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}
.gl__video-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--blue);
}
.gl__video-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2vw, 20px);
}
.gl__video-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.gl__video-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--gray);
}

/* Documents page */
.page-documents {
  background: var(--bg);
}
.docs {
  position: relative;
  padding: calc(var(--header-h) + clamp(32px, 4vw, 48px)) 0 clamp(96px, 12vw, 180px);
  overflow: hidden;
}
.docs__wm {
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 2vw, 32px);
  transform: translateX(-50%);
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-size: clamp(72px, 17.5vw, 220px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(87, 157, 255, 0.16) 0%,
    rgba(87, 157, 255, 0.07) 55%,
    rgba(242, 249, 254, 0) 88%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 0;
}
.docs__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}
.docs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.docs__card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 380 / 360;
  min-height: 0;
  gap: clamp(12px, 1.5vw, 16px);
  padding: clamp(28px, 2.8vw, 40px) clamp(22px, 2.2vw, 25px) clamp(25px, 3vw, 26px);
  box-sizing: border-box;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}
.docs__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/images/bigramka.svg") no-repeat center / 100% 100%;
  filter: drop-shadow(0 4px 24px rgba(87, 157, 255, 0.08));
  pointer-events: none;
}
.docs__card > * {
  position: relative;
  z-index: 1;
}
.docs__title {
  padding-top: 5px;
  margin: 0;
  margin-right: clamp(48px, 10vw, 72px);
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.docs__preview {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: min(477px, 100%);
  max-width: 477px;
  aspect-ratio: 477 / 365;
  max-height: 365px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid rgba(87, 157, 255, 0.45);
  border-radius: 12px;
  overflow: hidden;
  background: #e8f4fd;
  box-sizing: border-box;
}
.docs__img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: cover;
  object-position: center center;
  filter: blur(4px);
  transform: none;
  pointer-events: none;
}
.docs__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 44px;
  padding: 12px 32px;
  border: 1px solid var(--text);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.docs__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
@media (min-width: 768px) {
  .docs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1180px;
  }
  .docs__preview {
    width: 532px;
    max-width: 100%;
    height: 365px;
    max-height: none;
  }
}
@media (max-width: 767px) {
  .docs__card {
    aspect-ratio: auto;
    min-height: 360px;
  }
  .docs__btn {
    width: 100%;
    max-width: 190px;
  }
  .docs__preview{
    aspect-ratio: 510 / 365;
  }
  body > main > section > div > div > ul > li:nth-child(1) > article > h2{
    width:57%;
  }
  .docs__title{
    width: 79%;
  }
  .fund-card__desc{
    margin-top: 30px;
  }
}

/* News page */
.page-news {
  background: var(--bg);
}
.news {
  position: relative;
  padding: calc(var(--header-h) + clamp(32px, 4vw, 48px)) 0 clamp(48px, 6vw, 72px);
}
.news__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.8vw, 28px);
}
.news__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.news__card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 12px;
  min-height: 220px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(87, 157, 255, 0.08);
}
.news__thumb {
  border-radius: 8px;
  min-height: 160px;
}
.news__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  min-height: 160px;
  justify-content: flex-start;
}
.news__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  line-height: 1.34;
  color: var(--text);
}
.news__excerpt {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.38;
  color: #555;
}
.news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.news__date {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--blue);
  text-underline-offset: 3px;
}
.news__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  min-height: 38px;
  padding: 0 26px;
  border: 1px solid #5c5c5c;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3e3e3e;
  text-decoration: none;
  background: transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.news__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
@media (min-width: 900px) {
  .news__card {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    padding: 14px 16px;
    min-height: auto;
    border-radius: 14px;
  }
  .news__thumb {
    height: 220px;
    min-height: 220px;
    aspect-ratio: 320 / 220;
  }
  .news__body {
    min-height: 220px;
  }
  .news__meta {
    padding-top: 10px;
  }
}
@media (max-width: 639px) {
  .news__card {
    grid-template-columns: 1fr;
  }
  .news__thumb {
    min-height: 170px;
  }
  .news__meta {
    flex-wrap: wrap;
  }
}

/* Contacts page */
.page-contacts {
  background: var(--white);
}
.page-contacts .page {
  min-height: calc(var(--header-h) + 10px);
}
.foot--contacts {
  padding-top: 10px;
}
.ct-map {
  width: 100%;
  border-top: 1px solid rgba(87, 157, 255, 0.28);
  border-bottom: 1px solid rgba(87, 157, 255, 0.28);
  overflow: hidden;
}
.ct-map__frame {
  display: block;
  width: 100%;
  height: clamp(280px, 35vw, 430px);
  border: 0;
  filter: saturate(0.8) brightness(1.02);
}

/* Education page */
.page-edu {
  background: var(--bg);
}
.edu {
  padding: calc(var(--header-h) + clamp(32px, 4vw, 48px)) 0 clamp(48px, 6vw, 72px);
}
.edu__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}
.edu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.edu__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 12px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(87, 157, 255, 0.08);
}
.edu__thumb {
  width: 100%;
  aspect-ratio: 373 / 220;
  border-radius: 10px;
}
.edu__info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}
.edu__title {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text);
}
.edu__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #4f4f4f;
}
.edu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  min-height: 36px;
  padding: 0 24px;
  border: 1px solid #5a5a5a;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4a4a4a;
  text-decoration: none;
  background: transparent;
}
.edu__btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}
@media (min-width: 760px) {
  .edu__grid {
    grid-template-columns: repeat(2, 580px);
    justify-content: space-between;
    gap: 18px;
  }
  .edu__card {
    width: 580px;
    min-height: 360px;
  }
  .edu__thumb {
    display: block;
    width: 540px;
    max-width: 100%;
    height: 250px;
    aspect-ratio: auto;
    margin-inline: auto;
  }
  .edu__title {
    font-size: 20px;
  }
}
@media (max-width: 759px) {
  .edu__info {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .edu__btn {
    width: 100%;
    min-width: 0;
  }
}
