:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #111820;
  --muted: #65717d;
  --line: #dce5e9;
  --blue: #087ca7;
  --green: #087f4f;
  --teal: #0d5f70;
  --amber: #f2ad38;
  --dark: #111820;
  --shadow: 0 24px 70px rgba(9, 28, 39, 0.14);
  --radius: 8px;
  font-family: Inter, Manrope, "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(220, 229, 233, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: clamp(288px, 30vw, 420px);
  max-width: calc(100vw - 120px);
}

.brand img {
  width: 100%;
  aspect-ratio: 400 / 139;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
  color: #1f3340;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.header-phone,
.site-footer a {
  text-decoration: none;
}

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

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-phone {
  justify-self: end;
  padding: 11px 16px;
  color: var(--surface);
  background: var(--teal);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: end;
  padding: 160px clamp(20px, 5vw, 78px) 52px;
  overflow: hidden;
  color: var(--surface);
  background: #0d141b;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 18, 24, 0.96) 0%, rgba(10, 18, 24, 0.82) 34%, rgba(10, 18, 24, 0.24) 70%, rgba(10, 18, 24, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 18, 24, 0.92) 0%, rgba(10, 18, 24, 0.08) 45%, rgba(10, 18, 24, 0.42) 100%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-width: 760px;
  min-width: 0;
}

.hero h1,
.section__head h2,
.media-band h2,
.lab-section h2,
.contacts h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 850;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.7vw, 24px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #09131a;
  background: var(--amber);
  box-shadow: 0 16px 40px rgba(242, 173, 56, 0.26);
}

.button--ghost {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero__facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 860px;
  margin-top: 64px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero__facts div {
  padding: 18px 20px;
  background: rgba(8, 22, 29, 0.4);
}

.hero__facts strong {
  display: block;
  font-size: 22px;
}

.hero__facts span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: clamp(78px, 8vw, 128px) clamp(20px, 5vw, 78px);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
  min-width: 0;
}

.media-band__content,
.lab-section__content,
.contacts__main,
.requisites {
  min-width: 0;
}

.section__head h2,
.media-band h2,
.lab-section h2,
.contacts h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 850;
}

.section__head p,
.media-band p,
.lab-section p,
.contacts__main > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card--featured {
  color: var(--surface);
  background: linear-gradient(140deg, var(--teal), var(--green));
  border-color: transparent;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--blue);
  background: #e8f3f6;
  border-radius: var(--radius);
}

.service-card--featured .service-card__icon {
  color: #082018;
  background: var(--amber);
}

.service-card svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 26px 0 10px;
  font-size: 22px;
  line-height: 1.14;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card--featured p {
  color: rgba(255, 255, 255, 0.82);
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 92px clamp(20px, 5vw, 78px);
  background: var(--surface);
}

.media-band figure,
.lab-section figure {
  margin: 0;
}

.media-band img,
.lab-section img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.media-band img {
  aspect-ratio: 4 / 3;
}

.media-band figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.media-band p,
.lab-section p {
  margin-top: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--green);
  clip-path: polygon(14% 52%, 34% 72%, 84% 18%, 100% 32%, 36% 96%, 0 62%);
}

.process {
  background: #eef4f6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  border-top: 2px solid var(--teal);
}

.timeline__item {
  position: relative;
  padding: 28px 28px 0 0;
}

.timeline__item::before {
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--amber);
  border: 3px solid #eef4f6;
  border-radius: 50%;
}

.timeline__item span {
  color: var(--teal);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
}

.timeline__item h3 {
  margin: 12px 0 8px;
  font-size: 21px;
}

.timeline__item p {
  margin: 0;
  color: var(--muted);
}

.lab-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: 110px clamp(20px, 5vw, 78px);
  color: var(--surface);
  background: var(--dark);
}

.lab-section p {
  color: rgba(255, 255, 255, 0.72);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.capability-grid div {
  min-height: 132px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-grid strong,
.capability-grid span {
  display: block;
}

.capability-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.lab-section img {
  aspect-ratio: 3 / 2;
}

.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
}

.client-strip span {
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #243846;
  font-weight: 800;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 110px clamp(20px, 5vw, 78px);
  background: var(--surface);
}

.contacts__main > p {
  max-width: 680px;
  margin-top: 20px;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-top: 34px;
}

label {
  display: grid;
  gap: 8px;
  color: #243846;
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--ink);
  background: #f9fbfc;
  font: inherit;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(8, 124, 167, 0.18);
  border-color: var(--blue);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.requisites {
  padding: 30px;
  background: #eef4f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.requisites h2 {
  font-size: 32px;
}

.requisites dl {
  display: grid;
  gap: 1px;
  margin: 24px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.requisites dl div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 14px;
  background: var(--surface);
}

.requisites dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.requisites dd {
  margin: 0;
  font-weight: 700;
}

.requisites__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.button--copy {
  color: var(--surface);
  background: var(--teal);
}

.button--download {
  color: var(--teal);
  background: var(--surface);
  border: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.78);
  background: #0b1117;
}

.site-footer img {
  width: 300px;
  max-width: 100%;
  padding: 8px;
  background: white;
  border-radius: 6px;
}

.site-footer p {
  margin: 10px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.copyright {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 680px;
  }

  .hero__facts,
  .section__head,
  .media-band,
  .lab-section,
  .contacts {
    grid-template-columns: 1fr;
  }

  .service-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand {
    width: 272px;
    max-width: calc(100vw - 86px);
  }

  .hero {
    min-height: 690px;
    padding: 124px 18px 34px;
  }

  .hero__content,
  .hero__actions,
  .hero__facts {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 33px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero p {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .nav-toggle {
    position: fixed;
    top: 13px;
    right: 16px;
    z-index: 30;
  }

  .hero__media::before {
    background:
      linear-gradient(90deg, rgba(10, 18, 24, 0.96), rgba(10, 18, 24, 0.72)),
      linear-gradient(0deg, rgba(10, 18, 24, 0.92), rgba(10, 18, 24, 0.18));
  }

  .hero__facts,
  .service-layout,
  .timeline,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .media-band,
  .lab-section,
  .contacts {
    padding: 70px 18px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .requisites {
    padding: 22px;
  }

  .requisites dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .button {
    width: 100%;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
