:root {
  --ink: #082f3d;
  --ink-2: #123f4e;
  --gold: #f2af19;
  --gold-2: #ffcc4d;
  --green: #6aa84f;
  --paper: #f6f8f7;
  --line: #dbe3e1;
  --muted: #66777a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 47, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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.55;
}

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

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

.top-contact {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 10px 24px;
  justify-content: flex-end;
  padding: 8px clamp(18px, 4vw, 56px);
}

.top-contact a {
  color: var(--gold-2);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 247, 0.9);
  border-bottom: 1px solid rgba(219, 227, 225, 0.8);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  font-weight: 900;
  height: 42px;
  letter-spacing: 0;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.main-nav a {
  border-radius: 6px;
  color: #31525a;
  font-size: 14px;
  padding: 8px 10px;
}

.main-nav a:hover {
  background: #eaf0ef;
  color: var(--ink);
}

.nav-cta,
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
}

.nav-cta,
.button.primary {
  background: var(--gold);
  color: #1d2b25;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.button.outline {
  background: transparent;
  border-color: rgba(8, 47, 61, 0.22);
  color: var(--ink);
}

.hero {
  background: var(--ink);
  color: var(--white);
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(8, 47, 61, 0.96) 0%, rgba(8, 47, 61, 0.84) 38%, rgba(8, 47, 61, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 47, 61, 0.82) 0%, rgba(8, 47, 61, 0.08) 42%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-content {
  max-width: 760px;
  padding: 118px clamp(20px, 6vw, 76px) 72px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  margin-bottom: 24px;
  max-width: 720px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 42px;
}

.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  max-width: 820px;
  padding-top: 22px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-stats strong {
  color: var(--white);
  display: block;
  font-size: 28px;
  line-height: 1.05;
}

.section-pad {
  padding: 88px clamp(20px, 5vw, 72px);
}

.page-hero {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  min-height: 520px;
  padding: 72px clamp(20px, 5vw, 72px);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
}

.page-hero p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  max-width: 680px;
}

.page-hero img {
  border-radius: 8px;
  max-height: 520px;
  object-fit: cover;
  width: 100%;
}

.intro,
.applications,
.service {
  background: var(--white);
}

