:root {
  color-scheme: dark;
  --ink: #07131c;
  --ink-soft: #0c1d28;
  --steel: #20323e;
  --line: rgba(226, 236, 240, 0.18);
  --paper: #f2f5f4;
  --muted: #aebbc2;
  --cyan: #47d4e8;
  --cyan-soft: #92eef7;
  --orange: #ff8a3d;
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 19, 28, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(146, 238, 247, 0.75);
  color: var(--cyan-soft);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: -0.06em;
  transform: rotate(45deg);
}

.brand-mark::first-line {
  transform: rotate(-45deg);
}

.brand-mark {
  text-indent: -0.06em;
}

.brand-mark::before {
  content: "SC";
  transform: rotate(-45deg);
}

.brand-mark {
  font-size: 0;
}

.brand-mark::before {
  font-size: 12px;
}

.brand-name {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #d9e2e6;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan-soft);
}

.main-nav .nav-contact {
  padding: 10px 18px;
  border: 1px solid rgba(146, 238, 247, 0.5);
  color: var(--cyan-soft);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: max(820px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 17, 25, 0.98) 0%, rgba(5, 17, 25, 0.9) 40%, rgba(5, 17, 25, 0.3) 75%, rgba(5, 17, 25, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 17, 25, 0.68) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: calc(var(--header-height) + 3rem) 4rem;
}

.eyebrow,
.section-index {
  margin: 0 0 22px;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--cyan);
}

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

h1 {
  max-width: 960px;
  margin-bottom: 28px;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 710px;
  margin-bottom: 38px;
  color: #d7e1e5;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--cyan);
  color: #041117;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--cyan-soft);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(7, 19, 28, 0.34);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--paper);
  background: rgba(7, 19, 28, 0.62);
}

.section {
  padding: 126px 0;
}

.intro {
  background: var(--paper);
  color: var(--ink);
}

.intro-grid,
.benefits-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 84px;
}

.intro .section-index {
  color: #147d8b;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.intro-copy {
  padding-top: 38px;
  color: #3e505a;
  font-size: 1.04rem;
}

.intro-copy .lead-copy {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 96px;
  border-top: 1px solid #c8d2d5;
}

.process-step {
  padding: 34px 32px 0 0;
}

.process-step + .process-step {
  padding-left: 32px;
  border-left: 1px solid #c8d2d5;
}

.step-number,
.timeline-number {
  color: #19899a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.process-step h3,
.service-card h3,
.benefit-list h3,
.timeline h3 {
  margin: 24px 0 10px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.process-step p {
  color: #53656e;
  font-size: 0.97rem;
}

.services {
  background: var(--ink-soft);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 66px;
}

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

.service-card {
  min-height: 420px;
  padding: 44px 34px;
}

.service-card + .service-card {
  border-left: 1px solid var(--line);
}

.service-card-featured {
  background: var(--cyan);
  color: #06151d;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.service-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-top: 96px;
  font-size: 1.55rem;
}

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

.service-card-featured p {
  color: #17343d;
}

.benefits {
  background: #0a1720;
}

.benefits-heading {
  position: sticky;
  top: calc(var(--header-height) + 42px);
  align-self: start;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.benefit-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.benefit-list > article > span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.benefit-list h3 {
  margin-top: 0;
}

.benefit-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.approach {
  background: var(--paper);
  color: var(--ink);
}

.approach .section-index {
  color: #147d8b;
}

.approach-heading {
  max-width: 820px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c8d2d5;
}

.timeline li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid #c8d2d5;
}

.timeline h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.timeline p {
  max-width: 720px;
  margin-bottom: 0;
  color: #52636c;
}

.contact {
  padding: 118px 0;
  background: var(--cyan);
  color: #06151d;
}

.contact .section-index {
  color: #0c5f6d;
}

.contact-action {
  align-self: end;
}

.contact-action p {
  max-width: 580px;
  font-size: 1.1rem;
}

.contact-action a {
  display: block;
  width: fit-content;
  margin: 30px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.contact-action span {
  font-size: 14px;
  font-weight: 650;
}

.site-footer {
  padding: 76px 0 24px;
  background: #050d12;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}

.footer-company p {
  max-width: 400px;
  margin: 28px 0 0;
  color: var(--muted);
}

.brand-footer .brand-mark {
  width: 50px;
  height: 50px;
}

.support {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  justify-self: end;
  max-width: 570px;
}

.support img {
  width: 220px;
  height: auto;
  padding: 14px;
  background: #fff;
}

.support p {
  margin-bottom: 0;
  color: #c4d0d5;
  font-size: 0.93rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #8fa0a8;
  font-size: 12px;
}

.footer-bottom p {
  margin-bottom: 0;
}

.requisites {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: inherit;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    height: 1px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 100px 28px 40px;
    background: rgba(5, 15, 22, 0.98);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a,
  .main-nav .nav-contact {
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }

  .hero {
    min-height: max(720px, 100svh);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 17, 25, 0.95), rgba(5, 17, 25, 0.5)),
      linear-gradient(0deg, rgba(5, 17, 25, 0.72), transparent 50%);
  }

  .intro-grid,
  .benefits-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-copy {
    padding-top: 0;
  }

  .process,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step + .process-step {
    padding: 30px 0;
    border-left: 0;
    border-bottom: 1px solid #c8d2d5;
  }

  .service-card {
    min-height: 340px;
  }

  .service-card + .service-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-card h3 {
    margin-top: 60px;
  }

  .benefits-heading {
    position: static;
  }

  .support {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .brand-name {
    letter-spacing: 0.11em;
  }

  .hero {
    min-height: max(700px, 100svh);
  }

  .hero-image {
    object-position: 62% center;
  }

  h1 {
    font-size: clamp(1.625rem, 7.6vw, 2.75rem);
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 86px 0;
  }

  .process {
    margin-top: 62px;
  }

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

  .service-card h3 {
    margin-top: 46px;
  }

  .benefit-list article {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .timeline li {
    grid-template-columns: 48px 1fr;
    gap: 10px;
  }

  .contact {
    padding: 86px 0;
  }

  .contact-action a {
    font-size: 1.35rem;
  }

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

  .support img {
    width: 200px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .requisites {
    gap: 8px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
