/* Starfall Cove landing page */

:root{
  --text:#433D3D;        /* warm charcoal: all text, solid buttons */
  --text-soft:#5E5757;   /* secondary text (5.9:1 on white) */
  --bg:#FFFFFF;          /* page background */
  --sage:#D7E5DA;        /* main brand colour: section bands, highlights. Never for text or thin lines on white */
  --btn-bg:#433D3D;      /* Book now: charcoal pill, white text */
  --btn-text:#FFFFFF;
  --radius-pill:999px;   /* all buttons fully rounded */
  --border:1px solid #433D3D; /* outline buttons: 1px, no shadow */
  --rule:#E4E1E1;        /* hairlines between FAQ items */

  --font-head:"Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body:"Newsreader", Georgia, "Times New Roman", serif;

  --header-h:64px;
  --sticky-h:72px;
  --gutter:20px;
  --max:1200px;
}

/* ---------- Headline variant (set in <head> before render) ---------- */
[data-variant]{display:none}
html:not([data-ag]) [data-variant="binalong-bay"],
html[data-ag="binalong-bay"] [data-variant="binalong-bay"],
html[data-ag="holiday-house"] [data-variant="holiday-house"],
html[data-ag="bay-of-fires"] [data-variant="bay-of-fires"]{display:inline}

/* ---------- Phone switched off (PHONE = null) ---------- */
html[data-no-phone] [data-phone]{display:none !important}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 12px)}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--font-body);font-weight:400;font-size:18px;line-height:1.55;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--font-head);font-weight:400;letter-spacing:-0.02em;line-height:1.08;margin:0}
p{margin:0}
ul{margin:0;padding:0}
figure{margin:0}

.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:760px}
.center{text-align:center}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:12px;top:-60px;background:var(--btn-bg);color:var(--btn-text);padding:10px 16px;border-radius:var(--radius-pill);z-index:100;text-decoration:none}
.skip-link:focus{top:12px}
:focus-visible{outline:2px solid var(--text);outline-offset:3px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--font-body);font-size:17px;font-weight:600;line-height:1;
  text-decoration:none;border-radius:var(--radius-pill);border:var(--border);
  padding:16px 28px;min-height:48px;cursor:pointer;white-space:nowrap;
  transition:background-color .2s ease,color .2s ease;
}
.btn-primary{background:var(--btn-bg);color:var(--btn-text)}
.btn-primary:hover{background:#2F2A2A}
.btn-outline{background:transparent;color:var(--text)}
.btn-outline:hover{background:var(--text);color:var(--btn-text)}
.btn-sm{font-size:15px;padding:10px 18px;min-height:40px}
.btn-lg{font-size:18px;padding:18px 40px;min-height:56px}
.btn-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;border:var(--border);
  color:var(--text);background:transparent;text-decoration:none;flex:none;
}
.btn-icon:hover{background:var(--sage)}
.btn-icon-lg{width:52px;height:52px}
.text-link{text-decoration:underline;text-underline-offset:3px;font-weight:600}

/* ---------- 1. Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);
  backdrop-filter:saturate(1.2) blur(6px);-webkit-backdrop-filter:saturate(1.2) blur(6px);
  border-bottom:1px solid var(--rule);
}
.header-inner{height:calc(var(--header-h) - 1px);display:flex;align-items:center;justify-content:space-between;gap:12px}
.logo{height:44px;width:auto}
.header-actions{display:flex;align-items:center;gap:10px}

/* ---------- 2. Hero ---------- */
.hero{padding:22px 0 48px}
.hero-grid{display:grid;gap:28px}
.eyebrow{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-soft);margin-bottom:10px}
.hero h1{font-size:clamp(40px, 10.5vw, 76px);margin-bottom:12px}
.subhead{font-size:19px;line-height:1.45;max-width:34em;margin-bottom:14px}
.offer-row{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 0;font-size:15px;font-weight:600;margin-bottom:20px}
.offer-row li{white-space:nowrap}
.offer-row li+li::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--text);margin:0 9px;vertical-align:middle}
@media (min-width:768px){.offer-row{font-size:16px}.offer-row li+li::before{margin:0 12px}}
.microcopy{font-size:15px;color:var(--text-soft);margin-top:12px}
.hero-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 0;border-radius:4px}

@media (min-width:900px){
  .hero{padding:56px 0 88px}
  .hero-grid{grid-template-columns:55fr 45fr;align-items:center;gap:56px}
  .hero-photo img{aspect-ratio:auto;max-height:calc(100vh - var(--header-h) - 80px);min-height:520px;object-fit:cover}
}

/* ---------- Sections ---------- */
.section{padding:64px 0}
.section-title{font-size:clamp(34px, 7vw, 52px);margin-bottom:28px}
@media (min-width:768px){.section{padding:96px 0}}

