:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #607086;
  --line: #d7dee8;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --navy: #0d2545;
  --steel: #2f5d73;
  --green: #15735b;
  --orange: #d95f1a;
  --gold: #b88728;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(19, 37, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.topbar {
  background: #07182c;
  color: #dfe8f4;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.topbar .wrap,
.nav .wrap,
.section .wrap,
.footer .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.topbar .wrap {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav .wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #314259;
}

.nav-links a:hover {
  color: var(--orange);
}

.btn {
  border: 1px solid transparent;
  min-height: 44px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
}

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

.btn-primary:hover {
  background: #bd4d11;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.btn-light {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(7, 24, 44, 0.92), rgba(7, 24, 44, 0.62), rgba(7, 24, 44, 0.22)),
    url("https://images.unsplash.com/photo-1581091215367-59ab6b7e4195?w=1800&q=82&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.hero .wrap {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 64px 0;
}

.eyebrow {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 18px 0 22px;
}

.hero p {
  max-width: 710px;
  color: #edf3f9;
  font-size: 19px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 820px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 24, 44, 0.52);
}

.metric {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 24px;
}

.metric span {
  display: block;
  color: #cdd8e6;
  font-size: 13px;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--wash);
}

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

.section-head h2,
.page-title h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 8px 0 0;
  color: var(--navy);
}

.section-head p,
.page-title p {
  color: var(--muted);
  max-width: 670px;
  margin: 10px 0 0;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(76px, 1fr));
  gap: 10px;
}

.cert-badge {
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 4px 18px rgba(16, 31, 53, 0.06);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.panel,
.product-card,
.step,
.spec-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel {
  padding: 28px;
}

.panel strong {
  color: var(--navy);
}

.risk-panel {
  background: #fff;
  border-left: 5px solid var(--green);
  box-shadow: var(--shadow);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.media-tile {
  min-height: 220px;
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.media-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 44, 0.08), rgba(7, 24, 44, 0.76));
}

.media-tile > * {
  position: relative;
}

.media-tile h3 {
  margin: 0;
  font-size: 24px;
}

.media-tile p {
  margin: 6px 0 0;
  color: #e8eef6;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #e8edf2;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

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

.tag-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #edf3f8;
  color: #2e4b63;
  font-size: 12px;
  font-weight: 700;
}

.brand-grid a,
.category-link {
  min-height: 78px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
}

.brand-grid a:hover,
.category-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 4px;
}

.step {
  padding: 18px;
  min-height: 210px;
}

.step-number {
  color: var(--orange);
  font-size: 26px;
  font-weight: 800;
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  line-height: 1.25;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-title {
  padding: 58px 0;
  background: #f5f7fa;
  border-bottom: 1px solid var(--line);
}

.page-title .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 210px;
  background: #f7f9fc;
  color: var(--navy);
}

.sticky-inquiry {
  position: sticky;
  top: 96px;
  padding: 20px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #33435a;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.form-status {
  font-size: 13px;
  font-weight: 700;
}

.form-status.ok {
  color: var(--green);
}

.form-status.bad {
  color: var(--danger);
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  min-width: 112px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(13, 37, 69, 0.22);
}

.floating-contact .wa {
  background: var(--green);
}

.floating-contact .sk {
  background: #1c7ed6;
}

.footer {
  background: #07182c;
  color: #d8e2ee;
  padding: 56px 0 28px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-top: 0;
}

.footer a {
  color: #d8e2ee;
}

.footer a:hover {
  color: var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 28px;
}

.subtle {
  color: var(--muted);
}

.mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .metric-strip,
  .grid-4,
  .grid-3,
  .grid-2,
  .layout,
  .media-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    display: block;
  }

  .hero {
    min-height: 74vh;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .sticky-inquiry {
    position: static;
  }

  .floating-contact {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .floating-contact a {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .topbar .wrap {
    display: none;
  }

  .nav .wrap {
    height: 64px;
  }

  .hero .wrap {
    width: min(100% - 32px, 1180px);
    padding: 46px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }
}
