/* EQUEST GEAR — B2B Wholesale Design System */
:root {
  --black: #06080c;
  --ink: #0c1220;
  --navy: #0b1f3a;
  --navy-mid: #14325a;
  --blue: #1a4f8c;
  --blue-bright: #2b6cb0;
  --steel: #8ba3c1;
  --mist: #e8eef6;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --muted: #6b7c93;
  --success: #1a7a4c;
  --warning: #b8860b;
  --border: rgba(139, 163, 193, 0.22);
  --shadow: 0 18px 50px rgba(6, 8, 12, 0.18);
  --radius: 4px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1240px;
  --header-h: 76px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Typography */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
}

.lead { font-size: 1.125rem; color: var(--muted); max-width: 42rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 79, 140, 0.28);
}
.btn-primary:hover { background: var(--blue-bright); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy); }

.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Top bar */
.topbar {
  background: var(--black);
  color: var(--steel);
  font-size: 0.8rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--white); }
.topbar-right { display: flex; gap: 1.25rem; align-items: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo img {
  height: 48px;
  width: auto;
  max-width: min(200px, 42vw);
  display: block;
  object-fit: contain;
}
.site-footer .logo img {
  height: 44px;
  max-width: 180px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav a:hover, .nav a.active { color: var(--blue); background: rgba(26,79,140,0.06); }

.nav-actions { display: flex; align-items: center; gap: 0.65rem; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition);
}
.icon-btn:hover { border-color: var(--blue); }
.badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}
.hero-media,
.hero-slide {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6,8,12,0.92) 0%, rgba(11,31,58,0.72) 48%, rgba(6,8,12,0.55) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(26,79,140,0.35), transparent 55%),
    url("../images/hero-factory.jpg") center/cover no-repeat,
    linear-gradient(160deg, #0b1f3a, #06080c 60%);
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
  animation: none;
  transform: scale(1.03);
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(6,8,12,0.9) 0%, rgba(11,31,58,0.7) 48%, rgba(6,8,12,0.5) 100%);
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
  max-width: 760px;
}
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}
.hero-controls > * { pointer-events: auto; }
.hero-nav {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(6,8,12,0.45);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.hero-nav:hover { background: rgba(26,79,140,0.85); border-color: transparent; }
.hero-dots { display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; }
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-block {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
}
.service-block h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.service-block ul { display: grid; gap: 0.45rem; color: var(--muted); }
.service-block li { padding-left: 1rem; position: relative; }
.service-block li a { color: var(--muted); transition: color var(--transition); }
.service-block li a:hover { color: var(--blue-bright); }
.service-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--blue);
}
.factory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.factory-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: var(--navy) center/cover no-repeat;
}
.factory-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,8,12,0.92), rgba(6,8,12,0.25));
}
.factory-card .body { position: relative; z-index: 1; padding: 1.25rem; }
.factory-card h3 { margin-bottom: 0.35rem; }
.factory-card p { color: rgba(232,238,246,0.85); font-size: 0.92rem; }
.footer-address { margin: 0.85rem 0 1rem; color: var(--steel); font-size: 0.92rem; line-height: 1.55; }
.inquiry-actions { flex-wrap: wrap; }
.gallery-thumbs { grid-template-columns: repeat(6, 1fr) !important; }
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr) !important; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
  max-width: 14ch;
  animation: fadeUp 0.8s ease both;
}
.hero .lead {
  color: rgba(232,238,246,0.88);
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s ease 0.12s both;
}
.hero .btn-group { animation: fadeUp 0.8s ease 0.22s both; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease 0.05s both;
}
.hero-tags span {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: var(--mist);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-dark {
  background: var(--ink);
  color: var(--white);
}
.section-mist { background: var(--off-white); }
.section-navy {
  background: linear-gradient(145deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 18ch; }
.section-head p { color: var(--muted); max-width: 36rem; }
.section-dark .section-head p,
.section-navy .section-head p { color: var(--steel); }

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cat-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
  isolation: isolate;
  transition: transform var(--transition);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(6,8,12,0.88)),
    var(--cat-bg, linear-gradient(135deg, #14325a, #0b1f3a));
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: transform 0.6s ease;
}
.cat-card:hover::before { transform: scale(1.06); }
.cat-card .body { position: absolute; inset: auto 0 0 0; padding: 1.25rem; }
.cat-card h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.cat-card p { font-size: 0.85rem; color: var(--steel); }

/* Product listing — Alibaba style */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: center;
}
.filters-bar select,
.filters-bar input {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  min-width: 150px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(26,79,140,0.35);
  transform: translateY(-3px);
}
.product-card .media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(160deg, #1a3658, #0b1f3a 55%, #121820);
  overflow: hidden;
}
.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.6s ease;
}
.product-card:hover .media img { transform: scale(1.04); }
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-thumbs button {
  background-size: cover !important;
  background-position: center !important;
  padding: 0;
  overflow: hidden;
}
.gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card.has-img::before {
  background-image: linear-gradient(180deg, transparent 25%, rgba(6,8,12,0.88)), var(--cat-img);
}
.product-card .media .placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(43,108,176,0.35), transparent 50%),
    linear-gradient(160deg, #1a3658, #0b1f3a);
}
.product-card .quick-actions {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .quick-actions { opacity: 1; transform: none; }
.product-card .info { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product-card h3 { font-size: 1.02rem; font-weight: 700; }
.product-card .meta { font-size: 0.82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.5rem 0.85rem; }
.product-card .price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
}
.product-card .price small { font-size: 0.75rem; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--warning);
}
.rating span { color: var(--muted); }
.product-card .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Price slabs */
.price-slabs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}
.price-slabs th,
.price-slabs td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}
.price-slabs th { background: var(--off-white); font-weight: 600; }
.price-slabs tr:hover td { background: rgba(26,79,140,0.04); }
.price-note {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}

