/* GreenWave Sustainable Holdings Limited - shared stylesheet */

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

:root {
  --green-deep:    #123524;
  --green-dark:    #1e4620;
  --green-primary: #2e7d32;
  --green-light:   #81c784;
  --green-pale:    #eef5ee;
  --teal-primary:  #0d7272;
  --teal-light:    #1ba5a5;
  --bg-page:       #ffffff;
  --bg-tint:       #f7faf8;
  --bg-rule:       #e4ebe5;
  --text-dark:     #16241a;
  --text-body:     #3a4a3d;
  --text-muted:    #64776a;
  --white:         #ffffff;
  --shadow-sm: 0 1px 3px rgba(18,53,36,0.07);
  --shadow-md: 0 6px 24px rgba(18,53,36,0.09);
  --maxw: 1080px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-primary); }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-rule);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.logo-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-img-nav { height: 38px; width: auto; }
.logo-text {
  font-size: 1rem; font-weight: 700; color: var(--text-dark);
  letter-spacing: -0.015em; line-height: 1.2;
}
.logo-text span { color: var(--teal-primary); font-weight: 500; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-size: 0.875rem; font-weight: 500;
  padding: 0.2rem 0; border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav-links a:hover { color: var(--green-primary); }
.nav-links a.current { color: var(--text-dark); border-bottom-color: var(--teal-primary); }

.mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.4rem;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); margin: 5px 0; transition: all 0.25s;
}

/* ---------- PAGE HEADER ---------- */
.page-head {
  background: linear-gradient(170deg, #eef5f1 0%, #ffffff 70%);
  border-bottom: 1px solid var(--bg-rule);
  padding: 3.5rem 1.5rem 3rem;
}
.page-head .inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--teal-primary); margin-bottom: 0.7rem;
}
.page-head h1 {
  font-size: 2.3rem; font-weight: 700; color: var(--text-dark);
  letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 0.9rem;
}
.page-head .lede {
  font-size: 1.05rem; color: var(--text-muted); max-width: 62ch;
}

/* ---------- HERO (home) ---------- */
.hero {
  background: linear-gradient(165deg, #ecf4ef 0%, #ffffff 45%, #eef6f6 100%);
  border-bottom: 1px solid var(--bg-rule);
  padding: 4.5rem 1.5rem 4rem;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center;
}
.hero h1 {
  font-size: 2.75rem; font-weight: 700; line-height: 1.15;
  color: var(--text-dark); letter-spacing: -0.03em; margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--green-primary); }
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 58ch; }
.hero-logo { width: 100%; max-width: 330px; height: auto; justify-self: center; }
.cta-row { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1.6rem; border-radius: 0.4rem;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--green-dark); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); }
.btn-secondary {
  background: var(--white); color: var(--green-dark);
  border: 1.5px solid var(--bg-rule);
}
.btn-secondary:hover { border-color: var(--green-primary); background: var(--green-pale); }
.btn-ghost {
  background: rgba(255,255,255,0.12); color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ---------- SECTIONS ---------- */
section { padding: 4rem 1.5rem; }
section.tinted { background: var(--bg-tint); border-top: 1px solid var(--bg-rule); border-bottom: 1px solid var(--bg-rule); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.narrow { max-width: 760px; }
h2.section-title {
  font-size: 1.75rem; font-weight: 700; color: var(--text-dark);
  letter-spacing: -0.02em; margin-bottom: 0.8rem;
}
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 62ch; margin-bottom: 2.2rem; }
.prose p { margin-bottom: 1.1rem; max-width: 70ch; }
.prose h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--text-dark);
  letter-spacing: -0.015em; margin: 2.4rem 0 0.8rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--text-dark);
  margin: 2rem 0 0.6rem;
}
.prose ul { margin: 0 0 1.2rem 1.1rem; max-width: 70ch; }
.prose li { margin-bottom: 0.45rem; }

