/* ==========================================================================
   HILLDESK — Workation & Co-Living Retreat  (Engineered by Nova SaaS)
   style.css · minimalist luxury, light stone theme
   --------------------------------------------------------------------------
   Loaded AFTER the Tailwind CDN. Tailwind does layout; this file holds the
   brand tokens, the component chrome and the motion.

   ⚠ ONE RULE IF YOU EDIT THIS FILE
   Because it loads after Tailwind, any `display`, `position` or `width` set on
   a component class here would beat Tailwind's own `hidden`, `lg:flex` and
   `sm:w-64`. Every such declaration is therefore wrapped in `:where()`, which
   carries zero specificity. Keep it that way.
   ========================================================================== */

:root{
  --white:#ffffff;
  --stone:#f8fafc;      /* soft stone surface        */
  --line:#e2e8f0;       /* border-slate-200          */
  --line-soft:#f1f5f9;
  --ink:#0f172a;        /* slate charcoal, headings  */
  --body:#475569;       /* body copy                 */
  --muted:#64748b;
  --faint:#94a3b8;
  --amber:#d97706;      /* warm amber accent         */
  --amber-soft:#fef3c7;
  --emerald:#059669;    /* pine emerald accent       */
  --emerald-soft:#d1fae5;
  --shadow-sm:0 1px 2px 0 rgb(15 23 42 / .05);
  --shadow-md:0 4px 16px -4px rgb(15 23 42 / .10), 0 2px 6px -2px rgb(15 23 42 / .05);
  --shadow-lg:0 20px 50px -20px rgb(15 23 42 / .18);
  --nav-h:72px;
}

*{ -webkit-tap-highlight-color:transparent; }

html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav-h) + 20px); }

