/* ═══════════════════════════════════════════════════════
   GREEN COURAGE GLOBAL — Home / Landing Page Styles
   Fonts loaded via <link> tag in home.ejs
═══════════════════════════════════════════════════════ */

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  display: flex; align-items: center;
  padding: 0 48px;
  background: rgba(253,252,249,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
  gap: 40px;
}
#navbar.scrolled {
  background: rgba(253,252,249,0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(15,28,18,0.06);
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--forest); border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-mark svg { width: 18px; height: 18px; fill: var(--gold); }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 500; color: var(--forest); line-height: 1.1;
}
.nav-logo-text span {
  display: block; font-size: 9px; font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--light); font-weight: 300; margin-top: 1px;
}

.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a {
  font-size: 13.5px; color: var(--mid); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--forest); }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-nav-ghost {
  padding: 9px 20px;
  border: 1.5px solid var(--border-mid); border-radius: 8px;
  background: transparent; color: var(--forest);
  font-size: 13.5px; font-family: 'DM Sans', sans-serif;
  text-decoration: none; transition: all 0.2s;
  display: inline-flex; align-items: center;
}
.btn-nav-ghost:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-nav-primary {
  padding: 9px 20px;
  background: var(--forest); color: var(--cream); border-radius: 8px;
  font-size: 13.5px; font-family: 'DM Sans', sans-serif; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
  display: inline-flex; align-items: center;
}
.btn-nav-primary:hover { background: var(--moss); }

