/* ============ TAHLI — Longevity & Recovery Retreat ============ */
:root {
  --espresso: #241a12;      /* dark brand sections */
  --espresso-2: #1a120b;
  --terra: #c2683c;         /* high-contrast CTA */
  --terra-deep: #a8552e;
  --gold: #c9a15e;          /* accents / underlines */
  --cream: #f4ede0;
  --white: #fffdf8;
  --card-line: rgba(60,45,30,.1);
  --text: #3b332b;
  --muted: #8a7f6e;
  --radius: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.08; color: var(--espresso); }
h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.35rem; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--terra); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* accents */
.eyebrow { text-transform: uppercase; letter-spacing: .32em; font-size: .72rem; font-weight: 600; color: var(--terra); }
.eyebrow.light { color: var(--gold); }
.accent { display: block; width: 52px; height: 2px; background: var(--gold); margin: 16px 0 24px; }
.accent-center { margin-left: auto; margin-right: auto; }

/* buttons */
.btn { display: inline-block; padding: 15px 32px; border-radius: 4px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border: 1.5px solid transparent; transition: all .3s var(--ease); text-align: center; }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(168,85,46,.4); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn-outline { border-color: var(--espresso); color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn-block { width: 100%; }

/* NAV */
#nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: all .4s var(--ease); }
#nav.scrolled { background: rgba(26,18,11,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600; letter-spacing: .22em; color: #fff; }
.brand span { color: var(--gold); }
.brand em { font-family: 'Inter', sans-serif; font-style: normal; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-left: 8px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--terra); color: #fff !important; padding: 10px 20px; border-radius: 4px; }
.nav-cta:hover { background: var(--terra-deep); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: #fff; transition: .3s; }
.hamburger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--espresso); }
.hero-screen { position: absolute; inset: 0; background: var(--espresso) url('assets/img/hero-sauna.jpg') center/cover no-repeat; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: kenburns 20s infinite; }
.slide-1 { background-image: url('assets/img/hero-sauna.jpg'); animation-delay: 0s; }
.slide-2 { background-image: url('assets/img/hero-pool.jpg'); animation-delay: 10s; }
@keyframes kenburns { 0%{opacity:0;transform:scale(1.04);} 6%{opacity:1;} 44%{opacity:1;} 50%{opacity:0;transform:scale(1.12);} 100%{opacity:0;transform:scale(1.04);} }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(20,14,8,.35) 0%, rgba(20,14,8,.62) 100%), linear-gradient(0deg, rgba(20,14,8,.6) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 110px 28px 0; }
.hero-content .accent { margin-top: 14px; }
.hero-content h1 { color: #fff; margin-bottom: 1.5rem; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.18rem; max-width: 560px; margin: 0 auto 2.4rem; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); transition: .4s; }
.hero-dots .dot.active { background: var(--gold); width: 22px; border-radius: 5px; }

/* STRIP */
.strip { background: var(--espresso); color: var(--cream); padding: 44px 32px; text-align: center; }
.strip p { max-width: 820px; margin: 0 auto; font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; line-height: 1.4; }
.strip strong { color: var(--gold); font-weight: 600; }

/* SECTIONS */
.section { padding: 104px 32px; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { margin-bottom: 1.1rem; }
.lede { color: var(--muted); font-size: 1.06rem; font-weight: 300; }
.grid { display: grid; gap: 26px; max-width: var(--maxw); margin: 0 auto; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* PILLARS */
.pillar { text-align: center; padding: 44px 30px; background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.section-white .pillar { background: var(--cream); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(44,32,20,.13); }
.pillar-icon { width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: var(--terra); background: rgba(194,104,60,.09); }
.pillar-icon svg { width: 34px; height: 34px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: .96rem; }

/* MODALITY CARDS */
.card { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(44,32,20,.13); }
.card-icon { width: 52px; height: 52px; color: var(--terra); margin-bottom: 18px; }
.card-icon svg { width: 40px; height: 40px; }
.card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { color: var(--muted); font-size: .94rem; }
.tag { display: inline-block; margin-top: 6px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-deep); background: rgba(194,104,60,.12); padding: 3px 10px; border-radius: 100px; font-weight: 600; }

/* GALLERY BAND */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--espresso); }
.g-item { position: relative; margin: 0; overflow: hidden; height: 46vh; min-height: 340px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 22px; bottom: 20px; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; text-shadow: 0 2px 14px rgba(0,0,0,.6); z-index: 2; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,8,.55) 0%, transparent 55%); }

/* FEATURE / RETREAT */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 104px 32px; }
.feature > * { max-width: 560px; }
.feature-copy { justify-self: end; }
.feature-media { justify-self: start; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(44,32,20,.24); }
.feature-media img { width: 100%; height: 100%; max-height: 600px; object-fit: cover; display: block; }
.feature-copy h2 { margin-bottom: 1.1rem; }
.feature-list { list-style: none; margin: 1.6rem 0 2rem; }
.feature-list li { padding: 11px 0 11px 26px; position: relative; border-top: 1px solid var(--card-line); font-size: .98rem; }
.feature-list li:first-child { border-top: 0; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 2px; background: var(--gold); }

