:root {
  --green: #388874;
  --green-600: #2f7a68;
  --green-700: #266454;
  --green-900: #123026;
  --green-950: #0c211b;
  --ink: #15231e;
  --muted: #5d6f69;
  --line: #e2eae5;
  --bg: #f6f8f6;
  --bg-alt: #eef3f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(18, 48, 38, 0.10);
  --shadow-sm: 0 4px 14px rgba(18, 48, 38, 0.08);
  --container: 1180px;
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.18; color: var(--green-900); margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(23px, 3vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
/* Logo height 50px */
.brand img { height: 50px; width: auto; display: block; }
/* Keep the same specificity as `.brand img`, otherwise the white logo leaks onto inner pages */
.brand img.logo-white { display: none; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .5px; color: var(--green-900); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-link:hover, .nav-link.active { color: var(--green); }
/* Header CTA kept at 80% of the standard .btn height (55px -> ~44px) */
.nav-cta { margin-left: 6px; padding: 9px 20px; font-size: 14px; line-height: 1.65; background: var(--green); color: #fff; border: 2px solid var(--green); }
.nav-cta:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .2s; }

/* Overlay header on home (transparent over banner) */
body.home .site-header { background: transparent; border-bottom-color: rgba(255,255,255,.12); }
body.home .site-header .nav-link { color: rgba(255,255,255,.9); }
body.home .site-header .brand-name { color: #fff; }
body.home .site-header .brand img.logo-color { display: none; }
body.home .site-header .brand img.logo-white { display: block; }
body.home .site-header .nav-toggle span { background: #fff; }
body.home .site-header.is-scrolled {
  background: rgba(255,255,255,.97); border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(18,48,38,.08);
}
body.home .site-header.is-scrolled .nav-link { color: var(--ink); }
body.home .site-header.is-scrolled .brand-name { color: var(--green-900); }
body.home .site-header.is-scrolled .brand img.logo-color { display: block; }
body.home .site-header.is-scrolled .brand img.logo-white { display: none; }

/* Hero — full-width banner */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; padding: 96px 0 84px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,33,27,.92) 0%, rgba(18,48,38,.74) 42%, rgba(18,48,38,.28) 100%); }
.hero-inner { position: relative; z-index: 2; }
.hero-text { max-width: 660px; color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12.5px; color: #7fd1b6; margin: 0 0 16px; font-weight: 700; }
.hero h1 { color: #fff; }
.lead { font-size: 18.5px; color: rgba(255,255,255,.88); max-width: 600px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; }
.hero-badges .container { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Stats */
.stats { background: var(--green-900); color: #fff; padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-value { display: block; font-size: 36px; font-weight: 800; color: #7fd1b6; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.82); }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Product grid (image + text) */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); display: block; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-cat { position: absolute; left: 12px; top: 12px; background: rgba(18,48,38,.88); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .4px; padding: 5px 12px; border-radius: 999px; }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.product-top h3 { margin: 0; }
.product-code { font-size: 12px; font-weight: 700; color: #fff; background: var(--green); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.product-body > p { color: var(--muted); font-size: 14.5px; margin: 0; }
.product-features { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-features li { background: var(--bg-alt); border-radius: 8px; padding: 5px 10px; font-size: 12.5px; color: var(--green-900); font-weight: 500; }
.product-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 4px; }
.product-body .btn { align-self: flex-start; margin-top: 6px; border-color: var(--green); color: var(--green-700); }
.product-body .btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* Brand collage strip — sits directly below the 6 product cards, two images side by side */
.brand-strip { margin-top: 58px; padding-top: 46px; border-top: 1px solid var(--line); }
.brand-strip-head { margin-bottom: 28px; }
.brand-strip-head h2 { font-size: clamp(20px, 2.2vw, 28px); }
.brand-strip-head p { margin: 0; font-size: 16px; }
.brand-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.brand-figure { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
/* Both source images have slightly different ratios; force one frame so the pair lines up */
.brand-figure img { width: 100%; aspect-ratio: 1.95; object-fit: contain; border-radius: 8px; background: #fff; }
.brand-figure figcaption { margin-top: auto; padding-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.why-card p { color: var(--muted); margin: 0; }

/* Certifications */
.cert-block { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.cert-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.cert-list li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--green-900); }

/* Reach */
.reach { text-align: center; max-width: 760px; margin: 0 auto; }
.reach p { color: var(--muted); font-size: 18px; margin: 0 0 24px; }

/* Page hero (subpages) */
.page-hero { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; padding: 60px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.86); font-size: 18px; max-width: 740px; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 36px; }
.about-list { padding-left: 18px; }
.about-list li { margin-bottom: 10px; color: var(--muted); }
.about-side { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--muted); font-size: 14px; }
.spec-list strong { color: var(--green-900); text-align: right; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 36px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: var(--green-900); font-size: 14px; }
.contact-form input, .contact-form textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.contact-form .form-note { font-weight: 400; font-size: 13px; color: var(--muted); }
.contact-side { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; }

/* Footer */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.8); padding: 52px 0 24px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 30px; }
.site-footer .brand { display: block; }
.site-footer .brand img { height: 30px; margin-bottom: 14px; }
.footer-about { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 0; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: #7fd1b6; }
.footer-contact li { color: rgba(255,255,255,.78); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.social a:hover { background: var(--green); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); }

/* WhatsApp float */
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }

/* Responsive */
@media (max-width: 900px) {
  .hero { min-height: 78vh; }
  .product-grid, .why-grid, .cert-block, .about-grid, .contact-grid, .brand-strip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 18px;
    display: none; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 12px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  /* on mobile the overlay header is solid once menu is open; keep simple */
  body.home .main-nav .nav-link { color: var(--ink); }
  .product-grid, .footer-grid { grid-template-columns: 1fr; }
}
