/* ============================================================
   WHMISCertified — Editorial / Modern Health Agency
   Theme: Clean, airy, authoritative — light mode
   Fonts: Playfair Display (headlines) + DM Sans (UI/body)
   Palette: Forest green + warm white + slate accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --green:        #1a6645;
  --green-dark:   #124730;
  --green-light:  #e8f4ee;
  --green-mid:    #c8e6d4;
  --accent:       #e8870a;
  --slate:        #4a5568;
  --slate-light:  #718096;
  --white:        #ffffff;
  --bg:           #f7f8f5;
  --bg-warm:      #f0ede6;
  --text:         #1a2420;
  --border:       #dde3db;
  --radius-sm:    4px;
  --radius-md:    10px;
  --radius-lg:    18px;
  --shadow-sm:    0 1px 4px rgba(26,100,69,0.08);
  --shadow-md:    0 4px 20px rgba(26,100,69,0.12);
  --shadow-lg:    0 12px 40px rgba(26,100,69,0.16);
  --transition:   0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: var(--green-dark);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { color: var(--slate); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 600; }

ul { padding-left: 1.3rem; margin: 0.5rem 0 1rem; }
ul li { color: var(--slate); margin-bottom: 0.4rem; }
ul li::marker { color: var(--green); }

/* ── Layout ────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1060px;
  margin: 0 auto;
}

/* ── Header ────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}

header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

header nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

header nav a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

header nav .nav-cta {
  background: var(--green);
  color: var(--white);
  margin-left: 8px;
  font-weight: 600;
}

header nav .nav-cta:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: end;
}

.hero-text { padding-bottom: 60px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* decorative panel */
.hero-panel {
  background: var(--green);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 44px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.panel-stat {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  backdrop-filter: blur(4px);
}

.panel-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: block;
}

.panel-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(26,100,69,0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,100,69,0.4);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--green);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  transition: all var(--transition);
}

.btn-ghost:hover {
  background: var(--green-light);
}

/* ── Divider strip ─────────────────────────────────────── */
.divider-strip {
  background: var(--green-light);
  border-top: 1px solid var(--green-mid);
  border-bottom: 1px solid var(--green-mid);
  padding: 28px 0;
}

.divider-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ── Main ──────────────────────────────────────────────── */
main { padding: 72px 0 90px; }

/* ── Section heading ───────────────────────────────────── */
.section-intro {
  margin-bottom: 40px;
}

.section-intro .overline {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.section-intro h2 { margin-bottom: 10px; }

.section-intro p {
  max-width: 540px;
  font-size: 1rem;
}

/* ── Cards ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 64px;
}

.cards-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card-link {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card-link::after {
  content: '→';
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 1.1rem;
  color: var(--border);
  transition: color var(--transition), transform var(--transition);
}

.card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-mid);
}

.card-link:hover::after {
  color: var(--green);
  transform: translateX(4px);
}

.card-link h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.card-link p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-light);
  margin: 0;
  padding-bottom: 24px;
}

/* ── Content Blocks ────────────────────────────────────── */
.content-block {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.content-block:last-child { border-bottom: none; }

.block-label {
  padding-top: 6px;
}

.block-label-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 8px;
}

.block-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green-mid);
  line-height: 1;
  display: block;
}

.block-body h2 {
  margin-bottom: 16px;
}

/* ── Pull quote / highlight box ────────────────────────── */
.highlight-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  margin: 28px 0;
}

.highlight-box p {
  color: var(--green-dark);
  font-weight: 500;
  margin: 0;
}

/* ── CTA Section ───────────────────────────────────────── */
.cta-section {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  margin: 64px 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 40%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.cta-text { position: relative; }

.cta-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.6);
  margin: 0;
  font-size: 0.95rem;
}

.cta-action { position: relative; flex-shrink: 0; }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-white:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--text);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

footer a:hover { color: var(--white); }

/* ── Animations ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text    { animation: fadeUp 0.55s ease both; }
.hero-panel   { animation: fadeUp 0.55s 0.12s ease both; }
.divider-strip{ animation: fadeUp 0.45s 0.08s ease both; }

.cards-grid .card-link:nth-child(1) { animation: fadeUp 0.45s 0.04s ease both; }
.cards-grid .card-link:nth-child(2) { animation: fadeUp 0.45s 0.10s ease both; }
.cards-grid .card-link:nth-child(3) { animation: fadeUp 0.45s 0.16s ease both; }
.cards-grid .card-link:nth-child(4) { animation: fadeUp 0.45s 0.22s ease both; }
.cards-grid .card-link:nth-child(5) { animation: fadeUp 0.45s 0.28s ease both; }

.content-block { animation: fadeUp 0.45s ease both; }
.cta-section   { animation: fadeUp 0.45s ease both; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { border-radius: var(--radius-lg); margin-top: 40px; padding-bottom: 40px; }
  .hero-panel::before { display: none; }
  .content-block { grid-template-columns: 1fr; gap: 12px; }
  .block-num { font-size: 2.2rem; }
  .cta-section { grid-template-columns: 1fr; padding: 36px 28px; text-align: center; }
  .cta-section::before, .cta-section::after { display: none; }
}

@media (max-width: 680px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 10px; }
  header nav { width: 100%; overflow-x: auto; gap: 2px; }
  header nav a { font-size: 0.8rem; padding: 6px 10px; }
  .hero { padding-top: 48px; }
  .cards-grid.cols-2,
  .cards-grid.cols-3 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
