/* Home hero (2026-10-25): light hero with a lodge photo (Higgsfield) and floating live Reseva cards.
   Replaces the old navy booking-engine demo; classes are .hx-* so the old section.hero#hero rules don't apply. */

.hx-hero {
  position: relative; overflow: hidden;
  background: var(--up-bg); font-family: var(--up-font); color: var(--up-ink);
  padding: 9rem 0 5.5rem;
}
.hx-hero::before {
  content: ""; position: absolute; left: -10%; top: -20%; width: 900px; height: 700px;
  background: radial-gradient(ellipse, var(--up-accent-tint), transparent 65%); pointer-events: none;
}
.hx-hero::after {
  content: ""; position: absolute; right: -10%; bottom: -40%; width: 800px; height: 640px;
  background: radial-gradient(ellipse, rgba(232,184,109,.22), transparent 65%); pointer-events: none;
}
.hx-hero .container { position: relative; z-index: 1; max-width: 1320px; }
.hx-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }

/* ── Text column ── */
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; max-width: 100%;
  background: #fff; border: 1px solid var(--up-line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: .82rem; font-weight: 600; color: var(--up-accent-deep);
  box-shadow: var(--up-shadow-sm); text-decoration: none;
}
.hx-eyebrow b { background: var(--up-accent-deep); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .68rem; letter-spacing: .04em; flex: none; }
.hx-hero h1 {
  font-family: var(--up-font); font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.035em;
  font-weight: 800; color: var(--up-ink); margin: 1.4rem 0 1.25rem;
}
.hx-hero h1 em { font-style: normal; color: var(--up-accent); }
.hx-sub { font-size: 1.18rem; line-height: 1.55; color: var(--up-ink-soft); max-width: 520px; margin: 0; }

.hx-ctas { display: flex; gap: .75rem; margin-top: 2rem; flex-wrap: wrap; }
.hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 999px; font-family: var(--up-font); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.5rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.hx-btn:hover { transform: translateY(-1px); }
.hx-btn--pri { background: var(--up-accent-deep); color: #fff; border: 0; box-shadow: 0 10px 24px -12px rgba(47,87,64,.7); }
.hx-btn--pri:hover { color: #fff; box-shadow: 0 14px 28px -12px rgba(47,87,64,.8); }
.hx-btn--ghost { background: #fff; color: var(--up-accent-deep); border: 1.5px solid #cdd8d0; }
.hx-btn--ghost i { width: 26px; height: 26px; border-radius: 50%; background: var(--up-accent-tint); display: grid; place-items: center; font-style: normal; font-size: .62rem; }

.hx-assure { display: flex; gap: 1.1rem; margin-top: 1.25rem; font-size: .82rem; color: var(--up-ink-soft); font-weight: 500; flex-wrap: wrap; }
.hx-assure span::before { content: "✓"; color: var(--up-accent); font-weight: 800; margin-right: .35rem; }

.hx-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--up-line); }
.hx-stats b { display: block; font-size: 1.75rem; font-weight: 800; color: var(--up-accent-deep); letter-spacing: -.02em; line-height: 1.1; }
.hx-stats span { display: block; font-size: .72rem; color: var(--up-ink-soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-top: .3rem; }

/* ── Visual column: photo + floating cards ── */
.hx-visual { position: relative; padding: 1.75rem 0 1.75rem 2.5rem; }
.hx-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1.08; box-shadow: 0 40px 80px -40px rgba(20,32,26,.55); }
.hx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; display: block; }

.hx-card {
  position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(20,32,26,.45);
  padding: .9rem 1rem; animation: hx-in .6s cubic-bezier(.2,.8,.2,1) both, hx-float 6s ease-in-out infinite;
}
.hx-k { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--up-ink-soft); font-weight: 700; }

