:root {
  --orange: #ff6600;
  --azure: #66ccff;
  --ink: #0b2a30;
  --deep: #06262c;
  --mineral: #f2fbfa;
  --paper: #ffffff;
  --line: rgba(8, 42, 48, 0.16);
  --muted: #52686d;
  --shadow: 0 22px 70px rgba(4, 34, 38, 0.16);
  --display: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mineral);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.quartz-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.42;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(4, 34, 38, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  background: #fff;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding-block: 6px;
}

.site-nav a:hover {
  border-color: var(--azure);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

.hero {
  min-height: 94vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 29, 33, 0.9) 0%, rgba(5, 29, 33, 0.62) 45%, rgba(5, 29, 33, 0.24) 100%),
    linear-gradient(0deg, rgba(5, 29, 33, 0.92) 0%, transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  padding: 124px 0 142px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--azure);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 1060px;
  margin: 0 auto;
  font-size: clamp(38px, 6.1vw, 70px);
  text-transform: uppercase;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 62px);
  text-transform: uppercase;
}

h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.hero-copy {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 13px 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.btn-primary {
  color: #fff;
  background: var(--orange);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 31, 35, 0.82);
  backdrop-filter: blur(12px);
}

.hero-strip div {
  min-height: 92px;
  padding: 18px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
}

.hero-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 70px);
}

.construction-banner {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.construction-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 29, 33, 0.78) 0%, rgba(5, 29, 33, 0.42) 48%, rgba(5, 29, 33, 0.08) 100%),
    linear-gradient(0deg, rgba(5, 29, 33, 0.44) 0%, transparent 48%);
}

.construction-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.construction-banner-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 94px) 0;
  text-align: center;
}

.construction-banner h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(34px, 4.8vw, 58px);
}

.construction-banner p:not(.section-kicker) {
  max-width: 660px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.split,
.delivery-grid,
.production-layout,
.detail-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split p,
.section-head p,
.detail-lead {
  color: var(--muted);
  font-size: 18px;
}

.split > div {
  text-align: center;
}

.split p {
  text-align: left;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #dcecee;
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  background: var(--line);
}

.proof-item {
  min-height: 220px;
  padding: clamp(26px, 4vw, 42px);
  background: #fff;
  text-align: center;
}

.proof-item span {
  color: var(--orange);
  font-weight: 900;
}

.proof-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-head {
  width: min(1180px, 100%);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  gap: 32px;
  align-items: end;
  text-align: center;
}

.applications-head,
.production-head,
.single-head {
  display: block;
}

.applications-head h2,
.production-head h2,
.single-head h2 {
  max-width: 100%;
}

.products {
  background: var(--mineral);
}

.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: grid;
  grid-template-rows: 340px 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(4, 34, 38, 0.08);
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card div {
  padding: clamp(22px, 3vw, 34px);
}

.product-card h3 {
  text-transform: uppercase;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.app-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  display: grid;
  grid-column: span 4;
  min-height: 500px;
  grid-template-rows: 300px auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:nth-child(-n + 2) {
  grid-column: span 6;
  min-height: 560px;
  grid-template-rows: 340px auto 1fr;
}

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

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card span {
  display: block;
  padding: 18px 18px 6px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-card p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
}

.production {
  background: #fff;
}

.production-layout {
  grid-template-columns: minmax(320px, 0.74fr) 1fr;
}

.media-frame.tall img {
  min-height: 680px;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-list article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--mineral);
  text-align: center;
}

.process-list img,
.process-list video {
  width: 180px;
  height: 132px;
  border-radius: 6px;
  object-fit: cover;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.delivery {
  color: #fff;
  background:
    linear-gradient(130deg, rgba(6, 38, 44, 0.96), rgba(6, 38, 44, 0.84)),
    url("../img/loader-yard.webp") center / cover;
}

.delivery .section-kicker {
  width: min(1180px, 100%);
  margin-inline: auto;
  text-align: center;
}

.delivery-grid {
  align-items: start;
  text-align: center;
}

.delivery-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.check-list li::before {
  content: "";
  position: static;
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 12px;
  background: var(--azure);
  box-shadow: 0 0 0 4px rgba(102, 204, 255, 0.18);
}

.contacts {
  background: var(--mineral);
}

.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 54px);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.document-content {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 46px;
}

.document-content article {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.document-content article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.document-content h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.document-content p,
.plain-list li {
  color: var(--muted);
  font-size: 18px;
}

.document-content p {
  text-align: left;
}

.document-content a:not(.btn) {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 1px solid var(--azure);
}

.document-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.document-cards section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.document-cards img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.document-cards h3 {
  padding: 24px 22px 0;
  text-transform: uppercase;
}

.document-cards p {
  padding: 0 22px 24px;
  text-align: center;
}

.plain-list {
  margin: 12px 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.plain-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

address {
  display: grid;
  gap: 12px;
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
}

address a {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  padding: 34px 18px 90px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep);
  text-align: center;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.float-action {
  position: fixed;
  bottom: 18px;
  z-index: 12;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

.float-call {
  left: 18px;
  background: var(--orange);
}

.float-wa {
  right: 18px;
  background: #158d55;
}

.detail-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--deep);
  overflow: hidden;
}

.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.detail-hero-clean img {
  opacity: 1;
  filter: saturate(1.03) contrast(1.02);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 29, 33, 0.9), rgba(5, 29, 33, 0.48));
}

