/* ==========================================================================
   Bgreen Organic Product — Design System
   Brand: Primary Green #08A235 · Dark Green #04501C · Gold #F2C14E
   Type: Poppins (headings + body)
   ========================================================================== */

:root {
  --green: #08A235;
  --green-dark: #04501C;
  --green-darker: #033814;
  --gold: #F2C14E;
  --gold-dark: #D9A82E;
  --cream: #FBF6EA;
  --ink: #16241A;
  --ink-soft: #4A5A4E;
  --white: #FFFFFF;
  --border: #E3E8E1;
  --shadow-sm: 0 4px 16px rgba(4, 80, 28, 0.08);
  --shadow-md: 0 12px 32px rgba(4, 80, 28, 0.14);
  --shadow-lg: 0 24px 60px rgba(4, 80, 28, 0.20);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1200px;
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 16px; color: var(--green-dark); }
p { margin: 0 0 16px; color: var(--ink-soft); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---- Eyebrow / section labels ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(8, 162, 53, 0.08);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 17px; }

section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--green-darker); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--green-dark); color: var(--white); }
.btn-dark:hover { background: var(--green-darker); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--white); }
.navbar.scrolled .brand, body.light-nav .brand { color: var(--green-dark); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.92); transition: color 0.2s; }
.navbar.scrolled .nav-links a, body.light-nav .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--white); transition: 0.2s; }
.navbar.scrolled .nav-toggle span, body.light-nav .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(3,56,20,0.88) 0%, rgba(3,56,20,0.72) 45%, rgba(3,56,20,0.5) 75%, rgba(3,56,20,0.75) 100%),
              linear-gradient(180deg, rgba(3,56,20,0.35) 0%, rgba(3,56,20,0.55) 55%, rgba(3,56,20,0.9) 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding-top: var(--nav-h); }
.hero-content .eyebrow { background: rgba(242,193,78,0.16); color: var(--gold); }
.hero h1 { color: var(--white); font-size: clamp(36px, 6vw, 60px); margin-bottom: 20px; }
.hero p.lead { color: rgba(255,255,255,0.88); font-size: 19px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; position: relative; z-index: 2; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-stats .stat-num { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--gold); }
.hero-stats .stat-label { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ---- Breadcrumb / page header (product pages) ---- */
.page-hero {
  position: relative; color: var(--white); padding: calc(var(--nav-h) + 72px) 0 72px;
  background: linear-gradient(135deg, var(--green-darker), var(--green-dark));
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(242,193,78,0.25), transparent 70%);
}
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; font-size: 17px; }

/* ---- Cards / grids ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.img-frame { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

.badge-float {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 20px 26px;
  display: flex; align-items: center; gap: 14px;
}
.badge-float .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-float .ico svg { width: 22px; height: 22px; stroke: var(--white); }
.badge-float strong { display: block; font-size: 15px; color: var(--green-dark); }
.badge-float span { font-size: 13px; color: var(--ink-soft); }

.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-weight: 500; color: var(--ink); }
.check-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--green); margin-top: 1px; }

/* ---- Product cards ---- */
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column; height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .thumb { height: 220px; overflow: hidden; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .thumb.gradient-tallow { background: linear-gradient(135deg, #FBF6EA, #F2C14E 140%); display: flex; align-items: center; justify-content: center; }
.product-card .thumb .tag {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--green-darker);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.product-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 19px; margin-bottom: 8px; }
.product-card p { font-size: 14.5px; margin-bottom: 18px; flex: 1; }
.product-card .specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-card .specs span { font-size: 12px; font-weight: 600; background: var(--cream); color: var(--green-dark); padding: 5px 11px; border-radius: var(--radius-pill); }
.product-card .card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-card .card-link { font-weight: 600; font-size: 14px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.product-card .card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.product-card .card-link:hover svg { transform: translateX(4px); }

/* ---- Services / icon cards ---- */
.service-card {
  background: var(--cream); border-radius: var(--radius-md); padding: 32px 26px; text-align: left;
  transition: background 0.25s ease, transform 0.25s ease;
}
.service-card:hover { background: var(--green-dark); transform: translateY(-4px); }
.service-card:hover h3, .service-card:hover p { color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,0.8); }
.service-card .ico { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.service-card .ico svg { width: 26px; height: 26px; color: var(--green); }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14px; margin-bottom: 0; }

/* ---- Why choose us checklist section ---- */
.why-section { background: var(--green-dark); color: var(--white); position: relative; overflow: hidden; }
.why-section::before { content:''; position:absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(242,193,78,0.14), transparent 70%); top: -160px; right: -160px; }
.why-section h2, .why-section p { color: var(--white); }
.why-section .eyebrow { background: rgba(242,193,78,0.16); color: var(--gold); }
.why-section .check-list li { color: var(--white); }
.why-section .check-list li svg { color: var(--gold); }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 16px; }
.gallery-grid .g-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-grid .g-item:hover img { transform: scale(1.08); }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }

