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

:root {
  --green: #0C7A3E;
  --green-light: #10A050;
  --green-dark: #095C2E;
  --green-muted: rgba(12, 122, 62, 0.08);
  --black: #0A0A0A;
  --charcoal: #141414;
  --gray-900: #1A1A1A;
  --gray-800: #262626;
  --gray-700: #525252;
  --gray-500: #737373;
  --gray-400: #A3A3A3;
  --gray-300: #D4D4D4;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --gray-50: #FAFAFA;
  --white: #FFFFFF;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.text-green {
  color: var(--green);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--gray-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 30px;
  width: auto;
}

.logo-svg {
  height: 30px;
  width: 180px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--black);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.btn-nav {
  padding: 10px 24px;
  background: var(--green);
  color: var(--white) !important;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.btn-nav::after {
  display: none !important;
}

.btn-nav:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(12, 122, 62, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  border: 1.5px solid var(--gray-800);
  padding: 15px 36px;
}

.btn-ghost:hover {
  border-color: var(--gray-500);
  color: var(--white);
}

.btn-lg {
  padding: 20px 48px;
  font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  max-width: 1400px;
  pointer-events: none;
  user-select: none;
}

.hero-bg-logo img,
.hero-bg-logo svg {
  width: 100%;
  height: auto;
  opacity: 0.03;
  filter: brightness(0) invert(1);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(12, 122, 62, 0.12);
  border: 1px solid rgba(12, 122, 62, 0.2);
  border-radius: 100px;
  color: var(--green-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.03em;
  max-width: 850px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-800);
}

/* ===== Marquee ===== */
.marquee-section {
  padding: 28px 0;
  background: var(--green);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-family: 'Lobster', cursive;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section Tags ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 20px;
}

.section-tag-light {
  color: var(--green-light);
}

.tag-line {
  width: 32px;
  height: 1.5px;
  background: var(--green);
  display: block;
}

.tag-line-light {
  background: var(--green-light);
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.section-heading-light {
  color: var(--white);
}

/* ===== About ===== */
.about {
  padding: 140px 0;
  background: var(--gray-50);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.about-logo-mark {
  width: 120px;
}

.about-logo-mark-img {
  width: 100%;
  height: auto;
  opacity: 0.1;
}

.about-logo-mark svg {
  width: 100%;
  color: rgba(12, 122, 62, 0.1);
}

.about-lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 500;
}

.about-right p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 36px;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s var(--ease);
}

.pill svg {
  color: var(--green);
  flex-shrink: 0;
}

.pill:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ===== Services ===== */
.services {
  padding: 140px 0;
  background: var(--white);
}

.services-header {
  margin-bottom: 64px;
  max-width: 500px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  padding: 44px 36px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.08em;
}

.service-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.service-card:hover .service-icon {
  background: var(--green);
  color: var(--white);
}

.service-card-wide {
  grid-column: 1 / -1;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  color: var(--green);
  margin-bottom: 24px;
  transition: all 0.3s var(--ease);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.service-tags span {
  padding: 4px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* ===== Approach ===== */
.approach {
  padding: 140px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.approach-bg-logo {
  position: absolute;
  bottom: -40px;
  right: -5%;
  width: 60%;
  max-width: 700px;
  pointer-events: none;
  user-select: none;
}

.approach-bg-logo img,
.approach-bg-logo svg {
  width: 100%;
  height: auto;
  opacity: 0.03;
  filter: brightness(0) invert(1);
}

.approach-header {
  max-width: 640px;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

.approach-intro {
  font-size: 1.05rem;
  color: var(--gray-500);
}

.approach-list {
  position: relative;
  z-index: 1;
}

.approach-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  align-items: start;
  position: relative;
}

.approach-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-800);
}

.approach-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.approach-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.approach-content p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 560px;
}

.approach-item:hover .approach-num {
  color: var(--green-light);
}

.approach-item:hover .approach-content h3 {
  color: var(--green);
  transition: color 0.3s var(--ease);
}

/* ===== CTA ===== */
.cta {
  padding: 140px 0;
  background: var(--gray-50);
}

.cta-card {
  text-align: center;
  padding: 100px 48px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 500px;
  pointer-events: none;
}

.cta-decoration-img,
.cta-decoration svg {
  width: 100%;
  height: auto;
  opacity: 0.05;
}

.cta-decoration-img {
  display: block;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  position: relative;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-card .btn {
  position: relative;
}

/* ===== Footer ===== */
.footer {
  padding: 64px 0 40px;
  background: var(--black);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer-logo {
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-logo svg {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  text-decoration: none;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

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

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--gray-700);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 20px;
    gap: 24px;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-title br {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-logo-mark {
    display: none;
  }

  .approach-item {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .hero-cta {
    margin-bottom: 56px;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .cta-card {
    padding: 64px 24px;
  }

  .marquee-content {
    font-size: 0.95rem;
  }
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
