/* Fortes Energy Systems — pilot static rebuild
   Design tokens captured live from fortes-es.nl (colors, type scale, button/section
   patterns) via computed-style inspection. Font is declared as Eurostile with system
   fallbacks — Eurostile itself is a licensed font and isn't bundled here; swap in the
   real webfont files if the studio has a license, otherwise the fallback stack is a
   close visual match. */

:root {
  --green: #008b3d;
  --green-dark: #1c5e35;
  --ink: #222222;
  --tint: #e3e9e0;
  --card: #e9ebe7;
  --white: #ffffff;
  --radius-pill: 26px;
  --font: 'Eurostile', 'Oswald', 'Arial Narrow', Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo .word {
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.5px;
}
.logo .swoosh {
  width: 120px;
  height: 10px;
  margin: 2px 0 2px 4px;
}
.logo .sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-left: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}
.main-nav a {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.main-nav a:hover { color: var(--green); }

.search-box {
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  padding: 4px 2px;
  width: 90px;
  font-family: var(--font);
}

.btn {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  padding: 12px 30px;
  font-size: 16px;
  border: 1px solid var(--green);
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: #00722f; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-small {
  padding: 2px 14px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

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

.hero {
  background: linear-gradient(90deg, #1f2f1f, var(--green-dark), #2c8b4a);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}
.hero-flex .hero-text {
  flex: 1 1 50%;
  min-width: 0;
}
.hero-carousel {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  width: 100%;
  aspect-ratio: 795 / 320;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  background: #0f1a10;
}
.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-carousel img.is-active { opacity: 1; }
.hero-eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #b7e6c6;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 28px;
  max-width: 640px;
  line-height: 1.15;
}
.hero .accent { color: #6bd696; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.hero-actions .btn-outline:hover { border-color: #6bd696; color: #6bd696; }

/* ---------- Content sections ---------- */

section { padding: 64px 0; }
.section-tint { background: var(--tint); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img { border-radius: 4px; }

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 10px;
}
h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--ink);
}
h2 .accent { color: var(--green); }
p { margin: 0 0 16px; color: #444; }

/* card grid (news / use-cases) */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid #eee;
}
.card img { width: 100%; height: 160px; object-fit: cover; }
.card-body { padding: 20px; }
.card .eyebrow { margin-bottom: 10px; }
.card h3 { font-size: 18px; margin: 0 0 10px; }
.card p { font-size: 14px; }
.card-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-top: 10px;
}

/* feature box grid (2x2, used on product pages) */

.feature-box {
  border: 1px solid #ddd;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.feature-box div {
  padding: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.feature-box div:nth-child(2n) { border-right: none; }
.feature-box div:nth-child(3), .feature-box div:nth-child(4) { border-bottom: none; }

/* breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: #888;
  padding: 18px 0 0;
}
.breadcrumb a:hover { color: var(--green); }

/* functies list */
.functies { list-style: none; margin: 0 0 24px; padding: 0; }
.functies li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid #eee;
  position: relative;
  font-size: 15px;
  color: #444;
}
.functies li:before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* project hero banner */
.project-hero {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.project-hero:after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,46,20,.8), rgba(0,139,61,.35));
}
.project-hero h1 {
  position: relative; z-index: 2;
  color: var(--white);
  font-size: 32px;
  padding: 0 0 24px;
  margin: 0;
}

.contact-box {
  background: var(--tint);
  padding: 24px;
  border-radius: 4px;
}
.contact-box h3 { margin: 0 0 12px; font-size: 18px; }
.contact-box a { display: block; color: var(--green); font-weight: 700; margin-bottom: 6px; }

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

.site-footer { background: var(--green); color: var(--white); }
.site-footer .wrap { padding: 48px 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.site-footer h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 14px; }
.site-footer a { display: block; margin-bottom: 8px; font-size: 14px; opacity: 0.9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.25);
  margin-top: 32px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom .legal { display: flex; gap: 18px; }

@media (max-width: 800px) {
  .two-col, .card-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-flex { flex-direction: column; }
  .utility-bar-left { display: none; }
}

/* ---------- Utility bar (top strip: contact, installatør, CVR, language) ---------- */

.utility-bar {
  background: #f4f6f3;
  border-bottom: 1px solid #e6e8e4;
  font-size: 13px;
}
.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.utility-bar-left, .utility-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.utility-bar a { color: #555; }
.utility-bar a:hover { color: var(--green); }
.utility-bar .cvr { color: #888; }

/* ---------- Page banner (uniform green header on interior pages) ---------- */

.page-banner {
  background: linear-gradient(90deg, #1f2f1f, var(--green-dark), #2c8b4a);
  padding: 22px 0;
}
.page-banner .wrap {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #e3f3e8;
}
.page-banner a { color: #b7e6c6; }
.page-banner a:hover { color: var(--white); }