/* ---------- CARD GRIDS ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--bg-rule);
  border-radius: 0.5rem; padding: 1.75rem;
}
.card h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.65; }
.card .tagline {
  font-size: 0.74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--teal-primary); margin-bottom: 0.5rem;
}

.rule-item { padding: 0 0 0 1.25rem; border-left: 3px solid var(--teal-primary); }
.rule-item h3 { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.35rem; }
.rule-item p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- DATA TABLE ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.data-table th, .data-table td {
  text-align: left; vertical-align: top;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--bg-rule);
}
.data-table th {
  width: 34%; font-weight: 600; color: var(--text-dark);
  background: var(--bg-tint);
}
.data-table td { color: var(--text-body); }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: none; }
.table-wrap { border: 1px solid var(--bg-rule); border-radius: 0.5rem; overflow: hidden; }

/* ---------- PEOPLE ---------- */
.person {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem;
  padding: 1.6rem 0; border-top: 1px solid var(--bg-rule);
}
.person:last-child { border-bottom: 1px solid var(--bg-rule); }
.person .initials {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-pale); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
}
.person h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.1rem; }
.person .role {
  font-size: 0.82rem; color: var(--teal-primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem;
}
.person p { font-size: 0.93rem; color: var(--text-muted); max-width: 66ch; }

/* ---------- NOTE / PLACEHOLDER ---------- */
.note {
  background: var(--green-pale); border-left: 3px solid var(--green-primary);
  border-radius: 0 0.4rem 0.4rem 0; padding: 1.2rem 1.4rem;
  font-size: 0.93rem; color: var(--text-body);
}
.placeholder {
  background: #fff6e0; border: 1px dashed #d8a33a; color: #7a5410;
  border-radius: 0.3rem; padding: 0.15rem 0.45rem;
  font-size: 0.85rem; font-weight: 600;
}

/* ---------- DARK BAND ---------- */
.band {
  background: linear-gradient(160deg, var(--green-deep) 0%, #0b5c5c 100%);
  color: rgba(255,255,255,0.85);
  border: none;
}
.band h2.section-title { color: var(--white); }
.band .section-sub { color: rgba(255,255,255,0.72); }
.band .eyebrow { color: var(--green-light); }
.band p { color: rgba(255,255,255,0.8); }

/* ---------- CONTACT ---------- */
.contact-item { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.4rem; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 0.4rem; background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; color: var(--green-dark);
}
.contact-item .label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em;
  font-weight: 600; color: var(--text-muted); margin-bottom: 0.1rem;
}
.contact-item .value { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; line-height: 1.5; }
.contact-item .value a { color: var(--text-dark); text-decoration: none; }
.contact-item .value a:hover { color: var(--teal-primary); }

/* ---------- FOOTER ---------- */
footer { background: var(--text-dark); color: rgba(255,255,255,0.55); padding: 3rem 1.5rem 1.75rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 46px; width: auto; opacity: 0.9; margin-bottom: 1rem; }
.footer-col h4 {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(255,255,255,0.85); font-weight: 600; margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; }
.footer-col a:hover { color: var(--green-light); }
.footer-col p { font-size: 0.875rem; line-height: 1.7; }
.footer-legal {
  padding-top: 1.5rem; font-size: 0.78rem; line-height: 1.7;
  color: rgba(255,255,255,0.45);
}
.footer-legal a { color: var(--green-light); text-decoration: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--bg-rule);
    padding: 0.5rem 1.5rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.65rem 0; width: 100%; border-bottom: none; }
  nav { position: relative; }
  .mobile-toggle { display: block; }
  .hero { padding: 3rem 1.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-logo { max-width: 240px; }
  .page-head { padding: 2.5rem 1.5rem 2.2rem; }
  .page-head h1 { font-size: 1.8rem; }
  section { padding: 3rem 1.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { border-bottom: none; padding-bottom: 0.2rem; }
  .data-table td { padding-top: 0.2rem; }
  .person { grid-template-columns: 1fr; }
}
