/* ============================================
   NEW LEAF COACHING — Redesigned Site Styles
   Aesthetic: Organic warmth, refined calm, 
   natural textures. Confident but soft.
   ============================================ */

:root {
  /* Palette — earthy sage + warm neutrals */
  --sage: #6B8F71;
  --sage-light: #8FB996;
  --sage-pale: #E8F0E9;
  --sage-dark: #4A6B4F;
  --cream: #FAF8F5;
  --cream-warm: #F5F0EA;
  --sand: #E8E0D5;
  --charcoal: #2C2C2C;
  --text: #3A3A3A;
  --text-light: #6E6E6E;
  --text-lighter: #9A9A9A;
  --white: #FFFFFF;
  --border: #E0DCD6;

  /* Typography — matches live site */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: 6rem;
  --container-max: 1080px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-bottom: 1.2rem; letter-spacing: -0.005em; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
a:hover { color: var(--sage); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section-intro {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}


/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 220, 214, 0.5);
  transition: box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  position: relative;
}

/* Logo on the left, nav links on the right */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 60px;
  flex-shrink: 0;
}

@media (min-width: 1500px) {
  .nav-logo {
    height: 72px;
  }
}

.nav-logo img {
  height: 100%;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
}

.nav-logo:hover img {
  opacity: 0.85;
}

/* Nav links on the right */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--sage);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--charcoal);
}

.btn-nav {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease) !important;
}

.btn-nav:hover {
  background: var(--sage-dark) !important;
  transform: translateY(-1px);
}

.btn-nav::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 143, 113, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage);
}
.btn-ghost:hover {
  background: var(--sage-pale);
  color: var(--sage-dark);
}

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}


/* ---- HERO (Homepage) — two-column: text on left, photo on right ---- */
.hero {
  margin-top: 104px;
  background: var(--cream);
  padding: 5rem 0;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 104px);
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(74, 107, 79, 0.18);
  opacity: 0;
  animation: fadeIn 1s 0.3s var(--ease) forwards;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}

.hero-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s var(--ease) forwards;
}

.hero-rule {
  display: block;
  width: 110px;
  height: 2px;
  background: var(--sage);
  margin: 0 0 2rem;
  border: none;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s var(--ease) forwards;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s var(--ease) forwards;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s var(--ease) forwards;
}

.hero-decoration { display: none; }
.hero-leaf { display: none; }


/* ---- PAGE HERO (About, Contact) ---- */
.page-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--sage-pale) 100%);
}

.page-hero .hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.page-hero h1 {
  max-width: 700px;
}


/* ---- CHALLENGE SECTION ---- */
.section-challenge {
  background: var(--white);
  padding: 3.5rem 0;
}

.section-challenge h2 {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
}

.challenge-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.challenge-centered h2 {
  text-align: center;
}

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

.two-col-text {
  align-items: start;
}

.challenge-list {
  margin: 2rem auto;
  text-align: left;
  display: inline-block;
}

.challenge-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.challenge-icon {
  color: var(--sage);
  font-size: 1.4rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.challenge-item p {
  margin: 0;
  font-size: 1.2rem;
}

.challenge-reassurance {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sage-dark);
  margin-top: 2rem;
}

.visual-card {
  background: linear-gradient(135deg, var(--sage-pale) 0%, var(--cream-warm) 100%);
  border-radius: 16px;
  padding: 3px;
}

.visual-card-inner {
  background: var(--white);
  border-radius: 14px;
  padding: 2.5rem;
  position: relative;
}

.visual-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.visual-attr {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.challenge-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(74, 107, 79, 0.15);
}

.challenge-photo img {
  width: 100%;
  display: block;
  border-radius: 16px;
}


/* ---- APPROACH SECTION ---- */
.section-approach {
  background: var(--cream);
}

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

.approach-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.approach-card h3 {
  color: var(--sage-dark);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.approach-card p {
  color: var(--text-light);
  font-size: 0.98rem;
}


/* ---- TESTIMONIALS SECTION ---- */
.section-testimonials {
  background: var(--white);
}

/* Green-background variant for the testimonials section (used on About page) */
.section-testimonials-sage {
  background: var(--sage-pale);
}

.section-testimonials-sage .testimonial-featured {
  background: var(--white);
}

.section-testimonials-sage .testimonial-card {
  background: var(--white);
}

/* Featured testimonial — full-width, editorial treatment */
.testimonial-featured {
  position: relative;
  max-width: 880px;
  margin: 2.5rem auto 3rem;
  padding: 3rem 3rem 2.5rem;
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.testimonial-quote-mark {
  position: absolute;
  top: 0.6rem;
  left: 1.8rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--sage);
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
}

.testimonial-featured blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
}

.testimonial-featured blockquote p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1rem;
}

.testimonial-featured blockquote p:last-of-type {
  margin-bottom: 0;
}

.testimonial-featured figcaption {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}

.testimonial-toggle {
  background: none;
  border: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s var(--ease);
}

.testimonial-toggle:hover {
  color: var(--sage);
}

.testimonial-more[hidden] {
  display: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 2rem 2.2rem;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--sage-pale);
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.7;
  padding-top: 1.8rem;
}

.testimonial-name {
  display: block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}

/* Last testimonial spans full width if odd count */
.testimonial-grid .testimonial-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 600px;
}


/* ---- CTA SECTION ---- */
.section-cta {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  text-align: center;
  padding: 5rem 0;
}

