/* Avicon Travel - home page hero (index.php). Owner approved the design 2026-10-01.
   The poster <img> is the LCP element; the trimmed video is attached by script on wide screens only. */
.hh { --hh-navy: #10233d; --hh-gold: #F5A623; position: relative; min-height: 560px; height: min(78vh, 680px); overflow: hidden; background: #2a1d0c; color: #fff; font-family: Poppins, Arial, sans-serif; isolation: isolate; }
.hh *, .hh *::before { box-sizing: border-box; }
.hh__media, .hh__media img, .hh__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hh__media img { object-position: 60% center; }
.hh__media video { opacity: 0; transition: opacity .8s ease; }
.hh__media video.is-playing { opacity: 1; }
.hh::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 22, 40, .88) 0%, rgba(10, 22, 40, .62) 38%, rgba(10, 22, 40, .08) 72%),
              linear-gradient(0deg, rgba(10, 22, 40, .55), rgba(10, 22, 40, 0) 40%); }
.hh__in { position: relative; z-index: 2; height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; justify-content: center; }
.hh__kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #ffe2ad; background: rgba(245, 166, 35, .16); border: 1px solid rgba(245, 166, 35, .45); border-radius: 999px; padding: 5px 14px; }
.hh__kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hh-gold); }
.hh h1 { font-family: Poppins, Arial, sans-serif; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; font-weight: 600; letter-spacing: -.5px; color: #fff; margin: 18px 0 14px; max-width: 780px; text-wrap: balance; }
.hh h1 span { color: var(--hh-gold); }
.hh__sub { font-size: 18px; line-height: 1.55; max-width: 520px; margin: 0 0 28px; color: #e6ecf5; }
.hh__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hh__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 26px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.hh__btn--gold { background: var(--hh-gold); color: var(--hh-navy); }
.hh__btn--gold:hover { background: #e8971a; color: var(--hh-navy); transform: translateY(-1px); }
.hh__btn--line { border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; padding: 13px 24px; }
.hh__btn--line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hh__wa { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 14px; color: #d9e2f0; text-decoration: none; }
.hh__wa b { color: #fff; font-weight: 600; }
.hh__wa:hover b { text-decoration: underline; }
.hh a:focus-visible { outline: 2px solid var(--hh-gold); outline-offset: 3px; }

@media (max-width: 767px) {
  .hh { height: auto; min-height: 560px; }
  .hh::before { background: linear-gradient(0deg, rgba(10, 22, 40, .94) 0%, rgba(10, 22, 40, .72) 48%, rgba(10, 22, 40, .12) 78%); }
  .hh__media img { object-position: 62% center; }
  .hh__in { justify-content: flex-end; min-height: 560px; padding: 120px 18px 28px; }
  .hh h1 { margin: 14px 0 10px; }
  .hh__sub { font-size: 15.5px; margin-bottom: 20px; }
  .hh__btns { display: grid; }
  .hh__btn { width: 100%; }
  .hh__wa { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hh__media video { display: none; }
  .hh__btn { transition: none; }
}
