.hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    max-height: 900px;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}
.hero-inner {
    position: relative;
    height: 100%;
    z-index: 2;
}
.hero-content.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-width: 640px;
    padding-left: 20px;   /* tinh chỉnh thêm nếu muốn */
    text-align: left;
}
.hero-content h1 {
    color: #ffffff;
    font-size: clamp(1.5rem, 6vw, 3rem);
    text-transform: uppercase;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 0 18px;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1rem;
    color: #ffffff;
    display: inline-block;
}

/* ===============================
   HERO – MOBILE OVERRIDE
   =============================== */
@media (max-width: 768px) {

  /* container không giới hạn chiều rộng nữa */
  .hero-inner.container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 0;
    transform: translateY(-50%);
    max-width: 100%;        /* QUAN TRỌNG */
    padding: 0;             /* tránh bó */
  }

  .hero-content h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    line-height: 1.35;
  }

  .hero-subtitle {
    max-width: 90%;
    margin: 12px auto 0;
    line-height: 1.6;
  }
}
