:root {
  color-scheme: light;
  --ink: #202428;
  --muted: #5b6570;
  --line: #d8dee5;
  --panel: #ffffff;
  --soft: #f4f6f8;
  --brand: #0f766e;
  --brand-strong: #0a5e58;
  --accent: #d97706;
  --accent-soft: #fff4df;
  --danger-soft: #fef2f2;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.5;
}

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

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

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

.header-inner,
.section,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 17px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 750;
  cursor: pointer;
}

.button:hover {
  background: var(--brand-strong);
}

.button.secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(16, 21, 25, 0.86), rgba(16, 21, 25, 0.48) 50%, rgba(16, 21, 25, 0.16)),
    var(--hero-image) center / cover no-repeat;
  color: #ffffff;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d7f7f3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.product-title h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  background: #ffffff;
  padding: 22px;
}

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

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding: 42px 0;
}

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

.section-head h2,
.content h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.section-head p,
.content p,
.muted {
  color: var(--muted);
}

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

.category-grid {
  grid-template-columns: repeat(5, 1fr);
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.category-card {
  min-height: 100%;
}

.category-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.card-body {
  padding: 18px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.22;
}

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

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pill.price {
  background: var(--accent-soft);
  color: #8a4b00;
}

.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 800;
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  padding: 58px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand);
}

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

.product-media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.quote-panel {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.quote-panel h2 {
  margin: 0;
  font-size: 22px;
}

.quote-panel p {
  color: var(--muted);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

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

.spec-table th {
  width: 34%;
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.check-list {
  padding-left: 18px;
}

.check-list li {
  margin: 8px 0;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

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

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

.notice {
  border: 1px solid #f6d48d;
  border-radius: 8px;
  padding: 16px;
  background: var(--accent-soft);
  color: #6f4500;
}

.legal-note {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  margin-top: 72px;
  background: #202428;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding: 46px 0;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  .category-grid,
  .product-grid,
  .supplier-grid,
  .trust-row,
  .split,
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }

  .quote-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

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

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
  }

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

  .hero {
    min-height: 560px;
  }

  .hero h1,
  .page-hero h1,
  .product-title h1 {
    font-size: 42px;
  }

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

  .category-grid,
  .product-grid,
  .supplier-grid,
  .trust-row,
  .split,
  .product-layout,
  .quote-form,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }
}
