/* ESG Peak M&S — Measurement & Sustainability
   Independent corporate website
   Design: Professional green + navy, clean, trustworthy */

:root {
  --green: #0a7c5a;
  --green-dark: #065c43;
  --green-light: #e6f4ef;
  --navy: #0d253d;
  --navy-light: #1a3a5c;
  --gold: #c8a55b;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-alt: #f7faf9;
  --border: #e2e8f0;
  --shadow: rgba(10, 124, 90, 0.08);
  --shadow-deep: rgba(13, 37, 61, 0.12);
  --radius: 6px;
  --max-width: 1140px;
}

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

body {
  font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 16px auto 0;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.nav-logo .peak-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 0.9rem;
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: white !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-dark); }
.nav-mobile { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: white;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
}

/* === HERO === */
.hero {
  background: linear-gradient(170deg, var(--green-light) 0%, #ffffff 60%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .highlight { color: var(--green); }
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--green);
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--green-dark); color: white; transform: translateY(-1px); }
.btn-secondary {
  background: white;
  color: var(--navy);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  display: inline-block;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }

.hero-visual {
  position: relative;
}
.hero-card {
  background: white;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 20px 60px -20px var(--shadow-deep), 0 8px 24px -8px var(--shadow);
  border: 1px solid var(--border);
}
.hero-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.hero-metric { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.hero-metric:last-child { border-bottom: none; }
.hero-metric-label { font-size: 0.88rem; color: var(--text); }
.hero-metric-value { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.hero-metric-value.good { color: var(--green); }
.hero-badge {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--gold);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 40px; }
  h1 { font-size: 2rem; }
}

/* === STAT BAR === */
.stat-bar {
  background: var(--navy);
  padding: 40px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: white; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--green-light); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

@media (max-width: 768px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* === SERVICE CARDS === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 12px 40px -12px var(--shadow-deep);
  border-color: var(--green);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.service-card .learn-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
}
.service-num {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

@media (max-width: 768px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* === PROCESS === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-light); }
.process-arrow {
  position: absolute;
  top: 28px;
  right: -16px;
  color: var(--green);
  font-size: 1.2rem;
  opacity: 0.4;
}
.process-step:last-child .process-arrow { display: none; }

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-arrow { display: none; }
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 32px; }

/* === FOOTER === */
.footer {
  background: var(--navy);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.footer-brand .peak-icon {
  width: 32px; height: 32px;
  background: var(--green);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 0.9rem;
}
.footer-brand-name { color: white; font-weight: 700; font-size: 1.1rem; }
.footer h5 { color: white; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* === TEAM === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.team-card:hover { box-shadow: 0 12px 40px -12px var(--shadow-deep); }
.team-avatar {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--green-light), var(--bg-alt));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--green);
}
.team-info { padding: 24px; }
.team-info h3 { margin-bottom: 4px; }
.team-role { color: var(--green); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.team-bio { font-size: 0.9rem; color: var(--text-light); }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.team-tag {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-info-item {
  display: flex; gap: 16px; margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: var(--text-light); font-size: 0.95rem; }

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(10,124,90,0.1);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* === COMPLIANCE BANNER === */
.compliance-banner {
  background: linear-gradient(135deg, #065c43, #0a7c5a);
  border-radius: 10px;
  padding: 32px;
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}
.compliance-banner .icon { font-size: 2rem; flex-shrink: 0; }
.compliance-banner h3 { color: white; margin-bottom: 4px; }
.compliance-banner p { color: rgba(255,255,255,0.85); font-size: 0.92rem; }

/* === VALUES === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-item {
  text-align: center;
  padding: 32px 24px;
}
.value-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.value-item h4 { margin-bottom: 10px; }
.value-item p { font-size: 0.9rem; color: var(--text-light); }

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}
