:root {
  --blue: #0a5fad;
  --blue-bright: #1a7fd4;
  --blue-dark: #074a8a;
  --ink: #0e1a28;
  --muted: #5f7084;
  --line: #d7e0ea;
  --soft: #f3f6f9;
  --paper: #ffffff;
  --steel: #121f2e;
  --steel-mid: #1a2b3d;
  --wrap: 1200px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --shadow: 0 18px 40px rgba(14, 26, 40, 0.08);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(26, 127, 212, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 28%, #ffffff 100%);
  min-height: 100vh;
}

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

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

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

/* Top line & header */
.topline {
  border-bottom: 1px solid #e8eef4;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.topline__inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.topline a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.topline a:hover {
  color: var(--blue);
}

.topline i {
  font-size: 16px;
  color: var(--blue);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e4ecf3;
  backdrop-filter: blur(12px);
}

.header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.brand img {
  width: 210px;
  height: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 10px 11px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #243447;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  background: rgba(10, 95, 173, 0.07);
}

.menu-btn {
  display: none;
  margin-left: auto;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: 700 13px var(--font);
  padding: 9px 12px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius);
}

.menu-btn__icon {
  width: 18px;
  height: 12px;
  display: block;
  background:
    linear-gradient(var(--blue), var(--blue)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 100% / 100% 2px no-repeat;
}

.menu-btn[aria-expanded="true"] .menu-btn__icon {
  background:
    linear-gradient(var(--blue), var(--blue)) 0 50% / 100% 2px no-repeat;
}

.about h1,
.content-title,
.page-hero h1 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Crumbs */
.crumbs {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue) 55%, var(--blue-bright));
  color: #fff;
}

