/* ============================================================
   Strutz International — Site Stylesheet
   ============================================================ */

:root {
  --green-dark: #1c5c33;
  --green: #257a43;
  --green-light: #e8f3ec;
  --yellow: #f5c518;
  --ink: #1f2a24;
  --ink-soft: #4b5a51;
  --line: #dde5e0;
  --bg: #ffffff;
  --bg-soft: #f5f8f6;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(28, 92, 51, 0.08);
  --shadow-lg: 0 8px 30px rgba(28, 92, 51, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 3px solid var(--green);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img { flex-shrink: 0; width: 46px; height: 46px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-text strong {
  font-size: 1.25rem;
  color: var(--green-dark);
  letter-spacing: 0.2px;
}

/* Tagline matches the original Strutz banner: Arial, normal case */
.brand-text small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #4d4a45;
  /* Thickens the strokes without jumping all the way to bold.
     Raise to 0.7px for heavier, lower to 0.3px for lighter,
     or delete this line and use font-weight: 700 for full bold. */
  -webkit-text-stroke: 0.5px #4d4a45;
  text-transform: none;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover { background: var(--green-light); color: var(--green-dark); }

.site-nav a.active { color: var(--green-dark); background: var(--green-light); }

.site-nav a.nav-cta {
  background: var(--green);
  color: #fff;
  margin-left: 0.35rem;
}

.site-nav a.nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--green-dark);
}

.nav-toggle svg { display: block; }

/* ---------- Hero (home) ---------- */

.hero {
  background: linear-gradient(150deg, var(--green-dark) 0%, var(--green) 60%, #2f8f52 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--yellow); }

.hero p.lead {
  font-size: 1.1rem;
  color: #e4efe8;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline { border: 2px solid rgba(255, 255, 255, 0.75); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

.hero-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #fff;
  padding: 1.25rem;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

/* ---------- Stats band ---------- */

.stats {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

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

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--green-dark);
  line-height: 1.2;
}

.stat span { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Sections ---------- */

.section { padding: 3.75rem 0; }

.section.alt { background: var(--bg-soft); }

.section-head { max-width: 44rem; margin-bottom: 2.25rem; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.4rem;
}

h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.section-head p { color: var(--ink-soft); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-photo {
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.card-photo img { width: 100%; height: 100%; object-fit: contain; }

.card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }

.card-body h3 { color: var(--green-dark); margin-bottom: 0.35rem; font-size: 1.12rem; }

.card-body p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }

.card-link {
  margin-top: 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green);
  text-decoration: none;
}

.card-link:hover { color: var(--green-dark); text-decoration: underline; }

.card.linked { text-decoration: none; color: inherit; }

.badge-new {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ---------- Page banner (interior pages) ---------- */

.page-banner {
  background: linear-gradient(140deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 2.75rem 0;
}

.page-banner h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

.page-banner p { color: #dcebe1; margin-top: 0.4rem; max-width: 46rem; }

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: #cfe3d6;
}

.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Legacy product notice ---------- */

.legacy-note {
  background: #fdf6dd;
  border: 1px solid #eedc9a;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legacy-note a { color: var(--green); font-weight: 600; }

/* ---------- Product detail ---------- */

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.product-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-photo img {
  max-height: 420px;
  width: auto;
  max-width: 100%;
}

.product-intro p { margin-bottom: 1rem; color: var(--ink-soft); }
.product-intro p strong { color: var(--ink); }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; margin: 1.25rem 0 2rem; }

table.spec {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.92rem;
}

table.spec caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--green-dark);
  padding: 0 0 0.5rem;
  font-size: 1.02rem;
}

table.spec th {
  background: var(--green);
  color: #fff;
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

table.spec td {
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

table.spec tr:nth-child(even) td { background: var(--bg-soft); }

table.spec td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- Feature lists ---------- */

.feature-block h3 {
  color: var(--green-dark);
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
}

ul.features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.75rem;
}

ul.features li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

ul.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--green);
}

/* ---------- Product prev/next ---------- */

.product-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.product-pager a {
  text-decoration: none;
  font-weight: 700;
  color: var(--green);
}

.product-pager a:hover { color: var(--green-dark); text-decoration: underline; }

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

.cta-band {
  background: linear-gradient(140deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.5rem; }

.cta-band p { color: #dcebe1; margin-bottom: 1.5rem; }

/* ---------- Services page ---------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.25rem 0;
}

.service-row + .service-row { border-top: 1px solid var(--line); }

.service-row h3 { color: var(--green-dark); font-size: 1.3rem; margin-bottom: 0.6rem; }

.service-row p { color: var(--ink-soft); }

.service-row .photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-row .photo img {
  max-height: 380px;
  width: auto;
  max-width: 100%;
}

.service-row:nth-child(even) .photo { order: -1; }

/* ---------- Partners page ---------- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.partner-card .country {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.partner-card h3 { color: var(--ink); font-size: 1.08rem; margin-bottom: 0.6rem; }

.partner-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.3rem; }

.partner-card a { color: var(--green); font-weight: 600; text-decoration: none; }
.partner-card a:hover { text-decoration: underline; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.contact-card h3 {
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

.contact-card address { font-style: normal; color: var(--ink-soft); line-height: 1.8; }

.contact-list { list-style: none; margin-top: 0.5rem; }

.contact-list li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-list li:first-child { border-top: none; }

.contact-list strong { color: var(--ink); display: inline-block; min-width: 9.5rem; }

.contact-list a { color: var(--green); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.map-frame a.map-link { display: block; }

.map-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.map-caption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 0.6rem 0.9rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

/* ---------- Profile page ---------- */

.prose { max-width: 50rem; margin: 0 auto; }

.prose p { margin-bottom: 1.15rem; color: var(--ink-soft); }

/* Historic photo set into the company story */
.prose-figure {
  float: right;
  width: 300px;
  margin: 0.4rem 0 1.25rem 1.9rem;
  text-align: center;
}

.prose-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.prose-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
}

@media (max-width: 700px) {
  .prose-figure {
    float: none;
    width: 100%;
    max-width: 330px;
    margin: 1.5rem auto;
  }
}

.leadership {
  clear: both;
  max-width: 50rem;
  margin: 2.5rem auto 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.9rem;
}

.leadership h3 { color: var(--green-dark); margin-bottom: 0.9rem; }

.leadership ul { list-style: none; }

.leadership li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.leadership li:first-child { border-top: none; }

.leadership li strong { color: var(--ink); }

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

.site-footer {
  background: #14301f;
  color: #b9cfc1;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2.25rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.9rem;
}

.site-footer p { font-size: 0.92rem; line-height: 1.8; }

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 0.45rem; }

.site-footer a { color: #d9e8de; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

@media (max-width: 900px) {
  .hero-grid, .product-layout, .contact-grid, .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .photo { order: 0; }
  .card-grid, .card-grid.four, .partner-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 3px solid var(--green);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 4%;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 0.85rem 0.75rem; }

  .site-nav a.nav-cta { margin: 0.35rem 0 0.75rem; text-align: center; }
}

@media (max-width: 560px) {
  .card-grid, .card-grid.four, .partner-grid { grid-template-columns: 1fr; }
  ul.features { grid-template-columns: 1fr; }
  .brand-text strong { font-size: 1.05rem; }
  /* The long tagline will not fit beside the logo on a phone,
     so hide it there. The logo and company name still identify us. */
  .brand-text small { display: none; }
}
