:root {
  --ink: #18212b;
  --muted: #607080;
  --line: #d9e1e8;
  --panel: #f5f8fb;
  --panel-strong: #e9eef3;
  --brand: #0f6f9f;
  --brand-dark: #0a4e72;
  --accent: #e0a222;
  --steel: #354351;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(24, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.top-strip {
  background: var(--ink);
  color: #d9e6ee;
  font-size: 13px;
}

.top-strip .container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--steel));
  border-radius: 6px;
  font-size: 18px;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 12px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-dark);
  background: #edf7fb;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: grid;
  align-items: center;
  color: var(--white);
  background: #0b121a;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(11, 18, 26, 0.9), rgba(11, 18, 26, 0.62) 45%, rgba(11, 18, 26, 0.22));
  content: "";
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 88px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 74px 0 108px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f5d994;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: var(--accent);
  content: "";
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero p {
  max-width: 650px;
  color: #d9e6ee;
  font-size: 18px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 40px;
}

.metric {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: #d9e6ee;
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 58px 0;
}

.section-muted {
  background: var(--panel);
}

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

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

.section-head p {
  max-width: 620px;
  color: var(--muted);
}

.section-dark .section-head p,
.section-dark .muted {
  color: #b7c6d3;
}

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

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

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

.product-card,
.feature,
.process-step,
.contact-panel,
.inquiry-card,
.detail-panel,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.product-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #b9d7e5;
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #eef3f7;
  border-bottom: 1px solid var(--line);
}

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

.product-body {
  padding: 20px;
}

.product-body .tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 4px 9px;
  color: var(--brand-dark);
  background: #e7f5fa;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 800;
}

.text-link::after {
  content: ">";
}

.feature,
.process-step,
.detail-panel,
.faq-item {
  padding: 24px;
}

.feature h3,
.process-step h3 {
  font-size: 18px;
}

.feature p,
.process-step p,
.detail-panel p,
.faq-item p {
  color: var(--muted);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--steel);
  border-radius: 6px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 48px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.split-media picture {
  display: block;
  height: 100%;
}

.check-list,
.plain-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--accent);
  content: "\2713";
  font-weight: 900;
}

.plain-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  content: "";
}

.band {
  padding: 44px 0;
  color: var(--white);
  background: var(--steel);
}

.band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.page-hero {
  padding: 88px 0 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(14, 22, 30, 0.9), rgba(14, 22, 30, 0.62)),
    url("../images/hero-parts.jpg") center / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(14, 22, 30, 0.9), rgba(14, 22, 30, 0.62)),
    image-set(url("../images/hero-parts.webp") type("image/webp") 1x, url("../images/hero-parts.jpg") type("image/jpeg") 1x) center / cover no-repeat;
}

.page-hero p {
  max-width: 720px;
  color: #d9e6ee;
  font-size: 18px;
}

.breadcrumbs {
  margin-bottom: 14px;
  color: #c7d7e2;
  font-size: 13px;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--steel);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--white);
  border-color: var(--brand);
  background: var(--brand);
}

.detail-hero {
  padding: 70px 0;
  background: var(--panel);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}

.detail-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.spec-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.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: 34%;
  color: var(--steel);
  background: var(--panel);
  font-size: 14px;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.inquiry-card {
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

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

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(15, 111, 159, 0.22);
  border-color: var(--brand);
}

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

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.form-status.is-error {
  color: #a5261f;
}

.form-status.is-success {
  color: #1e6d45;
}

.form-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.status-copy {
  margin-left: 8px;
  padding: 3px 7px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.btn.is-loading::before {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  display: inline-block;
  vertical-align: -2px;
  animation: rfq-spin 0.8s linear infinite;
}

.rfq-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.admin-login {
  max-width: 520px;
  margin: 0 auto;
}

.admin-login .form-field {
  margin-bottom: 18px;
}

.admin-logout {
  margin-left: auto;
}

.admin-table-wrap {
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-table {
  min-width: 1120px;
}

.admin-table th,
.admin-table td {
  vertical-align: top;
}

.admin-table td:nth-child(4) {
  min-width: 360px;
  white-space: normal;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.admin-pagination a {
  display: grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 800;
}

.admin-pagination a.active {
  color: var(--white);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

@keyframes rfq-spin {
  to { transform: rotate(360deg); }
}

.contact-panel {
  padding: 28px;
}

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

.contact-list strong {
  display: block;
  color: var(--steel);
  font-size: 13px;
  text-transform: uppercase;
}

.map-frame {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(15, 111, 159, 0.08), rgba(224, 162, 34, 0.12)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 6px;
}

.trust-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.trust-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.trust-caption {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.contact-hours {
  margin-top: 18px;
}

.footer-disclaimer {
  margin: 0 auto;
  padding: 0 0 18px;
  color: #91a2af;
  font-size: 12px;
}

.site-footer {
  color: #d5e1ea;
  background: #101820;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 34px;
  padding: 58px 0 44px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 16px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #b9c7d2;
  font-size: 14px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 8px 0;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #91a2af;
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 16px;
  color: var(--white);
  background: #1fa855;
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 900;
}

.whatsapp-float span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #1fa855;
  background: var(--white);
  border-radius: 50%;
}

.table-scroll {
  overflow-x: auto;
}

.source-note {
  color: var(--muted);
  font-size: 13px;
}

.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}

.insight-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.keyword-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--steel);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.keyword-pill strong {
  color: var(--brand-dark);
  font-weight: 900;
}

@media (max-width: 980px) {
  .top-strip .container {
    justify-content: center;
    text-align: center;
  }

  .top-strip .hide-mobile {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 12px;
  }

  .hero {
    min-height: 580px;
  }

  .hero-metrics,
  .insight-grid,
  .grid-3,
  .grid-4,
  .footer-grid,
  .split,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .split-media img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-text {
    font-size: 15px;
  }

  .brand-text span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 60px 0 96px;
  }

  h1 {
    font-size: 42px;
  }

  .section {
    padding: 62px 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 16px;
    padding: 11px;
  }

  .whatsapp-float strong {
    display: none;
  }
}