/* ---------- 3. Two ways to stay ---------- */
.stays .section-title{text-align:center}
.cards{display:grid;gap:40px}
.card img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:4px;margin-bottom:20px}
.card h3{font-size:32px;margin-bottom:8px}
.card p{color:var(--text-soft);max-width:30em}
@media (min-width:768px){.cards{grid-template-columns:1fr 1fr;gap:40px}}

/* ---------- 4. The house ---------- */
.house{padding-top:16px}
.house-intro{max-width:760px;margin:0 auto 36px;text-align:center}
.lead{font-size:20px;line-height:1.6}
.amenities{
  list-style:none;display:grid;gap:12px 40px;max-width:900px;margin:0 auto 48px;
}
.amenities li{position:relative;padding-left:22px;font-size:17px}
.amenities li::before{content:"";position:absolute;left:0;top:.6em;width:7px;height:7px;border-radius:50%;background:var(--text)}
@media (min-width:640px){.amenities{grid-template-columns:1fr 1fr}}

.gallery{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.gallery img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:3px}
@media (min-width:768px){.gallery{grid-template-columns:repeat(4,1fr);gap:12px}}
.strip-line{font-family:var(--font-head);font-size:30px;letter-spacing:-0.02em;text-align:center;margin-top:28px}

/* ---------- 5. Reviews ---------- */
.reviews{padding-top:24px}
.rating{text-align:center;margin-bottom:44px}
.rating-score{font-family:var(--font-head);font-size:96px;line-height:1;letter-spacing:-0.02em}
.rating-source{font-size:18px;margin-top:6px}
.rating-date{font-size:14px;color:var(--text-soft);margin-top:4px}
.review-list{display:grid;gap:36px}
.review{margin:0;border-top:1px solid var(--rule);padding-top:24px}
.review p{font-size:18px;line-height:1.6}
.review footer{margin-top:12px;font-weight:600;font-size:16px}
.review footer::before{content:"— "}
@media (min-width:900px){.review-list{grid-template-columns:repeat(3,1fr);gap:40px}}

/* ---------- 6. Book direct ---------- */
.book-direct{background:var(--sage);padding:64px 0}
.book-direct p{font-size:19px;max-width:34em;margin:0 auto 26px}
.book-direct .phone-line{font-size:17px;margin:20px auto 0}
@media (min-width:768px){.book-direct{padding:88px 0}}

/* ---------- 7. FAQ ---------- */
.faq details{border-bottom:1px solid var(--rule)}
.faq details:first-of-type{border-top:1px solid var(--rule)}
.faq summary{
  list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:20px 0;font-weight:600;font-size:18px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-family:var(--font-head);font-size:30px;line-height:1;font-weight:400;flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq details p,.faq details ul{padding:0 0 22px;color:var(--text-soft);max-width:40em}
.faq details ul{list-style:none;display:grid;gap:10px}
.faq details strong{color:var(--text);font-weight:600}

/* ---------- 8. Final CTA ---------- */
.final-cta p{font-size:19px;max-width:30em;margin:0 auto 28px}

/* ---------- 9. Footer ---------- */
.site-footer{border-top:1px solid var(--rule);padding:40px 0 48px;font-size:15px;color:var(--text-soft);text-align:center}
.site-footer p+p{margin-top:10px}
.site-footer a{color:var(--text);text-underline-offset:3px}
.footer-contact{font-size:17px}

/* ---------- 10. Mobile sticky bar ---------- */
.sticky-bar{display:none}
@media (max-width:767px){
  body{padding-bottom:var(--sticky-h)}
  .sticky-bar{
    position:fixed;left:0;right:0;bottom:0;z-index:60;height:var(--sticky-h);
    display:flex;align-items:center;gap:10px;padding:10px var(--gutter);
    padding-bottom:calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.97);border-top:1px solid var(--rule);
    transform:translateY(110%);visibility:hidden;
    transition:transform .25s ease,visibility 0s linear .25s;
  }
  html.sticky-on .sticky-bar{transform:none;visibility:visible;transition:transform .25s ease}
  .sticky-book{flex:1;min-height:52px}
  .btn-icon-lg{background:var(--bg)}
}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  display:none;position:fixed;left:12px;right:12px;bottom:12px;z-index:70;
  max-width:720px;margin:0 auto;background:var(--bg);color:var(--text);
  border:var(--border);border-radius:16px;padding:14px 16px;
  align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;
  box-shadow:0 6px 24px rgba(67,61,61,.12);font-size:15px;line-height:1.4;
}
html[data-consent="unset"] .cookie-banner{display:flex}
.cookie-banner p{flex:1 1 240px}
.cookie-actions{display:flex;gap:8px}
@media (max-width:767px){
  html.sticky-on .cookie-banner{bottom:calc(var(--sticky-h) + 8px + env(safe-area-inset-bottom))}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
}
