:root {
  --ink: #182022;
  --muted: #5e686b;
  --line: #d8dfdc;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #123d3a;
  --warm: #c4622d;
  --site-gutter: clamp(1.25rem, 4vw, 4rem);
  --site-rail: max(var(--site-gutter), calc((100vw - 1120px) / 2));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem var(--site-rail);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.primary-nav,
.language-switch {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: center;
}

.primary-nav {
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.language-switch {
  justify-self: end;
  white-space: nowrap;
}

.primary-nav a,
.language-switch a,
.language-switch span {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a {
  color: #626b6e;
  font-weight: 700;
}

.primary-nav a.is-active {
  color: var(--accent-strong);
  font-weight: 900;
}

.language-switch span {
  background: var(--accent-strong);
  color: white;
}

.hero {
  min-height: 58vh;
  display: grid;
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) var(--site-rail);
  background:
    linear-gradient(115deg, rgba(15, 118, 110, 0.88), rgba(18, 61, 58, 0.82)),
    url("/media/index.jpg") center/cover;
  color: white;
}

.hero__content {
    display: flex;
    justify-content: space-between;
}

.hero__content-text {
  max-width: 760px;
}

.hero__content-image {
    max-width: 20%;
    object-fit: contain;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd9bd;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead {
  max-width: 700px;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.lead h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.button {
  display: inline-flex;
  margin-top: 1.5rem;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: white;
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.customers {
  padding: clamp(3rem, 7vw, 5rem) var(--site-rail);
  background: var(--paper);
}

.customers__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.customers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.customer-card {
  display: grid;
  gap: 1rem;
  align-content: center;
  min-height: 180px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(24, 32, 34, 0.06);
}

.customer-card__image {
  width: 100%;
  height: 96px;
  object-fit: contain;
}

.customer-card__name {
  color: var(--accent-strong);
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}

.page {
  padding: clamp(3rem, 7vw, 6rem) var(--site-rail);
}

.page__header {
  margin-bottom: 2rem;
}

.content {
  max-width: 680px;
  font-size: 1.08rem;
}

.content h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(3rem, 7vw, 6rem) var(--site-rail);
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.contact p {
  max-width: 520px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.contact-list div {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1.25rem var(--site-rail);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header {
    gap: 0.5rem;
    padding-block: 0.75rem;
  }

  .primary-nav,
  .language-switch {
    gap: 0.35rem;
  }

  .primary-nav a,
  .language-switch a,
  .language-switch span {
    padding-inline: 0.5rem;
    font-size: 0.86rem;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .customers__grid {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  }

  .customer-card {
    min-height: 150px;
    padding: 1rem;
  }

  .hero__content {
      flex-flow: column;
  }

  .hero__content-image {
      max-width: 200px;
      align-self: center;
  }
}
