@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --forest:  #2A4742;
  --lime:    #C0FD71;
  --emerald: #0E673B;
  --mint:    #D9EBDD;
  --silver:  #E8E6E7;
  --periwinkle: #DADFF3;
  --white:   #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--forest);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; background: var(--silver); }
::-webkit-scrollbar-thumb { background: var(--forest); border-radius: 2px; }

h1, h2, h3 { font-family: 'DM Serif Display', serif; }

/* ── BUTTONS ── */
.btn-lime {
  background: var(--lime); color: var(--forest); border: none;
  padding: 14px 36px; font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; transition: all 0.22s;
  border-radius: 0; display: inline-block; text-decoration: none;
}
.btn-lime:hover { background: #d4ff8a; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(192,253,113,0.35); }

.btn-outline-forest {
  background: transparent; color: var(--forest); border: 2px solid var(--forest);
  padding: 13px 34px; font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; transition: all 0.22s;
  display: inline-block; text-decoration: none;
}
.btn-outline-forest:hover { background: var(--forest); color: var(--lime); transform: translateY(-2px); }

.btn-outline-white {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45);
  padding: 13px 34px; font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; transition: all 0.22s;
  display: inline-block; text-decoration: none;
}
.btn-outline-white:hover { border-color: var(--lime); color: var(--lime); }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--forest); height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; border-bottom: 3px solid var(--lime);
}
.nav-logo { display: flex; align-items: center; cursor: pointer; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 46px; width: auto; display: block; }
.nav-logo-desktop { display: block; }
.nav-logo-mobile { display: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; transition: color 0.2s; padding: 6px 0; }
.nav-link:hover, .nav-link.active { color: var(--lime); }
.nav-link-ext { opacity: 0.6; }

/* ── FOOTER ── */
footer.site-footer {
  background: #1d312d; border-top: 1px solid rgba(192,253,113,0.15);
  padding: 48px 52px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { flex-shrink: 0; }
.footer-brand a { display: inline-block; }
.footer-logo-img { height: 59px; width: auto; display: block; margin-bottom: 16px; }
.footer-logo-desktop { display: block; }
.footer-logo-mobile { display: none; }
.footer-tagline { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 220px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.footer-nav a:hover { color: var(--lime); }
.footer-contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(192,253,113,0.5); margin-bottom: 12px; }
.footer-contact a, .footer-contact div { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 500; text-decoration: none; display: block; margin-bottom: 6px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(192,253,113,0.6); }
.footer-social a { color: rgba(255,255,255,0.35); font-size: 12px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: var(--lime); }

/* ── PAGE SECTIONS ── */
.wrap { max-width: 1200px; margin: 0 auto; }

.label {
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--lime); flex-shrink: 0; }
.label.light { color: rgba(192,253,113,0.7); }

/* ── FADE IN ── */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in[data-delay="0.15"] { transition-delay: 0.15s; }

