/* Grenergy — site styles
   Palette: ash (base), charcoal (text), field (green), straw (accent), husk (briquette brown) */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ash: #EEF0EA;
  --ash-deep: #E2E6DB;
  --paper: #F8F9F5;
  --charcoal: #24231F;
  --field: #34502F;
  --field-deep: #2A4126;
  --straw: #D4A72C;
  --straw-deep: #B98F1C;
  --husk: #A27F4E;
  --husk-dark: #74572F;
  --stone: #5E5E55;
  --line: #C9CEC1;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--ash);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--field); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--field-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--straw-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  margin: 0 0 0.6em;
  line-height: 1.08;
  font-weight: 760;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); font-weight: 800; font-stretch: 122%; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; font-stretch: 110%; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--stone); max-width: 52ch; }
.muted { color: var(--stone); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--charcoal); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.35rem;
  font: inherit; font-weight: 650; font-stretch: 108%; font-size: 1rem;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-charcoal { background: var(--charcoal); color: var(--paper); }
.btn-charcoal:hover { background: var(--field-deep); color: var(--paper); }
.btn-straw { background: var(--straw); color: var(--charcoal); }
.btn-straw:hover { background: #E2B841; color: var(--charcoal); }
.btn-ghost { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-ghost:hover { background: var(--charcoal); color: var(--paper); }
.btn-ghost-light { border-color: rgba(248,249,245,.7); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--charcoal); }
.actions, .cta-actions, .form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link { font-weight: 650; font-stretch: 108%; }

/* Header */
.site-header { background: var(--ash); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--charcoal); text-decoration: none; font-weight: 820; font-stretch: 125%; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--charcoal); }
.brand-light, .brand-light:hover { color: var(--paper); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.site-nav ul a { color: var(--charcoal); text-decoration: none; font-weight: 520; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--husk); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--straw); font-weight: 680; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; min-height: 44px; padding: .5rem 1rem; font: inherit; font-weight: 650;
    background: transparent; border: 2px solid var(--charcoal); border-radius: var(--radius); color: var(--charcoal); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ash); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.5rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--field); }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-bottom: 2rem; }
.hero-art { justify-self: end; width: min(100%, 440px); }
.hero-caption { margin-top: 1rem; font-size: .9rem; color: var(--stone); max-width: 34ch; }

/* Briquette motif */
.briquette .bq-body { fill: var(--husk); }
.briquette .bq-ring { fill: none; stroke: var(--husk-dark); stroke-width: 4; stroke-linecap: round; }
.briquette .bq-core { fill: var(--charcoal); }
.briquette.is-animated .bq-ring { stroke-dashoffset: 1; animation: ring-in 1.1s cubic-bezier(.3,.7,.2,1) forwards; }
.briquette.is-animated .bq-ring:nth-of-type(2) { animation-delay: 150ms; }
.briquette.is-animated .bq-ring:nth-of-type(3) { animation-delay: 240ms; }
.briquette.is-animated .bq-ring:nth-of-type(4) { animation-delay: 330ms; }
.briquette.is-animated .bq-ring:nth-of-type(5) { animation-delay: 420ms; }
.briquette.is-animated .bq-ring:nth-of-type(6) { animation-delay: 510ms; }
.briquette.is-animated .bq-ring:nth-of-type(7) { animation-delay: 600ms; }
.briquette.is-animated .bq-ring:nth-of-type(8) { animation-delay: 690ms; }
.briquette.is-animated .bq-ring:nth-of-type(9) { animation-delay: 780ms; }
.briquette.is-animated .bq-ring:nth-of-type(10) { animation-delay: 870ms; }

