/* One Health Clubs — September 30-Day Guarantee landing pages
   Design system translated from the 7 Days Access page (Lovable):
   near-black ground, lime accent, Montserrat 800 condensed display,
   Inter light body, zero radius, outlined inverting buttons. */

:root {
  --background: hsl(0 0% 3%);
  --foreground: hsl(0 0% 96%);
  --card: hsl(0 0% 7%);
  --muted: hsl(0 0% 14%);
  --muted-foreground: hsl(0 0% 55%);
  --accent: hsl(85 55% 51%);
  --accent-foreground: hsl(0 0% 3%);
  --border: hsl(0 0% 14%);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-wide { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  background: hsl(0 0% 3% / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(0 0% 14% / 0.5);
}
.nav img { height: 1.25rem; width: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  border: 1px solid var(--foreground);
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.btn:hover { background: var(--foreground); color: var(--background); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.6rem; }
.btn-accent { border-color: var(--accent); color: var(--accent); }
.btn-accent:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
}
.btn-primary:hover { background: var(--foreground); border-color: var(--foreground); color: var(--background); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- type ---------- */
.eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.eyebrow-accent { color: var(--accent); }

.display-xl { font-size: clamp(2.5rem, 8.5vw, 5.5rem); line-height: 0.92; }
.display-lg { font-size: clamp(2.2rem, 6.5vw, 4.5rem); line-height: 0.95; }
.display-md { font-size: clamp(1.8rem, 5vw, 3.25rem); line-height: 1; }

.body-copy {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  line-height: 1.7;
}
.accent { color: var(--accent); }

/* ---------- sections ---------- */
section { border-bottom: 1px solid var(--border); }
.section-pad { padding: 5rem 0; }
@media (min-width: 768px) { .section-pad { padding: 7rem 0; } }
.hero.section-pad { padding: 3.5rem 0 4rem; }
@media (min-width: 768px) { .hero.section-pad { padding: 7rem 0; } }

/* ---------- deadline chip ---------- */
.deadline-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid hsl(85 55% 51% / 0.4);
  background: hsl(85 55% 51% / 0.08);
  color: var(--accent);
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.45rem 0.9rem;
}
.deadline-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* ---------- mid-page CTA band ---------- */
.cta-band { text-align: center; background: var(--card); }
.cta-band .inner { padding: 3.5rem 1.25rem; }
.cta-band h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
.cta-band .body-copy { max-width: 30rem; margin: 0.9rem auto 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 44rem; margin: 3rem auto 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0.25rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--foreground);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  color: var(--accent); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0.25rem 1.25rem; font-size: 0.82rem; line-height: 1.7; color: var(--muted-foreground); max-width: 38rem; }

/* ---------- mobile sticky action bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch; gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .book {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; padding: 0.8rem 1rem;
  background: var(--accent); color: var(--accent-foreground);
  text-decoration: none; text-align: center;
}
.sticky-cta .book .label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.sticky-cta .book .days {
  font-size: 0.58rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.75;
}
.sticky-cta .call {
  display: flex; align-items: center; justify-content: center;
  width: 3.75rem;
  background: var(--background); color: var(--foreground);
  text-decoration: none;
}
@media (min-width: 768px) { .sticky-cta { display: none; } }
body.has-sticky-cta { padding-bottom: 0; }
body.has-sticky-cta footer { padding-bottom: 6rem; }
@media (min-width: 768px) { body.has-sticky-cta footer { padding-bottom: 2.5rem; } }

/* ---------- hero ---------- */
.hero { text-align: center; }
.hero .body-copy { max-width: 34rem; margin: 0 auto; }
.hero-note { font-size: 0.65rem; letter-spacing: 0.08em; color: var(--muted-foreground); }
.hero.has-bg { position: relative; }
.hero.has-bg .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero.has-bg .bg::after {
  content: ""; position: absolute; inset: 0;
  background: hsl(0 0% 3% / 0.93);
}
.hero.has-bg > .wrap { position: relative; z-index: 1; }
.hero.has-bg .body-copy, .hero.has-bg .hero-note { color: hsl(0 0% 66%); }

/* ---------- guarantee band ---------- */
.guarantee-quote {
  border-left: 2px solid var(--accent);
  padding: 1.25rem 1.5rem;
  background: var(--card);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  font-weight: 400;
  max-width: 38rem;
}

/* ---------- steps / stats grids (gap-px trick) ---------- */
.grid-cells {
  display: grid;
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.cell {
  background: var(--background);
  padding: 2rem 1.5rem;
}
.cell-center { text-align: center; padding: 2.5rem 1.5rem; }
.cell .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--accent);
  line-height: 1;
}
.cell .stat-num { color: var(--foreground); }
.cell h3 { font-size: 0.9rem; margin-top: 1rem; letter-spacing: 0.1em; }
.cell p { margin-top: 0.6rem; font-size: 0.78rem; line-height: 1.6; color: var(--muted-foreground); }
.cell .stat-label {
  margin-top: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .ph { overflow: hidden; }
.gallery img {
  width: 100%; height: 10rem; object-fit: cover;
  transition: transform 0.5s ease;
}
@media (min-width: 768px) { .gallery img { height: 15rem; } }
.gallery .ph:hover img { transform: scale(1.05); }

/* ---------- checklist ---------- */
.checklist { list-style: none; max-width: 30rem; margin: 2.5rem auto 0; text-align: left; }
.checklist li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.82rem; line-height: 1.6; color: var(--muted-foreground);
}
.checklist svg { flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- final CTA / form ---------- */
.cta-final { position: relative; }
.cta-final .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.cta-final .bg::after {
  content: ""; position: absolute; inset: 0;
  background: hsl(0 0% 3% / 0.88);
}
.cta-final .content { position: relative; z-index: 1; padding: 6rem 0; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 2.5rem; text-align: left; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label {
  display: block;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.4rem;
}
.form-grid input, .form-grid select {
  width: 100%;
  background: hsl(0 0% 7% / 0.85);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.8rem 0.9rem;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-grid input:focus, .form-grid select:focus { border-color: var(--foreground); }
.form-grid button { width: 100%; padding: 1.05rem 2.25rem; font-size: 0.72rem; }
@media (min-width: 640px) { .form-grid button { width: auto; } }
.form-hint { margin-top: 0.9rem; font-size: 0.68rem; letter-spacing: 0.05em; color: var(--muted-foreground); }
.form-msg { display: none; margin-top: 1.25rem; font-size: 0.78rem; color: var(--accent); letter-spacing: 0.05em; }
.consent {
  margin-top: 1.25rem;
  font-size: 0.64rem; line-height: 1.7;
  color: hsl(0 0% 62%);
}
.consent a { color: hsl(0 0% 78%); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 2.5rem 1.25rem; text-align: center; }
footer img { height: 1.25rem; margin: 0 auto; }
footer .addr { margin-top: 1rem; font-size: 0.7rem; color: var(--muted-foreground); letter-spacing: 0.05em; }
footer .fine {
  margin: 1.25rem auto 0; max-width: 44rem;
  font-size: 0.62rem; line-height: 1.7; color: hsl(0 0% 62%);
}
footer .copy { margin-top: 1.25rem; font-size: 0.65rem; color: var(--muted-foreground); letter-spacing: 0.05em; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.mt-1 { margin-top: 1rem; } .mt-15 { margin-top: 1.5rem; } .mt-2 { margin-top: 2rem; } .mt-25 { margin-top: 2.5rem; }
.center { text-align: center; }
