:root {
  --ink: #050505;
  --muted: #66788e;
  --accent: #17b9cf;
  --accent-dark: #098fa5;
  --line: rgba(16, 39, 70, 0.12);
  --paper: #ffffff;
  --soft: #f4f8fa;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 1101px) {
  html body {
    font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
  }

  html body :is(h1, h2, h3) {
    font-family: "Inter Tight", "Segoe UI Variable Text", sans-serif;
    font-weight: 700;
  }
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter Tight", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(calc(100% - 48px), var(--container));
  min-height: 104px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.logo,
.logo img {
  display: block;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 28px;
  color: rgba(5, 5, 5, 0.78);
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--accent-dark);
}

.header-contact {
  display: grid;
  gap: 3px;
  margin-left: auto;
  text-align: right;
}

.header-contact a {
  font-weight: 800;
}

.header-contact span {
  color: var(--muted);
  font-size: 0.82rem;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #0a91a6, #22c4d8);
  box-shadow: 0 12px 24px rgba(23, 185, 207, 0.2);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(23, 185, 207, 0.3);
}

.about-hero {
  position: relative;
  min-height: calc(100svh - 104px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(112deg, rgba(244, 248, 250, 0.82) 0%, rgba(255, 255, 255, 0) 47%),
    var(--paper);
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(64px, 8vw, 126px);
  width: min(calc(100% - 48px), var(--container));
  min-height: calc(100svh - 104px);
  margin: 0 auto;
  padding: 64px 0 208px;
}

.about-hero__copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
  color: var(--accent-dark);
}

.about-hero__copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 17px;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.62;
}

.about-hero__copy .about-hero__lead {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-weight: 600;
  line-height: 1.5;
}

.about-hero__copy strong {
  color: var(--accent-dark);
  font-weight: 800;
}

.proof {
  align-self: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof__intro {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.proof__intro p {
  max-width: 270px;
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.35;
}

.proof__mark {
  position: relative;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border: 1px solid rgba(23, 185, 207, 0.42);
  border-radius: 50%;
}

.proof__mark::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 7px;
  left: 10px;
  top: 11px;
  border-left: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(-45deg);
}

.proof__list {
  margin-bottom: 0;
}

.proof__list > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  min-height: 102px;
  border-bottom: 1px solid var(--line);
}

.proof__list > div:last-child {
  border-bottom: 0;
}

.proof__list dt {
  color: var(--accent-dark);
  font-size: 1.75rem;
  font-weight: 800;
}

.proof__list dd {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.about-pattern {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 250px;
  pointer-events: none;
}

.about-pattern__waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: rgba(23, 185, 207, 0.34);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.about-pattern__pluses {
  position: absolute;
  right: max(7vw, 54px);
  bottom: 49px;
  width: 150px;
  height: 110px;
}

.about-pattern__pluses g {
  stroke: rgba(23, 185, 207, 0.47);
  stroke-width: 2.2;
  stroke-linecap: square;
}

.principles {
  background: var(--soft);
}

.principles__inner {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 100px 0 112px;
}

.principles__heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 58px;
}

.principles__heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principles__grid article {
  min-height: 260px;
  padding: 32px 38px 20px 0;
  border-right: 1px solid var(--line);
}

.principles__grid article + article {
  padding-left: 38px;
}

.principles__grid article:last-child {
  border-right: 0;
}

.principles__grid span {
  display: block;
  margin-bottom: 52px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.principles__grid h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.principles__grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 20px;
    margin-left: 8px;
  }

  .header-contact {
    display: none;
  }

  .about-hero__inner {
    gap: 56px;
  }
}

