:root {
  --cream: #fffdf1;
  --green: #59c749;
  --green-dark: #3d9a35;
  --green-glow: rgba(89, 199, 73, 0.35);
  --forest: #1a2e1a;
  --forest-soft: #2d4a2d;
  --muted: #5c6b5c;
  --line: rgba(26, 46, 26, 0.08);
  --card: rgba(255, 253, 241, 0.72);
  --shadow: 0 24px 60px rgba(26, 46, 26, 0.08);
  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--forest);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Background mesh ── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-mesh::before,
.bg-mesh::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.bg-mesh::before {
  width: 55vw;
  height: 55vw;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
}

.bg-mesh::after {
  width: 40vw;
  height: 40vw;
  bottom: -10%;
  left: -8%;
  background: radial-gradient(circle, rgba(26, 46, 26, 0.06), transparent 70%);
  animation-delay: -6s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 4%) scale(1.08); }
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(920px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 253, 241, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(26, 46, 26, 0.06);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 8px 20px var(--green-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--forest);
  background: rgba(89, 199, 73, 0.12);
}

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  background: var(--forest) !important;
  color: var(--cream) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--forest-soft) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--forest);
}

/* ── Hero ── */
.hero {
  padding: 9rem 0 5rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  background: rgba(89, 199, 73, 0.12);
  border: 1px solid rgba(89, 199, 73, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  font-weight: 800;
}

h1 .accent {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--cream);
  box-shadow: 0 12px 30px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(89, 199, 73, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(89, 199, 73, 0.4);
  background: rgba(89, 199, 73, 0.06);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-card:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  padding: 1.1rem;
  background: rgba(255, 253, 241, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--forest);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.floating-chip {
  position: absolute;
  padding: 0.65rem 1rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.chip-1 { top: -12px; right: -8px; animation-delay: 0s; }
.chip-2 { bottom: 20px; left: -20px; animation-delay: -2s; }

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

/* ── Sections ── */
section {
  padding: 5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-panel {
  padding: 2rem;
  background: rgba(255, 253, 241, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.about-panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.about-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--forest-soft);
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(89, 199, 73, 0.15);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.75rem;
  background: rgba(255, 253, 241, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(89, 199, 73, 0.25);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(89, 199, 73, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Contact ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info {
  padding: 2.5rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: calc(var(--radius) + 4px);
  position: relative;
  overflow: hidden;
}

.contact-info::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

.contact-info h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: rgba(255, 253, 241, 0.75);
  margin: 0 0 2rem;
}

.contact-items {
  display: grid;
  gap: 1.25rem;
}

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

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(89, 199, 73, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-bottom: 0.2rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.95rem;
  color: var(--cream);
}

.contact-item a:hover { color: var(--green); }

.contact-form-panel {
  padding: 2.5rem;
  background: rgba(255, 253, 241, 0.75);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--forest-soft);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--forest);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(89, 199, 73, 0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green-dark); }

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Legal pages ── */
.legal-page {
  padding: 8rem 0 4rem;
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 253, 241, 0.8);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.legal-card h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--forest);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
}

.back-link:hover { color: var(--forest); }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.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; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-wrap,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }
  .hero-card { transform: none; }
  .hero { padding-top: 7rem; min-height: auto; }

  .menu-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 4.5rem;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: calc(100% - 2rem);
    max-width: 420px;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255, 253, 241, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
  }

  .nav-links a { width: 100%; text-align: center; }
}

@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
}
