/* === SECTION: Hero === */

/* ----------------------------------------
   Reset scope
---------------------------------------- */
.hero *,
.hero *::before,
.hero *::after {
  box-sizing: border-box;
}

/* ----------------------------------------
   .hero — full-width section, warm off-white bg
   Band_00 shows a light off-white/cream background
   with the content sitting ~72px below the header
---------------------------------------- */
.hero {
  width: 100%;
  background-color: var(--color-bg-light);
  overflow: hidden;
  position: relative;
}

/* Subtle diagonal texture (matches header pattern) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.012) 0px,
    rgba(0, 0, 0, 0.012) 1px,
    transparent 1px,
    transparent 10px
  );
  pointer-events: none;
  z-index: 0;
}

/* ----------------------------------------
   .hero__inner — two-column flex layout
   Left: text ~55%  |  Right: image ~45%
   Max content width ~1360px centred in 1920px
---------------------------------------- */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 100px 80px 100px 80px;
  min-height: 680px;
}

/* ----------------------------------------
   .hero__content — left column
---------------------------------------- */
.hero__content {
  flex: 1 1 55%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Overline / eyebrow — small red uppercase label */
.hero__overline {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);       /* 14px */
  font-weight: var(--fw-semibold);
  line-height: var(--lh-sm);
  letter-spacing: var(--ls-wide); /* 2.8px */
  text-transform: uppercase;
  color: var(--color-primary);   /* #b22a2c */
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Red dash before overline text */
.hero__overline::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

/* Main heading — large Poppins, dark navy */
.hero__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-6xl);      /* 58px */
  font-weight: var(--fw-bold);   /* 700 */
  line-height: var(--lh-5xl);    /* 62px */
  letter-spacing: var(--ls-snug); /* -1.2px */
  color: var(--color-navy);      /* #263040 */
  margin: 0;
}

.hero__heading-line1,
.hero__heading-line2 {
  display: block;
}

/* "in Singapore" — accent red on second line */
.hero__heading-line2 {
  color: var(--color-primary);
}

/* Body paragraph */
.hero__body {
  font-family: var(--font-primary);
  font-size: var(--fs-md);       /* 18px */
  font-weight: var(--fw-regular);
  line-height: var(--lh-3xl);    /* 35px */
  color: var(--color-gray-mid);  /* #5d5d5d */
  margin: 0;
  max-width: 560px;
}

/* CTA button group */
.hero__cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Primary button — solid red */
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: var(--fs-base);     /* 16px */
  font-weight: var(--fw-semibold);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 90px;
  padding: 16px 36px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms ease;
  white-space: nowrap;
}

.hero__btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.hero__btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.hero__btn--primary:active {
  transform: translateY(0);
}

/* Secondary button — outlined */
.hero__btn--secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.hero__btn--secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.hero__btn--secondary:active {
  transform: translateY(0);
}

/* ----------------------------------------
   .hero__media — right column
---------------------------------------- */
.hero__media {
  flex: 1 1 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

/* Image wrapper — rounded corners, subtle shadow */
.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 24px;
  overflow: visible;
}

/* Hero image */
.hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(33, 39, 49, 0.18);
}

/* Badge — floating card bottom-left of image */
.hero__badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 8px 32px rgba(33, 39, 49, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 140px;
}

.hero__badge-number {
  font-family: var(--font-heading);
  font-size: var(--fs-5xl);      /* 38px */
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-primary);
}

.hero__badge-label {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);       /* 14px */
  font-weight: var(--fw-medium);
  line-height: var(--lh-sm);
  color: var(--color-gray-dark);
  text-align: center;
}

/* ----------------------------------------
   RESPONSIVE: Tablet — 1280px
---------------------------------------- */
@media (max-width: 1280px) {
  .hero__inner {
    padding: 80px 40px;
    gap: 40px;
    min-height: 580px;
  }

  .hero__heading {
    font-size: var(--fs-5xl);    /* 38px */
    line-height: var(--lh-4xl);  /* 58px */
  }

  .hero__body {
    font-size: var(--fs-base);   /* 16px */
  }

  .hero__image-wrap {
    max-width: 460px;
  }
}

/* ----------------------------------------
   RESPONSIVE: Mobile — 768px
   Stack vertically: image above text
---------------------------------------- */
@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column-reverse;
    padding: 48px 20px 64px;
    gap: 36px;
    min-height: unset;
  }

  .hero__content {
    flex: none;
    max-width: 100%;
    gap: 20px;
  }

  .hero__heading {
    font-size: var(--fs-4xl);    /* 32px */
    line-height: var(--lh-2xl);  /* 34px */
    letter-spacing: 0;
  }

  .hero__body {
    font-size: var(--fs-base);
    line-height: var(--lh-2xl);
  }

  .hero__media {
    flex: none;
    width: 100%;
    justify-content: center;
  }

  .hero__image-wrap {
    max-width: 100%;
  }

  .hero__badge {
    bottom: -16px;
    left: 12px;
    padding: 14px 20px;
    min-width: 110px;
  }

  .hero__badge-number {
    font-size: var(--fs-3xl);    /* 30px */
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----------------------------------------
   RESPONSIVE: Small — 375px
---------------------------------------- */
@media (max-width: 375px) {
  .hero__inner {
    padding: 36px 16px 56px;
  }

  .hero__heading {
    font-size: var(--fs-2xl);    /* 28px */
    line-height: var(--lh-lg);   /* 28px */
  }

  .hero__overline {
    font-size: 12px;
  }
}

/* === END SECTION: Hero === */
