:root {
  --green: #6ac84a;
  --green-dark: #56ad38;
  --orange: #f4ad39;
  --bg: #172116;
  --bg-soft: #223124;
  --card: #2d4030;
  --light: #f6fff9;
  --light-soft: #eef9f0;
  --cream: #fffaf1;
  --cream-soft: #e5dcc8;
  --ink: #052117;
  --line: rgba(244, 173, 57, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius: 22px;
  --container: min(1200px, calc(100% - 40px));
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(106, 200, 74, 0.16), transparent 30%),
    radial-gradient(circle at right center, rgba(244, 173, 57, 0.08), transparent 24%),
    linear-gradient(180deg, #172116 0%, #223124 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.ecocred-container {
  width: var(--container);
  margin: 0 auto;
}

/* ===== TOPBAR ===== */
.ecocred-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(23, 33, 22, 0.9);
  border-bottom: 1px solid var(--line);
}

.ecocred-nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ecocred-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ecocred-brand img { width: 148px; height: auto; }
.ecocred-brand strong { display: block; font-size: 16px; }
.ecocred-brand small {
  display: block;
  color: var(--cream-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ecocred-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--cream-soft);
  font-size: 0.95rem;
}
.ecocred-menu a:hover { color: var(--orange); }

/* ===== BUTTONS ===== */
.ecocred-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.ecocred-button:hover { transform: translateY(-1px); }

.ecocred-button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 30px rgba(106, 200, 74, 0.25);
}
.ecocred-button-primary:hover { background: var(--green-dark); }

.ecocred-button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--orange);
  border: 1px solid rgba(244, 173, 57, 0.34);
}

/* ===== SECTIONS ===== */
.ecocred-section { padding: 72px 0; }

.ecocred-section-light {
  background: linear-gradient(180deg, var(--light) 0%, var(--light-soft) 100%);
  color: var(--ink);
}
.ecocred-section-light p,
.ecocred-section-light li,
.ecocred-section-light .ecocred-section-lead { color: rgba(5, 33, 23, 0.78); }

.ecocred-section-dark { background: var(--bg-soft); }

/* ===== HERO ===== */
.ecocred-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 82% 22%, rgba(244, 173, 57, 0.14), transparent 26%),
    linear-gradient(135deg, #172116 0%, #223124 56%, #2d4030 100%);
}

.ecocred-hero-grid,
.ecocred-split,
.ecocred-benefits,
.ecocred-footer-grid,
.ecocred-home-split {
  display: grid;
  gap: 28px;
}
.ecocred-hero-grid,
.ecocred-benefits { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.ecocred-split,
.ecocred-home-split { grid-template-columns: 1fr 1fr; align-items: start; }

/* ===== EYEBROW ===== */
.ecocred-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cream-soft);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.ecocred-eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(106, 200, 74, 0.45);
  flex: 0 0 auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: "Poppins", "Montserrat", sans-serif;
  line-height: 1.08;
  margin: 0 0 18px;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 18px; color: var(--cream-soft); font-size: 1.05rem; }

/* ===== HIGHLIGHTS ===== */
.ecocred-highlights,
.ecocred-bullet-list,
.ecocred-cta-list,
.ecocred-footer-links,
.ecocred-home-pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ecocred-highlights { margin: 26px 0 30px; display: grid; gap: 12px; }
.ecocred-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ecocred-highlights li::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(244, 173, 57, 0.12);
  flex: 0 0 auto;
}

.ecocred-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ===== CARDS ===== */
.ecocred-hero-card,
.ecocred-step,
.ecocred-mini-card,
.ecocred-faq-item,
.ecocred-cta-box,
.ecocred-benefit-box,
.ecocred-panel,
.ecocred-service-card,
.ecocred-trust-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ecocred-hero-card,
.ecocred-panel,
.ecocred-step,
.ecocred-benefit-box,
.ecocred-faq-item,
.ecocred-cta-box {
  background: var(--card);
  border: 1px solid rgba(244, 173, 57, 0.12);
}

.ecocred-hero-card {
  position: relative;
  padding: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 173, 57, 0.14);
  overflow: hidden;
}
.ecocred-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(244, 173, 57, 0.26), transparent 70%);
  pointer-events: none;
}

.ecocred-hero-logo {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}
.ecocred-hero-logo img {
  width: min(320px, 78%);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.28));
}

.ecocred-section-head { max-width: 760px; margin-bottom: 34px; }
.ecocred-section-lead { font-size: 1.05rem; }

.ecocred-panel,
.ecocred-surface { padding: 30px; }

.ecocred-surface {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(93, 177, 59, 0.12);
  box-shadow: var(--shadow);
}

/* ===== BULLET LIST ===== */
.ecocred-bullet-list,
.ecocred-footer-links { display: grid; gap: 14px; }

.ecocred-bullet-list li {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(106, 200, 74, 0.08);
  border: 1px solid rgba(106, 200, 74, 0.14);
  font-weight: 600;
}
.ecocred-section-light .ecocred-bullet-list li { color: var(--ink); }

