/* ===========================================================
   VOK Green Energy — Design System
   =========================================================== */

:root {
  --forest: #0f2d22;
  --forest-deep: #081a14;
  --emerald: #2f7a5a;
  --emerald-bright: #4aa87c;
  --moss: #c8d5c0;
  --bone: #f5f1e8;
  --bone-warm: #ece5d3;
  --steel: #4a5355;
  --steel-light: #8a9499;
  --rust: #b8552d;
  --ink: #161a17;

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1280px;
  --container-narrow: 980px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

h1 {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-variation-settings: 'opsz' 144, 'SOFT' 0;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-variation-settings: 'opsz' 72;
}

h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--emerald);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "◆ ";
  opacity: 0.5;
  margin-right: 0.4em;
}

p { font-size: 1.0625rem; color: #2a2f2b; max-width: 68ch; }
p.lead { font-size: 1.25rem; color: var(--forest); line-height: 1.5; max-width: 64ch; }

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  position: relative;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border-radius: 2px;
}

.btn-primary {
  background: var(--forest-deep);
  color: var(--bone);
}

.btn-primary:hover {
  background: var(--emerald);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(15, 45, 34, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-deep);
  border-color: var(--forest-deep);
}

.btn-ghost:hover {
  background: var(--forest-deep);
  color: var(--bone);
}

.btn-light {
  background: var(--bone);
  color: var(--forest-deep);
}

.btn-light:hover {
  background: var(--emerald-bright);
  color: var(--bone);
}

.btn .arrow {
  transition: transform 0.25s var(--ease);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 45, 34, 0.08);
  transition: padding 0.3s var(--ease);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--forest-deep);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px 4px 4px 14px;
  background: var(--emerald-bright);
  border-radius: 0 50% 50% 0;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--forest-deep);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--emerald);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .cta-link {
  background: var(--forest-deep);
  color: var(--bone);
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  font-size: 0.85rem;
}

.nav-links .cta-link::after { display: none; }
.nav-links .cta-link:hover { background: var(--emerald); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--forest-deep);
  margin: 5px auto;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 9rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  background: var(--bone);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 55%;
  height: 100%;
  background:
    radial-gradient(ellipse at top right, rgba(74, 168, 124, 0.15), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(200, 213, 192, 0.4), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--emerald);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 45, 34, 0.15);
}

.hero-meta-item .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: 0.3rem;
}

.hero-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--forest-deep);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 440px;
  justify-self: end;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ---------- Capability pillars ---------- */

.pillars {
  background: var(--forest-deep);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}

.pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(74, 168, 124, 0.15), transparent 50%),
    radial-gradient(ellipse at 85% 0%, rgba(184, 85, 45, 0.1), transparent 50%);
  pointer-events: none;
}

.pillars .section-head { position: relative; z-index: 2; margin-bottom: 4rem; max-width: 720px; }
.pillars h2 { color: var(--bone); }
.pillars .eyebrow { color: var(--emerald-bright); }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.pillar-card {
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid rgba(245, 241, 232, 0.12);
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--emerald-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.pillar-card:hover {
  background: rgba(245, 241, 232, 0.08);
  border-color: rgba(74, 168, 124, 0.4);
  transform: translateY(-4px);
}

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--emerald-bright);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--emerald-bright);
}

.pillar-card h3 {
  color: var(--bone);
  margin-bottom: 1rem;
}

