:root {
  --navy: #0b2854;
  --blue: #1557a7;
  --cyan: #16a8d8;
  --teal: #0d8871;
  --silver: #edf2f6;
  --ink: #122033;
  --muted: #5e6d82;
  --line: #dce6ef;
  --bg: #f6f9fc;
  --panel: #ffffff;
  --soft: #eaf5fb;
  --success: #0d8871;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0; color: var(--navy); }
.brand img { width: 48px; height: 36px; border-radius: 6px; object-fit: cover; }
nav { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--blue); }
.nav-quote { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: white; }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 8px; padding: 8px 10px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 38px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.98), rgba(13, 61, 108, 0.92)),
    radial-gradient(circle at 82% 20%, rgba(22, 168, 216, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 78px 78px;
  color: white;
}
.hero h1, .page-hero h1 { margin: 10px 0 18px; font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: 0; }
.hero-text, .page-hero p { max-width: 760px; color: rgba(255, 255, 255, 0.78); font-size: 18px; line-height: 1.65; }
.eyebrow { margin: 0; color: var(--cyan); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.trust-row span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}
.hero-panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.procurement-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: white;
}
.procurement-strip div { padding: 22px clamp(18px, 4vw, 54px); border-right: 1px solid var(--line); }
.procurement-strip div:last-child { border-right: 0; }
.procurement-strip span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 800; }
.procurement-strip strong { display: block; margin-top: 5px; color: var(--navy); font-size: 19px; }
.lab-console {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.lab-console div {
  padding: 12px;
  border-radius: 6px;
  background: rgba(5, 18, 39, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.lab-console span { display: block; color: rgba(255, 255, 255, 0.62); font-size: 12px; }
.lab-console strong { display: block; margin-top: 4px; font-size: 13px; color: white; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.metric-grid div { padding: 14px; border-radius: 6px; background: rgba(255, 255, 255, 0.13); }
.metric-grid strong { display: block; font-size: 24px; }
.metric-grid span { color: rgba(255, 255, 255, 0.72); font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
}
.btn.primary { background: var(--cyan); color: white; }
.btn.secondary { background: white; color: var(--navy); border-color: var(--line); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.full { width: 100%; margin-bottom: 10px; }

.section { padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 72px); }
.section.muted { background: white; }
.section-head { max-width: 820px; margin-bottom: 28px; }
.section-head.inline { display: flex; justify-content: space-between; gap: 20px; max-width: none; align-items: end; }
.section h2, .cta-band h2 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: 0; color: var(--navy); }
.text-link { color: var(--blue); font-weight: 800; }

.feature-grid, .quality-grid, .contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quality-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.info-card, .product-card, .quote-box, .tier-box, .quote-form, .inquiry-list, .catalog-sidebar, .inquiry-panel, .contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 34px rgba(11, 40, 84, 0.05);
}
.info-card h3, .contact-card h3 { margin: 0 0 10px; color: var(--navy); }
.info-card p, .product-card p, .quote-box p, .tier-box p, .detail-main p, .section-copy, .contact-card p, .contact-cta p { color: var(--muted); line-height: 1.65; }

.page-hero {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: linear-gradient(145deg, var(--navy), #123f75);
  color: white;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); }

.filters { display: grid; grid-template-columns: 1fr 280px; gap: 14px; margin-bottom: 22px; }
.filters input, .filters select, .quote-form input, .quote-form textarea, .quote-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
}
.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 250px;
  gap: 18px;
  align-items: start;
}
.catalog-sidebar, .inquiry-panel { position: sticky; top: 92px; }
.catalog-sidebar { display: grid; gap: 8px; }
.catalog-sidebar button {
  min-height: 42px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  padding: 10px 12px;
  cursor: pointer;
}
.catalog-sidebar button.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.catalog-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
}
.catalog-status strong { color: var(--navy); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.catalog-layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; min-height: 470px; overflow: hidden; }
.product-image {
  display: block;
  position: relative;
  margin: -22px -22px 18px;
  background: var(--silver);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.product-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}
