/* ══════════════════════════════════════════════════════════════════
   HELTHU SHARED DESIGN SYSTEM  ·  shared.css  ·  v1.0
   Brand: Obsidian #111715 · Porcelain #F7F5EF · Mineral #0B6F63
          Champagne #C6A15B · Graphite #59615E · Bone #DDD8CC
   Fonts: Fraunces (display) · Manrope (UI/body)
   ══════════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --obsidian:    #111715;
  --porcelain:   #f7f5ef;
  --mineral:     #0b6f63;
  --champagne:   #c6a15b;
  --graphite:    #59615e;
  --bone:        #ddd8cc;
  --white:       #ffffff;
  --mineral-dim: rgba(11, 111, 99, 0.10);

  --display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --ui:      "Manrope", "Inter", system-ui, -apple-system, sans-serif;

  --section-v:   clamp(80px, 10vw, 140px);
  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 18px 48px rgba(17, 23, 21, 0.10);
  --shadow-lg:   0 28px 72px rgba(17, 23, 21, 0.15);
}

/* ─── 2. RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body  { background: var(--porcelain); color: var(--obsidian); font-family: var(--ui); line-height: 1.65; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ─── 3. LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}
.section { padding-block: var(--section-v); }
.section-dark  { background: var(--obsidian); color: var(--porcelain); }
.section-light { background: var(--porcelain); color: var(--obsidian); }

/* ─── 4. TYPOGRAPHY ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
}
.eyebrow--muted  { color: var(--graphite); }
.eyebrow--dark   { color: rgba(247,245,239,0.45); }

.display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.025em;
}
.display-xl { font-size: clamp(52px, 7.5vw, 100px); }
.display-lg { font-size: clamp(38px, 5vw, 68px); }
.display-md { font-size: clamp(28px, 3.5vw, 48px); }
.display-sm { font-size: clamp(22px, 2.5vw, 34px); }

.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--graphite);
}
.lead--light { color: rgba(247,245,239,0.60); }
.lead--wide  { max-width: 640px; }

/* ─── 5. BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 160ms ease, background 180ms ease, box-shadow 180ms ease, border-color 160ms ease, opacity 160ms ease;
  cursor: pointer;
}
.btn:hover   { transform: translateY(-1px); }
.btn:active  { transform: translateY(0); }

.btn--primary {
  background: var(--mineral);
  color: var(--white);
  border-color: var(--mineral);
}
.btn--primary:hover { background: #0a5c51; box-shadow: 0 6px 24px rgba(11,111,99,0.32); }

.btn--ghost-dark {
  background: transparent;
  color: var(--porcelain);
  border-color: rgba(247,245,239,0.28);
}
.btn--ghost-dark:hover { border-color: rgba(247,245,239,0.7); background: rgba(247,245,239,0.07); }

.btn--ghost-light {
  background: transparent;
  color: var(--obsidian);
  border-color: rgba(17,23,21,0.22);
}
.btn--ghost-light:hover { border-color: var(--obsidian); }

.btn--obsidian {
  background: var(--obsidian);
  color: var(--porcelain);
  border-color: var(--obsidian);
}
.btn--obsidian:hover { background: #1c2926; }

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.btn--whatsapp:hover { background: #1db954; box-shadow: 0 6px 20px rgba(37,211,102,0.28); }

.btn--sm { height: 42px; padding: 0 18px; font-size: 13px; }
.btn--lg { height: 60px; padding: 0 36px; font-size: 15px; }

/* ─── 6. SHARED NAVIGATION ──────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 216, 204, 0.55);
  transition: background 200ms ease;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.site-nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-nav__logo img { width: 186px; height: auto; }

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: 0.01em;
  transition: color 160ms ease;
}
.site-nav__link:hover,
.site-nav__link--active { color: var(--obsidian); }
.site-nav__link--back {
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid var(--bone);
  letter-spacing: 0;
}
.site-nav__link--back:hover { color: var(--obsidian); }
.site-nav__cta { margin-left: 4px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--obsidian);
  border-radius: 2px;
  transition: all 220ms ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 7. SHARED FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--obsidian);
  color: var(--porcelain);
  padding-top: 72px;
  padding-bottom: 40px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(221,216,204,0.10);
  margin-bottom: 36px;
}
.site-footer__logo { margin-bottom: 14px; }
.site-footer__logo img {
  width: 168px;
  height: auto;
  opacity: 0.90;
}
.site-footer__tagline {
  font-size: 13px;
  font-weight: 500;
  color: rgba(247,245,239,0.38);
  letter-spacing: 0.01em;
}
.site-footer__nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
}
.site-footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(247,245,239,0.58);
  transition: color 160ms ease;
}
.site-footer__nav-links a:hover { color: var(--porcelain); }
.site-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__copy {
  font-size: 12px;
  color: rgba(247,245,239,0.28);
  flex-shrink: 0;
}
.site-footer__legal {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(247,245,239,0.22);
  max-width: 500px;
  text-align: right;
}

/* ─── 8. SCROLL FADE ANIMATIONS ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms cubic-bezier(0.22,1,0.36,1),
              transform 700ms cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

/* ─── 9. RESPONSIVE ──────────────────────────────────────────────── */

/* Prevent horizontal overflow on all screens */
html, body { overflow-x: hidden; }

/* ── Tablet & small desktop (≤ 860px) ─────────────────────────── */
@media (max-width: 860px) {

  /* Mobile nav dropdown */
  .site-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(247,245,239,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bone);
    padding: 8px 0 20px;
    gap: 0;
    box-shadow: 0 16px 48px rgba(17,23,21,0.12);
    z-index: 99;
  }
  .site-nav__links.open { display: flex; }
  .site-nav__inner      { position: relative; }
  .nav-toggle           { display: flex; }

  .site-nav__link {
    font-size: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(221,216,204,0.4);
    color: var(--obsidian);
    display: block;
  }
  .site-nav__link--back {
    padding-right: 24px;
    border-right: none;
    border-bottom: 1px solid rgba(221,216,204,0.4);
  }
  .site-nav__cta {
    margin: 16px 24px 0;
    width: calc(100% - 48px);
  }
  .site-nav__cta .btn {
    width: 100%;
    justify-content: center;
    height: 52px;
    font-size: 15px;
  }

  /* Footer */
  .site-footer__top    { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .site-footer__legal  { text-align: left; max-width: 100%; }
  .site-footer__bottom { flex-direction: column; gap: 12px; }
}

/* ── Mobile (≤ 540px) ──────────────────────────────────────────── */
@media (max-width: 540px) {
  .container { width: calc(100% - 32px); }

  .site-nav__inner    { min-height: 64px; }
  .site-nav__logo img { width: 148px; }

  .site-footer { padding-top: 48px; padding-bottom: 28px; }
  .site-footer__top { gap: 24px; padding-bottom: 28px; margin-bottom: 24px; }
  .site-footer__logo img { width: 140px; }
  .site-footer__copy { font-size: 11px; }
  .site-footer__legal { font-size: 11px; }
}

/* ── Very small (≤ 380px) ──────────────────────────────────────── */
@media (max-width: 380px) {
  .btn { padding: 0 16px; font-size: 13px; }
  .btn--lg { height: 52px; font-size: 14px; }
}
