/* CSS Custom Properties - Warm, editorial palette */
:root {
  --sage: #87a878;
  --sage-light: #a3b899;
  --sage-dark: #6b8f5e;
  --cream: #f5f1e8;
  --cream-dark: #e8e0d0;
  --warm-white: #faf8f3;
  --brown: #6b5b4f;
  --brown-light: #8a7a6e;
  --terracotta: #c67b5c;
  --terracotta-light: #d4957a;
  --charcoal: #2d2a26;
  --charcoal-light: #4a4540;

  --bg: var(--warm-white);
  --bg-secondary: var(--cream);
  --text: var(--charcoal);
  --text-secondary: var(--brown);
  --accent: var(--terracotta);
  --primary: var(--sage);
  --border: var(--cream-dark);
  --shadow: rgba(45, 42, 38, 0.06);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1.25rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--charcoal);
  color: var(--cream);
  padding: 8px 16px;
  z-index: 101;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Focus Styles */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition:
    background 0.3s,
    padding 0.3s;
}

.navbar.scrolled {
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.navbar:not(.scrolled) {
  background: rgba(45, 42, 38, 0.55);
  backdrop-filter: blur(4px);
}

.navbar:not(.scrolled) .mobile-toggle span {
    background: var(--cream);
}

.navbar:not(.scrolled) .nav-links a {
  color: #ffffff;
  text-shadow: none;
}

.navbar:not(.scrolled) .nav-links a:hover {
  color: var(--cream);
}

.navbar:not(.scrolled) .logo {
  color: #ffffff;
  text-shadow: none;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border: 2px solid var(--sage);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--sage);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

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

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

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

.nav-links a[aria-current="page"] {
  color: var(--charcoal);
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/forestmorning.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(45, 42, 38, 0.4) 0%,
    rgba(45, 42, 38, 0.1) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 8rem;
  width: 100%;
  color: #fff;
}

.hero-eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 500px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn-text {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: gap 0.3s;
}

.btn-text:hover {
  gap: 1.25rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  opacity: 0.6;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Section Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Welcome */
.welcome {
  padding: 8rem 0;
}

.welcome-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.section-eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.welcome-text h2 {
  margin-bottom: 2rem;
  max-width: 500px;
}

.welcome-body p {
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.8;
}

.link-underline {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

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

.welcome-image {
  max-width: 90%;
  margin: 0 auto;
}

.image-frame {
  position: relative;
  padding: 2rem;
  background: var(--cream);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/5;
}

.image-frame::before {
  display: none;
}

.image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--cream-dark) 0%, #d5cdc0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

/* Pull Quote */
.pull-quote {
  padding: 6rem 0;
  background: var(--cream);
}

.pull-quote blockquote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote blockquote p {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.pull-quote footer {
  font-size: 0.9375rem;
  color: var(--brown);
}

.pull-quote cite {
  font-style: italic;
  color: var(--sage);
}

/* Services Preview */
.services-preview {
  padding: 8rem 0;
}

.services-preview h2 {
  margin-bottom: 4rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-number {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 400;
  line-height: 1;
}

.service-content h3 {
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--brown);
  margin-bottom: 1rem;
  max-width: 500px;
}

.detail-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.link-arrow {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 0.75rem;
}

/* Testimonial Full */
.testimonial-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.testimonial-image {
  background-image: url("assets/images/gentlesunrisehopeful.jpg");
  background-size: cover;
  background-position: center;
}

.testimonial-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  background: var(--charcoal);
}

.testimonial-content blockquote {
  max-width: 500px;
}

.testimonial-content blockquote p {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.testimonial-content footer {
  color: var(--sage-light);
  font-size: 0.9375rem;
}

.testimonial-content cite {
  font-style: italic;
}

/* CTA Simple */
.cta-simple {
  padding: 8rem 0;
  text-align: center;
  background: var(--cream);
}

.cta-simple h2 {
  margin-bottom: 1.5rem;
}

.cta-simple p {
  color: var(--brown);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--sage-dark);
}

/* Page Header */
.page-header {
  padding: 10rem 0 1rem;
  background: var(--cream);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

/* Services Detail */
.services-detail {
  padding: 4rem 0;
}

.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-block.reverse {
  direction: rtl;
}

.detail-block.reverse > * {
  direction: ltr;
}

.detail-label {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
  display: block;
}

.detail-text h2 {
  margin-bottom: 0.5rem;
}

.detail-lead {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.detail-text p {
  color: var(--brown);
  margin-bottom: 1rem;
}

.detail-list {
  list-style: none;
  margin-top: 1.5rem;
}

.detail-list li {
  padding: 0.5rem 0;
  color: var(--brown);
  padding-left: 1.5rem;
  position: relative;
}

.detail-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-image .image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream-dark) 0%, #d5cdc0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

/* Pricing Simple */
.pricing-simple {
  padding: 6rem 0;
  background: var(--bg);
}

.pricing-table {
  max-width: 800px;
  margin: 3rem auto 2rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-row.featured {
  background: var(--cream);
  margin: 0 -2rem;
  padding: 2rem;
}

.pricing-service h3 {
  margin-bottom: 0.25rem;
}

.pricing-service p {
  color: var(--brown);
  margin: 0;
  font-size: 0.9375rem;
}

.pricing-fee {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--charcoal);
}

.pricing-note {
  text-align: center;
  color: var(--brown);
  font-style: italic;
  margin-top: 2rem;
}

/* FAQ */
.faq-section {
  padding: 6rem 0;
  background: var(--cream);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 2rem 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--charcoal);
  list-style: none;
  position: relative;
  padding-right: 2rem;
  font-size: 1.125rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 300;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 2rem;
  color: var(--brown);
  max-width: 700px;
}

/* Contact Split */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  margin-top: 2rem;
  margin-bottom: 0rem;
  padding: 0 2rem;
  gap: 3rem;
}

.contact-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  max-height: 600px;
  border-radius: 4px;
  margin-left: 2rem;
}