.intro-grid,
.contact,
.cases {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.intro-copy {
  color: #38575d;
  font-size: 18px;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.solution-grid,
.product-grid,
.application-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-grid article,
.service-grid article,
.application-grid div,
.product-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-grid article {
  overflow: hidden;
}

.solution-grid img {
  aspect-ratio: 1.45;
  background: #edf2f1;
  object-fit: cover;
  width: 100%;
}

.solution-grid h3,
.solution-grid p {
  padding-left: 20px;
  padding-right: 20px;
}

.solution-grid h3 {
  margin: 20px 0 8px;
}

.solution-grid p {
  color: var(--muted);
  margin-bottom: 22px;
}

.filters {
  background: #e8eeec;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
}

.filter {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #39575d;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 36px;
  padding: 8px 12px;
}

.filter.active {
  background: var(--ink);
  color: var(--white);
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.product-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(242, 175, 25, 0.34), var(--shadow);
  outline: 0;
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  aspect-ratio: 1.18;
  background: var(--white);
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

.product-card div {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 18px;
}

.product-card span {
  color: var(--green);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.applications h2 {
  max-width: 900px;
}

.application-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.application-grid div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 176px;
  padding: 22px;
}

.application-grid strong {
  color: var(--ink);
  font-size: 20px;
}

.application-grid span {
  color: var(--muted);
}

.cases {
  background: var(--ink);
  color: var(--white);
}

.case-image {
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
}

.case-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.case-copy {
  align-self: center;
}

.case-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.case-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.case-list article {
  border-left: 4px solid var(--gold);
  padding-left: 18px;
}

.case-list h3 {
  margin-bottom: 8px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid article {
  min-height: 168px;
  padding: 24px;
}

.service-grid strong {
  display: block;
  font-size: 22px;
  margin-bottom: 12px;
}

.service-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  background: #edf2f1;
}

.contact p,
.contact address {
  color: #4b656a;
  font-style: normal;
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.contact-form label {
  color: #39575d;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #f9fbfb;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px;
  resize: vertical;
  text-transform: none;
}

.contact-form textarea {
  min-height: 120px;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}

.site-footer a {
  color: var(--gold-2);
}

.process-band {
  background: #edf2f1;
}

.timeline-grid,
.stats-grid,
.video-grid,
.case-study-grid {
  display: grid;
  gap: 18px;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-grid article,
.stats-grid div,
.video-grid article,
.case-study-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-grid article {
  padding: 24px;
}

.timeline-grid span {
  color: var(--gold);
  display: block;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 18px;
}

.timeline-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid div {
  min-height: 150px;
  padding: 24px;
}

.stats-grid strong {
  color: var(--ink);
  display: block;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 14px;
}

.stats-grid span {
  color: var(--muted);
}

.case-study-grid {
  grid-template-columns: 1fr;
}

.case-study-grid article {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.case-study-grid img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.case-study-grid div {
  padding: clamp(24px, 4vw, 46px);
}

.case-study-grid p {
  color: #4b656a;
}

.case-study-grid ul {
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 0;
  padding-left: 20px;
}

.video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.video-grid img {
  aspect-ratio: 1.28;
  background: #f0f3f2;
  object-fit: contain;
  padding: 18px;
  width: 100%;
}

.video-grid div {
  border-top: 1px solid var(--line);
  padding: 20px;
}

.video-grid span {
  color: var(--green);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.video-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.page-contact {
  padding-top: 96px;
}

.page-contact h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1;
}

.product-detail-page {
  background: var(--paper);
}

.product-hero-detail {
  background: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  padding: 72px clamp(20px, 5vw, 72px);
}

.detail-copy {
  align-self: center;
}

.back-link {
  color: var(--green);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 28px;
}

.product-hero-detail h1 {
  color: var(--ink);
  font-size: clamp(44px, 6vw, 86px);
  margin-bottom: 20px;
}

.detail-lead {
  color: #4b656a;
  font-size: 20px;
  max-width: 640px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.detail-image {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  min-height: 520px;
  padding: clamp(18px, 4vw, 44px);
}

.detail-image img {
  margin: auto;
  max-height: 640px;
  object-fit: contain;
}

.detail-section {
  padding: 72px clamp(20px, 5vw, 72px);
}

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

.detail-params {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 8px 28px;
}

.compact-products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.parameter-list {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  margin: 24px 0;
}

.parameter-list div {
  display: grid;
  gap: 14px;
  grid-template-columns: 150px 1fr;
  padding: 13px 0;
}

.parameter-list div + div {
  border-top: 1px solid var(--line);
}

.parameter-list dt {
  color: #5c7378;
  font-weight: 800;
}

.parameter-list dd {
  margin: 0;
}

@media (max-width: 1180px) {
  .solution-grid,
  .product-grid,
  .application-grid,
  .service-grid,
  .compact-products,
  .timeline-grid,
  .stats-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .top-contact {
    justify-content: flex-start;
  }

  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 94px;
  }

  .hero-stats,
  .intro-grid,
  .contact,
  .cases,
  .product-hero-detail,
  .solution-grid,
  .product-grid,
  .application-grid,
  .service-grid,
  .compact-products {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    width: 100%;
  }

  .filter {
    flex: 1 1 auto;
  }

  .case-image {
    min-height: 320px;
  }

  .parameter-list div {
    grid-template-columns: 1fr;
  }

  .product-hero-detail,
  .detail-section {
    padding: 48px 20px;
  }

  .detail-image {
    min-height: 320px;
  }

  .page-hero,
  .case-study-grid article {
    grid-template-columns: 1fr;
  }
}
