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

:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf8f4;
  --cream-dark:  #f3efe8;
  --cream-mid:   #ede8df;
  --amber:       #d97706;
  --amber-light: #fbbf24;
  --text-dark:   #1a1a1a;
  --text-mid:    #3d3d3d;
  --text-light:  #6b6b6b;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

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

a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--emerald-800); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 1000; font-size: 0.875rem;
}
.skip-link:focus { top: 16px; }

/* ── Decorative Background Circles ── */
.decoration {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.deco-circle {
  position: absolute; border-radius: 50%;
  background: var(--emerald-100); opacity: 0.35;
}
.deco-circle--1 { width: 500px; height: 500px; top: -100px; right: -100px; }
.deco-circle--2 { width: 300px; height: 300px; bottom: 20%; left: -80px; background: var(--cream-mid); opacity: 0.6; }
.deco-circle--3 { width: 180px; height: 180px; top: 55%; right: 5%; background: var(--amber-light); opacity: 0.12; }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  transition: var(--transition);
}
.header.scrolled { background: rgba(250, 248, 244, 0.95); box-shadow: var(--shadow-sm); }

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

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-weight: 600;
  font-size: 1.2rem; color: var(--emerald-800);
}
.logo__icon { flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__list { display: flex; list-style: none; gap: 28px; }
.nav__link {
  font-size: 0.9375rem; font-weight: 500; color: var(--text-mid);
  position: relative; transition: color var(--transition);
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--emerald-600);
  border-radius: 2px; transition: width var(--transition);
}
.nav__link:hover { color: var(--emerald-700); }
.nav__link:hover::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; flex-direction: column;
  justify-content: space-between;
}
.nav-toggle__line {
  display: block; width: 100%; height: 2px;
  background: var(--emerald-800); border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-xl);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.9375rem;
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn--primary {
  background: var(--emerald-800); color: var(--white);
  border-color: var(--emerald-800);
}
.btn--primary:hover {
  background: var(--emerald-700); border-color: var(--emerald-700);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent; color: var(--emerald-800);
  border-color: var(--emerald-800);
}
.btn--outline:hover {
  background: var(--emerald-800); color: var(--white);
  transform: translateY(-2px);
}
.btn--sm { padding: 10px 22px; font-size: 0.875rem; }
.btn--full { width: 100%; }

/* ── Section Shared ── */
.section-label {
  display: inline-block; font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--emerald-700); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600;
  color: var(--text-dark); margin-bottom: 16px;
}
.text-highlight {
  color: var(--emerald-700);
  position: relative;
}
.text-highlight::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 8px; background: var(--amber-light); opacity: 0.35;
  border-radius: 4px; z-index: -1;
}
.section-subtitle {
  font-size: 1.125rem; color: var(--text-light);
  max-width: 560px; line-height: 1.7;
}

/* ── Hero ── */
.hero {
  padding: 120px 0 80px;
  position: relative; z-index: 1;
}
.hero__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--emerald-50); border: 1px solid var(--emerald-100);
  padding: 8px 16px; border-radius: var(--radius-xl);
  font-size: 0.8125rem; font-weight: 600; color: var(--emerald-800);
  margin-bottom: 24px;
}
.hero__headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700;
  line-height: 1.1; margin-bottom: 24px; color: var(--text-dark);
}
.hero__subheadline {
  font-size: 1.125rem; color: var(--text-light);
  line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--text-mid);
}

/* Hero Image Stack */
.hero__visual { position: relative; }
.hero__image-stack { position: relative; }
.hero__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__image--main {
  width: 100%; aspect-ratio: 520/680;
}
.hero__image--accent {
  position: absolute; bottom: -20px; left: -40px;
  width: 320px; aspect-ratio: 320/240;
  border: 6px solid var(--cream);
}
.hero__image--card {
  position: absolute; top: 40px; right: -30px;
  width: 200px; aspect-ratio: 1/1;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-md);
}
.hero__image-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,95,70,0.6), rgba(6,95,70,0.3));
  display: flex; align-items: center; justify-content: center;
  border-radius: inherit;
}

/* ── Services ── */
.services { padding: 100px 0; }
.services__header { text-align: center; margin-bottom: 64px; }
.services__header .section-subtitle { margin: 0 auto; }

