@import './variables.css';

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
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: opacity 0.2s, background 0.2s;
}
.btn:hover { opacity: 0.9; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.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);
}
.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__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: filter 0.2s;
}
.head__btn,
.head__btn:visited,
.head__btn:hover,
.head__btn:focus-visible {
  color: var(--white);
}
.head__btn:hover {
  filter: brightness(0.95);
}
.head__burger {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-top: var(--header-logo-top);
  background:
    radial-gradient(circle, var(--text) 2px, transparent 2px) 0 0 / 10px 10px;
  opacity: 0.7;
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--gutter);
  background: rgba(0,0,0,0.15);
  min-height: var(--header-h);
}
.drawer__close {
  width: 30px; height: 30px;
  background:
    radial-gradient(circle, #fff 2.5px, transparent 2.5px) 0 0 / 10px 10px;
}
.drawer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) 24px;
  overflow-y: auto;
}
.drawer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.drawer__cols a {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 2.4;
}
.drawer__ua { text-align: center; color: var(--white); font-weight: 600; margin-bottom: 16px; }
.drawer__sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.35);
  margin-bottom: auto;
}
.drawer__sub a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.drawer__cta { width: 100%; margin-top: 20px; padding: 16px; }
.drawer__backdrop {
  position: fixed; inset: 0; z-index: 150;
  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 {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-stat);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--blue) 0%,
    var(--blue) 40%,
    var(--bg) 100%
  );
}
.stat-m__n {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(48px, 14vw, 72px);
  font-weight: 400;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
  color: var(--blue);
  text-transform: uppercase;
}
.stat-m__l {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 8px;
}

