/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2C3E35;
  background: #FAFAF7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
label { font-size: 0.875rem; font-weight: 600; color: #2D5A3D; display: block; margin-bottom: 0.375rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; color: #1A3A25; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
p { color: #4A6355; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2D5A3D;
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: #A8C5A0;
  border-radius: 2px;
}
.section-title { margin-bottom: 1rem; }
.section-title em { font-style: italic; color: #2D5A3D; }
.section-desc { font-size: 1.0625rem; max-width: 600px; color: #5A7A65; margin-bottom: 2.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #2D5A3D;
  color: #F5F0E8;
  box-shadow: 0 4px 16px rgba(45,90,61,0.25);
}
.btn-primary:hover { background: #244A31; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(45,90,61,0.35); }
.btn-outline {
  background: transparent;
  color: #2D5A3D;
  border: 2px solid #2D5A3D;
}
.btn-outline:hover { background: #2D5A3D; color: #F5F0E8; }
.btn-white {
  background: #F5F0E8;
  color: #2D5A3D;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #F5F0E8;
  border: 2px solid rgba(245,240,232,0.5);
}
.btn-ghost:hover { background: rgba(245,240,232,0.15); border-color: #F5F0E8; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,90,61,0.08);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(45,90,61,0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 0.625rem; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1A3A25;
  line-height: 1.2;
}
.logo-footer .logo-text { font-size: 0.9375rem; }

/* NAV */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2C3E35;
  transition: color 0.2s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2D5A3D;
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-menu a:hover { color: #2D5A3D; }
.nav-menu a:hover::after { width: 100%; }
.nav-cta {
  background: #2D5A3D;
  color: #F5F0E8 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: #244A31; transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle { display: none; padding: 0.5rem; color: #2D5A3D; }

/* ===== HERO ===== */
.hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #FAFAF7 0%, #F0F4EC 50%, #E8F0E4 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45,90,61,0.08);
  border: 1px solid rgba(45,90,61,0.15);
  color: #2D5A3D;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-headline {
  margin-bottom: 1.25rem;
  color: #1A3A25;
}
.text-accent { color: #2D5A3D; }
.hero-sub {
  font-size: 1.125rem;
  color: #5A7A65;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2D5A3D;
}

/* Hero image */
.hero-image { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(45,90,61,0.15);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: #A8C5A0;
  border-radius: 50%;
  opacity: 0.4;
  z-index: -1;
}
.hero-float-card {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(45,90,61,0.12);
  z-index: 2;
}
.float-card-icon {
  width: 44px;
  height: 44px;
  background: #2D5A3D;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5F0E8;
  flex-shrink: 0;
}
.float-card-body strong { display: block; font-size: 0.9375rem; color: #1A3A25; }
.float-card-body span { font-size: 0.8125rem; color: #5A7A65; }

/* ===== SERVICES ===== */
.services { background: #FAFAF7; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(45,90,61,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,90,61,0.1);
  border-color: rgba(45,90,61,0.15);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #E8F0E4, #F0F4EC);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.625rem; color: #1A3A25; }
.service-card p { font-size: 0.9375rem; line-height: 1.6; }

/* ===== WHY DAN ===== */
.why-dan { background: linear-gradient(135deg, #F0F4EC 0%, #E8F0E4 100%); }
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image { border-radius: 20px; overflow: hidden; box-shadow: 0 16px 48px rgba(45,90,61,0.12); }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.benefits-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-check {
  width: 28px;
  height: 28px;
  background: #2D5A3D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5F0E8;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit strong { display: block; font-size: 1rem; color: #1A3A25; margin-bottom: 0.25rem; }
.benefit span { font-size: 0.9375rem; color: #5A7A65; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: #FAFAF7; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step-card { position: relative; }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(45,90,61,0.07);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-card-inner {
  background: #fff;
  border: 1px solid rgba(45,90,61,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.step-card:hover .step-card-inner {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,90,61,0.1);
}
.step-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #E8F0E4, #F0F4EC);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.step-card h3 { margin-bottom: 0.625rem; color: #1A3A25; }
.step-card p { font-size: 0.9375rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: linear-gradient(135deg, #F0F4EC 0%, #E8F0E4 100%); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(45,90,61,0.08);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,90,61,0.1);
}
.testimonial-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: #A8C5A0;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  pointer-events: none;
}
.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4A6355;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.9375rem; color: #1A3A25; }
.testimonial-author span { font-size: 0.8125rem; color: #5A7A65; }

/* ===== CTA BANNER ===== */
.cta-banner { background: #2D5A3D; padding: 4rem 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-content h2 { color: #F5F0E8; margin-bottom: 0.75rem; }
.cta-text { color: #A8C5A0; font-size: 1.0625rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: #FAFAF7; }
.split-form-wrap {
  background: #fff;
  border: 1px solid rgba(45,90,61,0.08);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(45,90,61,0.06);
}
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1A3A25;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(45,90,61,0.15);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #2C3E35;
  background: #FAFAF7;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2D5A3D;
  box-shadow: 0 0 0 3px rgba(45,90,61,0.1);
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9BB8A5; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #E8F0E4;
  border-radius: 12px;
  color: #2D5A3D;
  font-weight: 500;
  font-size: 0.9375rem;
}

.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #E8F0E4, #F0F4EC);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.9375rem; color: #1A3A25; margin-bottom: 0.125rem; }
.contact-item a, .contact-item span { font-size: 0.9375rem; color: #5A7A65; }
.contact-item a:hover { color: #2D5A3D; }

/* ===== FOOTER ===== */
.site-footer { background: #1A3A25; padding: 4rem 0 2rem; color: #A8C5A0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.9375rem; color: #7BA888; margin-top: 1rem; }
.logo-footer .logo-text { color: #F5F0E8; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links strong { color: #F5F0E8; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.footer-links a { font-size: 0.9375rem; color: #7BA888; transition: color 0.2s; }
.footer-links a:hover { color: #A8C5A0; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact strong { color: #F5F0E8; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.footer-contact a, .footer-contact span { font-size: 0.9375rem; color: #7BA888; }
.footer-contact a:hover { color: #A8C5A0; }
.footer-bottom {
  border-top: 1px solid rgba(168,197,160,0.15);
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.8125rem; color: #5A7A65; }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250,250,247,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(45,90,61,0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { font-size: 1.0625rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
  .split-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-image { max-height: 400px; }
  .services-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .hero { padding-top: 5.5rem; padding-bottom: 3rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-float-card { left: 0.5rem; bottom: 1rem; }
  .services-grid,
  .testimonials-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .split-form-wrap { padding: 1.5rem; }
}

/* ===== ANIMATIONS (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}
