/* ===== Custom Properties ===== */
:root {
  /* Sage green family */
  --sage: #7C9082;
  --sage-light: #A3B8A0;
  --sage-dark: #5A6B5E;
  --sage-pale: #E8F0E4;

  /* Warm neutrals */
  --cream: #FAF8F5;
  --linen: #F3EDE4;
  --sand: #D4C5B2;
  --warm-gray: #8B8178;
  --stone: #6B6057;

  /* Earth accents */
  --terracotta: #C17F59;
  --terracotta-hover: #D4935D;

  /* Text */
  --text: #3D3832;
  --text-heading: #2C2621;
  --white: #FFFFFF;

  /* Overlays */
  --overlay-hero: rgba(44, 38, 33, 0.45);
  --overlay-cta: rgba(90, 107, 94, 0.82);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, sans-serif;

  /* Spacing */
  --nav-height: 72px;
  --section-pad: 100px;
  --container-width: 1100px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* ===== Base Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.5em; }
h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.25em; }

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

/* ===== Utility ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-alt {
  background: var(--linen);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--stone);
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(193, 127, 89, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--sage-dark);
  border-color: var(--white);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-link {
  color: var(--terracotta);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}

.btn-link:hover {
  color: var(--terracotta-hover);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav-scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--sand);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.nav-scrolled .nav-brand {
  color: var(--text-heading);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage-light);
  transition: width 0.25s var(--ease);
}

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

.nav-scrolled .nav-link {
  color: var(--stone);
}

.nav-scrolled .nav-link:hover {
  color: var(--text-heading);
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.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(--white);
  transition: all 0.3s var(--ease);
}

.nav-scrolled .nav-toggle span {
  background: var(--text-heading);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(44, 38, 33, 0.25) 60%,
    rgba(44, 38, 33, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Quote ===== */
.quote-section {
  background: var(--sage-pale);
  padding: 64px 0;
  text-align: center;
}

.quote-section blockquote {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px;
}

.quote-section blockquote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 0;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--sage-light);
  line-height: 1;
}

.quote-section blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--sage-dark);
  line-height: 1.8;
  margin-bottom: 16px;
}

.quote-section cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--sage);
  font-weight: 500;
}

/* ===== Nature Dividers ===== */
.nature-divider {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--stone);
  margin-bottom: 1.2em;
}

.about-credential {
  font-weight: 500;
  color: var(--sage-dark);
  font-size: 0.95rem;
  margin-bottom: 16px !important;
}

.about-image img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  color: var(--text-heading);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-detail {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Approach ===== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.approach-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 12px;
  transition: background 0.2s var(--ease);
}

.approach-item:hover {
  background: var(--sage-pale);
}

.approach-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.approach-badge svg {
  width: 22px;
  height: 22px;
}

.approach-item h4 {
  color: var(--text-heading);
}

.approach-item p {
  color: var(--stone);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== Rates & Insurance ===== */
.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.rates-list h3,
.insurance-info h3 {
  color: var(--text-heading);
  margin-bottom: 24px;
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dotted var(--sand);
}

.rate-row span {
  font-size: 0.95rem;
}

.rate-row em {
  font-style: normal;
  color: var(--warm-gray);
  font-size: 0.85rem;
}

.rate-price {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1.05rem !important;
}

.rates-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.insurance-info p {
  color: var(--stone);
  font-size: 0.95rem;
}

.insurance-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 20px;
}

.insurance-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--sand);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.availability-info {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--sand);
}

.availability-info h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.availability-info p {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.gfe-notice {
  margin-top: 48px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border-left: 3px solid var(--sage-light);
}

.gfe-notice p {
  font-size: 0.82rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin: 0;
}

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-cta);
}

.cta-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ===== Contact / Footer ===== */
.contact-section {
  background: var(--sage-pale);
  color: var(--text);
  padding-top: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.contact-info h3,
.contact-availability h3 {
  color: var(--text-heading);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.contact-details {
  margin-top: 24px;
}

.contact-details p {
  font-size: 0.9rem;
  color: var(--stone);
  margin-bottom: 6px;
}

.contact-availability dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
}

.contact-availability dt {
  font-weight: 600;
  color: var(--sage-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-availability dd {
  color: var(--stone);
  font-size: 0.95rem;
}

.footer-bar {
  border-top: 1px solid var(--sage-light);
  padding: 20px 0;
}

.footer-bar p {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin: 0;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
    --nav-height: 64px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    color: var(--text);
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-menu .nav-cta {
    align-self: stretch;
    text-align: center;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .rates-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner {
    padding: 80px 0;
  }

  .nature-divider {
    height: 140px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --section-pad: 48px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .approach-item {
    padding: 16px;
  }

  .quote-section {
    padding: 48px 0;
  }

  .quote-section blockquote {
    padding: 0 20px;
  }

  .quote-section blockquote::before {
    font-size: 3.5rem;
    left: -4px;
  }

  .nature-divider {
    height: 100px;
  }
}
