@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #dcfce7;
  --primary-foreground: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --radius: 0.75rem;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; font-weight: 400; color: var(--gray-800); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- HEADER ---- */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 500;
  color: var(--gray-700); transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--gray-100); color: var(--primary); }
.nav-links a.active { background: var(--primary); color: var(--white); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--gray-700); }
.mobile-menu { display: none; padding: 12px 0 16px; border-top: 1px solid var(--gray-100); }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 10px 16px; border-radius: 6px; font-size: 15px;
  color: var(--gray-700); font-weight: 500; margin-bottom: 4px; transition: background .2s, color .2s;
}
.mobile-menu a:hover { background: var(--gray-100); color: var(--primary); }
.mobile-menu a.active { background: var(--primary); color: var(--white); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-size: 16px; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--primary); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--primary); padding: 8px 0; }
.btn-ghost:hover { color: var(--primary-dark); }

/* ---- PAGE OFFSET ---- */
main { padding-top: 64px; }

/* ---- SECTIONS ---- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-bg { background: var(--gray-50); }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--gray-500); max-width: 640px; margin: 0 auto; }
.section-primary .section-header h2 { color: var(--white); }

/* ---- HERO (Homepage) ---- */
.hero-home {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: url('https://images.unsplash.com/photo-1697638164340-6c5fc558bdf2?w=1600&q=80') center/cover no-repeat;
}
.hero-home::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.60); }
.hero-home .hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; padding: 0 1.5rem; }
.hero-home h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 700; color: var(--white); margin-bottom: 24px; line-height: 1.1; }
.hero-home p { font-size: clamp(17px, 2.5vw, 22px); color: #e5e7eb; margin-bottom: 36px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ---- HERO (inner pages) ---- */
.hero-inner {
  padding: 120px 0 72px; background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  text-align: center;
}
.hero-inner h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
.hero-inner p { font-size: 18px; color: var(--gray-600); max-width: 640px; margin: 0 auto; }

/* ---- HERO with BG image (Carbon / Energy) ---- */
.hero-bg {
  position: relative; padding: 160px 0 100px; text-align: center; overflow: hidden;
}
.hero-bg::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.hero-bg .hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.hero-bg h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; color: var(--white); margin-bottom: 20px; }
.hero-bg p { font-size: 18px; color: #d1fae5; margin-bottom: 32px; }
.hero-badge {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: rgba(34,197,94,.2); color: #bbf7d0; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(34,197,94,.3); margin-bottom: 20px;
}

/* ---- CARDS / GRID ---- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: center; }

.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 28px; transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-xl); }

.card-icon {
  width: 56px; height: 56px; border-radius: 10px;
  background: rgba(34,197,94,.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--primary); }
.card h3 { font-size: 19px; font-weight: 600; color: var(--gray-900); margin-bottom: 10px; }
.card p { color: var(--gray-600); font-size: 15px; line-height: 1.65; }

.card-bordered-top { border-top: 4px solid var(--primary); }
.card-icon-circle { border-radius: 50%; }

/* ---- BLOG CARDS ---- */
.blog-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; transition: box-shadow .2s; }
.blog-card:hover { box-shadow: var(--shadow-xl); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.blog-card h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 10px; }
.blog-card p { color: var(--gray-600); font-size: 14px; margin-bottom: 16px; }

/* ---- TESTIMONIALS ---- */
.testimonial { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 32px; }
.testimonial .quote-icon { width: 32px; height: 32px; color: var(--primary); margin-bottom: 16px; }
.testimonial blockquote { color: var(--gray-700); font-style: italic; margin-bottom: 24px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; color: var(--gray-900); font-weight: 600; }
.testimonial-author span { font-size: 13px; color: var(--gray-500); }

/* ---- ABOUT / MISSION ---- */
.about-text h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--gray-900); margin-bottom: 20px; }
.about-text p { font-size: 16px; color: var(--gray-700); margin-bottom: 16px; line-height: 1.75; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow-xl); width: 100%; }

