:root {
  --navy: #071b34;
  --blue-900: #0a2e68;
  --blue-800: #0a3d91;
  --blue-700: #0c55bd;
  --blue-100: #d9edff;
  --blue-050: #eef7ff;
  --steel: #5f7188;
  --line: #d7e4f2;
  --white: #ffffff;
  --ink: #10233d;
  --muted: #667892;
  --shadow: 0 20px 55px rgba(7, 27, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f6f9fc;
  line-height: 1.55;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topline {
  background: var(--navy);
  color: #c6d9ef;
  font-size: 14px;
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #263c59;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue-700);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.button:hover {
  background: var(--blue-800);
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(7, 27, 52, 0.95), rgba(10, 46, 104, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(80, 169, 255, 0.35), transparent 30%),
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 237, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 237, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr) 460px;
  align-items: center;
  gap: 58px;
  padding: 76px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #a9d4ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #49a7ff;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #dbeafb;
  font-size: 20px;
}

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

.hero__panel {
  border: 1px solid rgba(217, 237, 255, 0.2);
  border-radius: 8px;
  background: rgba(7, 27, 52, 0.62);
  box-shadow: var(--shadow);
}

.scheme {
  position: relative;
  min-height: 390px;
  padding: 32px;
}

.scheme__mast {
  position: absolute;
  left: 50%;
  top: 54px;
  width: 4px;
  height: 210px;
  background: #d9edff;
  transform: translateX(-50%);
}

.scheme__rod {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 22px;
  height: 34px;
  border: 2px solid #d9edff;
  border-bottom: 0;
  transform: translateX(-50%);
}

.scheme__flash {
  position: absolute;
  left: 41%;
  top: 58px;
  width: 72px;
  height: 140px;
  background: linear-gradient(180deg, #9fd4ff, #1d8cff);
  clip-path: polygon(55% 0, 22% 47%, 52% 47%, 35% 100%, 83% 37%, 51% 37%);
  opacity: 0.9;
}

.scheme__roof {
  position: absolute;
  left: 58px;
  right: 58px;
  bottom: 98px;
  height: 72px;
  border: 2px solid rgba(217, 237, 255, 0.72);
  border-bottom: 0;
  transform: skewX(-18deg);
}

.scheme__base {
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 52px;
  height: 48px;
  border: 2px solid rgba(217, 237, 255, 0.72);
  background: rgba(217, 237, 255, 0.08);
}

.scheme__ground {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 34px;
  height: 2px;
  background: #7fbfff;
}

.scheme__wire {
  position: absolute;
  left: 50%;
  bottom: 52px;
  width: 130px;
  height: 98px;
  border-right: 3px solid #7fbfff;
  border-bottom: 3px solid #7fbfff;
}

.scheme__label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 150px;
  color: #b9daf8;
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.section--white {
  background: var(--white);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section__head h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.section__head p {
  max-width: 410px;
  margin-bottom: 0;
  color: var(--muted);
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 45, 82, 0.06);
}

.object-card {
  padding: 28px;
}

.object-card__icon,
.service-card__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--blue-050);
  color: var(--blue-800);
}

.object-card h3,
.service-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

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

.service-card {
  padding: 30px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue-800);
  color: var(--white);
  font-weight: 800;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

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

.cta {
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-900), var(--blue-700));
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px 0;
}

.cta h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta p {
  max-width: 650px;
  margin-bottom: 0;
  color: #d7eaff;
}

.page-title {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 27, 52, 0.96), rgba(10, 61, 145, 0.82)),
    var(--navy);
}

.page-title__inner {
  padding: 72px 0 68px;
}

.page-title h1 {
  margin-bottom: 14px;
}

.page-title p {
  max-width: 720px;
  margin-bottom: 0;
  color: #dbeafb;
  font-size: 19px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
}

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

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-item__icon {
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue-050);
  color: var(--blue-800);
}

.contact-item h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  color: #263c59;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #c8d8e8;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}

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

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(12, 85, 189, 0.16);
  border-color: var(--blue-700);
}

.map {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 61, 145, 0.08), rgba(217, 237, 255, 0.65)),
    repeating-linear-gradient(0deg, transparent 0, transparent 34px, rgba(10, 61, 145, 0.08) 35px),
    repeating-linear-gradient(90deg, transparent 0, transparent 34px, rgba(10, 61, 145, 0.08) 35px);
  position: relative;
  overflow: hidden;
}

.map::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 8px solid var(--blue-800);
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 12px rgba(10, 61, 145, 0.16);
}

.map__label {
  position: absolute;
  left: 24px;
  bottom: 22px;
  max-width: 280px;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(7, 27, 52, 0.12);
  font-weight: 700;
}

.footer {
  color: #c7d8eb;
  background: var(--navy);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.footer img {
  width: 168px;
  filter: brightness(0) invert(1);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer small {
  display: block;
  margin-top: 12px;
  color: #8da4bf;
}

@media (max-width: 900px) {
  .topline__inner,
  .header__inner,
  .section__head,
  .cta__inner,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header__inner {
    min-height: auto;
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__inner,
  .contact-layout,
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
    padding: 56px 0 42px;
  }

  .hero__panel {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topline__links,
  .hero__actions,
  .footer__links {
    flex-direction: column;
    gap: 10px;
  }

  .brand img {
    width: 174px;
  }

  .nav {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .scheme {
    min-height: 310px;
    padding: 18px;
  }

  .scheme__roof {
    left: 34px;
    right: 34px;
  }

  .scheme__base {
    left: 46px;
    right: 46px;
  }

  .scheme__label {
    display: none;
  }

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

  .form {
    padding: 22px;
  }
}
