/* ============================================================
   FIRM GROUND LIFE COACHING — Shared Styles
   Warm, grounded, modern. Fraunces + Instrument Sans.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  /* Palette — earth, moss, clay */
  --ink: #1c211a;            /* near-black green */
  --pine: #24382b;           /* deep forest */
  --pine-soft: #33503d;
  --moss: #4d7a5a;
  --sage: #a7bfa9;
  --clay: #c8663b;           /* terracotta accent */
  --clay-bright: #e07a4a;
  --clay-glow: #f0a37b;
  --sand: #f4efe6;           /* main background */
  --paper: #fbf8f2;          /* lighter surface */
  --stone: #6e6a5e;
  --stone-light: #9a958a;
  --line: #e4ddd0;
  --text: #2b2a25;
  --text-soft: #5c584d;

  --shadow-sm: 0 1px 3px rgba(28, 33, 26, 0.06);
  --shadow-md: 0 6px 24px rgba(28, 33, 26, 0.09);
  --shadow-lg: 0 16px 48px rgba(28, 33, 26, 0.14);
  --radius: 12px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

/* Subtle grain for warmth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.12;
  color: var(--pine);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-soft); font-size: 1.03rem; }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--clay-glow); color: var(--ink); }

/* ============================================================
   LOGO
   ============================================================ */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo__mark { width: 40px; height: 40px; flex-shrink: 0; }

.logo__text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 550;
  color: var(--pine);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 2px;
}

/* Footer variant (on dark) */
.logo--light .logo__text { color: var(--paper); }
.logo--light .logo__text small { color: var(--clay-glow); }

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28, 33, 26, 0.05);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--clay);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }

.nav__links a:hover,
.nav__links a.active { color: var(--pine); }

.nav__cta {
  background: var(--pine);
  color: var(--paper) !important;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.nav__cta:hover {
  background: var(--clay) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 102, 59, 0.3);
}

.nav__mobile-btn {
  display: none;
  background: none; border: none;
  cursor: pointer;
  width: 32px; height: 24px;
  position: relative;
  z-index: 110;
}

.nav__mobile-btn span {
  display: block;
  width: 100%; height: 2px;
  background: var(--pine);
  position: absolute; left: 0;
  transition: all 0.3s ease;
}

.nav__mobile-btn span:nth-child(1) { top: 0; }
.nav__mobile-btn span:nth-child(2) { top: 11px; }
.nav__mobile-btn span:nth-child(3) { top: 22px; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 15px 34px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover {
  background: var(--clay-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 102, 59, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--pine);
  border: 2px solid var(--pine);
}
.btn--secondary:hover {
  background: var(--pine);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 2px solid rgba(251, 248, 242, 0.35);
}
.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(251, 248, 242, 0.1);
}

.btn--sm { padding: 10px 22px; font-size: 0.88rem; }

.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 110px 0; }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--pine { background: var(--pine); color: var(--paper); }
.section--pine h2, .section--pine h3 { color: var(--paper); }
.section--pine p { color: rgba(251, 248, 242, 0.72); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.1rem;
}

.section__label::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--clay);
  border-radius: 2px;
}

.section__header { max-width: 700px; margin-bottom: 4rem; }
.section__header--center {
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.section__header--center .section__label::after {
  content: '';
  width: 22px; height: 2px;
  background: var(--clay);
  border-radius: 2px;
}
.section__header h2 { margin-bottom: 1.1rem; }
.section__header p { font-size: 1.12rem; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 85% 15%, rgba(200, 102, 59, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 10% 90%, rgba(77, 122, 90, 0.18) 0%, transparent 60%),
    var(--pine);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 90px 0;
}

.hero__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-glow);
  margin-bottom: 1.6rem;
  padding: 8px 18px;
  background: rgba(200, 102, 59, 0.14);
  border: 1px solid rgba(240, 163, 123, 0.25);
  border-radius: 50px;
}

.hero h1 {
  color: var(--paper);
  margin-bottom: 1.6rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 420;
  color: var(--clay-glow);
}

.hero__text {
  color: rgba(251, 248, 242, 0.7) !important;
  font-size: 1.22rem !important;
  margin-bottom: 2.6rem;
  max-width: 600px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Strata decoration — layered ground lines */
.hero__decoration {
  position: absolute;
  right: -3%;
  bottom: -4%;
  z-index: 1;
  opacity: 0.13;
  pointer-events: none;
}
.hero__decoration svg { width: 560px; height: 560px; }

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.card__icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--clay), var(--clay-bright));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.5rem;
}