/* SCIENCE (dark) */
.section-dark { background: var(--espresso); color: var(--cream); position: relative; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: url('assets/img/teak-texture.jpg') center/cover; opacity: .07; }
.section-dark > * { position: relative; z-index: 1; }
.section-dark .section-head, .section-dark .lede { color: #cdc2b0; }
.section-dark h2 { color: #fff; }
.grid-science { grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 900px; }
.science-item { border-left: 2px solid var(--gold); padding: 6px 0 6px 26px; }
.science-item .stat { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.science-item p { color: #bdb2a0; font-size: .97rem; font-weight: 300; }
.disclaimer { text-align: center; max-width: 720px; margin: 52px auto 0; font-size: .78rem; color: #8f8676; }

/* MEMBERSHIP */
.grid-tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tier { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 42px 34px; display: flex; flex-direction: column; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tier:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(44,32,20,.14); }
.tier-featured { background: var(--espresso); color: var(--cream); border-color: var(--espresso); transform: scale(1.03); }
.tier-featured:hover { transform: scale(1.03) translateY(-6px); }
.tier-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--terra); color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; }
.tier-name { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; color: var(--terra); margin-bottom: 12px; }
.tier-featured .tier-name { color: var(--gold); }
.tier-price { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; line-height: 1; color: var(--espresso); }
.tier-featured .tier-price { color: #fff; }
.tier-price span { font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--muted); font-weight: 400; }
.tier-featured .tier-price span { color: #a99f8e; }
.tier-visits { color: var(--muted); font-size: .94rem; margin: 6px 0 24px; }
.tier-featured .tier-visits { color: #c3baab; }
.tier ul { list-style: none; margin-bottom: 30px; flex: 1; }
.tier li { padding: 9px 0 9px 26px; position: relative; font-size: .95rem; border-top: 1px solid var(--card-line); }
.tier-featured li { border-color: rgba(255,255,255,.12); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--terra); font-weight: 700; }
.tier-featured li::before { color: var(--gold); }
.tier li:first-child { border-top: 0; }

/* OFFER */
.offer { background: var(--espresso-2); color: var(--cream); padding: 100px 32px; position: relative; }
.offer::before { content: ""; position: absolute; inset: 0; background: url('assets/img/hero-sauna.jpg') center/cover; opacity: .14; }
.offer-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.offer-copy h2 { color: #fff; margin-bottom: 1.1rem; }
.offer-copy .lede { color: #cdc2b0; }
.offer-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 14px; backdrop-filter: blur(6px); }
.offer-form input, .offer-form textarea { background: rgba(255,255,255,.96); border: 0; border-radius: 6px; padding: 14px 16px; font-family: inherit; font-size: .95rem; color: var(--espresso); resize: vertical; }
.offer-form input:focus, .offer-form textarea:focus { outline: 2px solid var(--terra); }
.form-status { font-size: .87rem; min-height: 1.2em; text-align: center; color: #cdc2b0; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #e8b3a0; }

/* FOOTER */
#footer { background: var(--espresso-2); color: #a99f8e; padding: 52px 32px 32px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { display: block; margin-bottom: 6px; }
.footer-brand p { font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-contact { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.footer-contact a { color: var(--cream); font-size: 1.15rem; font-family: 'Cormorant Garamond', serif; }
.footer-addr { font-size: .82rem; }
.footer-legal { max-width: var(--maxw); margin: 20px auto 0; font-size: .74rem; color: #6f665a; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-3, .grid-tiers, .grid-science, .gallery { grid-template-columns: 1fr; }
  .gallery { gap: 4px; }
  .g-item { height: 60vw; min-height: 260px; }
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature > * { max-width: 100%; }
  .feature-media { order: -1; justify-self: stretch; }
  .feature-copy { justify-self: stretch; }
  .tier-featured { transform: none; }
  .tier-featured:hover { transform: translateY(-6px); }
  .offer-inner { grid-template-columns: 1fr; gap: 34px; }
  .nav-links { position: fixed; inset: 0 0 0 auto; height: 100vh; width: 76%; max-width: 320px; background: rgba(26,18,11,.98); backdrop-filter: blur(14px); flex-direction: column; justify-content: center; gap: 26px; transform: translateX(100%); transition: transform .4s var(--ease); padding: 40px; }
  .nav-links.open { transform: none; }
  .hamburger { display: flex; z-index: 101; }
  .brand em { display: none; }
}
@media (max-width: 520px) {
  .section, .feature, .offer { padding: 72px 22px; }
  .nav-inner { padding: 16px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
}