.cta-container h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-container p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.section-cta .btn-primary {
  background: var(--white);
  color: var(--sage-dark);
}

.section-cta .btn-primary:hover {
  background: var(--cream);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


/* ---- BIO SECTION (About) ---- */
.section-bio {
  padding-top: 7rem;
  padding-bottom: 1rem;
}

.section-bio .two-col {
  align-items: start;
}

.section-bio .col-text p {
  font-size: 1.05rem;
  color: var(--text);
}

.bio-photo {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(74, 107, 79, 0.15);
}

.bio-photo img {
  width: 100%;
  display: block;
  border-radius: 16px;
}


/* ---- CREDENTIALS (About) ---- */
.section-credentials {
  background: var(--white);
}

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

.credential-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.credential-icon {
  margin-bottom: 1rem;
}

.credential-card h3 {
  font-size: 1.3rem;
  color: var(--sage-dark);
  margin-bottom: 0.6rem;
}

.credential-card p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}


/* ---- PERSONAL (About) ---- */
.section-personal {
  background: var(--cream);
}

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

.personal-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.personal-emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.personal-item p {
  font-size: 0.98rem;
  color: var(--text);
  margin: 0;
}


/* ---- CONTACT PAGE ---- */
.section-contact {
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card-icon {
  margin-bottom: 1.5rem;
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.98rem;
  max-width: 380px;
  margin: 0 auto 0.85rem;
}

.contact-card .btn {
  margin-top: auto;
}

.contact-email-note {
  margin-top: 0.25rem !important;
  margin-bottom: 1.5rem !important;
  font-size: 0.85rem !important;
  color: var(--text-lighter) !important;
}

.contact-primary {
  border: 2px solid var(--sage-pale);
}


/* ---- CONTACT FORM ---- */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border);
  text-align: left;
}

.contact-form-wrapper h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.form-intro {
  color: var(--text-light);
  margin-bottom: 1.75rem;
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107, 143, 113, 0.15);
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Honeypot — visible to bots, hidden from humans */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  background: var(--sage-pale);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.form-success h3 {
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text);
}


/* Service Area block on Contact page */
.service-area {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--sage-pale) 0%, var(--cream-warm) 100%);
  border-radius: 16px;
  text-align: center;
}

.service-area h2 {
  margin-bottom: 1rem;
}

.service-area p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto;
}

/* Service area variant with photo */
.service-area-with-photo {
  max-width: 980px;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  overflow: hidden;
  align-items: stretch;
}

.service-area-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.service-area-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-area-text {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-area-with-photo h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.service-area-with-photo p {
  margin: 0;
  text-align: left;
  max-width: none;
}

@media (max-width: 720px) {
  .service-area-with-photo {
    grid-template-columns: 1fr;
  }

  .service-area-photo {
    min-height: 280px;
    max-height: 360px;
  }

  .service-area-text {
    padding: 2rem 1.75rem 2.25rem;
  }
}


/* FAQ */
.contact-faq {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem 3rem;
  border: 1px solid var(--border);
}

.faq-item h3 {
  color: var(--sage-dark);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.faq-item p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}


/* ---- LEGAL PAGES (Terms, Privacy, Disclaimer) ---- */
.section-legal {
  background: var(--cream);
}

.legal-container {
  max-width: 780px;
}

.legal-container p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.legal-container h2 {
  font-size: 1.5rem;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  color: var(--sage-dark);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-container h2:first-of-type {
  margin-top: 2rem;
}

.legal-container h3 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.legal-container a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-container a:hover {
  color: var(--sage);
}

.legal-effective {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.2rem;
  background: var(--white);
  border-left: 3px solid var(--sage);
  border-radius: 4px;
  margin-bottom: 2rem;
}

.legal-contact {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.8;
}


/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  padding: 3.5rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: start;
}

.footer-brand .footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 0.8rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  margin-top: 0.5rem;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 400;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s var(--ease);
}

.footer-social a:hover {
  color: var(--sage-light);
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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


/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  :root {
    --section-pad: 4rem;
  }

  .two-col,
  .approach-grid,
  .credentials-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-featured {
    padding: 2rem 1.5rem 1.75rem;
    margin: 1.5rem auto 2rem;
  }

  .testimonial-quote-mark {
    font-size: 4rem;
    top: 0.3rem;
    left: 1rem;
  }

  .testimonial-featured blockquote p {
    font-size: 1rem;
  }

  .testimonial-grid .testimonial-card:last-child:nth-child(odd) {
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-legal {
    text-align: center;
  }

  .hero {
    margin-top: 90px;
    padding: 0 0 3rem;
    min-height: 0;
    display: block;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
    border-radius: 0;
    box-shadow: none;
    order: -1;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-content {
    text-align: center;
    padding: 0 1.5rem;
  }

  .hero-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .col-visual {
    order: -1;
  }

  .section-bio .col-visual {
    order: -1;
  }

  .bio-photo {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }

  .challenge-photo {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ---- Compact nav at narrower viewports ---- */
@media (max-width: 900px) {
  .nav-inner {
    height: 90px;
    padding: 0 1.25rem;
  }

  .nav-logo {
    height: 64px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    height: 80px;
  }

  .nav-logo {
    height: 52px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links a::after {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  .approach-card {
    padding: 2rem 1.5rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
  }

  /* Phone-specific tweaks */
  .hero {
    margin-top: 80px;
  }

  .hero-photo {
    aspect-ratio: 4 / 5;
  }

  .hero-content {
    padding: 2.5rem 1.5rem 3rem;
  }
}