@media (max-width: 820px) {
  .site-header {
    gap: 16px;
    min-height: 82px;
  }

  .site-nav {
    display: none;
  }

  .header-action {
    margin-left: auto;
  }

  .about-hero {
    min-height: auto;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 0 220px;
  }

  .proof {
    width: min(100%, 560px);
  }

  .about-pattern__waves {
    width: 155%;
    transform: translateX(-18%);
  }

  .about-pattern__pluses {
    right: 30px;
  }

  .principles__heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .principles__grid {
    grid-template-columns: 1fr;
  }

  .principles__grid article,
  .principles__grid article + article {
    min-height: auto;
    padding: 28px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles__grid article:last-child {
    border-bottom: 0;
  }

  .principles__grid span {
    margin-bottom: 28px;
  }
}

@media (max-width: 540px) {
  .site-header,
  .about-hero__inner,
  .principles__inner {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    min-height: 72px;
  }

  .logo img {
    width: 78px;
    height: auto;
  }

  .header-action {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .about-hero__inner {
    padding-top: 48px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .about-hero__copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .proof__list > div {
    grid-template-columns: 112px 1fr;
  }

  .proof__list dt {
    font-size: 1.45rem;
  }

  .about-pattern {
    height: 190px;
  }

  .about-pattern__pluses {
    right: 12px;
    bottom: 24px;
    width: 106px;
    height: 78px;
  }

  .principles__inner {
    padding: 72px 0 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav a::after,
  .header-action {
    transition: none;
  }
}

/* Мобильная версия страницы «О нас» по макету 02. */
.mobile-about,
.mobile-call,
.menu-toggle,
.hero__nav-mobile-contact {
  display: none;
}

@media (max-width: 820px) {
  body {
    background: #fbfdff;
  }

  .site-header {
    position: relative;
    z-index: 30;
    width: min(calc(100% - 32px), 720px);
    min-height: 0;
    gap: 8px;
    padding-top: 14px;
    border-bottom: 0;
  }

  .logo,
  .mobile-call,
  .menu-toggle {
    position: relative;
    z-index: 1001;
  }

  .logo img {
    width: 62px;
    height: auto;
  }

  .mobile-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(8, 174, 202, 0.2);
  }

  .mobile-call img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .menu-toggle {
    display: block;
    width: 36px;
    height: 36px;
    margin-left: 2px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    font-size: 0;
    line-height: 0;
    cursor: pointer;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 200ms ease, top 200ms ease, bottom 200ms ease;
  }

  .menu-toggle::before {
    top: 9px;
    box-shadow: 0 8px 0 var(--ink);
  }

  .menu-toggle::after {
    bottom: 9px;
  }

  .menu-toggle[aria-expanded="true"]::before {
    top: 17px;
    box-shadow: 0 0 0 transparent;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]::after {
    bottom: 17px;
    transform: rotate(-45deg);
  }

  .header-action,
  .header-contact {
    display: none;
  }

  .site-nav.hero__nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 92px 20px 28px;
    overflow-y: auto;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.985);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
  }

  .site-nav.hero__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s;
  }

  .site-nav.hero__nav > a {
    padding: 16px 2px;
    border-bottom: 1px solid rgba(16, 39, 70, 0.1);
  }

  .site-nav.hero__nav a::after {
    display: none;
  }

  .hero__nav-mobile-contact {
    display: grid;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
  }

  .hero__nav-mobile-phone {
    display: grid;
    gap: 4px;
    font-size: 1rem;
  }

  .hero__nav-mobile-phone strong {
    font-size: 1.25rem;
  }

  .hero__nav-mobile-phone span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
  }

  .hero__nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(180deg, #0a91a6, #22c4d8);
    font-size: 1rem;
  }

  .about-hero,
  .principles {
    display: none;
  }

  .mobile-about {
    display: block;
    padding-top: 8px;
    background:
      radial-gradient(circle at 74% 28%, rgba(23, 185, 207, 0.055), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .mobile-about__inner {
    width: min(calc(100% - 32px), 420px);
    margin: 0 auto;
  }

  .mobile-about__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 28px;
    margin: 0;
    padding: 0 15px;
    border-radius: 999px;
    color: #117b93;
    background: linear-gradient(135deg, rgba(69, 205, 223, 0.18), rgba(69, 205, 223, 0.08));
    font-size: 0.82rem;
    font-weight: 500;
  }

  .mobile-about__title {
    max-width: none;
    margin: 13px 0 0;
    color: var(--ink);
    letter-spacing: -0.035em;
  }

  .mobile-about__title strong,
  .mobile-about__title span {
    display: block;
  }

  .mobile-about__title strong {
    font-size: clamp(2rem, 10vw, 2.35rem);
    font-weight: 800;
    line-height: 0.94;
  }

  .mobile-about__title span {
    margin-top: 5px;
    color: var(--ink);
    font-size: clamp(1.48rem, 7.4vw, 1.74rem);
    font-weight: 700;
    line-height: 0.99;
  }

  .mobile-about__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    width: 100%;
    min-height: 47px;
    margin-top: 13px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(180deg, #0a8fa4 0%, #16b1c8 55%, #2cd5e6 100%);
    box-shadow: 0 11px 24px rgba(39, 201, 218, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-size: 0.92rem;
    font-weight: 500;
  }

  .mobile-about__cta span:last-child {
    font-size: 1.45em;
    font-weight: 300;
    line-height: 1;
  }

  .mobile-about__video {
    width: calc(100% + 12px);
    margin: 18px 0 0 -6px;
    padding: 8px;
    border: 1px solid rgba(9, 38, 90, 0.035);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 36px rgba(32, 91, 128, 0.12);
  }

  .mobile-about__video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 29px;
    padding: 0 4px 6px 2px;
  }

  .mobile-about__video-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
  }

  .mobile-about__video-label strong {
    font-weight: 600;
  }

  .mobile-about__play-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding-left: 1px;
    border-radius: 50%;
    color: #fff;
    background: #0874ee;
    font-size: 0.58rem;
  }

  .mobile-about__dots {
    display: flex;
    gap: 4px;
  }

  .mobile-about__dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9fc8ff;
  }

  .mobile-about__media {
    overflow: hidden;
    border-radius: 12px;
    background: #dfe8f0;
  }

  .mobile-about__media video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 848 / 478;
    object-fit: cover;
    background: #0a1323;
  }

  .mobile-about__partners {
    margin-top: 11px;
  }

  .mobile-about__partners-label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.78rem;
    font-weight: 500;
  }

  .mobile-about__partner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
  }

  .mobile-about__partner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(40, 86, 126, 0.07);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-about__partner--blue {
    color: #0769ee;
  }

  .mobile-benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    width: 100%;
    min-height: 76px;
    margin-top: 12px;
    padding: 7px 5px 8px;
    border-top: 1px solid rgba(16, 39, 70, 0.05);
    background: rgba(250, 254, 255, 0.96);
  }

  .mobile-benefits__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 0;
    color: var(--ink);
    font-size: clamp(0.43rem, 2.15vw, 0.56rem);
    font-weight: 500;
    line-height: 1.02;
    text-align: center;
  }

  .mobile-benefits__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #14c7d8;
  }

  .mobile-benefits__icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .logo img {
    width: 56px;
  }

  .mobile-call,
  .menu-toggle {
    width: 34px;
    height: 34px;
  }

  .menu-toggle[aria-expanded="true"]::before {
    top: 16px;
  }

  .menu-toggle[aria-expanded="true"]::after {
    bottom: 16px;
  }
}
