/* ═══════════════════════════════════════════════
   SUCCESS LIVING — Global Stylesheet
   Fonts: Cormorant Garamond (serif) + DM Sans (sans)
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #2d5a3d;
  --green-mid:   #3d7a54;
  --green-light: #5a9e72;
  --green-pale:  #eef5f1;
  --green-xpale: #f4f9f6;
  --cream:       #faf8f4;
  --cream2:      #f2ede4;
  --cream3:      #e8e0d0;
  --border:      #e0d8cc;
  --text:        #1a1a16;
  --mid:         #4a453e;
  --muted:       #7a7468;
  --light:       #a8a299;
  --white:       #ffffff;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.09);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.12);
  --radius:      6px;
  --radius-sm:   3px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p  { line-height: 1.75; color: var(--muted); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 1rem;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--green);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after { width: 100%; }

.nav-book {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-book:hover { background: var(--green-mid); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.25s;
}

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--text);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--muted);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: all 0.2s;
  font-weight: 500;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-mid); }
.btn-outline { background: transparent; color: var(--green); border: 1px solid var(--green); }
.btn-outline:hover { background: var(--green-pale); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--cream); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ── SECTION WRAPPERS ── */
.section { padding: 6rem 3rem; }
.section-sm { padding: 4rem 3rem; }
.container { max-width: 1160px; margin: 0 auto; }
.container-sm { max-width: 720px; margin: 0 auto; }
.container-md { max-width: 920px; margin: 0 auto; }

.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 560px; font-size: 1.05rem; }
.section-header.center p { margin: 0 auto; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); }

/* ── GREEN DOT PULSE ── */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulseAnim 2s infinite;
}
@keyframes pulseAnim { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  color: var(--mid);
}
.badge strong { color: var(--green); font-weight: 600; }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.55);
  padding: 4rem 3rem 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.footer-brand .logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  max-width: 1160px;
  margin: 0 auto;
}

/* ── FADE IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .nav { padding: 0 1.5rem; }
  .nav-links, .nav-book { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 4rem 1.5rem; }
  .section-sm { padding: 3rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer { padding: 3rem 1.5rem 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
