:root {
  --red: #d33232;
  --red-dark: #ad2428;
  --ink: #111317;
  --ink-2: #20242a;
  --muted: #6c7279;
  --line: #d8dce0;
  --paper: #f5f6f7;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(13, 18, 25, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 230px;
  object-fit: contain;
}

.hero {
  min-height: 445px;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.86) 22%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.18) 68%, rgba(0, 0, 0, 0) 86%),
    url("assets/images/banner.jpg") center bottom / cover no-repeat,
    #283039;
}

.hero-copy {
  padding: clamp(56px, 8vw, 86px) clamp(28px, 6vw, 74px);
  color: var(--white);
}

.hero-logo {
  display: block;
  width: min(245px, 70vw);
  height: auto;
  margin: 0 0 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.section-title h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 550px;
  font-size: clamp(43px, 7vw, 70px);
  line-height: 1.16;
}

.hero h1 span {
  display: block;
  margin-top: 16px;
  line-height: 0.96;
  color: var(--red);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-family: Arial, sans-serif;
}

.hero-copy .hero-subline {
  margin-top: -18px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.facility-visual {
  position: relative;
  min-height: 445px;
  display: grid;
  place-items: end center;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.facility-visual::before {
  content: none;
}

.hero-banner {
  display: none;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 28px clamp(24px, 6vw, 76px);
  background: var(--paper);
}

.feature-strip article {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 5px 28px;
  border-right: 1px solid #c8ccd1;
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid #111317;
  background: transparent;
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-strip p,
.product-card p,
.test-grid p,
.capability-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.section {
  padding: clamp(52px, 7vw, 78px) clamp(24px, 6vw, 76px);
}

.about {
  position: relative;
  margin: clamp(52px, 7vw, 78px) clamp(24px, 6vw, 76px);
  padding: clamp(42px, 5vw, 58px) !important;
  overflow: hidden;
  border: 1px solid rgba(15, 19, 24, 0.08);
  border-radius: 6px;
  box-shadow: 0 18px 46px rgba(15, 19, 24, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 32%, rgba(255, 255, 255, 0.38) 58%, rgba(255, 255, 255, 0.02) 100%),
    url("assets/images/fabrika.jpg") right center / contain no-repeat;
}

.about .section-copy {
  max-width: 760px;
}

.section h2,
.section-title h2 {
  font-size: clamp(32px, 4vw, 46px);
}

.section-copy h2 {
  font-size: clamp(28px, 3.1vw, 38px);
}

.section-copy h2::after,
.section-title h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 18px 0 0;
  background: var(--red);
}

.section-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 17px 0;
  color: #454b52;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 34px;
}

.section-title h2::after {
  margin-left: auto;
  margin-right: auto;
}

.products {
  color: var(--white);
  background:
    linear-gradient(rgba(13, 15, 18, 0.94), rgba(13, 15, 18, 0.94)),
    repeating-linear-gradient(60deg, transparent 0 18px, rgba(255, 255, 255, 0.06) 18px 20px);
}

.products .section-title h2 {
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #f2f3f4;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.26),
    0 0 24px rgba(255, 255, 255, 0.22),
    0 26px 58px rgba(0, 0, 0, 0.68);
}

.product-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #171b20;
  border: 3px solid #ffffff;
}

.product-card h3,
.product-card p {
  margin-left: 16px;
  margin-right: 16px;
}

.product-card h3 {
  margin-top: 22px;
  color: var(--ink);
}

.product-card p {
  margin-bottom: 24px;
}

.capabilities {
  padding: 46px clamp(24px, 6vw, 76px) 56px;
  color: var(--ink);
  background: var(--paper);
}

.section-title.light h2 {
  color: var(--ink);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
  text-align: center;
}

.capability-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  object-fit: contain;
}

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

.test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.test-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: stretch;
  min-height: 240px;
  background: #f3f4f5;
  box-shadow: 0 18px 42px rgba(15, 19, 24, 0.18);
}

.test-card div {
  padding: 22px 24px 26px;
}

.test-card h3 {
  position: relative;
  padding-bottom: 14px;
}

.test-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--red);
}

.test-visual {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  object-fit: cover;
  background: #171b20;
}

.test-card picture {
  display: block;
  height: 100%;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #111317;
}

.footer-contact {
  padding: 52px clamp(24px, 6vw, 76px);
}

.footer-contact h3 {
  margin-bottom: 22px;
  color: var(--white);
}

.footer-contact dl {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(180px, 0.8fr) minmax(220px, 0.9fr);
  gap: 26px;
  margin: 0;
}

.footer-contact dt {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-contact dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin: 0;
  padding: 20px clamp(24px, 6vw, 76px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .hero-copy {
    padding-bottom: 36px;
  }

  .facility-visual {
    min-height: 350px;
  }

  .feature-strip,
  .product-grid,
  .capability-grid,
  .test-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-strip article:last-child {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.22) 68%, rgba(0, 0, 0, 0) 100%),
      url("assets/images/mobilbanner.jpg") center top / cover no-repeat,
      #283039;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 100svh;
    padding: 28px 20px 36px;
    text-align: left;
    overflow: hidden;
  }

  .hero-logo {
    width: min(190px, 58vw);
    margin-bottom: 20px;
  }

  .hero h1 {
    max-width: min(370px, 100%);
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1.06;
    margin-bottom: auto;
  }

  .hero h1 span {
    margin-top: 8px;
    line-height: 0.92;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: min(350px, 100%);
    margin: 18px 0 24px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-copy .hero-subline {
    margin-top: -12px;
    margin-bottom: 0;
    font-size: 14px;
  }

  .facility-visual {
    display: none;
  }

  .feature-strip,
  .product-grid,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    padding: 18px 22px;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid #cfd3d8;
    padding: 16px 0;
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .about {
    margin: 34px 16px;
    padding: 28px 18px !important;
    background: #fff;
  }

  .section h2,
  .section-title h2,
  .section-copy h2 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .section-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .products,
  .tests {
    padding-left: 18px;
    padding-right: 18px;
  }

  .product-grid {
    gap: 24px;
  }

  .product-visual {
    min-height: 0;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .capability-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
  }

  .capability-grid h3 {
    font-size: 15px;
  }

  .test-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .test-visual {
    height: 190px;
    min-height: 190px;
  }

  .test-card picture {
    height: 190px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .footer-contact {
    padding: 42px 22px;
  }

  .footer-contact dd {
    overflow-wrap: anywhere;
  }

  .copyright {
    padding-left: 22px;
    padding-right: 22px;
  }
}
