:root {
  --ink: #1c2420;
  --surface: #f6f7f4;
  --white: #ffffff;
  --line: #d9dfd9;
  --muted: #58635d;
  --green: #25624c;
  --green-dark: #174736;
  --red: #b84f3d;
  --cream: #eff1ea;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 14px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: 50px; line-height: 1.06; }
h2 { margin-bottom: 15px; font-size: 34px; line-height: 1.16; }
h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.25; }
.section { padding: 74px 0; }
.intro { max-width: 700px; color: var(--muted); font-size: 18px; }

.topbar { background: var(--ink); color: var(--white); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 3px solid var(--green); color: var(--green); font-weight: 800; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 16px; }
.brand-text span { color: var(--muted); font-size: 11px; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--green); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: var(--white); font-weight: 700; text-decoration: none; }
.button:hover { border-color: var(--green-dark); background: var(--green-dark); color: var(--white); }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { background: var(--cream); color: var(--green-dark); }

.page-hero { min-height: 355px; position: relative; display: grid; align-items: end; color: var(--white); background: #29322c url("factory-exterior.webp") center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(21, 31, 25, 0.66); }
.page-hero .wrap { position: relative; padding: 82px 0 62px; }
.page-hero .eyebrow { color: #d9ecdf; }
.page-hero p { max-width: 650px; margin-bottom: 0; color: #f3f6f3; font-size: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo { overflow: hidden; border-radius: 6px; background: #e6eae5; }
.photo img { width: 100%; min-height: 360px; object-fit: cover; }
.dark { background: var(--ink); color: var(--white); }
.dark .eyebrow { color: #c9dfd0; }
.dark p, .dark li { color: #d8e1da; }
.dark .intro { color: #d8e1da; }
.grid { display: grid; gap: 14px; }
.grid-three { grid-template-columns: repeat(3, 1fr); }
.grid-four { grid-template-columns: repeat(4, 1fr); }
.panel { min-height: 184px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.panel p { margin-bottom: 0; color: var(--muted); }
.panel .num { display: block; margin-bottom: 10px; color: var(--red); font-size: 14px; font-weight: 700; }
.dark .panel { border-color: #445349; background: #24322a; }
.dark .panel p { color: #cbd7cf; }
.list { margin: 22px 0 0; padding-left: 20px; color: var(--muted); }
.list li { margin-bottom: 10px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.contact-panel { padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--cream); }
.contact-list { display: grid; gap: 16px; }
.contact-list div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-list span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 13px; font-weight: 700; }
.contact-list a { color: var(--green); font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.note { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--red); background: var(--cream); color: var(--muted); }
footer { background: #111814; color: #d6ded8; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--white); }

@media (max-width: 900px) {
  .grid-four { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { gap: 34px; }
}
@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 30px), var(--max)); }
  .topbar .wrap, .nav { justify-content: center; }
  .nav { flex-direction: column; padding: 14px 0; align-items: flex-start; }
  .brand { min-width: 0; }
  nav { justify-content: center; gap: 13px; }
  h1 { font-size: 39px; }
  h2 { font-size: 29px; }
  .page-hero { min-height: 320px; }
  .page-hero .wrap { padding: 65px 0 48px; }
  .split, .grid-three, .grid-four, .contact-layout { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