body{
  font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--white);
  color:var(--body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,.font-display{
  font-family:'Cinzel',Georgia,'Times New Roman',serif;
  color:var(--ink);
  letter-spacing:-.005em;
}

.lede{ font-size:1.0625rem; line-height:1.75; color:var(--body); }

/* ---------- Surfaces ----------------------------------------------------- */
.surface{ background:var(--stone); }
.hairline{ border-color:var(--line); }

.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:1rem;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.card:hover{ box-shadow:var(--shadow-md); border-color:#cbd5e1; }
.card-lift:hover{ transform:translateY(-3px); }

/* ---------- Header ------------------------------------------------------- */
.site-header{
  background:rgba(255,255,255,.82);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  backdrop-filter:blur(14px) saturate(150%);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled{
  border-bottom-color:var(--line);
  box-shadow:0 1px 20px -12px rgb(15 23 42 / .25);
  background:rgba(255,255,255,.94);
}
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){
  .site-header{ background:rgba(255,255,255,.97); }
}

.nav-link{ position:relative; padding:.35rem 0; color:var(--body); font-weight:500; transition:color .2s ease; }
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-3px; height:1.5px; width:0;
  background:var(--amber); transition:width .28s ease;
}
.nav-link:hover{ color:var(--ink); }
.nav-link:hover::after,.nav-link.is-active::after{ width:100%; }
.nav-link.is-active{ color:var(--ink); font-weight:600; }

#mobileMenu{ max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.4,0,.2,1); }
#mobileMenu.is-open{ max-height:34rem; }

/* ---------- Buttons ------------------------------------------------------ */
:where(.btn){ display:inline-flex; align-items:center; justify-content:center; gap:.55rem; }
.btn{
  padding:.8rem 1.5rem; border-radius:.7rem;
  font-weight:600; font-size:.9375rem; letter-spacing:.005em; line-height:1.2;
  border:1px solid transparent; cursor:pointer; text-align:center;
  transition:background .2s ease, color .2s ease, border-color .2s ease,
             box-shadow .2s ease, transform .2s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn:active{ transform:translateY(0); }
.btn:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; }

.btn-primary{ background:var(--ink); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:#1e293b; box-shadow:var(--shadow-md); }

.btn-amber{ background:var(--amber); color:#fff; box-shadow:var(--shadow-sm); }
.btn-amber:hover{ background:#b45309; box-shadow:var(--shadow-md); }

.btn-wa{ background:var(--emerald); color:#fff; box-shadow:var(--shadow-sm); }
.btn-wa:hover{ background:#047857; box-shadow:var(--shadow-md); }

.btn-ghost{ background:#fff; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:#cbd5e1; background:var(--stone); }

.btn-sm{ padding:.55rem 1rem; font-size:.8125rem; border-radius:.6rem; }

/* ---------- Eyebrow / labels --------------------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:.55rem;
  font-size:.6875rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  color:var(--amber);
}
.eyebrow-line{ width:1.75rem; height:1px; background:var(--amber); display:inline-block; }

.tag{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.25rem .6rem; border-radius:999px;
  font-size:.6875rem; font-weight:600; letter-spacing:.01em;
  border:1px solid var(--line); color:var(--muted); background:var(--white);
}
.tag-amber{ background:var(--amber-soft); border-color:#fde68a; color:#92400e; }
.tag-emerald{ background:var(--emerald-soft); border-color:#a7f3d0; color:#065f46; }

/* Verified spec badge — the Wi-Fi / power promise in the hero */
.verified{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.55rem 1rem; border-radius:999px;
  background:rgba(255,255,255,.86); border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  font-size:.8125rem; font-weight:500; color:var(--ink);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.verified i{ color:var(--amber); }

/* ---------- Forms -------------------------------------------------------- */
:where(.field){ width:100%; }
.field{
  border-radius:.7rem; padding:.7rem .85rem;
  background:var(--white); color:var(--ink);
  border:1px solid var(--line); font-size:.9375rem; font-family:inherit;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.field:hover{ border-color:#cbd5e1; }
.field:focus{ outline:none; border-color:var(--amber); box-shadow:0 0 0 3px rgb(217 119 6 / .12); }
.field::placeholder{ color:var(--faint); }
.field-label{
  display:block; margin-bottom:.4rem;
  font-size:.6875rem; font-weight:600; letter-spacing:.11em; text-transform:uppercase;
  color:var(--muted);
}
.field-hint{ font-size:.75rem; color:var(--faint); margin-top:.35rem; }
.form-error{ color:#b91c1c; font-size:.8125rem; min-height:1.15rem; }
.form-note{ color:#92400e; background:var(--amber-soft); border:1px solid #fde68a;
  border-radius:.6rem; padding:.6rem .8rem; font-size:.8125rem; }

/* ---------- Segmented option cards (the pass calculator) ------------------ */
:where(.opt){ display:block; }
.opt{ cursor:pointer; }
.opt-input{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
:where(.opt-face){ display:block; }
.opt-face{
  border:1px solid var(--line); border-radius:.8rem; padding:.85rem .9rem;
  background:var(--white); height:100%;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.opt:hover .opt-face{ border-color:#cbd5e1; }
.opt-input:checked + .opt-face{
  border-color:var(--amber); background:#fffbeb; box-shadow:0 0 0 3px rgb(217 119 6 / .10);
}
.opt-input:focus-visible + .opt-face{ outline:2px solid var(--amber); outline-offset:2px; }
.opt-title{ display:block; font-weight:600; color:var(--ink); font-size:.9375rem; line-height:1.25; }
.opt-sub{ display:block; font-size:.75rem; color:var(--muted); margin-top:.2rem; line-height:1.35; }
.opt-price{ display:block; font-size:.8125rem; font-weight:600; color:var(--amber); margin-top:.35rem; }

/* Add-on toggles */
.toggle{ cursor:pointer; }
:where(.toggle){ display:block; }
.toggle-face{
  display:flex; align-items:center; gap:.65rem;
  border:1px solid var(--line); border-radius:.7rem; padding:.65rem .8rem;
  background:var(--white); transition:border-color .2s ease, background .2s ease;
}
.toggle:hover .toggle-face{ border-color:#cbd5e1; }
.opt-input:checked + .toggle-face{ border-color:var(--emerald); background:#f0fdf4; }
.toggle-box{
  width:1.15rem; height:1.15rem; border-radius:.35rem; flex:none;
  border:1.5px solid var(--line); display:grid; place-items:center;
  color:#fff; font-size:.6rem; background:var(--white);
  transition:background .2s ease, border-color .2s ease;
}
.opt-input:checked + .toggle-face .toggle-box{ background:var(--emerald); border-color:var(--emerald); }
.toggle-box i{ opacity:0; transition:opacity .15s ease; }
.opt-input:checked + .toggle-face .toggle-box i{ opacity:1; }

/* ---------- Price summary ------------------------------------------------ */
.summary{ background:var(--stone); border:1px solid var(--line); border-radius:1rem; }
.summary-row{ display:flex; justify-content:space-between; gap:1rem; padding:.55rem 0; font-size:.875rem; }
.summary-row + .summary-row{ border-top:1px dashed var(--line); }
.summary-total{
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  padding-top:.85rem; margin-top:.5rem; border-top:1px solid var(--line);
}
.summary-total .amount{
  font-family:'Cinzel',Georgia,serif; font-size:1.75rem; font-weight:700; color:var(--ink);
}

/* ---------- Pricing table ------------------------------------------------ */
.plan{ position:relative; }
.plan.is-featured{ border-color:var(--amber); box-shadow:var(--shadow-md); }
.plan-flag{
  position:absolute; top:-.7rem; left:50%; transform:translateX(-50%);
  background:var(--amber); color:#fff; font-size:.6875rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; padding:.25rem .75rem; border-radius:999px;
  white-space:nowrap;
}
.plan-price{ font-family:'Cinzel',Georgia,serif; font-size:2.25rem; font-weight:700; color:var(--ink); line-height:1; }

/* ---------- Accordion ---------------------------------------------------- */
.acc-panel{ max-height:0; overflow:hidden; transition:max-height .35s cubic-bezier(.4,0,.2,1); }
.acc-item.is-open .acc-panel{ max-height:32rem; }
.acc-item.is-open .acc-chevron{ transform:rotate(180deg); }
.acc-chevron{ transition:transform .28s ease; color:var(--amber); }

/* ---------- Reveal ------------------------------------------------------- */
.reveal{ opacity:0; transform:translateY(18px);
  transition:opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Hero --------------------------------------------------------- */
.hero{ position:relative; }
.hero-media{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-veil{
  position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 38%,
             rgba(255,255,255,.86) 72%, #ffffff 100%);
}

/* ---------- Early-bird strip & prices ------------------------------------- */
.eb-strip{
  background:linear-gradient(90deg,#fef3c7,#fde68a 55%,#d1fae5);
  color:#78350f; border-bottom:1px solid #fcd34d; font-weight:500;
}
.eb-strip[hidden]{ display:none; }
.eb-strip a{ color:#78350f; }

.price-now{ color:var(--amber); font-weight:700; }
.price-was{
  text-decoration:line-through; opacity:.45; font-weight:400;
  font-size:.8em; margin-left:.45em; color:var(--muted);
}
.price-was[hidden]{ display:none; }

.eb-pill{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.2rem .6rem; border-radius:999px;
  background:var(--emerald-soft); border:1px solid #a7f3d0; color:#065f46;
  font-size:.6875rem; font-weight:700; white-space:nowrap;
}

/* Slot counter dots */
.slots{ display:flex; gap:.28rem; }
.slot{ width:.55rem; height:.55rem; border-radius:999px; background:var(--line); }
.slot.is-open{ background:var(--emerald); }

/* ---------- Hero slider --------------------------------------------------- */
.hero-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.4s ease; }
.hero-slide.is-active{ opacity:1; }
.hero-dots{ display:flex; gap:.4rem; }
.hero-dot{
  width:1.9rem; height:.2rem; border-radius:999px; background:rgba(15,23,42,.18);
  transition:background .3s ease, width .3s ease; cursor:pointer; border:0; padding:0;
}
.hero-dot.is-active{ background:var(--amber); width:2.6rem; }
.hero-dot:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; }

/* ---------- Speed meter (Lambasingi specs) -------------------------------- */
.meter{ height:.5rem; border-radius:999px; background:var(--line-soft); overflow:hidden; }
.meter-fill{ height:100%; border-radius:999px; background:linear-gradient(90deg,var(--emerald),var(--amber)); }

/* ---------- Weekly rhythm timeline --------------------------------------- */
.rhythm{ position:relative; padding-left:2.25rem; }
.rhythm::before{
  content:''; position:absolute; left:.72rem; top:.4rem; bottom:.4rem;
  width:1px; background:var(--line);
}
.rhythm-dot{
  position:absolute; left:0; top:.2rem; width:1.5rem; height:1.5rem; border-radius:999px;
  background:var(--white); border:1px solid var(--line);
  display:grid; place-items:center; font-size:.6rem; color:var(--amber);
}

/* ---------- Mobile action bar -------------------------------------------- */
:where(.action-bar){ display:grid; }
.action-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:70;
  grid-template-columns:1fr 1fr; gap:.5rem;
  padding:.5rem .6rem calc(.5rem + env(safe-area-inset-bottom, 0px));
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
}
:where(.action-btn){ display:flex; }
.action-btn{
  align-items:center; justify-content:center; gap:.45rem;
  padding:.75rem .5rem; border-radius:.7rem;
  font-size:.8125rem; font-weight:600; white-space:nowrap;
  transition:transform .18s ease;
}
.action-btn:active{ transform:scale(.98); }
.action-quote{ background:var(--white); color:var(--ink); border:1px solid var(--line); }
.action-wa{ background:var(--emerald); color:#fff; }
@media (max-width:1023px){ body{ padding-bottom:4.35rem; } }

/* ---------- Misc --------------------------------------------------------- */
.divider{ height:1px; background:linear-gradient(90deg,transparent,var(--line),transparent); }

::selection{ background:var(--amber-soft); color:var(--ink); }

::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--stone); }
::-webkit-scrollbar-thumb{ background:#cbd5e1; border-radius:999px; }
::-webkit-scrollbar-thumb:hover{ background:var(--faint); }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important;
  }
  .reveal{ opacity:1; transform:none; }
}