/* Specs */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
}
.spec-grid dt { color: var(--muted); }
.spec-grid dd { font-weight: 600; }

/* Feature / why us */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.feature-item {
  padding: 1.35rem 1.2rem;
  border-top: 2px solid var(--blue);
  background: rgba(255,255,255,0.03);
}
.feature-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature-item p { font-size: 0.88rem; color: var(--steel); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.why-item {
  padding: 1.5rem 1.2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.why-item:hover { border-color: var(--blue); transform: translateY(-3px); }
.why-item .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.why-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.why-item p { font-size: 0.88rem; color: var(--muted); }

/* Stats / trust */
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.25rem;
}
.stat p { font-size: 0.85rem; color: var(--steel); }

/* Manufacturing chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.chip {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--mist);
  background: rgba(255,255,255,0.04);
  transition: background var(--transition), border-color var(--transition);
}
.chip:hover { background: rgba(43,108,176,0.25); border-color: var(--blue-bright); }

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--blue);
  display: block;
  margin-bottom: 0.75rem;
}
.process-step h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; color: var(--muted); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial {
  padding: 1.75rem;
  background: white;
  border-left: 3px solid var(--blue);
  box-shadow: 0 10px 30px rgba(6,8,12,0.06);
}
.testimonial p { font-size: 1rem; margin-bottom: 1.25rem; color: var(--ink); }
.testimonial .who { font-weight: 700; font-size: 0.92rem; }
.testimonial .role { font-size: 0.82rem; color: var(--muted); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  margin-bottom: 1rem;
  border-radius: var(--radius);
}
.blog-card .tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.92rem; color: var(--muted); flex: 1; }

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.88rem; font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,79,140,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-panel {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: var(--radius);
}

/* Product detail layout */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1;
  background: #f4f7fb;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.gallery-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  background: rgba(6, 8, 12, 0.72);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.gallery-thumbs button {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #14325a, #0b1f3a);
  cursor: pointer;
}
.gallery-thumbs button.active { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(26,79,140,0.25); }

.color-swatches { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
}
.swatch.active { box-shadow: 0 0 0 2px var(--blue); }

.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  margin: 2rem 0 1.25rem;
  overflow-x: auto;
}
.tab {
  padding: 0.85rem 1.1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.35s ease; }

.size-chart {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  overflow-x: auto;
  display: block;
}
.size-chart th, .size-chart td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  text-align: center;
}
.size-chart th { background: var(--off-white); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}
.contact-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.95rem; }
.map-embed {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
  background: var(--mist);
  filter: grayscale(0.3) contrast(1.05);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--steel);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.site-footer .logo { color: white; margin-bottom: 1rem; }
.site-footer p { font-size: 0.92rem; max-width: 32ch; margin-bottom: 1.25rem; }
.site-footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.socials { display: flex; gap: 0.75rem; }
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
}
.socials a:hover { border-color: var(--blue-bright); color: white; }

.newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.newsletter input {
  flex: 1;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: white;
  border-radius: var(--radius);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.06); }

/* Quote drawer */
.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: white;
  z-index: 200;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.quote-drawer.open { transform: none; }
.quote-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.quote-drawer-body { flex: 1; overflow: auto; padding: 1.25rem; }
.quote-drawer-foot { padding: 1.25rem; border-top: 1px solid var(--border); }
.quote-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,8,12,0.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background:
    linear-gradient(120deg, rgba(11,31,58,0.95), rgba(6,8,12,0.92)),
    radial-gradient(circle at 80% 50%, rgba(43,108,176,0.4), transparent 45%);
  color: white;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.75rem; }
.cta-band p { color: var(--steel); margin-bottom: 1.5rem; max-width: 36rem; margin-inline: auto; }

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--ink), var(--navy-mid));
  color: white;
  padding: 4rem 0 3rem;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--steel); max-width: 40rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: white; }

/* Compare bar */
.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--ink);
  color: white;
  padding: 0.85rem 0;
  transform: translateY(110%);
  transition: transform var(--transition);
}
.compare-bar.show { transform: none; }
.compare-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  font-size: 0.9rem;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin: 2rem 0 0.75rem; font-size: 1.5rem; }
.article p { margin-bottom: 1rem; color: #334155; }
.article ul { margin: 0 0 1.25rem 1.25rem; list-style: disc; }
.article li { margin-bottom: 0.4rem; color: #334155; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Currency switcher */
.currency-select {
  background: transparent;
  border: none;
  color: var(--steel);
  font-size: 0.8rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 28px) 0 auto 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: none;
    max-height: calc(100vh - 100px);
    overflow: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem; }
  .product-grid, .blog-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .pdp, .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cat-grid, .product-grid, .blog-grid, .testimonial-grid,
  .feature-grid, .why-grid, .process, .stats, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 78vh; }
  .nav-actions .btn-primary span { display: none; }
  .spec-grid { grid-template-columns: 1fr; }
}
