:root {
  --ink: #0c1b2a;
  --muted: #5f6f7f;
  --blue: #005ea8;
  --blue-strong: #003f75;
  --blue-soft: #e7f2fb;
  --accent: #f28c28;
  --accent-dark: #b75f10;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --line: #d8e2eb;
  --steel: #2c3946;
  --shadow: 0 24px 60px rgba(8, 24, 40, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  transition: top 0.2s ease;
}

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

.topline {
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
}

.topline__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.topline a {
  color: #fff;
  font-weight: 700;
}

.topline__note {
  color: rgba(255, 255, 255, 0.72);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 226, 235, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(242, 140, 40, 0.94), rgba(242, 140, 40, 0.68)),
    linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 14px 28px rgba(0, 94, 168, 0.22);
}

.brand__name {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand__sub {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--steel);
  font-size: 0.95rem;
  font-weight: 750;
}

.nav__links a {
  position: relative;
  padding-block: 26px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.lang-switch a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 26px;
  border-radius: 999px;
  opacity: 0.58;
}

.lang-switch a[aria-current="true"] {
  background: var(--blue-soft);
  opacity: 1;
}

.lang-switch img {
  width: 24px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(242, 140, 40, 0.24);
}

.button--primary:hover {
  background: var(--accent-dark);
}

.button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button--dark {
  color: #fff;
  background: var(--blue);
}

.button--ghost {
  color: var(--blue);
  border-color: var(--line);
  background: #fff;
}

.hero {
  min-height: min(720px, calc(100svh - 118px));
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 20, 34, 0.91) 0%, rgba(5, 20, 34, 0.78) 42%, rgba(0, 94, 168, 0.44) 100%),
    url("img/hero-service.png") center / cover no-repeat;
}

.hero::after,
.subhero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  z-index: -1;
}

.hero__content {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding-block: 78px 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.subhero h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero__lead,
.subhero__lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.55;
}

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

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.hero__proof div {
  min-height: 100px;
  padding: 18px;
  background: rgba(5, 20, 34, 0.36);
}

.hero__proof strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.15rem;
}

.hero__proof span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.section {
  padding-block: 88px;
}

.section--soft {
  background: var(--surface-soft);
}

.section--dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 27, 42, 0.95), rgba(0, 94, 168, 0.88)),
    url("img/control-panel.png") center / cover no-repeat;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 38px;
}

.section__head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.section__head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section--dark .section__head p,
.section--dark .muted {
  color: rgba(255, 255, 255, 0.76);
}

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

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

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

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

.service-card,
.proof-card,
.contact-card,
.gallery-card,
.step,
.spec-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.service-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card__image {
  aspect-ratio: 16 / 10;
  background: var(--blue-soft);
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.service-card h3,
.proof-card h3,
.step h3,
.contact-card h3,
.spec-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-card p,
.proof-card p,
.step p,
.contact-card p,
.spec-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card__link {
  margin-top: 22px;
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.split__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
}

.split__image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

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

.list-check li {
  position: relative;
  padding-left: 30px;
  color: var(--steel);
  font-weight: 700;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #fff;
  border: 1px solid var(--accent);
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding: 28px;
  min-height: 100%;
}

.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.gallery-card {
  background: #fff;
}

.gallery-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue-soft);
}

.gallery-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card__body {
  padding: 18px;
}

.gallery-card__body h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.25;
}

.gallery-card__body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 34px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 63, 117, 0.96), rgba(0, 94, 168, 0.92)),
    url("img/service-van.png") center / cover no-repeat;
  overflow: hidden;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-band__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.subhero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 20, 34, 0.9), rgba(0, 63, 117, 0.76)),
    var(--subhero-image, url("img/hero-service.png")) center / cover no-repeat;
}

.subhero__content {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding-block: 70px 62px;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: #fff;
}

.content-flow {
  display: grid;
  gap: 56px;
}

.spec-card {
  padding: 28px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--steel);
}

.spec-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  padding: 24px;
}

.proof-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
}

.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

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

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

.field label {
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--surface-soft);
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 94, 168, 0.12);
  background: #fff;
}

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

.form-status {
  min-height: 22px;
  color: var(--blue);
  font-weight: 850;
}

.map-link {
  display: block;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  padding-block: 52px 28px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(160px, 0.45fr));
  gap: 34px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .topline__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 10px;
    gap: 8px;
  }

  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 110px 14px auto;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu-open .nav__links {
    display: flex;
  }

  .nav__links a {
    padding: 14px 12px;
  }

  .nav__links a::after {
    bottom: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero__proof,
  .grid--4,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section__head,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container,
  .hero__content,
  .subhero__content {
    width: min(100% - 28px, var(--container));
  }

  .topline__links {
    gap: 10px;
  }

  .brand__sub {
    display: none;
  }

  .nav__actions {
    gap: 6px;
  }

  .lang-switch {
    padding: 4px;
  }

  .hero__content {
    padding-block: 54px 46px;
  }

  .hero h1,
  .subhero h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .hero__proof,
  .grid--4,
  .grid--3,
  .grid--2,
  .proof-grid,
  .form-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 64px;
  }

  .section__head {
    margin-bottom: 28px;
  }

  .split__image img {
    min-height: 250px;
  }

  .cta-band {
    padding: 26px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