.contact-image img {
  width: 90%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-image .image-placeholder {
  color: var(--brown-light);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.contact-form-area {
  padding: 0 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 600px;
}

.contact-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0.2rem 2rem 0;
  align-items: start;
}

.contact-extras .contact-direct {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.contact-extras .emergency-box {
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  padding: 1.5rem;
}

.form-intro {
  margin-bottom: 1.25rem;
}

.form-intro p {
  color: var(--brown);
  font-size: 1.05rem;
}

.form-note {
  font-size: 0.9375rem;
  color: var(--brown-light);
  margin-top: 0.5rem;
}

.contact-form-alt {
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.9375rem;
}

.form-group label span {
  color: var(--terracotta);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: var(--bg);
  color: var(--charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
}

.btn-submit-alt {
  width: 100%;
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.875rem;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit-alt:hover {
  background: var(--brown);
}

.form-privacy-alt {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--brown-light);
  margin-top: 1rem;
}

.contact-direct {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.contact-direct p {
  margin-bottom: 0.5rem;
}

.contact-direct a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
}

.contact-direct a:hover {
  color: var(--sage);
}

.emergency-box {
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  padding: 1.5rem;
}

.emergency-box h3 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #dc2626;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.emergency-box p {
  color: #991b1b;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--charcoal-light);
}

.logo-footer {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--cream);
}

.footer-tagline {
  color: var(--brown-light);
  font-size: 0.9375rem;
  max-width: 300px;
}

.footer-contact a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-contact address {
  font-style: normal;
  color: var(--brown-light);
  margin-top: 0.5rem;
  font-size: 0.9375rem;
}

.footer-hours p {
  color: var(--brown-light);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

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

.footer-bottom p {
  color: var(--brown-light);
  font-size: 0.8125rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--sage-light);
  text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: auto;
    width: 120px;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    border-radius: 4px;
    margin-top: 0.5rem;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 200;
  }

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

  .nav-links a:hover {
    color: var(--sage) !important;
  }

  .nav-links.active,
  #nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    padding-bottom: 6rem;
  }

  .welcome-layout,
  .detail-block,
  .testimonial-full,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .detail-block.reverse {
    direction: ltr;
  }

  .testimonial-image {
    min-height: 300px;
  }

  .services-list {
    gap: 2rem;
  }

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

  .service-number {
    font-size: 1.25rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-area {
    padding: 2rem;
  }

  .contact-extras {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
