/* ----------------------------------------
   CSS Custom Properties
---------------------------------------- */
:root {
  --primary: #035833;
  --secondary: #112d12;
  --accent: #e69f4e;
  --bg: #fefbf6;
  --bg-alt: #f8f6f1;
  --primary-bg: #152c15;
  --text: #112d12;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
}

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

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

/* ----------------------------------------
   Base Styles
---------------------------------------- */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

/* ----------------------------------------
   Utility Classes
---------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----------------------------------------
   Navigation
---------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: rgba(254, 251, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

#navbar.scrolled {
  border-bottom-color: rgba(17, 45, 18, 0.08);
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  gap: 2px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 88, 51, 0.25);
  color: var(--white) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#navbar.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#navbar.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

#navbar.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(254, 251, 246, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 45, 18, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#navbar.nav-open .nav-mobile {
  max-height: 320px;
}

.nav-mobile-links {
  list-style: none;
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile-links a {
  display: block;
  text-decoration: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(17, 45, 18, 0.06);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-mobile-links a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.nav-mobile-links .nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 0.5rem;
  border: none;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }
}

/* ----------------------------------------
   Hero Section
---------------------------------------- */
#hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 3rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-headline-accent {
  color: var(--accent);
}

.hero-subtext {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: rgba(17, 45, 18, 0.7);
  line-height: 1.6;
  max-width: 480px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(3, 88, 51, 0.3);
}

/* Hero image area */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* Floating stat badge */
.hero-stat-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 160px;
  animation: badge-float 4s ease-in-out infinite;
}

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

.hero-stat-badge-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.hero-stat-badge-label {
  font-size: 0.72rem;
  color: rgba(17, 45, 18, 0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-stat-badge-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  width: fit-content;
  margin-top: 0.15rem;
}

/* Hero mobile */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .hero-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .hero-stat-badge {
    right: 0;
    top: 1rem;
  }

  .hero-subtext {
    max-width: 100%;
  }
}

/* ----------------------------------------
   Animation Classes (inactive until JS)
---------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ----------------------------------------
   Services Section
---------------------------------------- */
#services {
  background: var(--primary-bg);
  padding: 5rem 0;
}

.section-label-lined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.section-label-lined::before,
.section-label-lined::after {
  content: '';
  height: 1px;
  width: 48px;
  background: rgba(230, 159, 78, 0.4);
}

.section-label-lined span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading-light {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #112d12;
  margin-bottom: 0.6rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: rgba(17, 45, 18, 0.72);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(17, 45, 18, 0.2);
  color: #112d12;
  background: transparent;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   Process Section
---------------------------------------- */
#process {
  background: var(--bg);
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3.5rem;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 1.5rem;
}

/* Dotted connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 60px;
  right: 60px;
  height: 2px;
  border-top: 2px dotted rgba(17, 45, 18, 0.15);
  z-index: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.9rem;
  color: rgba(17, 45, 18, 0.6);
  line-height: 1.5;
  max-width: 250px;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    border-top: none;
    border-left: 2px dotted rgba(17, 45, 18, 0.15);
    transform: translateX(-50%);
  }
}

/* ----------------------------------------
   Industries Section
---------------------------------------- */
#industries {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 45, 18, 0.45);
  text-align: center;
  margin-bottom: 0.6rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.industry-card {
  background: var(--white);
  border: 1px solid rgba(17, 45, 18, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-left 0.25s ease, transform 0.25s ease;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.industry-card:hover {
  border-left: 3px solid var(--accent);
  transform: translateX(4px);
}

a.industry-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.industry-icon {
  color: var(--primary);
  height: 32px;
  margin-bottom: 0.65rem;
}

.industry-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.industry-desc {
  font-size: 0.85rem;
  color: rgba(17, 45, 18, 0.55);
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------
   Social Proof Section
---------------------------------------- */
#social-proof {
  background: var(--bg);
  padding: 5rem 0;
}

.social-proof-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.95rem;
  color: rgba(17, 45, 18, 0.55);
  max-width: 200px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .social-proof-stats {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

/* ----------------------------------------
   CTA Section
---------------------------------------- */
#cta {
  background: var(--primary);
  padding: 4rem 0;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
}

.cta-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-subtext {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ----------------------------------------
   Footer
---------------------------------------- */
#footer {
  background: var(--primary-bg);
  padding: 3rem 0 1.5rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  gap: 2px;
  margin-bottom: 2rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

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

.footer-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* ----------------------------------------
   Prefers Reduced Motion
---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-in {
    opacity: 1;
    transform: none;
  }

  .hero-stat-badge {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

/* ----------------------------------------
   Global Polish
---------------------------------------- */
button,
.hero-cta,
.nav-cta,
.cta-button,
.nav-cta-mobile {
  cursor: pointer;
}

img {
  max-width: 100%;
}

/* ----------------------------------------
   Landing Page: Pain Points Section
---------------------------------------- */
#painpoints {
  background: var(--primary-bg);
  padding: 5rem 0;
}

.painpoints-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.painpoint-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.painpoint-icon {
  color: var(--accent);
  height: 32px;
  margin-bottom: 0.75rem;
}

.painpoint-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.painpoint-desc {
  font-size: 0.92rem;
  color: rgba(17, 45, 18, 0.65);
  line-height: 1.55;
}

.painpoint-stat {
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 640px) {
  .painpoints-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   Landing Page: Solutions Section
---------------------------------------- */
#solutions {
  background: var(--bg);
  padding: 5rem 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.solution-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.solution-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #112d12;
  margin-bottom: 0.5rem;
}

.solution-desc {
  font-size: 0.92rem;
  color: rgba(17, 45, 18, 0.72);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.solution-saving {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.solution-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(17, 45, 18, 0.2);
  color: #112d12;
  background: transparent;
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   Contact Section
---------------------------------------- */
#contact {
  background: var(--bg);
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-headline {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-subtext {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-divider {
  width: 3rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
}

.contact-alt-label {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-alt-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-calendly-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-calendly-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0ddd6;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: var(--primary-dark, #024528);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-headline {
    font-size: 1.6rem;
  }
}

/* ----------------------------------------
   Landing Page: Results Section
---------------------------------------- */
#results {
  background: var(--bg-alt);
  padding: 5rem 0;
}