/* ---- Testimonials ---- */
.testimonial-card { background: var(--cream); border-radius: var(--radius-lg); padding: 40px; max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial-card .quote-mark { font-size: 64px; color: var(--gold); line-height: 1; font-weight: 700; margin-bottom: 8px; }
.testimonial-card p.quote { font-size: 19px; color: var(--ink); font-weight: 500; }
.testimonial-card .stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 18px; }
.testimonial-card .author { margin-top: 20px; font-weight: 700; color: var(--green-dark); }
.testimonial-card .author span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }

/* ---- Contact / lead form ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-form-pane { padding: 56px; background: var(--white); }
.contact-info-pane { padding: 56px; background: var(--green-dark); color: var(--white); position: relative; }
.contact-info-pane h3 { color: var(--white); }
.contact-info-pane p { color: rgba(255,255,255,0.8); }
.contact-info-pane .info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-pane .info-row .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-pane .info-row .ico svg { width: 20px; height: 20px; color: var(--gold); }
.contact-info-pane .info-row strong { display: block; font-size: 15px; color: var(--white); }
.contact-info-pane .info-row span, .contact-info-pane .info-row a { font-size: 14px; color: rgba(255,255,255,0.78); }
.map-embed { border-radius: var(--radius-sm); overflow: hidden; margin-top: 28px; height: 180px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) sepia(0.1); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--green-dark); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--white); transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.form-success { display: none; background: rgba(8,162,53,0.1); color: var(--green-dark); padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; margin-top: 12px; }
.form-success.show { display: block; }

/* ---- Spec table (product pages) ---- */
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; }
.spec-table th { text-align: left; background: var(--green-dark); color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; padding: 14px 18px; }
.spec-table th:first-child { border-radius: 10px 0 0 0; }
.spec-table th:last-child { border-radius: 0 10px 0 0; }
.spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.spec-table tr:nth-child(even) td { background: var(--cream); }
.spec-table td:first-child { font-weight: 600; color: var(--green-dark); width: 42%; }
.spec-note { font-size: 13px; color: var(--ink-soft); font-style: italic; margin-top: -16px; margin-bottom: 32px; }

/* ---- FAQ accordion ---- */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--green-dark); }
.faq-q .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--green); transition: transform 0.25s; }
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding-top: 14px; margin-bottom: 0; }

/* ---- Related products strip ---- */
.related-strip { background: var(--cream); }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--green-dark), var(--green-darker));
  border-radius: var(--radius-lg); padding: 56px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; color: var(--white); position: relative; overflow: hidden;
}
.cta-banner::after { content:''; position:absolute; width:320px; height:320px; border-radius:50%; background: radial-gradient(circle, rgba(242,193,78,0.18), transparent 70%); right: -100px; bottom: -140px; }
.cta-banner h2 { color: var(--white); margin-bottom: 8px; font-size: 28px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 0; }

/* ---- Footer ---- */
footer { background: var(--green-darker); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--white); margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; }
footer h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
footer ul li { margin-bottom: 11px; font-size: 14px; }
footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--green); }
.social-row svg { width: 16px; height: 16px; }

/* ---- Misc ---- */
.divider-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; margin: 0 10px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 56px 0; }
}

/* ---- Mobile nav drawer ---- */
.mobile-nav { position: fixed; inset: 0; background: var(--green-darker); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transform: translateY(-100%); transition: transform 0.3s ease; }
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { color: var(--white); font-size: 22px; font-weight: 600; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 28px; right: 28px; background: none; border: none; color: var(--white); font-size: 28px; cursor: pointer; }
