* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #fff;
  color: #243858;
}

.construction-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 55px;
  overflow: hidden;
}

.logo {
  width: 270px;
  max-width: 75vw;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
}

.construction-area {
  width: min(920px, 100%);
  height: 440px;
  position: relative;
  margin-top: 4px;
}

/* Soft background clouds */
.cloud {
  position: absolute;
  width: 260px;
  height: 175px;
  border-radius: 50%;
  background: #f0f6fd;
  opacity: .95;
}

.cloud-left {
  left: 65px;
  top: 75px;
}

.cloud-right {
  right: 65px;
  top: 75px;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #f0f6fd;
}

.cloud::before {
  width: 105px;
  height: 105px;
  left: 30px;
  top: -38px;
}

.cloud::after {
  width: 125px;
  height: 125px;
  right: 20px;
  top: -55px;
}

/* Warning lamps */
.warning-light {
  position: absolute;
  top: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffb600;
  border: 6px solid #f29a00;
  box-shadow: 0 0 0 8px rgba(255, 181, 0, .12),
              0 0 28px rgba(255, 177, 0, .55);
  z-index: 6;
}

.warning-light::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: 10px;
  top: 10px;
  background: #ffd84d;
}

.light-left {
  left: calc(50% - 245px);
}

.light-right {
  right: calc(50% - 245px);
}

/* Main construction barrier */
.barrier {
  width: 450px;
  height: 285px;
  position: absolute;
  left: 50%;
  top: 74px;
  transform: translateX(-50%);
  z-index: 5;
}

.stripe {
  position: absolute;
  left: 0;
  width: 100%;
  height: 43px;
  background: repeating-linear-gradient(
    135deg,
    #ffd32a 0,
    #ffd32a 38px,
    #3f4b5c 38px,
    #3f4b5c 70px
  );
  border: 2px solid #394657;
}

.stripe.top {
  top: 0;
  border-radius: 10px 10px 0 0;
}

.stripe.bottom {
  bottom: 0;
  border-radius: 0 0 10px 10px;
}

.sign {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 43px;
  bottom: 43px;
  background: #fff;
  border-left: 4px solid #556274;
  border-right: 4px solid #556274;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(22, 42, 70, .12);
}

.sign span {
  font-size: 25px;
  font-weight: 700;
  color: #344359;
  margin-bottom: 7px;
}

.sign strong {
  font-size: 58px;
  letter-spacing: -2px;
  color: #17418f;
  font-weight: 800;
}

.sign b {
  margin-top: 8px;
  font-size: 25px;
  letter-spacing: 1px;
  color: #24416b;
}

.leg {
  position: absolute;
  width: 24px;
  height: 105px;
  bottom: -66px;
  background: #394858;
  z-index: -1;
}

.leg-left {
  left: 42px;
  transform: rotate(4deg);
}

.leg-right {
  right: 42px;
  transform: rotate(-4deg);
}

/* Traffic cone */
.cone {
  position: absolute;
  left: 125px;
  bottom: 17px;
  width: 95px;
  height: 155px;
  z-index: 7;
}

.cone-top {
  position: absolute;
  left: 29px;
  top: 0;
  width: 37px;
  height: 92px;
  background: #ff7921;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.cone-body {
  position: absolute;
  left: 29px;
  top: 48px;
  width: 37px;
  height: 15px;
  background: #fff;
}

.cone-body::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 30px;
  width: 39px;
  height: 16px;
  background: #fff;
}

.cone-base {
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 88px;
  height: 23px;
  border-radius: 5px;
  background: #ff7820;
}

/* Hard hat */
.helmet {
  position: absolute;
  right: 120px;
  bottom: 22px;
  width: 125px;
  height: 105px;
  z-index: 7;
}

.helmet-top {
  position: absolute;
  left: 17px;
  top: 4px;
  width: 91px;
  height: 76px;
  border-radius: 55px 55px 18px 18px;
  background: #ffd329;
  border: 4px solid #f2b900;
}

.helmet-top::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 72px;
  left: 34px;
  top: -2px;
  border-left: 5px solid #f1ba00;
  border-radius: 50%;
}

.helmet-brim {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 125px;
  height: 22px;
  border-radius: 50%;
  background: #ffd329;
  border: 4px solid #f2b900;
}

/* Message */
.message {
  text-align: center;
  max-width: 950px;
  margin-top: 6px;
  position: relative;
  z-index: 10;
}

.message h1 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.25;
  font-weight: 800;
  color: #263b5a;
}

.message p {
  margin: 12px 0 25px;
  font-size: clamp(16px, 2vw, 22px);
  color: #64748a;
}

.progress {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 3px;
}

.progress span {
  width: 84px;
  height: 9px;
  display: block;
}

.progress .red {
  background: #ef3038;
  border-radius: 8px 0 0 8px;
}

.progress .yellow {
  background: #ffd000;
}

.progress .blue {
  background: #174493;
  border-radius: 0 8px 8px 0;
}

@media (max-width: 700px) {
  .construction-page {
    padding: 34px 16px 40px;
  }

  .logo {
    width: 220px;
  }

  .construction-area {
    height: 330px;
    transform: scale(.76);
    transform-origin: top center;
    width: 130%;
    margin-bottom: -70px;
  }

  .message h1 {
    font-size: 24px;
  }

  .message p {
    font-size: 16px;
  }

  .progress span {
    width: 65px;
  }
}

@media (max-width: 430px) {
  .construction-area {
    transform: scale(.62);
    margin-bottom: -110px;
  }

  .message h1 {
    font-size: 21px;
  }
}
