:root {
  --navy: #172a3a;
  --blue: #254a64;
  --accent: #c9a66b;
  --text: #263746;
  --muted: #657583;
  --light: #f3f6f8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  min-height: 84px;
  padding: 16px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--white);
}

.brand {
  color: var(--navy);
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.2;
}

.brand span {
  font-size: 12px;
  vertical-align: top;
}

.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 400;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-header nav a,
.site-footer nav a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 80px 8%;
  color: var(--white);
  background-color: var(--navy);
  background-image:
    linear-gradient(
      90deg,
      rgba(15, 32, 46, 0.96) 0%,
      rgba(15, 32, 46, 0.78) 48%,
      rgba(15, 32, 46, 0.18) 100%
    ),
    url("assets/images/varibell-regelventil-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  max-width: 700px;
  font-size: clamp(36px, 5vw, 64px);
  margin: 20px 0;
}

h2 {
  font-size: clamp(29px, 3vw, 42px);
  color: var(--navy);
}

h3 {
  color: var(--navy);
}

.hero-text {
  max-width: 600px;
  font-size: 20px;
  color: #e2eaf0;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 24px;
  color: var(--navy);
  background: var(--accent);
  text-decoration: none;
  font-weight: 700;
  border-radius: 3px;
}

.button:hover {
  background: #e0c89f;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 85px 7%;
}

.section > p:not(.eyebrow) {
  max-width: 780px;
}

.section-alt {
  max-width: none;
  background: var(--light);
  padding-left: max(7%, calc((100% - 950px) / 2));
  padding-right: max(7%, calc((100% - 950px) / 2));
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 35px;
}

.features article {
  padding: 24px;
  background: var(--white);
  border-top: 3px solid var(--accent);
}

.features p {
  color: var(--muted);
}

.contact address {
  margin: 24px 0;
  font-style: normal;
}

.contact a {
  color: var(--blue);
}

.site-footer {
  padding: 30px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
}

.site-footer nav {
  gap: 18px;
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 6%;
  }

  .site-header nav {
    gap: 16px;
    font-size: 15px;
  }

  .hero {
    min-height: 520px;
    padding: 65px 6%;
    background-position: 62% center;
  }

  .hero-text {
    font-size: 18px;
  }

  .section {
    padding: 60px 6%;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer {
    padding: 28px 6%;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}