:root {
  --accent: #e7118e;
  --accent-hover: #c90d7a;
  --accent-soft: rgba(231, 17, 142, 0.1);
  --ink: #111318;
  --ink-soft: #3d4450;
  --muted: #6b7280;
  --line: #eceff3;
  --surface: #ffffff;
  --page: #f7f8fa;
  --shadow: 0 18px 50px rgba(17, 19, 24, 0.08);
  --shadow-soft: 0 10px 30px rgba(17, 19, 24, 0.06);
  --radius: 24px;
  --header-h: 118px;
  --max: 1600px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.home {
  background: #fff;
}

body.nav-open {
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

iframe,
video {
  display: block;
  border: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button,
input {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.directions {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
}

.directions::backdrop {
  background: rgba(17, 19, 24, 0.46);
}

.directions__panel {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.directions__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.directions h2 {
  margin: 0 36px 8px 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.directions p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.directions__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.directions__choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 148px;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.directions__choice:hover {
  border-color: #d7dbe2;
  background: var(--page);
}

.directions__mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.directions__mark--maps {
  width: 112px;
  height: 112px;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow-anchor: none;
}

.header__bar {
  position: relative;
  z-index: 2;
  background: #111111;
  color: rgba(255, 255, 255, 0.78);
}

.header__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  font-size: 12.5px;
  font-weight: 500;
}

.header__meta,
.header__contacts,
.header__contacts a {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__meta {
  margin: 0;
}

.header__hours {
  color: rgba(255, 255, 255, 0.5);
}

.header__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.header__address:hover {
  color: #fff;
}

.header__contacts a {
  min-height: 36px;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.header__contacts a:hover {
  color: #fff;
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 2px 0 14px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang__btn:hover {
  color: #fff;
}

.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 50;
  min-width: 176px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.16s ease;
}

.lang.is-open .lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang__menu a:hover,
.lang__menu a[aria-current="true"] {
  color: var(--ink);
  background: var(--page);
}

.lang__menu a span {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header__main {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: 143px 1fr auto;
  align-items: center;
  min-height: 120px;
  gap: 24px;
  transition: min-height 0.28s ease;
}

.header.is-scrolled .header__inner {
  min-height: 88px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
}

.header .logo {
  width: 143px;
}

.header .logo img {
  width: 143px;
  height: 100px;
  object-fit: contain;
  object-position: left center;
  transition: width 0.28s ease, height 0.28s ease;
}

.header.is-scrolled .logo img {
  width: 97px;
  height: 68px;
}

.logo--footer {
  width: 132px;
}

.logo--footer img {
  width: 132px;
  height: auto;
  aspect-ratio: 268 / 188;
  object-fit: contain;
  object-position: left center;
}

.nav {
  justify-self: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__split {
  display: flex;
  align-items: center;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 16.5px;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 6px;
  width: calc(100% - 24px);
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
  pointer-events: none;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link[aria-current="page"],
.nav__link[aria-current="page"]:hover {
  color: var(--accent);
}

.nav__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 44px;
  margin-left: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.nav__chevron {
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.nav__item.is-open .nav__chevron,
.nav__item--mega:hover .nav__chevron {
  transform: rotate(180deg);
}

.btn.nav__cta {
  display: none;
}

.mega {
  display: none;
}

@media (min-width: 861px) {
  .nav__item--mega {
    position: static;
  }

  .mega {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
    padding-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: 0.18s ease;
  }

  .nav__item--mega:hover .mega,
  .nav__item--mega:focus-within .mega,
  .nav__item--mega.is-open .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav__item--mega:not(:hover):not(:focus-within):not(.is-open) .mega {
    transition-delay: 0.12s;
  }

  .mega__panel {
    width: min(calc(100% - 48px), var(--max));
    margin-inline: auto;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .mega__body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 8px;
    padding: 16px;
  }

  .mega--services .mega__body {
    grid-template-columns: 260px minmax(0, 520px);
  }

  .mega__banner {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    height: 100%;
    border-radius: 14px;
    color: #fff;
  }

  .mega__banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
  }

  .mega__banner-copy {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 6px;
    padding: 22px 18px 18px;
    background: linear-gradient(to top, rgba(8, 14, 22, 0.82), rgba(8, 14, 22, 0));
  }

  .mega__banner-copy small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
  }

  .mega__banner-copy strong {
    font-size: 20px;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .mega__banner-copy em {
    font-size: 13px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
  }

  .mega__links-wrap {
    padding: 8px 8px 4px 16px;
  }

  .mega__label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mega__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }

  .mega--services .mega__links {
    grid-template-columns: 1fr;
  }

  .mega__links a {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ink);
    transition: background 0.2s ease, color 0.2s ease;
  }

  .mega__links a:hover {
    background: var(--page);
  }

  .mega__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
  }

  .mega__links strong,
  .mega__links small {
    display: block;
  }

  .mega__links strong {
    font-size: 14.5px;
    letter-spacing: -0.02em;
  }

  .mega__links small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
  }

  .mega__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: var(--page);
    border-top: 1px solid var(--line);
  }

  .mega__foot p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
  }

  .mega__foot-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
  }

  .mega__foot-actions a:not(.btn) {
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
  }

  .mega__foot-actions a:not(.btn):hover {
    color: var(--accent);
  }

  .btn.mega__foot-cta {
    min-height: 42px;
    padding: 0 16px;
  }
}

.header__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 4px;
  color: var(--ink);
}

.header__call-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.header__call small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header__call span:last-child {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 14px;
  display: block;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 99px;
  transition: 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.header.is-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.header.is-open .nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.2s ease;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: #d7dbe2;
  color: var(--ink);
}

.btn__call {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.header__cta {
  min-height: 46px;
  padding-left: 18px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.hero__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__lead {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 36rem) 1fr;
  align-items: center;
  min-height: clamp(520px, 64vh, 680px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.hero__trust li {
  position: relative;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.hero__trust li + li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 42%;
  z-index: 0;
  pointer-events: none;
  background: #0d1b28;
}

.hero__playback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 38% 55%;
}

.hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--page) 0%,
      rgba(247, 248, 250, 0.78) 12%,
      rgba(247, 248, 250, 0.28) 28%,
      rgba(247, 248, 250, 0) 46%
    ),
    linear-gradient(
      to top,
      var(--page) 0%,
      rgba(247, 248, 250, 0.55) 10%,
      rgba(247, 248, 250, 0) 28%
    );
}

/* Stats */

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 188px;
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 22px;
}

