/* Homepage — layout and sections. Theme tokens come from site-theme.css. */

.h-wrap { max-width: var(--wrap, 1200px); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.h-section { padding-top: 88px; padding-bottom: 8px; }
.h-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin: 0 0 10px; }
.h-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; margin: 0; color: var(--tx); text-wrap: balance; }
.h-lead { font-size: 17px; color: var(--tx-2); line-height: 1.7; margin: 0 0 24px; max-width: 60ch; }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.h-link { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.h-link:hover { text-decoration: underline; }
.h-empty { color: var(--tx-3); }

/* ── Hero ── */
.h-hero {
  position: relative; min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: var(--hero-ink);
}
.h-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,18,.55) 0%, rgba(8,18,18,.15) 35%, rgba(8,18,18,.75) 100%); }
.h-hero-inner { position: relative; max-width: var(--wrap, 1200px); width: 100%; margin: 0 auto; padding: 140px 24px 128px; }
.h-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); margin: 0 0 20px; }
.h-hero-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 14ch; color: #fff; text-wrap: balance; }
.h-hero-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 52ch; margin: 0 0 32px; }
.h-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.h-ghost { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.h-ghost:hover { border-bottom-color: #fff; }

/* ── Availability bar ── */
.h-search {
  position: relative; z-index: 5; margin-top: -56px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end;
  background: var(--surf); border: 1px solid var(--bdr); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 18px;
}
.h-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-3); }
.h-field input, .h-field select {
  font: 500 15px var(--font-body); color: var(--tx); background: var(--card-2);
  border: 1px solid transparent; border-radius: var(--radius-sm); padding: 12px 12px; min-height: 46px; width: 100%;
  text-transform: none; letter-spacing: 0;
}
.h-field input:focus, .h-field select:focus { outline: none; border-color: var(--accent); background: var(--surf); }
.h-search-btn {
  min-height: 46px; border: 0; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent);
  font: 700 15px var(--font-body); cursor: pointer; padding: 0 20px;
}
.h-search-btn:hover { background: var(--accent-3); }
html[data-theme="dark"] .h-search-btn:hover { background: var(--accent-2); }

/* ── Welcome ── */
.h-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.h-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 0; }
.h-facts div { border-top: 2px solid var(--accent); padding-top: 12px; }
.h-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3); }
.h-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 26px; color: var(--tx); }

/* ── Rooms ── */
.h-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.h-room { background: var(--card); border: 1px solid var(--bdr); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.h-room:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.h-room-img { position: relative; aspect-ratio: 4 / 3; background: var(--card-3) center / cover no-repeat; display: grid; place-items: center; font-size: 48px; cursor: zoom-in; }
.h-photo-count { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; }
.h-room-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.h-room-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 0 0 8px; }
.h-room-body p { color: var(--tx-2); font-size: 14px; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.h-room-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--bdr); }
.h-room-foot strong { font-size: 20px; font-weight: 700; color: var(--tx); }
.h-room-foot span { font-size: 13px; color: var(--tx-3); }

/* ── Tinted band (facilities, reviews) ── */
.h-band { background: var(--card-2); margin-top: 88px; padding-bottom: 88px; }
.h-band .h-section { padding-top: 72px; }
.h-amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.h-amenities li { display: flex; align-items: center; gap: 12px; background: var(--surf); border-radius: var(--radius); padding: 16px 18px; font-weight: 600; }
.h-amenities span { font-size: 22px; }
.h-facilities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.h-facility { display: flex; gap: 14px; background: var(--surf); border-radius: var(--radius); padding: 20px; }
.h-facility-ico { font-size: 26px; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .10); }
.h-facility h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin: 2px 0 4px; }
.h-facility p { font-size: 14px; color: var(--tx-2); margin: 0 0 6px; line-height: 1.5; }
.h-facility-rate { font-size: 13px; font-weight: 700; color: var(--accent); }

/* ── Dining ── */
.h-dining { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.h-dining .h-title { margin-bottom: 16px; }
.h-menu { list-style: none; margin: 0; padding: 8px 24px; background: var(--card); border: 1px solid var(--bdr); border-radius: var(--radius-lg); }
.h-menu li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--bdr-2); }
.h-menu li:last-child { border-bottom: 0; }
.h-menu-ico { font-size: 26px; }
.h-menu-text { flex: 1; display: flex; flex-direction: column; }
.h-menu-text strong { font-size: 16px; }
.h-menu-text span { font-size: 13px; color: var(--tx-3); }
.h-menu-price { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ── Reviews ── */
.testimonial-carousel { max-width: 760px; margin: 32px auto 0; text-align: center; }
.tcarousel-card { background: var(--surf); border-radius: var(--radius-lg); padding: 40px 32px; box-shadow: var(--shadow); }
.tcarousel-stars { color: var(--clay); font-size: 18px; letter-spacing: 3px; margin-bottom: 16px; }
.tcarousel-content { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; margin: 0 0 24px; color: var(--tx); }
.tcarousel-guest { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tcarousel-avatar, .tcarousel-avatar-placeholder { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tcarousel-avatar-placeholder { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.tcarousel-guest-name { font-weight: 700; }
.tcarousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.tcarousel-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bdr-3); background: var(--surf); color: var(--tx); font-size: 20px; cursor: pointer; }
.tcarousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.tcarousel-dots { display: flex; gap: 8px; }
.tcarousel-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--bdr-3); cursor: pointer; transition: width .2s; }
.tcarousel-dot.is-active { width: 24px; background: var(--accent); }

/* ── Location ── */
.h-location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.h-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h-contact { display: flex; gap: 14px; padding: 20px; background: var(--card); border: 1px solid var(--bdr); border-radius: var(--radius); text-decoration: none; color: var(--tx); transition: border-color .15s; }
.h-contact:hover { border-color: var(--accent); }
.h-contact > span { font-size: 22px; }
.h-contact div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.h-contact strong { font-size: 15px; }
.h-contact div span { color: var(--tx-2); word-break: break-word; }
.h-contact em { font-style: normal; color: var(--accent); font-weight: 600; margin-top: 4px; }

/* ── Photo lightbox (photo-lightbox.js) ── */
.lb-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 1000; align-items: center; justify-content: center; }
.lb-bg.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 8px; object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 28px; font-size: 28px; color: #fff; cursor: pointer; background: none; border: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 40px; color: #fff; cursor: pointer; background: none; border: 0; padding: 12px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .h-intro, .h-dining, .h-location { grid-template-columns: 1fr; gap: 28px; }
  .h-section { padding-top: 64px; }
  .h-band { margin-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .h-wrap { padding-left: 16px; padding-right: 16px; }
  .h-hero-inner { padding: 120px 16px 104px; }
  .h-search { grid-template-columns: 1fr 1fr; padding: 14px; }
  .h-search-btn { grid-column: 1 / -1; }
  .h-facts { grid-template-columns: 1fr 1fr 1fr; }
  .h-facts dd { font-size: 20px; }
  .h-contact-cards { grid-template-columns: 1fr; }
  .h-rooms { grid-template-columns: 1fr; }
}