/* ── PRICE CARDS ── */
.price-card { padding: 28px 26px; background: #fff; border: 1.5px solid var(--silver); transition: all 0.25s; }
.price-card:hover { border-color: var(--forest); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(42,71,66,0.12); }

/* ── BENEFIT CARDS ── */
.benefit-card { padding: 28px 24px; background: #fff; border: 1.5px solid var(--silver); transition: all 0.25s; text-align: center; }
.benefit-card:hover { border-color: var(--lime); background: #FBFFF5; }

/* ── PAGE HERO ── */
.page-hero { background: var(--forest); padding: 188px 52px 80px; position: relative; overflow: hidden; }
.page-hero.light { background: var(--white); }
.page-hero .hero-orb { position: absolute; right: -80px; top: -80px; width: 500px; height: 500px; border: 70px solid rgba(192,253,113,0.05); border-radius: 50%; pointer-events: none; }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(36px,4.5vw,64px); font-weight: 400; line-height: 1.08; letter-spacing: -0.025em; color: #fff; max-width: 800px; margin-bottom: 24px; }
.page-hero.light h1 { color: var(--forest); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.55); max-width: 600px; line-height: 1.8; margin-bottom: 40px; }
.page-hero.light p { color: rgba(42,71,66,0.6); }

/* ── MARQUEE ── */
.marquee-wrap { background: var(--lime); padding: 13px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-block; animation: marquee 22s linear infinite; }
.marquee-track span { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }

/* ── REVIEWS CAROUSEL ── */
.carousel-section { background: var(--lime); padding: 100px 52px; }
.carousel-card { background: #fff; padding: 56px 64px; position: relative; min-height: 240px; }
.carousel-quote-mark { font-family: 'DM Serif Display', serif; font-size: 96px; color: var(--lime); line-height: 0.6; position: absolute; top: 40px; left: 52px; opacity: 0.6; user-select: none; }
.carousel-blockquote { font-family: 'DM Serif Display', serif; font-size: clamp(18px,2.2vw,26px); font-weight: 400; color: var(--forest); line-height: 1.55; letter-spacing: -0.01em; margin-bottom: 40px; padding-top: 32px; position: relative; z-index: 1; }
.carousel-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.carousel-avatar { width: 48px; height: 48px; background: var(--forest); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-family: 'DM Serif Display', serif; font-size: 16px; color: var(--lime); }
.carousel-name { font-size: 14px; font-weight: 700; color: var(--forest); }
.carousel-role { font-size: 12px; color: rgba(42,71,66,0.5); margin-top: 2px; font-weight: 500; }
.carousel-controls { display: flex; align-items: center; gap: 16px; }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot { height: 8px; border: none; background: rgba(42,71,66,0.2); border-radius: 4px; cursor: pointer; padding: 0; transition: all 0.25s; width: 8px; }
.carousel-dot.active { background: var(--forest); width: 24px; }
.carousel-btn { width: 40px; height: 40px; border: 1.5px solid var(--forest); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel-btn.next { background: var(--forest); border-color: var(--forest); }

/* ── FINAL CTA ── */
.final-cta { background: var(--silver); padding: 100px 52px; position: relative; overflow: hidden; text-align: center; }

/* ── DEPT BUTTONS ── */
.dept-btn { border: none; padding: 12px 22px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; transition: all 0.22s; text-transform: uppercase; border-bottom: 3px solid transparent; background: rgba(42,71,66,0.06); color: var(--forest); }

/* ── HERO ANIMATIONS ── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%,49% { opacity:1; } 50%,100% { opacity:0; } }

.hero-line-1 { animation: heroFadeUp 0.7s ease 0.1s both; }
.hero-line-2 { animation: heroFadeUp 0.7s ease 0.25s both; }
.hero-line-3 { animation: heroFadeUp 0.7s ease 0.4s both; }
.hero-sub    { animation: heroFadeUp 0.7s ease 0.55s both; }
.hero-cta    { animation: heroFadeUp 0.7s ease 0.68s both; }
.hero-proof  { animation: heroFadeUp 0.7s ease 0.82s both; }

.tw-cursor { display: inline-block; width: 2px; height: 0.78em; background: var(--emerald); animation: blink 1.1s step-end infinite; vertical-align: baseline; margin-left: 3px; position: relative; top: -2px; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 5px; }
.nav-dropdown-trigger::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: -12px;
  background: var(--forest); border: 1px solid rgba(192,253,113,0.15);
  min-width: 200px; padding: 8px 0; margin-top: 6px;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all 0.2s; z-index: 210;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-menu a {
  display: block; padding: 10px 20px; font-size: 13px;
  color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500;
  transition: all 0.15s;
}
.nav-dropdown-menu a:hover { color: var(--lime); background: rgba(255,255,255,0.04); }

/* ── HAMBURGER MENU ── */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s; }

/* ── FOOTER COLUMNS ── */
.footer-nav-grouped { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px 48px; }
.footer-nav-heading {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(192,253,113,0.5);
  margin-bottom: 12px;
}
.footer-nav-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; font-weight: 500; transition: color 0.2s; margin-bottom: 8px; }
.footer-nav-col a:hover { color: var(--lime); }

/* ── SERVICE CARDS ── */
.service-card {
  padding: 36px 32px; border-top: 3px solid var(--lime);
  transition: all 0.25s; background: #fff; border-left: 1.5px solid var(--silver); border-right: 1.5px solid var(--silver); border-bottom: 1.5px solid var(--silver);
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(42,71,66,0.12); }

/* ── LOGO GRID ── */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.logo-grid-item {
  background: #fff; border: 1.5px solid var(--silver);
  padding: 40px 32px; display: flex; align-items: center;
  justify-content: center; transition: all 0.25s;
}
.logo-grid-item:hover { border-color: var(--lime); }

/* ── CASE STUDY CARD ── */
.case-study-card {
  background: #fff; border: 1.5px solid var(--silver);
  padding: 44px 40px; transition: all 0.25s; margin-bottom: 3px;
}
.case-study-card:hover { border-color: var(--forest); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(42,71,66,0.12); }

/* ── JOB CARD ── */
.job-card {
  background: #fff; border: 1.5px solid var(--silver);
  padding: 36px 32px; transition: all 0.25s;
}
.job-card:hover { border-color: var(--lime); background: #FBFFF5; }

/* ── LEGAL PAGE ── */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 22px; margin-top: 48px; margin-bottom: 16px; }
.legal-content h3 { font-size: 18px; margin-top: 32px; margin-bottom: 12px; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.legal-content p { font-size: 15px; color: rgba(42,71,66,0.7); line-height: 1.85; margin-bottom: 16px; }
.legal-content ul { margin-left: 24px; margin-bottom: 16px; list-style: none; }
.legal-content li { font-size: 15px; color: rgba(42,71,66,0.7); line-height: 1.85; margin-bottom: 8px; padding-left: 16px; position: relative; }
.legal-content li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 2px; background: var(--lime); }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  nav.site-nav { padding: 0 20px; }
  .nav-logo-desktop { display: none; }
  .nav-logo-mobile { display: block; height: 40px; }
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--forest); flex-direction: column; padding: 32px 28px; gap: 0; overflow-y: auto; z-index: 200; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 15px; }
  .nav-dropdown-menu { position: static; opacity: 1; pointer-events: auto; transform: none; border: none; margin: 0; padding: 0 0 0 20px; min-width: auto; display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-trigger::after { margin-left: auto; }

  .page-hero { padding: 140px 28px 60px; }
  .page-hero.light { padding: 140px 28px 60px; }
  section { padding-left: 28px !important; padding-right: 28px !important; }
  .wrap { padding: 0; }
  footer.site-footer { padding: 36px 28px; }
  .footer-top { flex-direction: column; }
  .footer-logo-desktop { display: none; }
  .footer-logo-mobile { display: block; height: 44px; }
  .footer-nav-grouped { grid-template-columns: 1fr 1fr; }
  .carousel-section { padding: 60px 28px; }
  .carousel-card { padding: 32px 28px; }
  .client-logos { gap: 24px 32px; max-width: 100%; }
  .client-logos img { height: 32px; }

  /* Force inline grid layouts to single column */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  [style*="repeat(5,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Reduce large gaps */
  [style*="gap:80px"], [style*="gap: 80px"] {
    gap: 32px !important;
  }
  [style*="gap:3px"] {
    gap: 0 !important;
  }

  /* Fix section padding */
  [style*="padding:100px 52px"], [style*="padding: 100px 52px"],
  [style*="padding:80px 52px"], [style*="padding: 80px 52px"] {
    padding: 60px 20px !important;
  }
  [style*="padding:0 52px"], [style*="padding: 0 52px"] {
    padding: 0 20px !important;
  }

  /* Carousel touch targets */
  .carousel-dots {
    gap: 12px;
  }
  .carousel-dot {
    width: 12px;
    height: 12px;
    padding: 8px;
    box-sizing: content-box;
  }
  .carousel-dot.active {
    width: 28px;
    height: 12px;
  }
  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  /* Hero image container height */
  [style*="height:480px"] {
    height: 320px !important;
  }

  /* Nav touch targets */
  .nav-hamburger {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ── CLIENT LOGO STRIP ── */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 56px;
  padding: 8px 0;
  max-width: 1000px;
  margin: 0 auto;
}
.client-logos img {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.client-logos img:hover {
  opacity: 1;
}