/* 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;
}
.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: left;
  text-transform: uppercase;
  color: var(--text);
}
.pn-intro {
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}
.pn-intro__tag {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  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);
}
.pn-intro__body {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}
.pn-intro__text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 15px;
  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: 28px;
  line-height: 1.366;
}
.pn-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pn-metric__num {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(56px, 8vw, 84px);
  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: 14px;
  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, 32px);
}
.pn-metric__aside {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 0.15em;
}
.pn-metric__sub {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.174;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}
.pn-metric__note {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  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;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  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: relative;
  z-index: 1;
  padding: 24px 22px 28px;
  color: var(--white);
}
.pn-story-card__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.02em;
}
.pn-story-card__text {
  margin: 0;
  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, 48px);
}
.pn-rehab__lead {
  margin: 0 0 12px;
  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);
}
.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, 130px);
  text-align: left;
}
.pn-goals__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--blue);
}
.pn-goals__lead {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  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: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 209px;
  min-height: 209px;
  max-height: 209px;
  padding: 16px 20px;
  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;
  bottom: 0;
  font-family: var(--font-heading);
  font-size: clamp(100px, 22vw, 250px);
  font-weight: 600;
  line-height: 0.8;
  color: rgba(87, 157, 255, 0.22);
  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;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.366;
  text-align: center;
  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;
}
.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;
  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: hidden;
}
.pn-goals__card--footer .pn-goals__text {
  width: 100%;
  max-width: none;
  text-align: center;
}
.pn-goals__card--footer .pn-goals__num {
  right: 0;
}
@media (max-width: 899px) {
  .pn-goals__card--footer {
    grid-template-columns: 1fr;
  }
  .pn-goals__footer-main {
    height: auto;
    min-height: 209px;
    max-height: none;
  }
}
.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: 400;
  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;
}
.pn-docs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.pn-doc-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 320px;
  padding: 20px;
  border-radius: 24px 40px 24px 24px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.08);
}
.pn-doc-card__preview {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 16px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  overflow: hidden;
  background: #e8f4fd;
}
.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: 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);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.pn-doc-card__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.pn-docs__slider-wrap {
  position: relative;
}
.pn-docs__slider {
  --pn-doc-card-w: min(280px, 78vw);
  --pn-docs-gap: 24px;
  display: flex;
  gap: var(--pn-docs-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 88px 8px 0;
  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 {
  flex: 0 0 var(--pn-doc-card-w);
  width: var(--pn-doc-card-w);
  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__next {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  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);
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.pn-docs__next:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
}
.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;
}

/* 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__chips-wrap {
  margin-bottom: 32px;
}
.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: 380px;
  --team-card-h: 466px;
  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) {
  .about-panel__quote-line {
    white-space: normal;
  }
  .about-panel__quote {
    font-size: clamp(14px, 3.6vw, 17px);
    padding: 24px 16px;
  }

  .services__head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .services__lead {
    text-align: left;
  }
  .services__lead-line {
    white-space: normal;
  }

  .social__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .social__item {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 380px;
  }

  .foot__shell {
    grid-template-columns: 1fr;
  }
  .foot__mission {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: -50px;
  }
  .foot__logo {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 0;
  }
  .foot__col-right {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    width: 100%;
    margin-top: 0;
    align-items: flex-start;
    margin-top: -50px;
  }
  .foot__aside {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 28px;
  }
  .foot__map-cols {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    row-gap: 20px;
  }
  .foot__form-wrap {
    max-width: none;
  }
  .foot__block--contacts {
    margin-left: 0;
    text-align: left;
  }
  .foot__block--contacts .foot__h,
  .foot__block--contacts .foot__contacts {
    align-items: flex-start;
    text-align: left;
  }
  .foot__block--contacts .foot__contact {
    flex-direction: row;
    justify-content: flex-start;
  }
  .foot__mid {
    grid-column: 1;
    grid-row: auto;
  }
  .foot__fields {
    grid-template-columns: 1fr;
  }
  .svc {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "n title"
      "media media"
      "hint hint"
      "desc desc";
    gap: 12px 16px;
    min-height: 0;
    padding: 24px var(--svc-pad-x, 20px);
  }
  .svc__media {
    justify-self: stretch;
    width: 100%;
    height: 250px;
  }
  .svc__media img {
    width: 100%;
    height: 250px;
  }
  .svc__n {
    font-size: 32px;
  }
}

/* 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 {
    font-size: 20px;
    padding: 30px 57px;
  }
  .about-panel__quote-line {
    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;
  }

  .svc {
    grid-template-columns: 80px minmax(200px, 340px) 156px minmax(0, 1fr) 250px;
  }

  .foot__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
  }
  .foot__copy {
    justify-self: start;
  }
  .foot__legal {
    justify-self: center;
  }
  .foot__credit {
    justify-self: end;
  }

  .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 {
    padding-left: 130px;
  }

  .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 {
    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__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;
  }
  .pn-goals__card--footer {
    min-height: 209px;
    padding: 28px 40px;
  }
  .pn-goals__footer-main {
    min-height: 153px;
  }
  .pn-goals__num {
    font-size: 250px;
  }
  .pn-goals__text {
    font-size: 32px;
  }
  .pn-docs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    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: clamp(560px, 56.25vw, 810px);
  --pt-title-size: clamp(34px, 6.04vw, 87px);
  --pt-title-gap: clamp(5px, 1.08vw, 0px);
  position: relative;
  overflow: hidden;
  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;
  min-height: var(--pt-hero-h);
  padding-top: var(--header-h);
}
.pt-hero__shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 1180px;
  min-height: calc(var(--pt-hero-h) - var(--header-h));
  padding: clamp(48px, 15.7vw, 226px) 0 clamp(28px, 4vw, 48px);
}
.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, 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;
}
.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, 40px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pt-intro__text {
  margin: 0;
  max-width: 1180px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.78vw, 32px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.pt-audience__head {
  position: relative;
  margin-bottom: clamp(32px, 4.5vw, 64px);
  min-height: clamp(72px, 8vw, 104px);
}
.pt-audience__head .pt-section__title {
  margin: 0;
  max-width: min(100%, 490px);
}
.pt-audience__tag {
  position: absolute;
  top: clamp(44px, 5.2vw, 72px);
  right: 0;
  margin: 0;
  max-width: min(100%, 52%);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.174;
  text-align: right;
  color: var(--text);
}
.pt-audience__scatter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.8vw, 32px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.pt-audience__item {
  position: relative;
  max-width: 680px;
  padding-left: 1.1em;
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.39vw, 20px);
  font-weight: 600;
  line-height: 1.174;
  text-transform: uppercase;
  color: var(--text);
}
.pt-audience__item::before {
  content: '•';
  position: absolute;
  left: 0;
}
.pt-audience__item--military {
  margin-left: clamp(0px, 1.7vw, 24px);
}
.pt-audience__item--neuro {
  margin-left: clamp(24px, 9vw, 130px);
}
@media (min-width: 720px) {
  .pt-audience__scatter {
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
    column-gap: clamp(32px, 4.5vw, 80px);
    row-gap: 0;
    min-height: clamp(220px, 24vw, 320px);
  }
  .pt-audience__item {
    max-width: none;
  }
  .pt-audience__item--military {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-top: clamp(28px, 3.5vw, 48px);
    margin-left: clamp(0px, 1.7vw, 24px);
    padding-right: clamp(8px, 2vw, 32px);
  }
  .pt-audience__item--civilians {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
    margin-left: 0;
  }
  .pt-audience__item--neuro {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    margin-top: clamp(48px, 6vw, 88px);
    margin-left: clamp(48px, 8vw, 130px);
    padding-right: clamp(8px, 2vw, 32px);
  }
  .pt-audience__item--psych {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin-top: clamp(64px, 8vw, 112px);
    margin-left: 0;
  }
}
.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-steps__title {
  max-width: none;
  color: var(--blue);
}
.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: 20px 16px 18px;
  padding-right: 52px;
  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: clamp(28px, 3vw, 36px);
}
.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(20px, 3vw, 32px);
  gap: clamp(24px, 4vw, 56px);
}
.pt-step__appeal-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 28px);
}
.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: center;
}
.pt-step--appeal .pt-step__phone {
  flex-shrink: 0;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
}
.pt-step--appeal .pt-step__social {
  flex-shrink: 0;
  margin-left: auto;
}
.pt-step--appeal .pt-step__caps {
  max-width: 16em;
  line-height: 1.35;
}
.pt-step--corner-head {
  padding: clamp(28px, 3vw, 36px);
}
.pt-step--corner-head .pt-step__num--corner {
  position: absolute;
  top: clamp(28px, 3vw, 36px);
  right: clamp(28px, 3vw, 36px);
  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;
}
.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(20px, 3vw, 32px);
  gap: clamp(24px, 4vw, 56px);
}
.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: 11px;
  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;
}
.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;
}
.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%;
  background: var(--blue);
  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: 11px;
  font-weight: 600;
  line-height: 1.3;
  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: 11px;
  font-weight: 600;
  line-height: 1.3;
  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: 11px;
  font-weight: 600;
  line-height: 1.3;
  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;
}
.pt-step__alert {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  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 {
  display: 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(24px, 2.5vw, 32px);
  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);
}
.pt-stage__heading {
  margin: 0 0 clamp(16px, 2vw, 20px);
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--text);
}
.pt-stage__lead {
  margin: 0 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: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}
.pt-stage__list li {
  position: relative;
  padding-left: 14px;
}
.pt-stage__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  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;
  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, 40px);
  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-heading);
  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;
  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: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
}
.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);
}
.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;
}
.pt-pricing__phone-num:hover {
  color: var(--blue);
}
.pt-pricing__call-btn {
  align-self: end;
  padding-inline: 32px;
  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);
}
.pt-pricing__support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  text-align: center;
}
.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: 14px;
  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__title-line--4 {
    justify-self: start;
    margin-left: 38.1%;
    margin-right: auto;
  }
}
@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;
    margin-top: 0;
    gap: clamp(24px, 6.25vw, 90px);
  }
}
@media (min-width: 1100px) {
  .hero__title-l2 {
    white-space: nowrap;
  }
}

/* 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%;
}
.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);
}
.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;
}
.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 {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 28px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 4px 24px rgba(87, 157, 255, 0.08);
}
.docs__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}
.docs__preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 32vw, 380px);
  padding: 16px;
  border: 1px solid rgba(87, 157, 255, 0.45);
  border-radius: 12px;
  overflow: hidden;
  background: #e8f4fd;
}
.docs__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: blur(4px);
  transform: scale(1.08);
  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 28px;
  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;
  transition: border-color 0.2s ease, 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: 24px;
  }
}

/* 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-decoration: underline;
  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;
}
.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: 639px) {
  .edu__info {
    flex-direction: column;
    align-items: flex-start;
  }
}