/* ─── HAMBURGER (mobile only) ─── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 9px;
  background: transparent; border: none; cursor: pointer;
  margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--forest); transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU PANEL ─── */
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(15,28,18,0.45); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 99;
  width: 78%; max-width: 320px; height: 100vh;
  background: var(--cream, #fdfcf9);
  box-shadow: -8px 0 40px rgba(15,28,18,0.18);
  display: flex; flex-direction: column; gap: 4px;
  padding: 88px 28px 28px;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 16px; color: var(--forest); text-decoration: none;
  padding: 14px 12px; border-radius: 9px; transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.mobile-menu a:hover, .mobile-menu a:active { background: rgba(15,28,18,0.05); }
.mobile-menu-divider { height: 1px; background: var(--border, #e5e2d9); margin: 14px 4px; }
.mobile-menu-ghost {
  border: 1.5px solid var(--border-mid, #d4cfc2); text-align: center;
  margin-top: 4px;
}
.mobile-menu-primary {
  background: var(--forest); color: var(--cream) !important; text-align: center;
  font-weight: 500; margin-top: 4px;
}
.mobile-menu-primary:hover { background: var(--moss) !important; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: var(--forest);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(74,124,84,0.3), transparent 55%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(45,74,50,0.4), transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(26,46,30,0.2), transparent 70%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-eyebrow-line { width: 36px; height: 1.5px; background: var(--gold); }
.hero-eyebrow-text {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(201,168,76,0.8);
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400; color: var(--cream); line-height: 1.1;
  margin-bottom: 24px;
}
.hero-headline em { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: 16px; color: rgba(247,244,238,0.6); line-height: 1.75;
  max-width: 520px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--gold); color: var(--deep);
  border: none; border-radius: 9px;
  font-size: 14.5px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  text-decoration: none; cursor: pointer; transition: all 0.25s;
}
.btn-primary:hover { background: #dab95a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(247,244,238,0.08); color: var(--cream);
  border: 1.5px solid rgba(247,244,238,0.2); border-radius: 9px;
  font-size: 14.5px; font-family: 'DM Sans', sans-serif;
  text-decoration: none; cursor: pointer; transition: all 0.25s;
}
.btn-secondary:hover { background: rgba(247,244,238,0.14); }

.hero-trust {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 16px;
  margin-top: 56px; flex-wrap: wrap;
}
.hero-trust-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(247,244,238,0.07);
  border: 1px solid rgba(247,244,238,0.12);
  border-radius: 20px;
}
.hero-trust-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero-trust-badge span { font-size: 12px; color: rgba(247,244,238,0.65); }

.hero-stat {
  display: flex; gap: 24px; margin-left: auto;
  padding: 16px 24px;
  background: rgba(247,244,238,0.07);
  border: 1px solid rgba(247,244,238,0.1);
  border-radius: 12px;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--gold); font-weight: 400; line-height: 1;
}
.hero-stat-label { font-size: 11px; color: rgba(247,244,238,0.4); margin-top: 3px; }

/* ─── SHARED SECTION STYLES ─── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-label-line { width: 28px; height: 1.5px; background: var(--gold); }
.section-label-text { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400; color: var(--forest); line-height: 1.2; margin-bottom: 16px;
}
.section-headline em { color: var(--sage); font-style: italic; }
.section-body { font-size: 15px; color: var(--mid); line-height: 1.75; max-width: 540px; margin-bottom: 32px; }

/* animate on scroll */
.animate { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate.visible, .animate[style*="running"] { opacity: 1; transform: translateY(0); }

/* ─── EXPLAINER ─── */
.explainer { padding: 100px 0; background: var(--chalk); }
.explainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.explainer-cards { display: flex; flex-direction: column; gap: 16px; }
.explainer-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px;
  background: white; border: 1px solid var(--border); border-radius: 12px;
  transition: all 0.3s;
}
.explainer-card:hover { border-color: var(--sage); box-shadow: 0 4px 20px rgba(26,46,30,0.08); transform: translateX(4px); }
.explainer-card-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(26,46,30,0.06); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.explainer-card-icon svg { width: 18px; height: 18px; stroke: var(--forest); fill: none; stroke-width: 1.5; }
.explainer-card h4 { font-size: 14px; font-weight: 500; color: var(--forest); margin-bottom: 5px; }
.explainer-card p { font-size: 13px; color: var(--mid); line-height: 1.6; margin: 0; }
.explainer-card-cta { font-size: 12px; color: var(--sage); font-weight: 500; margin-top: 6px; display: inline-block; }

/* ─── HOW IT WORKS ─── */
.how { padding: 100px 0; background: white; }
.how-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 48px; }
.how-step { position: relative; padding-top: 8px; }
.how-step-num {
  font-family: 'Cormorant Garamond', serif; font-size: 13px;
  color: var(--gold); letter-spacing: 0.08em; margin-bottom: 14px;
}
.how-step-icon {
  width: 52px; height: 52px;
  background: rgba(26,46,30,0.06); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.how-step-icon svg { width: 22px; height: 22px; stroke: var(--forest); fill: none; stroke-width: 1.5; }
.how-step h4 { font-size: 15px; font-weight: 500; color: var(--forest); margin-bottom: 8px; }
.how-step p { font-size: 13.5px; color: var(--mid); line-height: 1.65; }
.how-step-line {
  position: absolute; top: 34px; left: calc(100% - 16px);
  width: calc(100% - 36px); height: 1px;
  background: linear-gradient(90deg, var(--border-mid), transparent);
}
.how-step:last-child .how-step-line { display: none; }

/* ─── SERVICES ─── */
.services { padding: 100px 0; background: var(--chalk); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.service-card {
  padding: 28px; background: white;
  border: 1px solid var(--border); border-radius: 14px;
  transition: all 0.3s;
}
.service-card:hover { border-color: var(--sage); box-shadow: 0 6px 24px rgba(26,46,30,0.09); transform: translateY(-3px); }
.service-icon {
  width: 46px; height: 46px;
  background: rgba(26,46,30,0.06); border-radius: 11px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-icon svg { width: 20px; height: 20px; stroke: var(--forest); fill: none; stroke-width: 1.5; }
.service-card h3 { font-size: 15.5px; font-weight: 500; color: var(--forest); margin-bottom: 10px; }
.service-card p { font-size: 13.5px; color: var(--mid); line-height: 1.65; margin-bottom: 18px; }
.service-cta { font-size: 13px; color: var(--sage); font-weight: 500; text-decoration: none; transition: color 0.2s; }
.service-cta:hover { color: var(--forest); }

/* ─── TRUST STRIP ─── */
.trust-strip { background: var(--forest); padding: 28px 0; }
.trust-strip-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 12px; padding: 10px 32px; }
.trust-item svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.trust-item-text strong { display: block; font-size: 13px; color: var(--cream); font-weight: 500; }
.trust-item-text span { font-size: 11px; color: rgba(247,244,238,0.4); }
.trust-divider { width: 1px; height: 36px; background: rgba(247,244,238,0.1); flex-shrink: 0; }

/* ─── FAQ ─── */
.faq { padding: 100px 0; background: white; }
.faq-grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer;
  font-size: 15px; color: var(--forest); font-weight: 400;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--sage); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; }
.faq-icon svg { width: 18px; height: 18px; stroke: var(--sage); fill: none; stroke-width: 2; transition: transform 0.3s; }
.faq-a {
  font-size: 14px; color: var(--mid); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }

.faq-aside-card {
  background: var(--forest); border-radius: 16px; padding: 36px 32px;
  position: sticky; top: 90px;
}
.faq-aside-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; color: var(--cream); line-height: 1.3; margin-bottom: 16px;
}
.faq-aside-card p { font-size: 13.5px; color: rgba(247,244,238,0.55); line-height: 1.7; margin-bottom: 24px; }
.btn-faq-cta {
  width: 100%; padding: 13px;
  background: var(--gold); color: var(--deep);
  border: none; border-radius: 9px;
  font-size: 14px; font-weight: 500; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.25s;
}
.btn-faq-cta:hover { background: #dab95a; }

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08), transparent 60%);
  border-radius: 50%;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 0 48px; }
