:root {
  --navy: #072653;
  --blue: #0b63bd;
  --orange: #ff7a00;
  --text: #071f46;
  --muted: #526174;
  --bg: #f7faff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 38, 83, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, #ffffff 0%, #f4f8ff 42%, #edf4ff 100%);
  min-height: 100vh;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 0;
}

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(11, 99, 189, .13);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 68px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 18px solid transparent;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  border-top-color: rgba(7, 38, 83, .12);
  border-right-color: rgba(11, 99, 189, .12);
  right: -160px;
  top: -190px;
}

.hero::after {
  width: 320px;
  height: 320px;
  border-left-color: rgba(255, 122, 0, .15);
  left: -120px;
  bottom: -140px;
}

.logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(520px, 92%);
  margin: 0 auto 32px;
  filter: drop-shadow(0 12px 20px rgba(7, 38, 83, .1));
}

.badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 2px solid rgba(255, 122, 0, .35);
  border-radius: 999px;
  background: #fff8f0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 22px auto 14px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
}

h1::first-line {
  color: var(--blue);
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  color: var(--muted);
}

.services {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 34px 0 46px;
}

.services article {
  min-height: 124px;
  padding: 22px 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(7, 38, 83, .11);
  box-shadow: 0 12px 28px rgba(7, 38, 83, .08);
  font-size: 34px;
}

.services span {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.construction {
  position: relative;
  z-index: 1;
  height: 250px;
  margin: 0 auto 10px;
}

.screen {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(390px, 80vw);
  height: 210px;
  border: 18px solid var(--navy);
  border-bottom-width: 34px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ddecff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 22px 42px rgba(7, 38, 83, .18);
}

.bar {
  width: 95px;
  height: 82px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 18px,
    #ffd064 18px 34px,
    var(--navy) 34px 52px
  );
  border: 6px solid var(--navy);
}

.warning {
  width: 92px;
  height: 82px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 54px;
  font-weight: 900;
  background: #ffc928;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  padding-top: 22px;
  margin: 0 -8px;
  z-index: 2;
}

.cone {
  position: absolute;
  left: 12%;
  bottom: 22px;
  width: 82px;
  height: 138px;
  background: repeating-linear-gradient(
    to bottom,
    var(--navy) 0 34px,
    #fff 34px 58px
  );
  clip-path: polygon(50% 0, 88% 100%, 12% 100%);
}

.cone::after {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -12px;
  width: 126px;
  height: 18px;
  background: var(--navy);
  border-radius: 999px;
}

.helmet {
  position: absolute;
  right: 10%;
  bottom: 26px;
  width: 170px;
  height: 90px;
  background: var(--orange);
  border-radius: 90px 90px 20px 20px;
  box-shadow: inset 22px 0 0 rgba(255,255,255,.18);
}

.helmet::before {
  content: "";
  position: absolute;
  left: -24px;
  right: -20px;
  bottom: -16px;
  height: 28px;
  background: #ffb000;
  border-radius: 999px;
}

.contact {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
  margin: 28px auto;
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.contact p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.5;
}

.contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(255,255,255,.22);
  padding-left: 32px;
}

.contact li {
  margin: 12px 0;
  font-size: 18px;
}

.contact a {
  color: #fff;
  text-decoration: none;
}

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

footer {
  text-align: center;
  padding: 30px 18px 38px;
  color: var(--navy);
}

footer p {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

footer small {
  color: var(--muted);
}

@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .services article:last-child {
    grid-column: 1 / -1;
  }

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

  .contact ul {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,.22);
    padding-top: 18px;
  }

  .helmet {
    right: 4%;
    transform: scale(.8);
  }

  .cone {
    left: 3%;
    transform: scale(.8);
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 18px, 1120px);
    padding-top: 10px;
  }

  .hero {
    border-radius: 20px;
    padding: 24px 16px 32px;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .services article:last-child {
    grid-column: auto;
  }

  .construction {
    height: 210px;
  }

  .screen {
    height: 168px;
    border-width: 12px;
    border-bottom-width: 28px;
  }

  .bar {
    width: 70px;
    height: 60px;
  }

  .warning {
    width: 74px;
    height: 66px;
    font-size: 38px;
  }

  .cone,
  .helmet {
    display: none;
  }

  .contact {
    border-radius: 20px;
  }
}