.card h3 { margin-bottom: 0.8rem; }
.card p { font-size: 0.98rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--line);
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.pricing-card--featured {
  border-color: var(--clay);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fff8f2 0%, var(--paper) 40%);
}

.pricing-card--featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--clay);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 18px;
  border-radius: 50px;
}

.pricing-card--best {
  border-color: var(--pine);
  box-shadow: var(--shadow-md);
}

.pricing-card--best::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--pine);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 18px;
  border-radius: 50px;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--pine);
  margin-bottom: 0.5rem;
}

.pricing-card__desc { font-size: 0.9rem; color: var(--stone); margin-bottom: 1.5rem; }

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 3.1rem;
  color: var(--pine);
  margin-bottom: 0.25rem;
}

.pricing-card__price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
  font-weight: 400;
}

.pricing-card__note { font-size: 0.85rem; color: var(--stone-light); margin-bottom: 2rem; }

.pricing-card__features { list-style: none; text-align: left; margin-bottom: 2rem; }

.pricing-card__features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--clay);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   BIO
   ============================================================ */

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.bio__image-wrap { position: relative; }

.bio__image-frame {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, var(--pine-soft), var(--pine));
}

.bio__image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.bio__accent {
  position: absolute;
  top: -14px; right: -14px;
  width: 90px; height: 90px;
  background: var(--clay);
  border-radius: var(--radius);
  z-index: -1;
}

.bio__accent--2 {
  top: auto; right: auto;
  bottom: -14px; left: -14px;
  width: 60px; height: 60px;
  background: var(--sage);
  border-radius: 50%;
}

.bio__credentials { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(200, 102, 59, 0.08);
  border: 1px solid rgba(200, 102, 59, 0.22);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clay);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonial-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--clay);
  opacity: 0.18;
  position: absolute;
  top: 12px; left: 22px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.testimonial__author { display: flex; align-items: center; gap: 12px; }

.testimonial__avatar {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--moss), var(--pine-soft));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial__name { font-weight: 600; font-size: 0.92rem; color: var(--pine); }
.testimonial__role { font-size: 0.82rem; color: var(--stone); }

/* ============================================================
   FORMS
   ============================================================ */

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--pine);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(200, 102, 59, 0.12);
}

.form-group textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   STEPS
   ============================================================ */

.steps { counter-reset: step; }

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child { border-bottom: none; }

.step__number {
  counter-increment: step;
  flex-shrink: 0;
  width: 58px; height: 58px;
  background: var(--pine);
  color: var(--clay-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.step__content h3 { margin-bottom: 0.5rem; }
.step__content p { font-size: 0.96rem; }

.step__tag {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.6rem;
}

.step__tag--free { background: #ddebd9; color: #2c5233; }
.step__tag--paid { background: rgba(200, 102, 59, 0.12); color: var(--clay); }

/* ============================================================
   STATS BAND
   ============================================================ */

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat { text-align: center; }

.stat__value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--pine);
  line-height: 1.1;
}

.stat__value em { font-style: italic; color: var(--clay); }

.stat__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.4rem;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background:
    radial-gradient(ellipse 800px 500px at 50% -20%, rgba(200, 102, 59, 0.16) 0%, transparent 60%),
    var(--pine);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: var(--paper); margin-bottom: 1rem; position: relative; }

.cta-band p {
  color: rgba(251, 248, 242, 0.65);
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
  position: relative;
}

.cta-band .btn { position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.5);
  padding: 70px 0 32px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.site-footer h4 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; }

.site-footer a {
  color: rgba(251, 248, 242, 0.5);
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--clay-glow); }

.footer__bottom {
  border-top: 1px solid rgba(251, 248, 242, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__certs { display: flex; gap: 1rem; flex-wrap: wrap; }

.footer__cert {
  padding: 5px 14px;
  border: 1px solid rgba(251, 248, 242, 0.12);
  border-radius: 50px;
  font-size: 0.78rem;
  color: rgba(251, 248, 242, 0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 968px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--sand);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 100;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.3rem; }
  .nav__mobile-btn { display: block; }

  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero__content { padding: 40px 0; }
  .hero__decoration { display: none; }

  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .step { flex-direction: column; gap: 1rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-in.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