.stats__num,
.stats__headline {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(36px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.stats__logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  margin: 0 0 18px;
}

.stats__logos img {
  width: auto;
  height: 48px;
  max-width: 48%;
  object-fit: contain;
  object-position: left center;
}

.stats__item strong {
  display: block;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stats__item > p:not(.stats__num):not(.stats__headline) {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* About */

.about {
  background: #fff;
  padding: 96px 0 112px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}

.about__copy {
  min-width: 0;
}

.about__title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.about__lead {
  max-width: 36rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.about__points {
  display: grid;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.about__points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.about__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.about__points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15.5px;
  letter-spacing: -0.02em;
}

.about__points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #111318;
  box-shadow: var(--shadow);
}

.about__media img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 55%;
}

.about__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(to top, rgba(8, 14, 22, 0.78) 0%, rgba(8, 14, 22, 0) 100%);
  color: #fff;
}

.about__caption blockquote {
  margin: 0;
  max-width: 28rem;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.about__caption p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 10px 0 0;
}

.about__caption strong {
  font-size: 13.5px;
}

.about__caption small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

/* Par mums */

.story-page {
  padding: 72px 0 80px;
}

.story__intro {
  max-width: 42rem;
  margin-bottom: 48px;
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 64px;
  align-items: center;
}

.story__copy h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.story__copy p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}

.story__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #111318;
}

.story__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 55%;
}

.story__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(8, 14, 22, 0.78), rgba(8, 14, 22, 0));
  color: #fff;
}

