:root {
  --ink: #172026;
  --muted: #66727a;
  --line: #dde3e7;
  --panel: #ffffff;
  --soft: #f4f7f6;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --signal: #c9792a;
  --shadow: 0 18px 40px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 7vw, 80px) clamp(18px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(244, 247, 246, 0.98), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, rgba(14, 50, 70, 0.12), rgba(213, 117, 43, 0.14));
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.lead {
  max-width: 620px;
  color: #405057;
  font-size: 19px;
  line-height: 1.55;
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 0;
}

.trust-strip div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.trust-strip dt {
  font-size: 22px;
  font-weight: 800;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-product {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.hero-spec {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 2px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(23, 32, 38, 0.9);
  color: #fff;
}

.hero-spec span,
.hero-spec small {
  color: rgba(255, 255, 255, 0.76);
}

.category-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-band a {
  display: grid;
  gap: 6px;
  padding: 22px clamp(14px, 3vw, 34px);
  border-right: 1px solid var(--line);
  background: #fff;
}

.category-band a:hover {
  background: var(--soft);
}

.category-band span {
  color: var(--muted);
  font-size: 13px;
}

.category-band strong {
  font-size: 20px;
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.catalog-heading {
  display: grid;
  gap: 8px;
}

.back-to-lines {
  display: none;
  justify-self: start;
  margin-top: 8px;
}

.is-category-view .back-to-lines {
  display: inline-flex;
}

.section-heading p:not(.eyebrow),
.split p {
  color: var(--muted);
  line-height: 1.65;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 220px;
  gap: 12px;
  margin-bottom: 18px;
}

.catalog-toolbar.is-hidden {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: #405057;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

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

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-count {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fafafa;
}

.product-card .card-copy {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta span {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--soft);
  color: #405057;
  font-size: 12px;
  font-weight: 700;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 2px;
}

.card-actions .btn {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 44px;
  background: var(--soft);
}

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

.process-list div,
.lead-paths article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-list svg,
.lead-paths svg {
  color: var(--accent);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.detail-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.supply-video {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  background: #fff;
}

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

.factory-video-grid article {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.factory-video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #0f171b;
  object-fit: cover;
}

.factory-video-grid strong {
  font-size: 15px;
}

.factory-video-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.forms {
  background: #fff;
}

.lead-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lead-paths p {
  color: var(--muted);
  line-height: 1.55;
}

.lead-paths a {
  color: var(--accent);
  font-weight: 800;
}

.quote-section {
  padding: 72px clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: #fff;
}

.quote-form > div,
.quote-form .wide {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.5rem;
  font-weight: 700;
}

.form-status.is-success { color: #17663b; }
.form-status.is-error { color: #9d2f25; }
.form-status a { color: inherit; text-decoration: underline; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(23, 32, 38, 0.58);
}

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

.modal-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 28px;
  width: min(1040px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
}

.modal-gallery > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.thumb-row button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.spec-table {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.spec-table dt,
.spec-table dd {
  margin: 0;
  padding: 11px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-table dt {
  background: var(--soft);
  color: #405057;
  font-weight: 800;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn.whatsapp-product {
  border-color: #1f9d61;
  background: #1f9d61;
  color: #fff;
}

.btn.whatsapp-product:hover {
  background: #177a4b;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  background: #1f9d61;
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 89, 55, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #177a4b;
  box-shadow: 0 18px 36px rgba(18, 89, 55, 0.34);
}

.whatsapp-float:focus-visible,
.btn:focus-visible,
.header-cta:focus-visible,
footer a:focus-visible {
  outline: 3px solid #f2b66d;
  outline-offset: 3px;
}

.whatsapp-float svg {
  grid-row: 1 / -1;
  width: 25px;
  height: 25px;
}

.whatsapp-float span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.whatsapp-float small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.15;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #0f171b;
  color: #fff;
}

footer div {
  display: grid;
  gap: 4px;
}

footer span {
  color: rgba(255, 255, 255, 0.64);
}

footer a {
  color: #8fe0d7;
  font-weight: 800;
}

.footer-contact {
  display: flex;
  grid-auto-flow: column;
  gap: 18px;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .split,
  .supply-video,
  .modal-panel {
    grid-template-columns: 1fr;
  }

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

  .category-band,
  .detail-grid,
  .lead-paths {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .trust-strip,
  .catalog-toolbar,
  .product-grid,
  .category-band,
  .process-list,
  .detail-grid,
  .factory-video-grid,
  .lead-paths,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .header-cta {
    padding: 0 12px;
  }

  h1 {
    font-size: 40px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: center;
    width: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 14px;
  }

  .whatsapp-float span,
  .whatsapp-float small {
    display: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Four-category navigation, carousel, and category cards. */
.product-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.product-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  cursor: pointer;
  list-style: none;
}

.product-menu summary::-webkit-details-marker {
  display: none;
}

.product-menu summary svg {
  order: 2;
  width: 15px;
  height: 15px;
  transition: transform 160ms ease;
}

.product-menu[open] summary {
  color: var(--ink);
}

.product-menu[open] summary svg {
  transform: rotate(180deg);
}

.product-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 40;
  display: grid;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 27, 0.14);
  transform: translateX(-50%);
}

.product-menu-panel a {
  min-height: 44px;
  padding: 12px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
}

.product-menu-panel a:hover,
.product-menu-panel a:focus-visible {
  background: var(--soft);
  color: var(--accent);
  outline: none;
}

.site-header nav {
  align-items: center;
}

.site-header nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 540px;
}

.trust-strip dt,
.trust-strip dd {
  white-space: nowrap;
}

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

.category-entry {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-entry > img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  padding: 24px;
  object-fit: contain;
  background: #fff;
}

.category-entry > div {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.category-entry h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  text-align: center;
}

.category-entry .btn {
  width: 100%;
}

.category-carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.category-carousel-track {
  position: relative;
  aspect-ratio: 1 / 1;
}

.category-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease;
}

.category-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.category-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(28px, 6vw, 58px);
  object-fit: contain;
  background: #fff;
}

.category-slide strong {
  min-height: 70px;
  padding: 20px 76px;
  border-top: 1px solid var(--line);
  font-size: clamp(20px, 2.2vw, 28px);
  text-align: center;
}

.category-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(15, 23, 27, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}

.category-carousel-control.previous { left: 14px; }
.category-carousel-control.next { right: 14px; }

.category-carousel-control:hover,
.category-carousel-control:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.category-carousel-dots {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.category-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bcc6ca;
  cursor: pointer;
}

.category-carousel-dots button.is-active { background: var(--accent); }

@media (max-width: 980px) {
  .category-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-carousel { width: min(100%, 620px); justify-self: center; }
}

@media (max-width: 620px) {
  .category-entry-grid { grid-template-columns: 1fr; }
  .category-entry { min-height: 390px; }
  .category-slide strong { min-height: 64px; padding: 18px 68px; }
  .category-carousel-control { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .category-slide,
  .product-menu summary svg { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}

/* Compact editorial layout for the B2B guides index and article pages. */
.guide-page .seo-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px clamp(18px, 4vw, 52px) 32px;
}

.guide-page .seo-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.08;
}

.guide-page .seo-hero .lead {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 17px;
}

.guide-page .section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 52px) 56px;
}

.guide-page .product-grid {
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guide-page .product-card {
  min-height: 340px;
}

.guide-page .product-card .card-copy {
  grid-template-rows: auto minmax(88px, auto) 1fr auto;
  gap: 14px;
  padding: 22px;
}

.guide-page .product-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.guide-page .product-card p {
  font-size: 14px;
  line-height: 1.5;
}

.guide-page .product-card .btn {
  width: 100%;
  margin-top: 4px;
}

.guide-page .guide-article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-page .guide-article > div,
.guide-page .seo-guide {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.guide-page .guide-article h2,
.guide-page .seo-guide h2 {
  font-size: clamp(22px, 2.4vw, 30px);
}

.guide-page .seo-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-top: 18px;
}

.guide-page .guide-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.guide-page .guide-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 14px;
}

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

.guide-page .guide-table th {
  background: var(--surface);
  font-weight: 700;
}

@media (max-width: 980px) {
  .guide-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .guide-page .seo-hero { padding-top: 38px; }
  .guide-page .seo-hero h1 { font-size: 34px; }
  .guide-page .product-grid,
  .guide-page .guide-article,
  .guide-page .seo-guide { grid-template-columns: 1fr; }
  .guide-page .product-card { min-height: auto; }
  .guide-page .product-card .card-copy { grid-template-rows: auto auto 1fr auto; }
}