.hx-book { left: 0; top: 4rem; width: 290px; display: flex; gap: .75rem; align-items: center; animation-delay: .3s, 1s; }
.hx-lg { width: 42px; height: 42px; border-radius: 12px; background: #003580; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.hx-t { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.hx-t small { display: block; color: var(--up-ink-soft); font-weight: 500; font-size: .8rem; }
.hx-amt { margin-left: auto; text-align: right; font-weight: 800; font-size: .95rem; color: var(--up-accent-deep); }
.hx-amt small { display: block; font-size: .64rem; color: var(--up-accent); font-weight: 700; }

.hx-occ { right: -1.5rem; top: 46%; width: 210px; animation-delay: .55s, 2.5s; }
.hx-v { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin: .1rem 0 .5rem; }
.hx-v small { font-size: .75rem; color: var(--up-accent); font-weight: 700; margin-left: .4rem; }
.hx-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.hx-bars i { flex: 1; border-radius: 4px; background: var(--up-accent-tint); }
.hx-bars i.on { background: linear-gradient(var(--up-accent), var(--up-accent-deep)); }

.hx-hk { left: .75rem; bottom: 4.4rem; display: flex; gap: .65rem; align-items: center; animation-delay: .8s, 4s; }
.hx-ic { width: 36px; height: 36px; border-radius: 10px; background: #e8f1e4; display: grid; place-items: center; color: #2e7d32; font-weight: 800; flex: none; }
.hx-hk b { font-size: .88rem; display: block; }
.hx-hk span { font-size: .75rem; color: var(--up-ink-soft); }

.hx-sync {
  right: 2rem; bottom: 0; display: flex; align-items: center; gap: .6rem;
  background: var(--up-accent-deep); color: #fff; border: 0; border-radius: 999px; padding: .6rem 1.1rem .6rem .6rem;
  font-weight: 700; font-size: .88rem; animation-delay: 1.05s, 3s;
}
.hx-sync img { width: 28px; height: 28px; background: #fff; border-radius: 50%; padding: 5px; }

@keyframes hx-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .hx-card { animation: none; } }

/* ── Video tour modal ── */
.hx-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(12,20,15,.78); display: grid; place-items: center; padding: 1rem; }
.hx-modal[hidden] { display: none; }
.hx-modal-box { position: relative; width: min(1100px, 100%); }
.hx-modal-box video { display: block; width: 100%; border-radius: 16px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hx-modal-x { position: absolute; right: 0; top: -2.75rem; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1rem; cursor: pointer; }

/* ── Tablet / phone ── */
@media (max-width: 1200px) { .hx-occ { right: -.25rem; } }
@media (max-width: 980px) {
  .hx-hero { padding: 7.5rem 0 4rem; }
  .hx-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hx-visual { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .hx-hero { padding: 6.5rem 0 3rem; }
  .hx-sub { font-size: 1rem; }
  .hx-ctas .hx-btn { flex: 1 1 100%; }
  .hx-stats { gap: 1rem; justify-content: space-between; }
  .hx-stats b { font-size: 1.4rem; }
  .hx-stats span { font-size: .62rem; letter-spacing: .04em; }
  .hx-visual { padding: 1.25rem 0 1.5rem; }
  .hx-card { padding: .6rem .75rem; border-radius: 14px; }
  .hx-book { left: -.25rem; top: 0; width: auto; max-width: 78%; }
  .hx-lg { width: 34px; height: 34px; font-size: .9rem; }
  .hx-t { font-size: .82rem; } .hx-t small { font-size: .7rem; }
  .hx-amt { font-size: .82rem; }
  .hx-occ { right: -.25rem; width: 140px; }
  .hx-v { font-size: 1.4rem; } .hx-bars { height: 26px; }
  .hx-hk { left: -.25rem; bottom: 3.4rem; }
  .hx-hk b { font-size: .78rem; } .hx-hk span { font-size: .68rem; }
  .hx-sync { right: .5rem; font-size: .75rem; }
  .hx-sync img { width: 24px; height: 24px; }

  /* Header: Sign In + Start Free Trial overflowed the phone width; keep the trial button only */
  #main-nav .nav-cta .btn-ghost { display: none; }
  #main-nav .nav-cta .btn { padding: .55rem 1rem; font-size: .82rem; white-space: nowrap; }
  #main-nav .container { padding: 0 1rem; }
  #main-nav .logo-img { height: 34px; }
}

/* ── "Built for" strip (home, PMS, Housekeeping): deep-green band so it stands out from the light hero ── */
.logo-strip.logo-strip--built {
  position: relative; overflow: hidden; padding: 2.4rem 0;
  background: radial-gradient(60% 140% at 100% 0%, rgba(201,147,58,.22), transparent 60%), linear-gradient(135deg, #2F5740 0%, #21422f 100%);
  border: 0;
}
.logo-strip--built::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px;
}
.logo-strip--built .container { position: relative; }
.logo-strip--built .logo-strip-inner { gap: .75rem; }
.logo-strip--built p {
  color: #E3C26A; font-family: var(--up-font); font-size: .78rem; font-weight: 800; letter-spacing: .16em; margin: 0 .75rem 0 0;
  display: inline-flex; align-items: center; gap: .6rem;
}
.logo-strip--built p::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: #E3C26A; opacity: .7; }
.logo-strip--built .partner-chip.partner-logo {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-family: var(--up-font); font-size: .95rem; font-weight: 700; padding: .55rem 1.15rem .55rem .55rem; gap: .65rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 8px 20px -14px rgba(0,0,0,.6);
  transition: background .2s, transform .2s, border-color .2s;
}
.logo-strip--built .partner-chip.partner-logo:hover { background: rgba(255,255,255,.14); border-color: rgba(227,194,106,.55); transform: translateY(-2px); }
.logo-strip--built .pl-mark { width: 34px; height: 34px; color: #2F5740; }
.logo-strip--built .pl-mark circle { fill: #E3C26A; }
@media (max-width: 600px) {
  .logo-strip.logo-strip--built { padding: 1.8rem 0; }
  .logo-strip--built p { flex: 1 1 100%; justify-content: center; margin: 0 0 .25rem; }
  .logo-strip--built .partner-chip.partner-logo { font-size: .85rem; padding: .45rem .9rem .45rem .45rem; }
  .logo-strip--built .pl-mark { width: 28px; height: 28px; }
}

/* Phones: About grid and Booking Engine steps were wider than the screen (1fr = min-content); badge kept inside */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .about-card-float { right: 8px; max-width: calc(100% - 16px); }
  .about-card-main { padding: 28px 20px; }
  .metric-row { gap: 10px; }
  .metric { min-width: 0; padding: 14px 8px; }
}