.cta-section .section-label { justify-content: center; }
.cta-section .section-headline { color: var(--cream); }
.cta-section .section-body { color: rgba(247,244,238,0.6); margin: 0 auto 40px; text-align: center; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer { background: var(--deep); padding: 60px 0 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; color: var(--cream); margin-bottom: 14px;
}
.footer-brand-desc { font-size: 13px; color: rgba(247,244,238,0.35); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(247,244,238,0.3); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 13.5px; color: rgba(247,244,238,0.45);
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(247,244,238,0.07);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(247,244,238,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(247,244,238,0.25); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(247,244,238,0.6); }

/* ─── STICKY BAR ─── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: var(--forest); border-top: 1px solid rgba(247,244,238,0.1);
  padding: 14px 48px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  transform: translateY(100%); transition: transform 0.35s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-text { font-size: 14px; color: rgba(247,244,238,0.7); }
.sticky-bar-text em { color: var(--gold); font-style: italic; }

/* ─── TOAST (home page) ─── */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--forest); color: var(--cream);
  padding: 14px 20px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(15,28,18,0.25);
  z-index: 9999; font-size: 13.5px;
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ─── SCROLL ANIMATIONS ─── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .how-steps { grid-template-columns: repeat(2,1fr); }
  .how-step-line { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  #navbar { padding: 0 20px; gap: 16px; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .hero-stat { display: none; }
  .section-inner { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .explainer-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-inner { padding: 0 20px; }
  .trust-strip-inner { padding: 0 20px; }
  .trust-divider { display: none; }
  .trust-item { padding: 8px 16px; }
  .cta-inner { padding: 0 20px; }
  .sticky-bar { padding: 12px 20px; }
}
@media (max-width: 480px) {
  .nav-logo-text { font-size: 14px; }
  .nav-logo-text span { font-size: 8px; }
  .how-steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .mobile-menu { width: 86%; }
}

/* hero-stat-item (individual stat inside hero-stat) */
.hero-stat-item { display: flex; flex-direction: column; }