.crumbs .container {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.crumbs a {
  opacity: 0.88;
}

.crumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

.crumbs i {
  font-size: 15px;
}

.crumbs__sep {
  opacity: 0.55;
}

/* Page hero */
.page-hero {
  --hero-image: none;
  min-height: clamp(220px, 32vw, 320px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(8, 20, 38, 0.88) 12%, rgba(8, 20, 38, 0.35) 70%),
    var(--hero-image) center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
}

.page-hero__inner {
  padding: 0 0 42px;
  position: relative;
  z-index: 1;
}

.page-hero__brand {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fd0ff;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Home gallery */
.intro {
  padding: 48px 0 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.95fr;
  height: 290px;
  overflow: hidden;
  background: var(--steel);
  box-shadow: var(--shadow);
}

.gallery a {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.gallery a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  transform: translateX(-130%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(140deg, rgba(2, 18, 38, 0.45), transparent 55%);
  transition: opacity 0.35s ease, background 0.35s ease;
}

.gallery a:hover::before {
  transform: translateX(130%);
}

.gallery a:hover::after {
  opacity: 0.35;
  background: linear-gradient(140deg, rgba(10, 95, 173, 0.35), transparent 60%);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.gallery a:hover img {
  transform: scale(1.1);
  filter: saturate(1.05) contrast(1.08);
}

/* About */
.about {
  padding: 68px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr);
  gap: 72px;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
}

h1,
.content-title {
  font-family: var(--display);
  font-weight: 600;
}

.about h1,
.content-title {
  margin: 0 0 26px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about__copy p {
  margin: 0 0 16px;
  color: #344557;
}

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

.about__side {
  align-self: start;
  margin-top: 8px;
  border-left: 3px solid var(--blue);
  padding: 10px 0 10px 24px;
  color: #4d5f73;
  font-size: 14px;
  line-height: 1.7;
  background: linear-gradient(90deg, rgba(10, 95, 173, 0.05), transparent);
}

.about__side b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 6px;
}

/* Stats */
.stats {
  background:
    linear-gradient(135deg, rgba(10, 95, 173, 0.18), transparent 40%),
    linear-gradient(160deg, var(--steel), var(--steel-mid));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
  pointer-events: none;
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 52px 0;
}

.stat {
  padding: 8px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
}

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

.stat__icon {
  display: flex;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
}

.stat__icon svg {
  width: 100%;
  height: 100%;
}

.stat__value {
  display: block;
  color: #6cbcff;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-transform: lowercase;
}

.stat__sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

/* Clients */
.clients {
  padding: 68px 0 76px;
}

.section-title {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #26364a;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.client {
  position: relative;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: default;
  isolation: isolate;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease,
    opacity 0.35s ease,
    z-index 0s;
}

.client::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(10, 95, 173, 0.08) 48%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(10, 95, 173, 0.08) 52%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

.client::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.client img {
  position: relative;
  z-index: 2;
  max-height: 58px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(0.95);
  opacity: 0.72;
  transform: scale(0.96);
  transition:
    filter 0.4s ease,
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients__grid:hover .client {
  opacity: 0.45;
  filter: saturate(0.4);
}

.clients__grid:hover .client:hover {
  opacity: 1;
  filter: none;
  z-index: 2;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(10, 95, 173, 0.18),
    0 18px 36px rgba(14, 26, 40, 0.1);
  transform: translateY(-4px) scale(1.02);
}

.client:hover::before {
  transform: translateX(120%);
}

.client:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.client:hover img {
  filter: grayscale(0) contrast(1.02);
  opacity: 1;
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .client,
  .client img,
  .client::before,
  .client::after {
    transition: none;
  }

  .client::before,
  .client::after {
    display: none;
  }

  .clients__grid:hover .client,
  .clients__grid:hover .client:hover {
    opacity: 1;
    filter: none;
    transform: none;
    box-shadow: none;
  }

  .client:hover {
    background: var(--soft);
  }

  .client:hover img {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

/* Inner content */
.content {
  padding: 64px 0 80px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}

.visuals {
  display: grid;
  gap: 22px;
}

.visual {
  position: relative;
  border: 1px solid var(--line);
  background: var(--soft);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.visual::before {
  content: "+";
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(10, 95, 173, 0.88);
  font-size: 22px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(-4px) scale(0.9);
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(10, 95, 173, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.visual:hover {
  border-color: rgba(10, 95, 173, 0.35);
  box-shadow: 0 22px 40px rgba(14, 26, 40, 0.14);
  transform: translateY(-3px);
}

.visual:hover::before {
  opacity: 1;
  transform: none;
}

.visual:hover::after {
  opacity: 1;
}

.visual img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.visual:hover img {
  transform: scale(1.08);
}

.copy {
  color: #3b4b5e;
}

.copy p {
  margin: 0 0 20px;
}

.work-list,
.note {
  margin-top: 32px;
  padding: 24px 26px;
  border-left: 3px solid var(--blue);
  background: var(--soft);
}

.work-list h2 {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.work-list ul {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 18px;
}

.work-list li {
  break-inside: avoid;
  margin: 6px 0;
}

.note {
  color: #4a5a6e;
  font-size: 14px;
}

/* Technology */
.lead {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 650;
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 22px;
  margin: 0 0 30px;
  max-width: 980px;
}

.prose {
  color: #3c4b5e;
  max-width: 1040px;
}

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

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

.section-heading {
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.beam {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 48px;
}

.beam__image {
  position: relative;
  padding: 24px;
  background: var(--soft);
  border: 1px solid #e5ecf3;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.beam__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.beam__image:hover {
  border-color: rgba(10, 95, 173, 0.28);
  box-shadow: 0 16px 34px rgba(14, 26, 40, 0.1);
  transform: translateY(-3px);
}

.beam__image:hover::after {
  transform: translateX(120%);
}

.beam__image img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.beam__image:hover img {
  transform: scale(1.05);
}

.beam__text {
  border-left: 3px solid var(--blue);
  padding-left: 22px;
  color: #3c4b5e;
}

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

.advantages {
  margin: 16px 0 0;
  padding-left: 18px;
}

.advantages li {
  margin: 7px 0;
}

.equipment {
  border-top: 1px solid var(--line);
}

.equipment details {
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.3s ease;
}

.equipment details[open] {
  background: linear-gradient(180deg, rgba(10, 95, 173, 0.04), transparent 120px);
}

.equipment summary {
  list-style: none;
  cursor: pointer;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 8px 14px 0;
  position: relative;
  transition: color 0.25s ease, padding-left 0.3s ease;
}

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

.equipment summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.equipment summary:hover {
  color: var(--blue);
  padding-left: 14px;
}

.equipment summary:hover::before,
.equipment details[open] summary::before {
  transform: scaleY(1);
}

.equipment details[open] summary {
  color: var(--blue);
  padding-left: 14px;
}

.equipment summary::after {
  content: "";
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat,
    #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background-color 0.25s ease;
}

.equipment details[open] summary::after {
  transform: rotate(45deg);
  border-color: rgba(10, 95, 173, 0.35);
  background-color: rgba(10, 95, 173, 0.08);
}

.equipment__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.equipment details.is-open .equipment__panel {
  grid-template-rows: 1fr;
}

.equipment__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.equipment__body {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 36px;
  padding: 8px 0 38px;
  color: #3c4b5e;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease 0.05s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.equipment details.is-open .equipment__body {
  opacity: 1;
  transform: none;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid #e5ecf3;
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 1;
}

.media-frame:hover {
  border-color: rgba(10, 95, 173, 0.3);
  box-shadow: 0 16px 34px rgba(14, 26, 40, 0.1);
  transform: translateY(-3px);
}

.media-frame:hover::after {
  transform: translateX(130%);
}

.media-frame img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-frame:hover img {
  transform: scale(1.06);
}

.equipment__body > .media-frame {
  align-self: start;
}

.equipment__body p {
  margin-top: 0;
}

.equipment__body ul,
.equipment__body ol {
  padding-left: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .gallery a::before,
  .gallery a img,
  .gallery a::after,
  .visual,
  .visual img,
  .visual::before,
  .visual::after,
  .beam__image,
  .beam__image img,
  .beam__image::after,
  .media-frame,
  .media-frame img,
  .media-frame::after,
  .equipment__panel,
  .equipment__body,
  .equipment summary,
  .equipment summary::after,
  .equipment summary::before,
  .slide,
  .slide img {
    transition: none !important;
    animation: none !important;
  }

  .gallery a:hover img,
  .visual:hover img,
  .beam__image:hover img,
  .media-frame:hover img,
  .slide.is-active img {
    transform: none;
  }
}

.surface-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.surface-stages .media-frame {
  width: calc(25% - 8px);
}

.surface-stages .media-frame img {
  height: 104px;
  max-height: none;
  object-fit: cover;
}

/* Warehouse slider */
.slider {
  position: relative;
  overflow: hidden;
  background: var(--steel);
  border: 1px solid var(--line);
  height: min(48vw, 500px);
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.04);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s linear;
}

.slide.is-active img {
  transform: scale(1.06);
}

.slider__button {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(9, 26, 44, 0.55);
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.slider__button:hover {
  background: var(--blue);
}

.slider__button.prev {
  left: 16px;
}

.slider__button.next {
  right: 16px;
}

.dots {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dots button {
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.dots button.is-active {
  background: #fff;
}

.article {
  max-width: 1040px;
  color: #3c4b5e;
}

.article h2 {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 44px 0 16px;
  font-weight: 600;
}

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

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

.slider + .lead {
  margin: 48px 0 42px;
}

/* Projects timeline */
.intro.container,
section.intro {
  max-width: none;
}

.container.intro {
  max-width: min(calc(100% - 48px), var(--wrap));
  padding: 52px 0 8px;
  color: #3c4b5e;
}

.container.intro p {
  margin: 0 0 15px;
  max-width: 980px;
}

.timeline {
  position: relative;
  padding: 42px 0 80px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(10, 95, 173, 0.2));
  transform: translateX(-50%);
}

.project {
  position: relative;
  width: 50%;
  padding-bottom: 38px;
  min-height: 100px;
}

.project.left {
  padding-right: 58px;
  text-align: right;
}

.project.right {
  margin-left: 50%;
  padding-left: 58px;
}

.project__dot {
  position: absolute;
  top: 30px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  background: #fff;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(10, 95, 173, 0.12);
}

.left .project__dot {
  right: -7px;
}

.right .project__dot {
  left: -7px;
}

.project__date {
  position: absolute;
  top: 20px;
  width: 150px;
  color: #6a7a8d;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
}

.left .project__date {
  right: 24px;
  text-align: right;
  transform: translateX(-100%);
}

.right .project__date {
  left: 24px;
  transform: translateX(100%);
}

.project__card {
  display: inline-block;
  max-width: 420px;
  text-align: left;
  vertical-align: top;
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.project__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(14, 26, 40, 0.12);
}

.project__card h2 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.project__details {
  color: #556576;
  font-size: 14px;
}

.project__details ul {
  margin: 0;
  padding-left: 18px;
}

.project__details li {
  margin: 4px 0;
}

.project__card .media-frame,
.project__card > img {
  margin-top: 14px;
}

.project__card .media-frame img,
.project__card > img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

/* Contacts */
.map {
  padding: 48px 0 0;
}

.map__frame {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
  background: #e7edf3;
  box-shadow: var(--shadow);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr);
  gap: 64px;
  padding: 44px 0 78px;
}

.contacts h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 600;
}

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

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

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

label {
  font-size: 13px;
  font-weight: 750;
  color: #425168;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8d4e0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: 0;
  transition: border-color 0.18s, box-shadow 0.18s;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 95, 173, 0.12);
}

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

.submit {
  margin-top: 20px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  padding: 13px 24px;
  font: 700 14px var(--font);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 95, 173, 0.28);
}

.status {
  display: none;
  margin: 14px 0 0;
  padding: 11px 14px;
  background: #e8f3fe;
  color: #07529e;
  font-size: 14px;
}

.status.is-ok {
  display: block;
  background: #e8f7ee;
  color: #1a6b3c;
}

.status.is-error {
  display: block;
  background: #fdeeee;
  color: #9b1c1c;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 8px;
  font-size: 13px;
  color: #4b5c71;
  line-height: 1.45;
  max-width: 560px;
  cursor: pointer;
}

.consent input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--blue);
}

.consent a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.info {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}

.info-block {
  padding: 0 0 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.info-block:last-child {
  border: 0;
}

.info-block strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 7px;
}

.info-block p {
  margin: 0;
  color: #4b5c71;
}

.info-block a {
  color: var(--ink);
  font-weight: 700;
}

/* Footer */
.footer {
  background: var(--steel);
  color: #9aabbc;
}

.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 12px;
  font-weight: 600;
}

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

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

.footer__nav a {
  color: #c5d4e2;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(197, 212, 226, 0.35);
}

.footer a {
  color: #fff;
}

.footer a:hover {
  color: #8ec7ff;
}

.form-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.5;
}

.form-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note a:hover {
  text-decoration: underline;
}

.requisites {
  padding: 0 0 78px;
}

.requisites h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.requisites__grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.requisites__grid > div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.requisites__grid dt {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.requisites__grid dd {
  margin: 0;
  color: #3c4b5e;
  font-size: 14px;
  line-height: 1.45;
}

.requisites__grid a {
  color: var(--ink);
  font-weight: 700;
}

.footer__meta {
  color: #7f91a3;
}

.legal {
  max-width: 920px;
}

.legal__meta {
  margin: -12px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal__toc {
  margin: 0 0 36px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.legal__toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal__toc ol {
  margin: 0;
  padding-left: 20px;
  color: #3c4b5e;
}

.legal__toc li {
  margin: 6px 0;
}

.legal__toc a {
  color: var(--blue);
  font-weight: 650;
}

.legal__toc a:hover {
  text-decoration: underline;
}

.legal__body {
  color: #3c4b5e;
}

.legal__body h2 {
  margin: 36px 0 14px;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: 100px;
}

.legal__body p,
.legal__body ul {
  margin: 0 0 14px;
}

.legal__body ul {
  padding-left: 20px;
}

.legal__body li {
  margin: 5px 0;
}

.legal__body a {
  color: var(--blue);
  font-weight: 650;
}

.legal__body a:hover {
  text-decoration: underline;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s;
  font-size: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 27, 0.92);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  right: 22px;
  top: 14px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .page-hero__inner,
  .about__copy,
  .stats__grid,
  .project__card {
    animation: rise 0.7s ease both;
  }

  .about__copy {
    animation-delay: 0.05s;
  }

  .stats__grid {
    animation-delay: 0.1s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav a {
    padding: 9px 8px;
    font-size: 12px;
  }

  .brand img {
    width: 180px;
  }
}

@media (max-width: 980px) {
  .about,
  .layout,
  .beam,
  .contacts {
    gap: 36px;
  }

  .gallery {
    grid-template-columns: 1.25fr 1fr;
    height: 230px;
  }

  .gallery a:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    box-shadow: 0 16px 28px rgba(16, 28, 42, 0.1);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    font-size: 14px;
    padding: 12px 4px;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .container,
  .container.intro {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .topline__inner {
    justify-content: center;
  }

  .header__inner {
    min-height: 70px;
  }

  .brand img {
    width: min(156px, 52vw);
  }

  .menu-btn__label {
    display: none;
  }

  .menu-btn {
    padding: 10px;
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
  }

  .intro {
    padding-top: 28px;
  }

  .about h1 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .about {
    padding: 44px 0 48px;
    display: block;
  }

  .about__side {
    margin-top: 28px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 0;
  }

  .stat {
    padding: 22px 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .stat:nth-child(-n + 2) {
    border-top: 0;
  }

  .stat:first-child,
  .stat:nth-child(3) {
    padding-left: 0;
  }

  .stat__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .stat__label {
    font-size: 15px;
  }

  .clients {
    padding: 46px 0;
  }

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

  .client {
    height: 96px;
  }

  .page-hero {
    min-height: 200px;
  }

  .page-hero__inner {
    padding-bottom: 28px;
  }

  .content {
    padding: 42px 0 54px;
  }

  .layout,
  .beam,
  .equipment__body {
    display: block;
  }

  .visuals {
    margin-bottom: 28px;
  }

  .visual img {
    height: auto;
  }

  .work-list ul {
    columns: 1;
  }

  .beam__image {
    margin-bottom: 24px;
  }

  .equipment summary {
    min-height: 64px;
    font-size: 13px;
  }

  .equipment__body {
    display: block;
  }

  .equipment__body .media-frame {
    margin-bottom: 20px;
  }

  .surface-stages .media-frame {
    width: calc(50% - 5px);
  }

  .surface-stages .media-frame img {
    height: 96px;
  }

  .slider {
    height: 240px;
  }

  .slider + .lead,
  .lead {
    margin: 32px 0;
    font-size: 17px;
    padding-left: 16px;
  }

  .timeline {
    padding: 32px 0 52px;
    margin-left: 6px;
  }

  .timeline::before {
    left: 7px;
  }

  .project,
  .project.right {
    width: 100%;
    margin: 0;
    padding: 0 0 26px 34px;
    text-align: left;
  }

  .project__dot,
  .left .project__dot,
  .right .project__dot {
    left: 0;
    right: auto;
    top: 24px;
  }

  .project__date,
  .left .project__date,
  .right .project__date {
    position: static;
    width: auto;
    transform: none;
    text-align: left;
    margin-bottom: 8px;
  }

  .project__card {
    display: block;
    max-width: none;
  }

  .contacts {
    display: block;
    padding: 36px 0 52px;
  }

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

  .info {
    padding: 30px 0 0;
    margin-top: 32px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .map__frame {
    height: 280px;
  }

  .footer__grid {
    padding: 22px 0;
    display: grid;
    gap: 16px;
  }

  .footer__copy,
  .footer__nav {
    display: grid;
    gap: 8px;
    justify-content: start;
  }

  .requisites {
    padding-bottom: 54px;
  }

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