.services__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 36px; border: 1px solid rgba(6,95,70,0.06);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--emerald-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--emerald-50); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-card__title {
  font-size: 1.375rem; font-weight: 600;
  margin-bottom: 12px; color: var(--text-dark);
}
.service-card__text {
  color: var(--text-light); line-height: 1.7;
  margin-bottom: 20px; font-size: 0.9375rem;
}
.service-card__link {
  font-size: 0.875rem; font-weight: 600; color: var(--emerald-700);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.service-card__link:hover { gap: 10px; }

/* ── About ── */
.about { padding: 100px 0; }
.about__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about__visual { position: relative; }
.about__image-main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image-secondary {
  position: absolute; bottom: -24px; right: -24px;
  width: 300px; border-radius: var(--radius-md);
  overflow: hidden; border: 6px solid var(--cream);
  box-shadow: var(--shadow-md);
}
.about__stats {
  display: flex; align-items: center; gap: 24px;
  margin-top: 32px; padding: 24px 32px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stat__number {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 700; color: var(--emerald-800);
}
.stat__suffix { font-size: 1.25rem; }
.stat__label {
  display: block; font-size: 0.8125rem; color: var(--text-light);
  margin-top: 2px;
}
.stat-divider {
  width: 1px; height: 48px; background: var(--cream-mid);
}
.about__text {
  color: var(--text-mid); line-height: 1.8;
  margin-bottom: 16px; font-size: 1rem;
}
.about__values { list-style: none; margin: 28px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.value {
  display: flex; align-items: center; gap: 14px;
  font-weight: 500; color: var(--text-dark);
}
.value__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber-light); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* ── Testimonials ── */
.testimonials { padding: 100px 0; background: var(--emerald-50); }
.testimonials__header { text-align: center; margin-bottom: 64px; }
.testimonials__header .section-subtitle { margin: 0 auto; }

.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(6,95,70,0.05);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.testimonial-card__stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-card__text {
  font-size: 0.9375rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card__author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; background: var(--cream-mid);
}
.testimonial-card__name {
  display: block; font-weight: 600; font-size: 0.9375rem; color: var(--text-dark);
}
.testimonial-card__role {
  display: block; font-size: 0.8125rem; color: var(--text-light); margin-top: 2px;
}

/* ── CTA / Contact ── */
.cta { padding: 100px 0; }
.cta__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.cta__text { font-size: 1.0625rem; color: var(--text-light); line-height: 1.75; margin-bottom: 36px; }
.cta__contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-item__label {
  display: block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light); margin-bottom: 2px;
}
.contact-item__value {
  font-size: 1rem; color: var(--text-dark); font-weight: 500;
}
.contact-item__value a { color: var(--emerald-700); }
.contact-item__value a:hover { text-decoration: underline; }

/* Form */
.form__title {
  font-size: 1.5rem; font-weight: 600; margin-bottom: 28px; color: var(--text-dark);
}
.form__group { margin-bottom: 20px; }
.form__label {
  display: block; font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-light); margin-bottom: 8px;
}
.form__input, .form__textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-md);
  border: 1.5px solid var(--cream-mid); background: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9375rem;
  color: var(--text-dark); transition: border-color var(--transition);
  outline: none;
}
.form__input:focus, .form__textarea:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--text-light); }
.form__textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: 0.8125rem; color: var(--text-light); margin-top: 12px; text-align: center; }
.form__success {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; padding: 16px 20px;
  background: var(--emerald-50); border-radius: var(--radius-md);
  font-size: 0.9375rem; font-weight: 500; color: var(--emerald-800);
}

/* ── Footer ── */
.footer {
  background: var(--emerald-900); color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__brand .logo { color: var(--white); margin-bottom: 12px; }
.footer__tagline { font-size: 0.9375rem; opacity: 0.7; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 0.9375rem; transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.9375rem; }
.footer__contact a { transition: color var(--transition); }
.footer__contact a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; text-align: center;
  font-size: 0.8125rem; opacity: 0.5;
}

/* ── Animations ── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__layout { gap: 40px; }
  .hero__image--accent { left: -20px; width: 260px; }
  .hero__image--card { right: -16px; width: 160px; }
}

@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
  .hero__image--accent { width: 220px; left: -10px; bottom: -16px; }
  .hero__image--card { width: 140px; right: -10px; top: 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .about__layout { grid-template-columns: 1fr; }
  .about__visual { max-width: 480px; margin: 0 auto; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .cta__layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { 
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(250,248,244,0.98);
    backdrop-filter: blur(12px);
    padding: 24px; flex-direction: column;
    border-bottom: 1px solid rgba(6,95,70,0.08);
    transform: translateY(-120%); opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav__list { flex-direction: column; gap: 16px; width: 100%; }
  .nav__link { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.active .nav-toggle__line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .nav-toggle.active .nav-toggle__line:nth-child(2) { opacity: 0; }
  .nav-toggle.active .nav-toggle__line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

  .hero { padding: 100px 0 60px; }
  .hero__headline { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: 12px; }

  .services, .about, .testimonials, .cta { padding: 64px 0; }
  .about__image-secondary { width: 200px; right: -12px; bottom: -16px; }
  .about__stats { flex-direction: column; gap: 16px; text-align: center; }
  .stat-divider { width: 48px; height: 1px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__image--accent { width: 180px; left: -4px; }
  .hero__image--card { width: 120px; right: -4px; }
}
