/* Hero */
.hero-container {
  min-height: calc(100svh - 40px);
  background: #8fc8ca;
  display: flex;
  align-items: center;
  padding: clamp(140px, 12vh, 180px) 10px 40px;
  overflow: hidden;
}

.hero-container img {
  width: 100%;
  max-width: 100%;
  height: auto;
  transform-origin: center;
  transform: translateY(clamp(3%, 6vh, 8%)) scale(clamp(1.2, 1.4, 1.6));
  object-fit: cover;
}

/* CTA Button */
.cta-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.cta-link {
  background: #a31130;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 5px;
  height: 56px;
  width: 320px;
  text-decoration: none;
  transition: opacity 0.8s ease;
}

.cta-link:hover {
  background: #333;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  opacity: 0.5;
}

.cta-content {
  display: flex;
  align-items: center;
  padding-right: 40px;
  position: relative;
  color: #fff;
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 600;
  white-space: nowrap;
}

.cta-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.icon-mask {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.icon-mask img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Status */
.status-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: clamp(60px, 10vh, 120px);
  padding: clamp(16px, 4vw, 32px);
  text-align: center;
  max-width: 1200px;
}

.status-main {
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: bold;
  display: block;
  line-height: 1.2;
  margin: 0;
}

.status-description {
  color: #000;
  font-size: clamp(18px, 4vw, 24px);
  text-align: center;
  line-height: 1.4;
  margin-top: 10px;
}

.status-description p {
  font-family: "Poppins", sans-serif;
  display: block;
  margin: 5px 0;
}

/* Border */
.hero-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Hero 769px-1024px (tablet/medium screens) */
  .hero-container {
    min-height: calc(100vh - 40px);
    padding: clamp(140px, 10vh, 180px) 20px 40px;
  }

  .hero-container img {
    transform-origin: center;
    object-fit: contain;
    height: auto;
    width: 100%;
    max-width: 100%;
    max-height: calc(55vh - 100px);
    margin: 0 auto;
    display: block;
    transform: none;
  }

  .status-container {
    margin-top: clamp(80px, 8vh, 100px);
    padding: clamp(20px, 4vw, 28px);
  }

  .cta-link {
    width: 300px;
    height: 52px;
  }

  .cta-content {
    font-size: clamp(18px, 2.5vw, 22px);
  }

  .hero-border {
    width: 100vw;
    height: clamp(25px, 4vw, 50px);
  }
}

@media (width: 768px) and (orientation: portrait) {
  /* iPad portrait mode */
  .hero-container {
    min-height: calc(90vh - 40px);
    padding: clamp(120px, 8vh, 160px) 20px 40px;
  }

  .hero-container img {
    transform-origin: center;
    object-fit: contain;
    height: auto;
    width: 100%;
    max-width: 100%;
    max-height: calc(60vh - 100px);
    margin: 0 auto;
    display: block;
  }

  .status-container {
    margin-top: clamp(60px, 6vh, 80px);
    padding: clamp(16px, 3vw, 24px);
  }

  .cta-link {
    width: 290px;
    height: 50px;
  }

  .cta-content {
    font-size: 18px;
  }

  .hero-border {
    width: 100vw;
    height: clamp(22px, 3.5vw, 45px);
  }
}

@media (max-width: 768px) {
  /* Hero max-width: 768px */
  .hero-container {
    height: auto;
    min-height: 70vh;
  }

  .hero-container img {
    transform: translateY(clamp(3%, 4vh, 5%)) scale(clamp(1, 1.25, 1.4));
  }

  .status-container {
    margin: clamp(32px, 6vh, 60px) auto clamp(16px, 2vh, 32px);
    padding: clamp(12px, 3vw, 24px);
  }

  .status-main {
    font-size: 24px;
    line-height: 1.3;
  }

  .cta-container {
    margin-top: 20px;
  }

  .cta-link {
    width: 280px;
    height: 48px;
  }

  .cta-content {
    font-size: 16px;
  }

  .hero-border {
    width: 100vw;
    height: clamp(18px, 3vw, 35px);
  }
}

@media (max-width: 480px) {
  /* Hero max-width: 480px */
  .hero-container {
    height: auto;
    min-height: 70vh;
  }

  .hero-container img {
    transform: translateY(clamp(2%, 3vh, 4%)) scale(clamp(1, 1.15, 1.3));
  }

  .status-container {
    margin: clamp(24px, 5vh, 48px) auto clamp(12px, 2vh, 24px);
    padding: clamp(8px, 2vw, 16px);
  }

  .status-main {
    font-size: 22px;
    line-height: 1.3;
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    text-align: center;
  }

  .status-description p {
    margin: 3px 0;
  }

  .status-description span {
    display: block;
    margin: 2px 0;
  }

  .cta-container {
    margin-top: 25px;
  }

  .cta-link {
    width: 260px;
    height: 44px;
  }

  .cta-content {
    font-size: 14px;
  }

  .hero-border {
    width: 100vw;
    height: clamp(15px, 2.5vw, 30px);
  }
}