/* ---- STEPS ---- */
.steps-list { display: flex; flex-direction: column; gap: 24px; }
.step-item { display: flex; gap: 16px; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-top: 2px;
}
.step-item h3 { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 6px; }
.step-item p { color: var(--gray-600); font-size: 15px; }

/* ---- PROCESS GRID (horizontal) ---- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 40px; left: 10%; right: 10%;
  height: 2px; background: var(--gray-200); z-index: 0;
}
.process-step { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--gray-100); padding: 28px 20px; text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; margin: 0 auto 20px;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--gray-200);
}
.process-step h3 { font-size: 17px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--gray-600); }

/* ---- VERIFIED BOX ---- */
.verified-box { background: var(--gray-50); border-radius: var(--radius); padding: 32px; border: 1px solid var(--gray-100); }
.verified-box h3 { font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
.verified-box > p { color: var(--gray-700); margin-bottom: 20px; }
.verified-list { display: flex; flex-direction: column; gap: 14px; }
.verified-item { display: flex; align-items: center; gap: 10px; color: var(--gray-700); font-weight: 500; }
.verified-item svg { width: 20px; height: 20px; color: #22c55e; flex-shrink: 0; }

/* ---- CONTACT ---- */
.contact-form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 36px; }
.contact-form-card h2 { font-size: 28px; font-weight: 700; color: var(--gray-900); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--gray-800); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200);
  border-radius: 6px; font-size: 15px; font-family: inherit; color: var(--gray-800);
  transition: border-color .2s, box-shadow .2s; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info-stack { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--gray-50); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s; }
.contact-info-card:hover { box-shadow: var(--shadow); }
.contact-info-inner { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px;
  background: rgba(34,197,94,.1); display: flex; align-items: center; justify-content: center;
}
.contact-icon-wrap svg { width: 22px; height: 22px; color: var(--primary); }
.contact-info-card h3 { font-size: 17px; font-weight: 600; color: var(--gray-900); margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 15px; color: var(--gray-600); white-space: pre-line; }
.contact-info-card a { color: var(--primary); font-weight: 500; }
.contact-info-card a:hover { text-decoration: underline; }

.hours-card { background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 28px; }
.hours-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; }
.hours-row span:last-child { font-weight: 600; }

.map-placeholder { background: var(--gray-200); border-radius: var(--radius); height: 380px; display: flex; align-items: center; justify-content: center; }
.map-placeholder p { color: var(--gray-500); font-size: 16px; }

/* ---- CTA BAND ---- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 16px; color: var(--white); }
.cta-band p { font-size: 18px; color: #bbf7d0; margin-bottom: 32px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---- FOOTER ---- */
#footer { background: var(--gray-900); color: #9ca3af; }
.footer-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 64px 0 40px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer-desc { color: #6b7280; font-size: 14px; line-height: 1.6; }
.footer-heading { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 16px; display: block; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #6b7280; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span, .footer-contact-item a { font-size: 14px; color: #6b7280; }
.footer-contact-item a:hover { color: var(--primary); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%; background: #1f2937;
  display: flex; align-items: center; justify-content: center; color: #6b7280;
  transition: background .2s, color .2s;
}
.social-link:hover { background: var(--primary); color: var(--white); }
.social-link svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #1f2937; padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 14px; color: #4b5563; }

/* ---- TOAST ---- */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.toast {
  background: var(--white); border-radius: 8px; box-shadow: var(--shadow-xl);
  padding: 14px 20px; min-width: 280px; max-width: 380px;
  border-left: 4px solid var(--primary); animation: slideIn .3s ease;
}
.toast.error { border-left-color: #ef4444; }
.toast-title { font-weight: 600; font-size: 15px; color: var(--gray-900); margin-bottom: 2px; }
.toast-msg { font-size: 14px; color: var(--gray-600); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.fade-left.visible { opacity: 1; transform: none; }
.fade-right { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-right.visible { opacity: 1; transform: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero-home { min-height: 80vh; }
  .hero-bg { padding: 120px 0 72px; }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-card { padding: 24px; }
}
