/* ── Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: #F7F4EE; color: #064E3B; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────────────── */
.label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #064E3B;
  opacity: 0.5;
  font-weight: 400;
}
.heading-lg {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #064E3B;
}
.heading-md {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: #064E3B;
}
.body-lg {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  color: #064E3B;
}
.body {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: #064E3B;
}
.body-md {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: #064E3B;
}
.body-sm {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.65;
  color: #064E3B;
}
.caption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: #064E3B;
  opacity: 0.5;
}
.caption-block {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #064E3B;
  opacity: 0.55;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

/* ── Divider ──────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, #064E3B 0%, transparent 100%);
  opacity: 0.2;
}

/* ── Stat numbers ─────────────────────────────────────────────────── */
.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: #064E3B;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #064E3B;
  color: #F7F4EE;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.25);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #F7F4EE;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(247, 244, 238, 0.3);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(247, 244, 238, 0.1);
  border-color: rgba(247, 244, 238, 0.6);
}

/* ── Inputs ───────────────────────────────────────────────────────── */
.input {
  width: 100%;
  background: #F7F4EE;
  border: 1px solid rgba(6, 78, 59, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 300;
  color: #064E3B;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.input::placeholder { color: rgba(6, 78, 59, 0.3); }
.input:focus {
  border-color: rgba(6, 78, 59, 0.45);
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.08);
}
.input-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23064E3B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.input-select option { color: #064E3B; }

/* ── Card ─────────────────────────────────────────────────────────── */
.card {
  background: #F7F4EE;
  border: 1px solid rgba(6, 78, 59, 0.08);
  border-radius: 12px;
  padding: 2.25rem;
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  box-shadow: 0 12px 40px rgba(6, 78, 59, 0.08);
  transform: translateY(-3px);
  border-color: rgba(6, 78, 59, 0.15);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(6, 78, 59, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #064E3B;
  margin-bottom: 1.25rem;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: #064E3B;
  opacity: 0.75;
  line-height: 1.5;
}
.check-item::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #064E3B;
  opacity: 0.4;
  margin-top: 0.45em;
}

/* ── Testimonial card ─────────────────────────────────────────────── */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: background 0.3s ease;
}
.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ── Area items ───────────────────────────────────────────────────── */
.area-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 300;
  color: #064E3B;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
  transition: color 0.2s ease;
}
.area-item:hover { color: #047857; }
.area-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #064E3B;
  opacity: 0.3;
}

/* ── Contact item ─────────────────────────────────────────────────── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* ── Nav link ─────────────────────────────────────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #064E3B;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile nav links ─────────────────────────────────────────────── */
.mobile-nav-link { transition: opacity 0.2s ease; }
.mobile-nav-link:hover { opacity: 1; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero-bg { position: relative; }
.hero-img {
  will-change: transform;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-loaded .hero-img { transform: scale(1); }
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(6, 78, 59, 0.82) 0%,
    rgba(4, 60, 44, 0.72) 50%,
    rgba(6, 78, 59, 0.65) 100%
  );
}
.hero-eyebrow {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-title {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s ease forwards 0.5s;
}
.hero-sub {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards 0.7s;
}
.hero-ctas {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards 0.9s;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll indicator ─────────────────────────────────────────────── */
.scroll-indicator { opacity: 0.7; }
.scroll-indicator:hover { opacity: 1; }

/* ── Reveal on scroll ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }

/* ── Header states ────────────────────────────────────────────────── */
#site-header {
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#site-header.scrolled {
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 78, 59, 0.06);
}
#site-header.scrolled .font-serif,
#site-header.scrolled .nav-link { color: #064E3B; }
#site-header.scrolled .menu-line { background: #064E3B; }

/* ── Mobile menu ──────────────────────────────────────────────────── */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.menu-line { transition: transform 0.35s ease, opacity 0.25s ease, width 0.35s ease; }
.menu-open .menu-line:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-line:nth-child(2) { opacity: 0; }
.menu-open .menu-line:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); width: 24px; }
</style>
