/* Firstlight demo sites — shared landing-page styles.
   Each demo sets brand via CSS vars on :root in its own page:
   --paper, --ink, --muted, --line, --accent, --accent-dark, --deep, --deep-ink */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font, 'Public Sans', sans-serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display-font, 'Fraunces', serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.demo-ribbon {
  background: var(--deep);
  color: var(--deep-ink);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.demo-ribbon .fl { display: inline-flex; align-items: center; gap: 8px; opacity: 0.85; }
.demo-ribbon .fl img { height: 13px; opacity: 0.75; }

header.site {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5vw;
}
.wordmark { font-family: var(--display-font, 'Fraunces', serif); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.wordmark small { display: block; font-family: var(--body-font); font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
nav.main { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; color: var(--muted); }
nav.main a:hover { color: var(--ink); }
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  border-radius: 10px; padding: 12px 24px; font-weight: 700; font-size: 15px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* Hero */
.hero { position: relative; min-height: 76vh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,20,14,0.15) 30%, rgba(10,20,14,0.62) 100%); }
.hero .inner { padding: 0 5vw 64px; max-width: 860px; }
.hero .kicker { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; opacity: 0.85; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); color: #fff; font-weight: 550; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero p { font-size: clamp(17px, 1.6vw, 21px); max-width: 560px; margin: 18px 0 28px; opacity: 0.93; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.65); }
.hero .btn.ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }

section { padding: 84px 5vw; }
.narrow { max-width: 1160px; margin: 0 auto; }
.kicker { font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
h2.title { font-size: clamp(30px, 3.6vw, 46px); margin: 12px 0 14px; }
p.lede { font-size: 18px; color: var(--muted); max-width: 640px; }

/* Intro split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { border-radius: 14px; width: 100%; height: 460px; object-fit: cover; }
.split .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.split .facts div { padding: 7px 0; color: var(--muted); }
.split .facts strong { color: var(--ink); font-weight: 600; }

/* Stay cards */
.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.stay-card { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.stay-card img { height: 230px; width: 100%; object-fit: cover; }
.stay-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.stay-card h3 { font-size: 22px; }
.stay-card p { margin: 0; font-size: 15px; color: var(--muted); flex: 1; }
.stay-card .meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
.stay-card .price { font-family: var(--display-font); font-size: 22px; font-weight: 700; }
.stay-card .price span { font-family: var(--body-font); font-size: 13px; font-weight: 500; color: var(--muted); }
.stay-card .cap { font-size: 13px; color: var(--muted); }

/* Explore */
.explore { background: var(--deep); color: var(--deep-ink); }
.explore .kicker { color: var(--accent-soft, #E8926B); }
.explore h2.title { color: #fff; }
.explore .split img { height: 500px; }
.explore ul { list-style: none; margin: 30px 0 0; padding: 0; }
.explore li { display: flex; justify-content: space-between; gap: 18px; padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 16.5px; }
.explore li span:last-child { color: var(--accent-soft, #E8926B); white-space: nowrap; font-size: 14.5px; align-self: center; }

/* Good to know */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.know-grid h3 { font-size: 19px; margin-bottom: 12px; }
.know-grid ul { list-style: none; margin: 0; padding: 0; font-size: 15.5px; color: var(--muted); }
.know-grid li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; }
.know-grid li strong { color: var(--ink); font-weight: 600; }

/* Book banner */
.book-banner { background: var(--accent); color: #fff; border-radius: 20px; padding: clamp(36px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.book-banner h2 { font-size: clamp(28px, 3vw, 40px); color: #fff; }
.book-banner p { margin: 8px 0 0; opacity: 0.92; }
.book-banner .btn { background: #fff; color: var(--accent-dark); font-size: 16px; padding: 15px 30px; }
.book-banner .btn:hover { background: var(--paper); }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 48px 5vw 36px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
footer.site .cols strong { color: var(--ink); }
footer.site .fl-credit { display: flex; align-items: center; gap: 9px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
footer.site .fl-credit .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
footer.site .fl-credit img { height: 14px; opacity: 0.75; }

/* Rating chip (hero) */
.rating-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(4px); }
.rating-chip .star { color: #F5B942; }

/* Reviews */
.reviews-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.reviews-score { font-family: var(--display-font); font-size: 26px; font-weight: 700; }
.reviews-score .star { color: #F5B942; }
.reviews-count { font-size: 14.5px; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.review-card { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.review-card .stars { color: #F5B942; font-size: 14px; letter-spacing: 2px; }
.review-card p { margin: 0; font-size: 15.5px; line-height: 1.6; flex: 1; }
.review-card .who { font-size: 13.5px; color: var(--muted); }
.review-card .who strong { color: var(--ink); font-weight: 700; }

/* Sticky mobile booking bar */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  nav.main a.navlink { display: none; }
  .split, .stay-grid, .know-grid, .review-grid { grid-template-columns: 1fr; }
  .split img, .explore .split img { height: 320px; }
  .hero { min-height: 64vh; }
  body { padding-bottom: 68px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-bar .from { font-size: 13.5px; color: var(--muted); }
  .mobile-bar .from strong { display: block; font-size: 16.5px; color: var(--ink); }
  .mobile-bar .btn { padding: 12px 22px; white-space: nowrap; }
}