.pillar-card p {
  color: rgba(245, 241, 232, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.pillar-link .arrow {
  transition: transform 0.25s var(--ease);
}

.pillar-card:hover .pillar-link .arrow {
  transform: translateX(4px);
}

/* ---------- Stats strip ---------- */

.stats-strip {
  background: var(--bone-warm);
  padding: 4rem 0;
  border-top: 1px solid rgba(15, 45, 34, 0.08);
  border-bottom: 1px solid rgba(15, 45, 34, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0 1rem;
  border-left: 1px solid rgba(15, 45, 34, 0.12);
}

.stat-item:first-child { border-left: none; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-value em {
  font-style: italic;
  color: var(--emerald);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--steel);
}

/* ---------- Two-column split (about/credibility) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-text .eyebrow { color: var(--emerald); }

.split-visual {
  position: relative;
  aspect-ratio: 1/1.15;
  background: var(--forest-deep);
  overflow: hidden;
}

.split-visual .badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--bone);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--forest-deep);
  z-index: 2;
}

.bullet-list {
  list-style: none;
  margin-top: 2rem;
}

.bullet-list li {
  padding: 1rem 0 1rem 2rem;
  border-top: 1px solid rgba(15, 45, 34, 0.1);
  position: relative;
  font-size: 1.0625rem;
}

.bullet-list li:last-child {
  border-bottom: 1px solid rgba(15, 45, 34, 0.1);
}

.bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 500;
}

/* ---------- Industries grid ---------- */

.industries {
  background: var(--bone-warm);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(15, 45, 34, 0.12);
  margin-top: 4rem;
}

.industry-tile {
  background: var(--bone-warm);
  padding: 2.5rem 1.75rem;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.industry-tile:hover {
  background: var(--forest-deep);
  color: var(--bone);
}

.industry-tile:hover .industry-num,
.industry-tile:hover h4 { color: var(--emerald-bright); }

.industry-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: 1rem;
}

.industry-tile h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.industry-tile p {
  font-size: 0.875rem;
  color: var(--steel);
  margin: 0;
}

.industry-tile:hover p { color: rgba(245, 241, 232, 0.7); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--forest-deep);
  color: var(--bone);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(74, 168, 124, 0.15), transparent 70%);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 { color: var(--bone); margin-bottom: 1.5rem; }
.cta-inner p { margin: 0 auto 2.5rem; color: rgba(245, 241, 232, 0.8); }

/* ---------- Footer ---------- */

footer {
  background: var(--forest-deep);
  color: rgba(245, 241, 232, 0.7);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo { color: var(--bone); margin-bottom: 1.5rem; }
.footer-brand p { color: rgba(245, 241, 232, 0.6); font-size: 0.95rem; max-width: 320px; }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--emerald-bright);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(245, 241, 232, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--emerald-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: rgba(245, 241, 232, 0.5);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 10rem 0 5rem;
  background: var(--bone);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: -20%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(74, 168, 124, 0.12), transparent 60%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  margin-bottom: 1.5rem;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: 2rem;
}

.breadcrumb a { color: var(--emerald); }
.breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }

/* ---------- Feature cards (service pages) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--bone-warm);
  border: 1px solid rgba(15, 45, 34, 0.08);
  transition: all 0.3s var(--ease);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
  box-shadow: 0 12px 32px -12px rgba(15, 45, 34, 0.2);
}

.feature-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--emerald);
  line-height: 1;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.975rem;
  color: var(--steel);
}

.feature-card ul {
  list-style: none;
  margin-top: 1rem;
}

.feature-card ul li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-size: 0.925rem;
  color: var(--forest);
  position: relative;
}

.feature-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--emerald);
}

/* ---------- Process steps ---------- */

.process {
  background: var(--bone-warm);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 3rem;
  border-top: 2px solid var(--forest-deep);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.5rem;
  left: 0;
  background: var(--bone-warm);
  padding-right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--emerald);
  font-weight: 500;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: var(--forest-deep);
}

.process-step p {
  font-size: 0.95rem;
  color: var(--steel);
}

/* ---------- Contact form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 2rem; }

.contact-block {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(15, 45, 34, 0.12);
}

.contact-block:last-child { border-bottom: 1px solid rgba(15, 45, 34, 0.12); }

.contact-block .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.contact-block .value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
}

.contact-block .value a:hover { color: var(--emerald); }

form {
  background: var(--bone-warm);
  padding: 3rem;
  border: 1px solid rgba(15, 45, 34, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bone);
  border: 1px solid rgba(15, 45, 34, 0.15);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--forest-deep);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--emerald);
}

.form-field textarea { resize: vertical; min-height: 140px; }

/* ---------- Animation ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 100%; aspect-ratio: 3/2.5; justify-self: stretch; }
  .pillar-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-visual { aspect-ratio: 3/2; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-item:nth-child(3) { border-left: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .hamburger { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--forest-deep);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--bone); font-size: 1.1rem; }
  .nav-links .cta-link { background: var(--emerald); }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 0; }
  .hero { padding-top: 7rem; padding-bottom: 4rem; }
  .hero-meta { flex-direction: column; gap: 1.25rem; }
  .industries-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; }
  form { padding: 1.75rem; }
  .container, .nav-inner { padding: 0 1.25rem; }
}