.product-card:hover .product-image img { transform: scale(1.025); }
.product-image-missing {
  display: grid;
  place-content: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
    repeating-linear-gradient(135deg, var(--soft) 0 12px, var(--silver) 12px 24px);
  color: var(--navy);
}
.product-image-missing strong { font-size: 34px; letter-spacing: 0; }
.product-image-missing small { color: var(--muted); font-size: 15px; }
.product-image-missing em {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.image-code-label {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 6px;
  min-width: 142px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 32, 51, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  color: var(--ink);
}
.image-code-label strong {
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
}
.image-code-label small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.code { color: var(--blue); background: var(--soft); border-radius: 6px; padding: 6px 9px; font-weight: 800; }
.badge { color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; font-size: 12px; }
.badge.good { color: var(--success); border-color: rgba(13, 136, 113, 0.28); background: rgba(13, 136, 113, 0.08); }
.product-card h3 { margin: 0; color: var(--navy); font-size: 20px; line-height: 1.2; }
.product-card > p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 10px 0 14px; }
.product-card dl { margin: auto 0 14px; border-top: 1px solid var(--line); font-size: 13px; }
.product-card dl div, .spec-table div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
dt, .spec-table span { color: var(--muted); }
dd { margin: 0; font-weight: 750; text-align: right; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions button { min-height: 42px; border: 0; border-radius: 8px; padding: 8px 10px; background: var(--blue); color: white; font-size: 13px; font-weight: 800; line-height: 1.2; cursor: pointer; }
.card-actions .ghost { color: var(--navy); background: var(--soft); }

.detail-layout, .quote-layout, .split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.quote-layout { grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.15fr); }
.detail-main h2 { color: var(--navy); font-size: 34px; }
.spec-table { margin-top: 24px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px 18px; }
.doc-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0 34px;
  padding: 22px;
  border: 1px solid rgba(13, 136, 113, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, rgba(13, 136, 113, 0.08));
}
.doc-panel h3 { margin: 6px 0; color: var(--navy); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote-box { position: sticky; top: 96px; }
.quote-box h3 { color: var(--navy); margin-top: 0; }

.inquiry-item { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.inquiry-item strong { display: block; color: var(--blue); }
.inquiry-item span { color: var(--muted); }
.inquiry-item button { border: 0; background: #f4e9e9; color: #943838; border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.quote-form label { display: block; color: var(--navy); font-weight: 750; margin-bottom: 14px; }
.quote-form input, .quote-form textarea { margin-top: 7px; }
.quote-form select { margin-top: 7px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.option-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 16px;
}
.option-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--silver);
  font-size: 13px;
}
.option-row input { width: auto; margin: 0; }
.success { color: var(--success); font-weight: 750; }
.thank-you { display: grid; gap: 4px; padding: 14px; border: 1px solid rgba(13, 136, 113, 0.3); border-radius: 8px; background: rgba(13, 136, 113, 0.08); color: var(--success); }
.thank-you span { color: var(--muted); }

.check-list { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; color: var(--muted); line-height: 1.55; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 999px; background: var(--cyan); }
.process { display: grid; gap: 12px; }
.process div { display: flex; gap: 14px; align-items: center; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.process span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--navy); color: white; font-weight: 800; }
.process strong { color: var(--navy); }

.coa-preview { display: grid; grid-template-columns: minmax(0, 1fr) 280px auto; justify-content: space-between; gap: 30px; align-items: center; padding: 34px; background: linear-gradient(135deg, #ffffff, var(--soft)); border: 1px solid var(--line); border-radius: 8px; }
.coa-preview p { color: var(--muted); line-height: 1.65; max-width: 740px; }
.sample-coa {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(11, 40, 84, 0.08);
}
.sample-coa span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 800; }
.sample-coa strong { display: block; margin: 8px 0 12px; color: var(--navy); font-size: 20px; }
.sample-coa dl { margin: 0; }
.sample-coa dl div { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding: 8px 0; }

.contact-card span { display: block; color: var(--cyan); font-weight: 800; text-transform: uppercase; font-size: 12px; }
.contact-card a { color: var(--blue); font-weight: 800; }
.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.contact-cta h2 { margin: 0; color: var(--navy); }

.inquiry-panel h3 { margin: 8px 0 10px; color: var(--navy); font-size: 26px; }
.inquiry-panel p { color: var(--muted); line-height: 1.55; }
.mini-item {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mini-item strong { color: var(--blue); }
.mini-item span { color: var(--muted); font-size: 13px; }
.inquiry-panel .btn { margin-top: 16px; }

.cta-band {
  margin: clamp(24px, 5vw, 54px);
  padding: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band h2 { color: white; }

.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}
.floating strong { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; background: var(--cyan); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  transform: translateX(-50%);
  min-width: min(360px, calc(100vw - 36px));
  padding: 13px 18px;
  border-radius: 8px;
  background: #071c3d;
  color: white;
  text-align: center;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #071c3d;
  color: white;
}
footer p { color: rgba(255, 255, 255, 0.72); max-width: 720px; }
.disclaimer { font-size: 13px; }

@media (max-width: 980px) {
  .hero, .detail-layout, .quote-layout, .split { grid-template-columns: 1fr; }
  .feature-grid, .quality-grid, .contact-grid, .product-grid, .related-grid, .catalog-layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 1fr; }
  .quote-box, .catalog-sidebar, .inquiry-panel { position: static; }
  .catalog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-sidebar .eyebrow { grid-column: 1 / -1; }
  .coa-preview { grid-template-columns: 1fr; }
  nav { display: none; position: absolute; top: 65px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 16px 18px; background: white; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .feature-grid, .quality-grid, .contact-grid, .product-grid, .related-grid, .catalog-layout .product-grid, .filters, .form-grid, .option-row, .catalog-sidebar, .procurement-strip { grid-template-columns: 1fr; }
  .hero-actions, .cta-band, footer, .section-head.inline, .doc-panel, .contact-cta { flex-direction: column; align-items: stretch; }
  .metric-grid { grid-template-columns: 1fr; }
  .lab-console { grid-template-columns: 1fr; }
  .card-actions { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .catalog-status { flex-direction: column; }
  .procurement-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .floating { right: 12px; bottom: 12px; }
  .toast { bottom: 76px; }
}