.detail-hero-clean::after {
  background:
    linear-gradient(180deg, rgba(5, 29, 33, 0.58) 0%, rgba(5, 29, 33, 0.18) 34%, rgba(5, 29, 33, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 29, 33, 0.82) 0%, rgba(5, 29, 33, 0.5) 48%, rgba(5, 29, 33, 0.22) 100%);
}

.detail-page-construction .quartz-canvas {
  display: none;
}

.detail-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 80px;
  text-align: center;
}

.detail-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(42px, 7vw, 76px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.75);
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.detail-grid {
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  text-align: center;
}

.detail-aside h2 {
  font-size: 30px;
}

.detail-aside .check-list li {
  border-color: var(--line);
  background: var(--mineral);
}

.detail-aside .check-list li::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.14);
}

.detail-content {
  display: grid;
  gap: 28px;
  text-align: left;
}

.detail-content article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.detail-content p,
.detail-content li {
  color: var(--muted);
  font-size: 18px;
}

.detail-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.next-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .document-cards {
    grid-template-columns: 1fr;
  }

  .app-card,
  .app-card:nth-child(-n + 2) {
    grid-column: auto;
    min-height: 500px;
    grid-template-rows: 280px auto 1fr;
  }

  .proof-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 10px 16px;
  }

  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    color: var(--ink);
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero-inner {
    padding: 104px 0 220px;
  }

  .hero-strip,
  .split,
  .construction-banner-content,
  .delivery-grid,
  .production-layout,
  .detail-grid,
  .section-head,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .process-list img,
  .process-list video {
    width: 100%;
    height: 220px;
  }

  .media-frame.tall img,
  .media-frame img,
  .media-frame video {
    min-height: 320px;
  }

  .detail-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    background: rgba(5, 29, 33, 0.4);
    backdrop-filter: blur(10px);
  }

  .hero {
    min-height: auto;
    display: block;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 96px 0 26px;
  }

  h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.48;
  }

  .eyebrow,
  .section-kicker {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.25;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .detail-hero {
    min-height: 560px;
  }

  .detail-hero img {
    object-position: 54% center;
  }

  .detail-hero-clean::after {
    background:
      linear-gradient(180deg, rgba(5, 29, 33, 0.78) 0%, rgba(5, 29, 33, 0.38) 32%, rgba(5, 29, 33, 0.9) 100%),
      linear-gradient(90deg, rgba(5, 29, 33, 0.86) 0%, rgba(5, 29, 33, 0.62) 58%, rgba(5, 29, 33, 0.4) 100%);
  }

  .detail-hero-inner {
    width: calc(100% - 32px);
    padding: 120px 0 58px;
  }

  .detail-hero h1 {
    max-width: 360px;
    font-size: 39px;
    line-height: 1.06;
  }

  .detail-hero .eyebrow {
    color: #84d7ff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  }

  .breadcrumb {
    color: rgba(255, 255, 255, 0.9);
  }

  .app-grid,
  .proof-band,
  .product-grid,
  .document-cards {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 250px 1fr;
  }

  .app-card,
  .app-card:nth-child(-n + 2) {
    min-height: auto;
    grid-template-rows: 250px auto 1fr;
  }

  .hero-actions,
  .next-links {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-strip {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: calc(100% - 20px);
    margin: 0 auto;
  }

  .hero-strip b {
    font-size: 24px;
  }

  .hero-strip div:last-child {
    padding-left: 82px;
    padding-right: 82px;
  }

  .float-action {
    width: 52px;
    height: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .quartz-canvas {
    display: none;
  }
}