@keyframes ring-in { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .briquette.is-animated .bq-ring { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
.page-bq { width: min(100%, 260px); justify-self: end; }

/* Sections */
.section { padding: var(--space) 0; }
.section-field { background: var(--ash-deep); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head p { color: var(--stone); }

.assurances { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.assure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.assure-grid > div { border-top: 3px solid var(--field); padding-top: 1.1rem; }
.assure-grid h2, .assure-grid h3 { font-size: 1.15rem; font-stretch: 110%; margin-bottom: .4rem; }
.assure-grid p { margin: 0; color: var(--stone); }

/* Products */
.product-split { display: grid; grid-template-columns: 1fr 1fr; }
.product-col { padding: 0 clamp(1.5rem, 4vw, 3rem); }
.product-col:first-child { padding-left: 0; border-right: 1px solid var(--line); }
.product-col:last-child { padding-right: 0; }
.product-col h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: .2rem; }
.aka { color: var(--husk-dark); font-weight: 560; margin-bottom: 1rem; }
.mini-spec { margin: 1.5rem 0; display: grid; gap: .75rem; }
.mini-spec div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.mini-spec dt { color: var(--stone); }
.mini-spec dd { margin: 0; font-weight: 620; }

.product-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product-grid .btn { margin-top: .75rem; }
.spec { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.spec th, .spec td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 480; color: var(--stone); width: 46%; }
.spec td { font-weight: 640; font-variant-numeric: tabular-nums; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec-note { margin-top: .9rem; font-size: .92rem; color: var(--stone); }

.compare-wrap { overflow-x: auto; margin-bottom: 1rem; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 700; font-stretch: 110%; border-bottom: 2px solid var(--charcoal); }
.compare td:last-child { font-weight: 640; color: var(--field); }

/* Process — a real sequence, so numbered */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: step; }
.process li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.process li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font-size: 2.6rem; font-weight: 820; font-stretch: 125%; line-height: 1; color: var(--husk);
}
.process li::after { content: ""; position: absolute; top: 1.3rem; left: 2.6rem; right: -1rem; height: 2px; background: var(--line); }
.process li:last-child::after { display: none; }
.process h3 { margin-bottom: .35rem; }
.process p { margin: 0; color: var(--stone); font-size: .98rem; }

/* Lists with briquette-dot markers */
.industries-teaser { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.industries-teaser .section-head { margin-bottom: 0; }
.tag-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.tag-list li { display: flex; align-items: center; gap: .8rem; padding: .95rem 0; border-bottom: 1px solid var(--line); font-weight: 560; }
.tag-list li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, var(--charcoal) 0 3px, var(--husk) 3.5px);
}

/* Page heroes */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }

/* Prose */
.prose-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; max-width: 66ch; }
.prose li { margin-bottom: .6rem; }
.fact-panel { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--straw); padding: 1.5rem; }
.fact-panel h2 { font-size: 1.15rem; }
.fact-panel dl, .contact-side dl { margin: 0; }
.fact-panel dl div, .contact-side dl div { padding: .75rem 0; border-top: 1px solid var(--line); }
.fact-panel dt, .contact-side dt { font-size: .88rem; color: var(--stone); }
.fact-panel dd, .contact-side dd { margin: .15rem 0 0; font-weight: 600; }

.industry-list, .benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4rem); }
.industry-list article, .benefit-list article { padding: 1.75rem 0; border-top: 1px solid var(--line); }
.industry-list h2, .benefit-list h2 { font-size: 1.3rem; font-stretch: 112%; margin-bottom: .5rem; }
.industry-list p, .benefit-list p { color: var(--stone); margin: 0; }

/* CTA */
.cta-band { background: var(--field); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #D8DFD2; max-width: 56ch; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.enquiry { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 620; margin-bottom: .35rem; }
.opt { font-weight: 420; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--charcoal);
  background: #fff; border: 1.5px solid #A9AFA0; border-radius: var(--radius);
  padding: .7rem .8rem; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--straw-deep); outline-offset: 1px; border-color: var(--charcoal); }
.field [aria-invalid="true"] { border-color: #A3361C; }
.field .error { color: #A3361C; font-size: .9rem; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.consent { font-size: .9rem; color: var(--stone); }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status.ok { color: var(--field); }
.form-status.err { color: #A3361C; }
.contact-side h2 { font-size: 1.3rem; }

/* Footer */
.site-footer { background: var(--charcoal); color: #C9CCC2; padding: 4rem 0 0; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--straw); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.3fr 1.5fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer-lede { margin-top: 1rem; max-width: 30ch; }
.footer-h { font-size: 1rem; font-stretch: 110%; color: var(--paper); margin-bottom: .8rem; }
.site-footer address { font-style: normal; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .35rem; }
.footer-base { border-top: 1px solid #3A3934; padding-top: 1.25rem; padding-bottom: 1.5rem; font-size: .9rem; }
.footer-base p { margin: 0; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1F8F4E; color: #fff; box-shadow: 0 6px 18px rgba(36,35,31,.28);
}
.wa-float:hover { background: #18773F; color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr 1fr; row-gap: 2.25rem; }
  .process li::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-grid, .product-grid, .prose-grid, .contact-grid, .industries-teaser, .cta-inner, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: start; width: min(70%, 280px); order: -1; }
  .page-bq { display: none; }
  .assure-grid { grid-template-columns: 1fr; }
  .product-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-col, .product-col:first-child, .product-col:last-child { padding: 0; border: 0; }
  .product-col:last-child { border-top: 1px solid var(--line); padding-top: 2.5rem; }
  .mini-spec div { grid-template-columns: 8.5rem 1fr; }
  .industry-list, .benefit-list, .tag-list, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