.story__media strong {
  font-size: 15px;
}

.story__media span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.story__years {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.story__years li {
  padding: 24px;
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 22px;
}

.story__years strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story__years h3 {
  margin: 10px 0 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.story__years p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.story-why {
  background: #fff;
  padding: 80px 0;
}

.story-why__head {
  max-width: 40rem;
  margin-bottom: 32px;
}

.story-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-why__grid article {
  padding: 26px 24px 28px;
  border: 1px solid #f0f2f5;
  border-radius: 22px;
  background: var(--page);
}

.story-why__grid strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-why__grid h3 {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.story-why__grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.story-work {
  padding: 80px 0 112px;
}

.story-work__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.story-work__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 22px;
  color: inherit;
}

.story-work__card small {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.story-work__card h3 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: color 0.2s ease;
}

.story-work__card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.story-work__card span {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.story-work__card:hover h3,
.story-work__card:hover span {
  color: var(--accent);
}

.story-work .process__cta {
  margin-top: 28px;
}

/* Sistēmas */

.systems-page {
  padding: 72px 0 112px;
}

.systems-page--alt {
  background: #fff;
}

.systems__intro {
  max-width: 44rem;
  margin-bottom: 40px;
}

.systems__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.systems__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 22px;
  color: inherit;
}

.systems-page--alt .systems__card,
.systems-page--alt .catalog__item {
  background: var(--page);
}

.systems__card small,
.catalog__item small {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.systems__card h2,
.systems__card h3,
.catalog__item h3 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.systems__card p,
.catalog__item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.systems__card span {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.systems__card:hover h2,
.systems__card:hover h3,
.systems__card:hover span,
.catalog__item:hover h3 {
  color: var(--accent);
}

.systems__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.systems__facts article,
.catalog__item {
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 22px;
}

.systems__facts strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.systems__facts h3 {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.systems__facts p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.catalog__item ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.catalog__item li {
  position: relative;
  padding: 7px 0 7px 14px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

.catalog__item li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.systems-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
}

.systems-subnav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 700;
}

.systems-page--alt .systems-subnav a {
  background: var(--page);
}

.systems-subnav a[aria-current="page"],
.systems-subnav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.systems-page .process__cta {
  margin-top: 36px;
}

/* Shared section headings */

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

.section-head__copy {
  max-width: 40rem;
}

.section-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-lead {
  max-width: 38rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

/* Services */

.services {
  padding: 96px 0 112px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 16px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card--lead {
  padding: 12px;
}

.service-card__media {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #111318;
}

.service-card__media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 12px 10px;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.service-card__kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.service-card__text {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.service-card:hover .service-card__more {
  color: var(--accent);
}

.service-card:not(.service-card--lead) .service-card__text {
  flex: 1;
}

/* Process */

.process {
  background: #fff;
  padding: 96px 0 112px;
}

.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 23px;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(231, 17, 142, 0.28));
  transform: translateY(-50%);
}

.process__rail {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  margin-bottom: 14px;
}

.process__rail::after {
  display: none;
}

.process__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.process__card {
  min-height: calc(100% - 60px);
  padding: 22px 22px 24px;
  background: var(--page);
  border-radius: 22px;
}

.process__steps h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.process__card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.process__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 16px;
  padding: 22px 24px;
  background: var(--ink);
  border-radius: 24px;
  color: #fff;
}

.process__cta strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.process__cta p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14.5px;
}

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

.process__cta .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.process__cta .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* FAQ */

.faq {
  padding: 96px 0 112px;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.faq__intro .section-lead {
  margin-top: 16px;
}

.faq__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.faq__item {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
}

.faq__item:last-child {
  border-radius: 0 0 20px 20px;
}

.faq__list {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 12px no-repeat;
  transition: transform 0.35s ease, background 0.35s ease;
}

.faq__item.is-open summary::after {
  background: linear-gradient(var(--accent), var(--accent)) center / 12px 1.6px no-repeat;
  transform: rotate(180deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__panel-inner {
  overflow: hidden;
}

.faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.faq__item.is-open p {
  opacity: 1;
  transform: none;
}

.faq__item.is-open summary {
  color: var(--ink);
}

/* News */

.news {
  background: #fff;
  padding: 96px 0 112px;
}

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

.news-card {
  min-width: 0;
  background: var(--page);
  border-radius: 24px;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  padding: 10px;
}

.news-card__media {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #111318;
}

.news-card__media img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  object-position: 30% center;
  transition: transform 0.35s ease;
}

.news-card__media--detail img {
  object-position: 70% 35%;
}

.news-card:hover .news-card__media img {
  transform: scale(1.04);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 18px 14px 14px;
}

.news-card time {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-card h3 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.news-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  font-size: 14.5px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.news-card:hover h3,
.news-card:hover .news-card__more {
  color: var(--accent);
}

.service-card__more::after,
.news-card__more::after,
.story-work__card span::after,
.systems__card span::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7h8M8 3.5 11.5 7 8 10.5' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 7h8M8 3.5 11.5 7 8 10.5' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}

.service-card:hover .service-card__more::after,
.news-card:hover .news-card__more::after,
.story-work__card:hover span::after,
.systems__card:hover span::after {
  transform: translateX(3px);
}

.news-page {
  padding: 72px 0 112px;
}

.news-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.news-page .post {
  max-width: none;
  min-width: 0;
  padding: 10px 10px 22px;
  border: 0;
  border-radius: 24px;
  background: #fff;
}

.news-page .post__thumb {
  height: 196px;
  margin-bottom: 16px;
}

.news-page .post h2 {
  padding: 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.news-page .post time,
.news-page .post p {
  padding: 0 14px;
}

.news-page .post p {
  font-size: 15px;
  line-height: 1.6;
}

.news-page .process__cta {
  max-width: none;
  margin-top: 28px;
}

.post__thumb {
  width: 100%;
  height: 280px;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: 30% center;
  border-radius: 20px;
  background: #111318;
}

.post__thumb--detail {
  object-position: 70% 35%;
}

.post time {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.post h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.post p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}

/* Contact */

.contact-page {
  padding: 72px 0 48px;
}

.contact-page__lead {
  max-width: 42rem;
  margin-bottom: 40px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.contact__form,
.contact__legal,
.contact__channels {
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 28px;
}

.contact__form {
  position: relative;
  padding: 28px;
}

.contact__form h2,
.contact__legal h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.contact__form-note,
.contact__submit p,
.contact__status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.contact__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field span {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.dropdown__btn:focus-visible {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.dropdown {
  position: relative;
}

.dropdown .dropdown__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.dropdown__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropdown.is-invalid .dropdown__btn {
  border-color: var(--accent);
}

.dropdown__value.is-placeholder {
  color: var(--muted);
}

.dropdown__btn svg {
  flex: none;
  color: var(--ink-soft);
  transition: rotate 0.2s ease;
}

.dropdown.is-open .dropdown__btn svg {
  rotate: 180deg;
}

.dropdown__menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.dropdown__menu li {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.dropdown__menu li:hover,
.dropdown__menu li.is-active {
  background: var(--accent-soft);
}

.dropdown__menu li[aria-selected="true"] {
  color: var(--accent);
}

.contact__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.contact__consent input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.contact__consent a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}

.contact__submit p {
  flex: 1;
  min-width: 16rem;
  margin: 0;
}

.contact__status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--ink);
}

.contact__channels {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
}

.contact__channels li + li {
  border-top: 1px solid var(--line);
}

.contact__channels a,
.contact__channels button,
.contact__channels li > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  border-radius: 18px;
  transition: background 0.2s ease;
}

.contact__channels a,
.contact__channels button {
  cursor: pointer;
}

.contact__channels a:hover,
.contact__channels button:hover {
  background: var(--page);
}

.contact__channels small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__channels strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}

.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact__legal {
  margin-top: 16px;
  padding: 22px 22px 8px;
}

.contact__legal dl {
  margin: 16px 0 0;
}

.contact__legal dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.contact__legal dl > div > div {
  min-width: 0;
  flex: 1;
}

.contact__copy {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--page);
  color: var(--ink-soft);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.contact__legal div:hover .contact__copy,
.contact__copy:focus-visible,
.contact__copy.is-copied {
  opacity: 1;
}

.contact__copy:hover,
.contact__copy.is-copied {
  color: var(--accent);
  background: var(--accent-soft);
}

.contact__check {
  display: none;
}

.contact__copy.is-copied .contact__clip {
  display: none;
}

.contact__copy.is-copied .contact__check {
  display: block;
}

.contact-page .btn,
.contact-map .btn {
  border: 0;
}

.contact__legal dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact__legal dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
}

.contact-map {
  padding: 48px 0 112px;
}

.contact-map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 24px;
}

.contact-map__head .section-title {
  margin: 0;
}

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

.contact-map__frame {
  position: relative;
  overflow: hidden;
  height: 460px;
  border-radius: 28px;
  background: #e8ebf0;
}

.map-zoom {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.map-zoom__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.map-zoom__btn:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.map-zoom__btn:disabled {
  color: #c5c8ce;
  background: #fff;
  cursor: default;
}

.contact-map__canvas {
  width: 100%;
  height: 100%;
}

.contact-map__canvas .maplibregl-map {
  width: 100%;
  height: 100%;
}

.contact-map__frame .maplibregl-canvas,
.contact-map__frame .maplibregl-ctrl img {
  max-width: none;
}

.map-pin-wrap {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
}

.map-pin {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 8px 16px rgba(17, 19, 24, 0.28);
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

/* Prefooter */

.prefooter {
  position: relative;
  z-index: 2;
  padding: 24px 0 0;
  margin-bottom: -88px;
}

.prefooter__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 28px;
}

.prefooter__card h2 {
  margin: 0;
  max-width: 18ch;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.prefooter__card p {
  max-width: 40rem;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.prefooter__card .btn {
  flex: none;
}

/* Footer */

.footer {
  background: #111111;
  color: rgba(255, 255, 255, 0.72);
  padding: 156px 0 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.9fr 1.1fr;
}

.footer__col {
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__col:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer__col:last-child {
  padding-right: 0;
}

.footer__brand p {
  max-width: 28ch;
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.footer__brand .footer__social {
  margin-top: 18px;
}

.footer h2 {
  margin: 8px 0 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14.5px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer__contacts {
  gap: 12px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contacts svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer__social a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.footer-dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.footer-dev-credit__label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-dev-credit img {
  width: 125px;
  height: 26px;
  object-fit: contain;
  object-position: left center;
}

.footer-dev-credit:hover {
  color: #fff;
}

.footer-dev-credit:hover .footer-dev-credit__label {
  color: #fff;
}

@media (max-width: 1100px) {
  .hero {
    padding: 36px 0 64px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__visual {
    position: relative;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 100vw;
    height: 420px;
    margin: 32px 0 0;
    margin-left: -50vw;
  }

  .hero__fade {
    background: linear-gradient(
      to top,
      var(--page) 0%,
      rgba(247, 248, 250, 0.2) 22%,
      rgba(247, 248, 250, 0) 40%
    );
  }

  .header__call span:last-child small,
  .header__hours {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .about {
    padding: 64px 0 80px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__media img {
    height: 460px;
  }

  .services,
  .process,
  .faq,
  .news {
    padding: 64px 0 80px;
  }

  .services__grid,
  .process__steps,
  .news__grid,
  .news-page__grid,
  .faq__grid,
  .story__grid,
  .story__years,
  .story-why__grid,
  .story-work__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .story__years,
  .story-why__grid,
  .story-work__grid,
  .systems__grid,
  .catalog,
  .systems__facts {
    grid-template-columns: 1fr 1fr;
  }

  .story__media img {
    height: 420px;
  }

  .process__steps::before,
  .process__rail::after {
    display: none;
  }

  .faq__grid {
    gap: 28px;
  }

  .service-card__media img {
    height: 220px;
  }

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

  .contact__grid,
  .contact-map__head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-map__frame {
    height: 380px;
  }

  .footer__col {
    padding: 0 24px 28px;
  }

  .footer__col:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .footer__col:nth-child(even) {
    padding-right: 0;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 118px;
  }

  .header__inner {
    grid-template-columns: auto 1fr;
  }

  .header__actions {
    justify-self: end;
  }

  .header__cta,
  .header__call {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    justify-self: stretch;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    padding: 8px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .header.is-open .nav {
    display: block;
  }

  .btn.nav__cta {
    display: inline-flex;
    width: 100%;
    margin-top: 12px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__split {
    justify-content: space-between;
  }

  .nav__link {
    flex: 1;
    border-radius: 12px;
  }

  .mega {
    display: none;
    margin: 0 0 10px;
    overflow: hidden;
    background: var(--page);
    border-radius: 16px;
  }

  .nav__item.is-open .mega {
    display: block;
  }

  .mega__banner {
    display: none;
  }

  .mega__label {
    margin: 12px 14px 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mega__links a {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: start;
    min-height: 52px;
    padding: 10px 14px;
    color: var(--ink);
  }

  .mega__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    color: var(--accent);
  }

  .mega__links strong,
  .mega__links small {
    display: block;
  }

  .mega__links strong {
    font-size: 14px;
  }

  .mega__links small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
  }

  .mega__foot {
    display: grid;
    gap: 10px;
    padding: 12px 14px 14px;
    border-top: 1px solid var(--line);
  }

  .mega__foot p {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
  }

  .mega__foot-actions {
    display: grid;
    gap: 8px;
  }

  .mega__foot-actions a:not(.btn) {
    font-size: 14px;
    font-weight: 600;
  }

  .btn.mega__foot-cta {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .header__address {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header__contacts li:last-child {
    display: none;
  }

  .hero {
    padding: 28px 0 56px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__visual {
    height: 280px;
    margin-top: 24px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stats,
  .story__years,
  .story-why__grid,
  .story-work__grid,
  .systems__grid,
  .catalog,
  .systems__facts {
    grid-template-columns: 1fr;
  }

  .story-page,
  .story-why,
  .story-work {
    padding-top: 48px;
  }

  .about__title {
    font-size: 32px;
  }

  .about__media {
    border-radius: 22px;
  }

  .about__media img {
    height: 360px;
  }

  .about__actions .btn,
  .section-head__actions .btn,
  .process__actions .btn,
  .faq__contact .btn {
    width: 100%;
  }

  .section-head,
  .process__cta {
    display: grid;
  }

  .section-title {
    font-size: 32px;
  }

  .prefooter {
    margin-bottom: -56px;
  }

  .prefooter__card {
    display: grid;
    padding: 28px 24px;
  }

  .prefooter__card .btn {
    width: 100%;
    justify-content: center;
  }

  .footer {
    padding-top: 104px;
  }

  .footer__top,
  .footer__bottom {
    display: grid;
    gap: 24px;
  }

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

  .contact-page {
    padding: 48px 0 24px;
  }

  .contact__fields,
  .contact__form {
    grid-template-columns: 1fr;
  }

  .field--wide {
    grid-column: auto;
  }

  .contact__form {
    padding: 20px;
  }

  .contact-map {
    padding-bottom: 72px;
  }

  .contact-map__frame {
    height: 280px;
  }

  .footer__col,
  .footer__col:nth-child(odd),
  .footer__col:nth-child(even) {
    padding: 0 0 24px;
    border-left: 0;
  }

  .footer__col + .footer__col {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
  }
}

html.js [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    scale 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js [data-reveal="left"] {
  translate: -32px 0;
}

html.js [data-reveal="right"] {
  translate: 32px 0;
}

html.js [data-reveal="fade"] {
  translate: 0 0;
}

html.js [data-reveal="media"] {
  translate: 0 0;
  scale: 1.05;
}

html.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    translate: none;
    scale: none;
  }
}
