:root {
  --primary: #153255;
  --accent: #e24b2d;
  --text: #24364d;
  --bg: #f3f4f6;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(21, 50, 85, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.maintenance-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.maintenance-card {
  width: 100%;
  max-width: 920px;
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 48px 32px 56px;
}

.logo {
  width: min(100%, 420px);
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.1;
  color: var(--primary);
  font-weight: 700;
}

.subtitle {
  margin: 18px 0 34px;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  color: #334e68;
}

.maintenance-icon {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 26px;
  margin: 10px 0 34px;
}

.warning-sign {
  width: 210px;
  height: 185px;
  background: linear-gradient(180deg, #ffd64d 0%, #f4b400 100%);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.18));
}

.warning-sign::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border: 8px solid #222;
}

.helmet,
.tools {
  position: absolute;
  z-index: 1;
}

.helmet {
  top: 66px;
  left: 72px;
  font-size: 2.9rem;
}

.tools {
  top: 98px;
  left: 98px;
  font-size: 2.1rem;
}

.cone {
  width: 60px;
  height: 105px;
  background: linear-gradient(
    to bottom,
    var(--accent) 0 18%,
    #fff 18% 38%,
    var(--accent) 38% 56%,
    #fff 56% 76%,
    var(--accent) 76% 100%
  );
  clip-path: polygon(50% 0%, 82% 100%, 18% 100%);
  position: relative;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.12));
}

.cone::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 78px;
  height: 12px;
  background: #d96b2a;
  border-radius: 999px;
}

.footer-text {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  color: var(--primary);
}

@media (max-width: 640px) {
  .maintenance-card {
    padding: 36px 20px 42px;
    border-radius: 20px;
  }

  .maintenance-icon {
    gap: 14px;
  }

  .warning-sign {
    width: 150px;
    height: 132px;
  }

  .helmet {
    top: 46px;
    left: 45px;
    font-size: 2.2rem;
  }

  .tools {
    top: 72px;
    left: 66px;
    font-size: 1.7rem;
  }

  .cone {
    width: 42px;
    height: 75px;
  }

  .cone::after {
    width: 56px;
  }
}
