/* Green Horizon Innovations — shared stylesheet */
:root {
  --green:   #0f3d2e;   /* deep forest */
  --green2:  #16513c;
  --teal:    #1f7a6b;
  --leaf:    #4a9b3c;
  --sun:     #e8843c;   /* warm orange */
  --sun2:    #f0a85a;
  --ink:     #16201b;   /* near-black text */
  --body:    #3a4742;
  --muted:   #6b7a73;
  --line:    #e2e8e4;
  --bg:      #ffffff;
  --bg2:     #f5f8f5;
  --bg3:     #eef3ef;
  --white:   #ffffff;
  --grad:    linear-gradient(135deg, var(--sun), var(--leaf) 55%, var(--teal));
  --grad-dark: linear-gradient(150deg, #0c3327, #0f3d2e 50%, #123f33);
  --shadow:  0 10px 40px rgba(15,61,46,0.10);
  --shadow-sm: 0 4px 18px rgba(15,61,46,0.08);
  --radius:  16px;
  --max:     1180px;
  --sans:    'Inter', system-ui, sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--body); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg2); }
.section.dark { background: var(--grad-dark); color: rgba(255,255,255,0.82); }
.section.dark h2, .section.dark h3 { color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand-text { font-family: var(--display); font-weight: 800; color: var(--green);
  font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.05; }
.brand-text span { display: block; font-size: 0.58rem; letter-spacing: 0.32em;
  color: var(--sun); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--body);
  padding: 8px 13px; border-radius: 10px; transition: all .2s; }
.nav-links a:hover { background: var(--bg3); color: var(--green); }
.nav-links a.cta { background: var(--green); color: #fff; }
.nav-links a.cta:hover { background: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--green); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 84px; background: var(--grad-dark); color: #fff; overflow: hidden; }
.hero::after { content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 80% 20%, rgba(232,132,60,0.22), transparent 45%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 18ch; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.12rem; max-width: 56ch; margin-top: 20px; }
.eyebrow { display:inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--sun2); margin-bottom: 18px; }
.hero .eyebrow { color: var(--sun2); }

/* page hero (interior pages) */
.page-hero { padding: 72px 0 60px; background: var(--grad-dark); color:#fff; position: relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 85% 0%, rgba(74,155,60,0.25), transparent 50%); }
.page-hero .wrap { position: relative; z-index:1; }
.page-hero h1 { color:#fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 60ch; margin-top: 16px; font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem;
  padding: 13px 26px; border-radius: 12px; transition: all .2s; cursor: pointer; border: 0; }
.btn-primary { background: var(--sun); color: #fff; }
.btn-primary:hover { background: var(--sun2); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.12); color:#fff; border:1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-green { background: var(--green); color:#fff; }
.btn-green:hover { background: var(--teal); }
.btn-row { display:flex; gap:14px; flex-wrap:wrap; margin-top: 30px; }

/* ---------- section headers ---------- */
.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section-head p { margin-top: 14px; font-size: 1.05rem; color: var(--muted); }
.section.dark .section-head p { color: rgba(255,255,255,0.7); }

/* ---------- capability grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0d6; }
.card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card .tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sun); margin-bottom: 8px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; color: var(--muted); flex: 1; }
.card .more { margin-top: 16px; font-weight: 600; color: var(--teal); font-size: 0.9rem; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.split ul { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.split li { padding-left: 30px; position: relative; font-size: 0.98rem; }
.split li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--leaf); font-weight: 800; }

/* ---------- metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 8px; }
.metric { text-align: center; padding: 26px 16px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); }
.section.dark .metric { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.metric .num { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--teal); }
.section.dark .metric .num { color: var(--sun2); }
.metric .lbl { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.section.dark .metric .lbl { color: rgba(255,255,255,0.7); }

/* ---------- spec table ---------- */
.spec { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.94rem; }
.spec th, .spec td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec th { background: var(--bg3); font-family: var(--display); color: var(--green); font-weight: 700; }
.spec tr:last-child td { border-bottom: 0; }

/* layered list (process steps) */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { display: flex; gap: 18px; padding: 22px; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); }
.step .n { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--grad); color:#fff;
  font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h4 { margin-bottom: 4px; }
.step p { font-size: 0.93rem; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4/3; object-fit: cover; }

/* download cards */
.dl { display: flex; gap: 20px; align-items: center; padding: 24px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.dl .ic { flex: 0 0 56px; height: 56px; border-radius: 14px; background: var(--grad); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size: 1.5rem; }
.dl-info { flex: 1; }
.dl-info h3 { font-size: 1.1rem; }
.dl-info p { font-size: 0.9rem; color: var(--muted); }
.dl .meta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.badge-soon { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--sun);
  background: rgba(232,132,60,0.12); padding: 5px 12px; border-radius: 20px; }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; border-radius: 24px; padding: 56px 48px;
  text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 52ch; margin: 14px auto 0; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--green); }
.cta-band .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* ---------- footer ---------- */
.footer { background: var(--green); color: rgba(255,255,255,0.78); padding: 56px 0 30px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.78); display: block; padding: 4px 0; font-size: 0.92rem; }
.footer a:hover { color: var(--sun2); }
.footer .brand-text { color: #fff; }
.footer-tag { font-size: 0.95rem; margin-top: 14px; max-width: 40ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 40px; padding-top: 22px;
  text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-bottom strong { color: rgba(255,255,255,0.85); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .metrics { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }
  .footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .metrics { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
