:root {
  --ink: #1c2520;
  --muted: #66736b;
  --line: #dbe2db;
  --panel: #f7f8f4;
  --paper: #ffffff;
  --brand: #c82127;
  --brand-strong: #8f171b;
  --accent: #f3b43f;
  --danger: #c82127;
  --shadow: 0 16px 40px rgba(28, 37, 32, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.top-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 4.8vw, 58px);
  padding: 8px clamp(18px, 4vw, 56px);
  border-top: 3px solid var(--brand);
  background: #b8b8b8;
}

.top-bar a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.top-bar a:hover,
.top-bar a:focus-visible {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 300px);
  align-items: center;
  justify-content: stretch;
  gap: clamp(22px, 4vw, 52px);
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: #6f6f6f;
  border-bottom: 1px solid #5f5f5f;
  backdrop-filter: blur(14px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.brand img {
  display: block;
  width: min(112px, 30vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-search {
  display: grid;
  grid-template-columns: 1fr 42px;
  width: min(300px, 26vw);
  min-width: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.header-search input {
  min-width: 0;
  min-height: 40px;
  border: 0;
  padding: 9px 11px;
  color: #fff;
  background: transparent;
  outline: 0;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.header-search button:hover,
.header-search button:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

.main-nav a,
.footer-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 10px 15px;
  border: 1px solid transparent;
  font-weight: 700;
}

.main-nav a {
  color: #ffffff;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.button.primary,
.footer-cta {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(200, 33, 39, 0.2);
}

.button.secondary {
  color: var(--brand-strong);
  border-color: var(--line);
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(320px, 560px);
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: clamp(24px, 3vw, 44px) clamp(18px, 4vw, 56px);
  background: #fff;
  color: var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

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

.hero .eyebrow {
  color: var(--brand);
}

.hero .button.secondary {
  color: var(--brand-strong);
  border-color: var(--line);
  background: #fff;
  backdrop-filter: none;
}

.hero .button.secondary:hover,
.hero .button.secondary:focus-visible {
  background: var(--panel);
}

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

.video-actions {
  justify-content: flex-end;
  margin-top: 16px;
}

.hero-media {
  position: relative;
  z-index: 1;
  max-width: 560px;
  min-width: 0;
}

.hero-media img {
  display: none;
}

.hero-video {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

.hero-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

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

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

.product-showcase {
  max-width: 1180px;
  margin: 0 auto;
}

.showcase-group + .showcase-group {
  margin-top: clamp(28px, 4vw, 46px);
}

.showcase-group h2 {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 34px);
}

.compact-product {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
}

.compact-product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.sale-badge {
  position: absolute;
  top: 4px;
  left: 6px;
  z-index: 1;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  color: #fff;
  background: #2e7d32;
  font-size: 0.76rem;
  font-weight: 800;
}

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

.section-head h2 {
  margin-bottom: 6px;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.section-head p {
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.55;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 300px);
  gap: 12px;
  margin-bottom: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 800;
}

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

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.category-tile {
  position: relative;
  min-height: 136px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-tile:hover,
.category-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 33, 39, 0.38);
  box-shadow: 0 10px 24px rgba(28, 37, 32, 0.08);
}

.category-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  box-shadow: none;
}

.category-icon i {
  font-size: 1.65rem;
  line-height: 1;
}

.category-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.category-tile strong {
  font-size: 1.1rem;
  line-height: 1.25;
}

.category-content span {
  color: var(--muted);
}

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

.product-card {
  display: grid;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 14px;
  background: #fff;
}

.product-card-body {
  display: grid;
  gap: 10px;
  padding: 15px;
}

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

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.pill.available {
  color: var(--brand-strong);
  background: #fde9ea;
}

.price {
  font-weight: 900;
  color: var(--danger);
}

.product-detail {
  padding: clamp(26px, 4vw, 56px) clamp(18px, 4vw, 56px);
}

.catalog-page {
  min-height: 70vh;
}

.catalog-page .section-head {
  align-items: flex-start;
}

.catalog-page h1 {
  max-width: 980px;
  margin-bottom: 12px;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
}

.about-hero {
  min-height: 42vh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(26px, 4vw, 56px) clamp(18px, 4vw, 56px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 18, 12, 0.66) 0%, rgba(8, 18, 12, 0.48) 54%, rgba(8, 18, 12, 0.32) 100%),
    url("assets/logo/about-us.jpg") center / cover no-repeat;
}

.about-hero > div,
.about-content article,
.about-grid article {
  max-width: 860px;
}

.about-hero > div {
  text-align: center;
}

.about-hero .eyebrow {
  color: #f2c55b;
}

.about-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}

.about-hero .lead {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.84);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  text-align: center;
}

.about-content p,
.about-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.about-kicker {
  color: var(--brand) !important;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
}

.about-panel {
  display: grid;
  gap: 8px;
  justify-self: center;
  max-width: 420px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-panel strong {
  color: var(--brand);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.about-panel span {
  color: var(--muted);
  line-height: 1.5;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.about-list div {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.about-list i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-size: 1.6rem;
}

.about-list span {
  color: var(--muted);
  line-height: 1.58;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.thumbs button {
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.thumbs button.active {
  border-color: var(--brand);
}

.thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 5px;
  background: #fff;
}

.detail-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.detail-copy p {
  color: var(--muted);
  line-height: 1.65;
}

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

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

.spec-table th {
  width: 42%;
  background: var(--panel);
}

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

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

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

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(210px, 1fr) minmax(180px, 0.8fr) minmax(260px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  justify-content: center;
  padding: clamp(46px, 6vw, 78px) clamp(18px, 6vw, 110px);
  border-top: 1px solid var(--line);
  background: #f1f2f3;
  color: var(--ink);
}

.footer-column,
.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.site-footer h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

.site-footer p {
  margin: 0;
  max-width: 38ch;
  color: #879098;
  line-height: 1.65;
}

.site-footer span,
.site-footer a {
  color: #879098;
  line-height: 1.45;
}

.site-footer strong {
  color: #7f878e;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
}

.footer-contact {
  margin: 0;
  font-style: normal;
}

.footer-long {
  gap: 9px;
}

.footer-long p {
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e5e7;
  color: var(--ink);
  background: #fff;
  font-size: 1.25rem;
}

.footer-brand img {
  width: min(280px, 100%);
  height: auto;
  margin-top: 22px;
}

@media (max-width: 820px) {
  .site-header,
  .section-head {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .detail-layout,
  .filters,
  .quote-form {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }

}

@media (max-width: 520px) {
  .main-nav {
    width: 100%;
    justify-content: center;
  }

  .main-nav a {
    padding-inline: 10px;
  }

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

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

  .site-footer {
    grid-template-columns: 1fr;
  }
}