/* ===== GRIDS ===== */
.ecocred-steps,
.ecocred-mini-grid,
.ecocred-service-grid,
.ecocred-trust-grid { display: grid; gap: 18px; }

.ecocred-steps { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.ecocred-mini-grid,
.ecocred-service-grid { grid-template-columns: repeat(4, 1fr); }
.ecocred-trust-grid { grid-template-columns: repeat(2, 1fr); }

.ecocred-step,
.ecocred-mini-card,
.ecocred-faq-item,
.ecocred-service-card,
.ecocred-trust-card { padding: 24px; }

.ecocred-step-index {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(244, 173, 57, 0.14);
  color: var(--orange);
  font-weight: 800;
}

.ecocred-service-card,
.ecocred-mini-card,
.ecocred-trust-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(244, 173, 57, 0.16);
}
.ecocred-service-card p,
.ecocred-mini-card p,
.ecocred-trust-card p { color: rgba(5, 33, 23, 0.78); }
.ecocred-service-card h3,
.ecocred-mini-card h3,
.ecocred-trust-card h3 { color: var(--ink); }

.ecocred-service-card.ecocred-featured {
  background: linear-gradient(180deg, #2d4030 0%, #223124 100%);
  color: var(--cream);
  border-color: rgba(106, 200, 74, 0.18);
  transform: translateY(-6px);
}
.ecocred-service-card.ecocred-featured p { color: var(--cream-soft); }
.ecocred-service-card.ecocred-featured h3 { color: var(--cream); }

/* ===== TAG ===== */
.ecocred-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(244, 173, 57, 0.12);
  color: #8c5b07;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.ecocred-featured .ecocred-tag {
  background: rgba(244, 173, 57, 0.2);
  color: var(--orange);
}

/* ===== CTA SECTION ===== */
.ecocred-cta {
  background:
    radial-gradient(circle at 20% 15%, rgba(244, 173, 57, 0.16), transparent 26%),
    linear-gradient(135deg, #172116 0%, #223124 100%);
}
.ecocred-cta-box {
  padding: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(244, 173, 57, 0.16);
  text-align: center;
}
.ecocred-cta-list {
  margin: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.ecocred-cta-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

/* ===== FOOTER ===== */
.ecocred-footer {
  padding: 56px 0 34px;
  background: #121a12;
  border-top: 1px solid rgba(244, 173, 57, 0.12);
}
.ecocred-footer-grid { grid-template-columns: 1.2fr 0.9fr 1fr; }
.ecocred-footer-logo { width: 150px; margin-bottom: 18px; }
.ecocred-footer-links a { color: var(--cream-soft); }
.ecocred-footer-links a:hover { color: var(--orange); }
.ecocred-footer-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--cream-soft);
  font-size: 0.92rem;
}
.ecocred-footer h3 { color: var(--cream); font-size: 1rem; margin-bottom: 16px; }
.ecocred-footer p { color: var(--cream-soft); font-size: 0.9rem; }

/* ===== HAMBURGER (mobile only) ===== */
.ecocred-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ecocred-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ecocred-hero-grid,
  .ecocred-split,
  .ecocred-benefits,
  .ecocred-footer-grid,
  .ecocred-home-split { grid-template-columns: 1fr; }

  .ecocred-steps,
  .ecocred-mini-grid,
  .ecocred-service-grid { grid-template-columns: repeat(2, 1fr); }

  .ecocred-menu { display: none; }
  .ecocred-hamburger { display: flex; }
  .ecocred-nav > .ecocred-button { display: none; }
}

@media (max-width: 720px) {
  .ecocred-container { width: min(100% - 24px, 1200px); }
  .ecocred-nav { min-height: 74px; }
  .ecocred-brand img { width: 126px; }

  .ecocred-button { width: 100%; }
  .ecocred-hero-card .ecocred-button { width: auto; }

  .ecocred-section,
  .ecocred-hero { padding: 52px 0; }

  .ecocred-actions { flex-direction: column; }

  .ecocred-steps,
  .ecocred-mini-grid,
  .ecocred-service-grid,
  .ecocred-trust-grid { grid-template-columns: 1fr; }

  .ecocred-service-card.ecocred-featured { transform: none; }

  .ecocred-hero-card,
  .ecocred-panel,
  .ecocred-mini-card,
  .ecocred-step,
  .ecocred-faq-item,
  .ecocred-cta-box,
  .ecocred-benefit-box,
  .ecocred-service-card,
  .ecocred-trust-card,
  .ecocred-surface { padding: 22px; }
}

/* Mobile menu open state */
.ecocred-menu.open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 74px; left: 0; right: 0; bottom: 0;
  background: rgba(23, 33, 22, 0.98);
  padding: 28px 24px;
  z-index: 29;
  gap: 4px;
}
.ecocred-menu.open a {
  font-size: 1.2rem;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
