/* =========================================================
   Z-Axis Works — Design tokens
   Palette: graphite build-plate + filament-orange accent
   Type: Space Grotesk (display) / Inter (body) / IBM Plex Mono (data)
   ========================================================= */
:root {
  /* Color */
  --color-bg: #101114;
  --color-bg-alt: #17181c;
  --color-surface: #1c1e23;
  --color-surface-hover: #232529;
  --color-border: #2b2d33;
  --color-text: #ECEBE6;
  --color-text-dim: #9a9ca3;
  --color-text-faint: #5c5e66;
  --color-accent: #FF6A3D;
  --color-accent-dim: #d85a30;
  --color-whatsapp: #d85a30;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
/* Ensure the HTML `hidden` attribute always beats any CSS `display` rule */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-accent);
  color: #17181c;
}
.btn-primary:hover { background: #ff7d55; }

.btn-ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #0b1f14;
}
.btn-whatsapp:hover { background: #2fe077; }

.btn-buy {
  width: 100%;
  justify-content: center;
  background: var(--color-whatsapp);
  color: #0b1f14;
  padding: 12px 18px;
  font-size: 0.88rem;
}
.btn-buy:hover { background: #2fe077; }

/* Lock the WhatsApp icon to a fixed square — prevents distortion in narrow cards */
.whatsapp-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;     /* flex can't shrink below this */
  flex-shrink: 0;
  fill: currentColor;
  display: block;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(16, 17, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  justify-self: center;
  white-space: nowrap;
}
.logo-thin { font-weight: 400; color: var(--color-text-dim); margin-left: 2px; }
.logo-mark {
  display: block;
  width: 32px;
  height: auto;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
}
.site-nav a:not(.nav-cta) {
  font-size: 0.92rem;
  color: var(--color-text-dim);
  transition: color 0.2s var(--ease);
}
.site-nav a:not(.nav-cta):hover { color: var(--color-text); }
/* WhatsApp CTA lives in .header-actions on desktop; show in nav only on mobile */
.site-nav .nav-cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}
.header-wa-cta { padding: 10px 18px; font-size: 0.88rem; }

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--color-text-dim);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { color: var(--color-text); background: var(--color-surface); }
.icon-btn[aria-expanded="true"] { color: var(--color-accent); background: var(--color-surface); }

/* ── Search Overlay (centered modal) ───────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 110px 20px 40px;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  border: none;
  width: 100%;
  height: 100%;
}

.search-overlay-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.search-overlay.is-visible .search-overlay-panel {
  animation: overlayIn 0.22s var(--ease) both;
}
.search-overlay.is-visible .search-overlay-backdrop {
  animation: backdropIn 0.18s var(--ease) both;
}

@keyframes overlayIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)     scale(1);    }
}
@keyframes backdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.search-overlay-icon {
  width: 20px;
  height: 20px;
  color: var(--color-text-faint);
  flex-shrink: 0;
}

.search-overlay-form input {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 0;
  outline: none;
}
.search-overlay-form input::placeholder { color: var(--color-text-faint); }

.search-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--color-text-faint);
  flex-shrink: 0;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.search-close-btn:hover { color: var(--color-text); background: var(--color-border); }
.search-close-btn svg { width: 16px; height: 16px; }

.search-hint {
  padding: 9px 20px 11px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
  border-top: 1px solid var(--color-border);
}

/* Results inside overlay — form border-bottom already separates */
.search-overlay .header-search-results {
  border-top: none;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* ── Live search results dropdown ────────────────────── */
.header-search-results {
  border-top: 1px solid var(--color-border);
  padding: 6px 0 10px;
  max-height: 340px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.search-result-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 24px;
  transition: background 0.14s var(--ease);
  cursor: pointer;
}
.search-result-link:hover,
.search-result-item.is-active .search-result-link {
  background: var(--color-surface);
}
.search-result-item.is-active .search-result-link {
  outline: none;
}

.search-result-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.search-result-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Highlight matched characters in orange */
.search-result-title mark {
  background: none;
  color: var(--color-accent);
  font-weight: 700;
}

.search-result-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

.search-result-empty {
  padding: 14px 24px;
  color: var(--color-text-faint);
  font-size: 0.88rem;
  font-style: italic;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* =========================================================
   Hero — signature "layer build" moment
   ========================================================= */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 34px
    );
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 40px;
  align-items: center;
}

/* Vertical Z-axis ruler */
.hero-axis {
  position: relative;
  height: 100%;
  min-height: 340px;
  display: flex;
  justify-content: center;
}
.axis-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}
.axis-ticks {
  position: relative;
  width: 100%;
  height: 100%;
}
.axis-tick {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}
.axis-tick::before {
  content: '';
  width: 10px;
  height: 1px;
  background: var(--color-text-faint);
}
.axis-tick span {
  position: absolute;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-faint);
  white-space: nowrap;
}
.axis-tick.is-accent::before { background: var(--color-accent); width: 16px; }
.axis-tick.is-accent span { color: var(--color-accent); }

.hero-content { max-width: 620px; }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.layer-line {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: buildLayer 0.6s var(--ease) forwards;
}
.layer-line:nth-child(1) { animation-delay: 0.1s; }
.layer-line:nth-child(2) { animation-delay: 0.32s; color: var(--color-text-dim); }
.layer-line:nth-child(3) { animation-delay: 0.54s; color: var(--color-accent); }

@keyframes buildLayer {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================
   Process
   ========================================================= */
.process {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}
.process-list li {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}
.process-index {
  display: block;
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.process-list h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.process-list p {
  color: var(--color-text-dim);
  font-size: 0.94rem;
}

/* =========================================================
   Shop / Product grid
   ========================================================= */
.shop { padding: 88px 0; }

.shop-heading { max-width: 560px; margin-bottom: 40px; }
.shop-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.shop-sub { color: var(--color-text-dim); }

/* Toolbar: search + category filters */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.search-field {
  position: relative;
  flex: 0 1 280px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-text-faint);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 11px 14px 11px 36px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease);
}
.search-field input::placeholder { color: var(--color-text-faint); }
.search-field input:focus { border-color: var(--color-accent); outline: none; }
/* Remove default OS search decorations for a consistent look */
.search-field input::-webkit-search-decoration,
.search-field input::-webkit-search-cancel-button,
.search-field input::-webkit-search-results-button,
.search-field input::-webkit-search-results-decoration { -webkit-appearance: none; }

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.filter-pill:hover { color: var(--color-text); border-color: var(--color-text-faint); }
.filter-pill.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #17181c;
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 64px 0;
  color: var(--color-text-dim);
  font-size: 0.95rem;
}

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

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  background: var(--color-surface-hover);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }

.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 7px,
    rgba(0,0,0,0.18) 7px,
    rgba(0,0,0,0.18) 8px
  );
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.product-card:hover .product-media::after { opacity: 1; }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(16, 17, 20, 0.75);
  color: var(--color-accent);
  padding: 5px 9px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.product-meta {
  color: var(--color-text-dim);
  font-size: 0.86rem;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-top: auto;
}
.product-price small {
  font-size: 0.72rem;
  color: var(--color-text-faint);
  font-weight: 400;
}

/* =========================================================
   Product detail page
   ========================================================= */
.detail { padding: 40px 0 88px; }

.breadcrumb {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-bottom: 32px;
  transition: color 0.2s var(--ease);
}
.breadcrumb:hover { color: var(--color-accent); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.detail-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.detail-media .product-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* ── Product carousel ────────────────────────────────────── */
.product-carousel { display: flex; flex-direction: column; }

.carousel-main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.carousel-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s var(--ease);
}
/* JS adds this class on slide change; auto-removed after transition */
.carousel-main-img.carousel-fade { opacity: 0; }

/* Prev / Next arrows */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.72);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
  backdrop-filter: blur(4px);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-prev:hover,
.carousel-next:hover { background: var(--color-accent); transform: translateY(-50%) scale(1.08); }
.carousel-prev svg,
.carousel-next svg { width: 18px; height: 18px; }

/* Dot / pill indicators */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
  background: rgba(10, 11, 14, 0.45);
  backdrop-filter: blur(4px);
  padding: 5px 8px;
  border-radius: 99px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  transition: width 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
  flex-shrink: 0;
}
.carousel-dot.is-active {
  width: 22px;
  background: var(--color-accent);
  opacity: 1;
}

/* Thumbnail strip */
.carousel-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 10px 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.carousel-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--color-border);
  opacity: 0.55;
  transition: opacity 0.18s var(--ease), border-color 0.18s var(--ease);
  cursor: pointer;
}
.carousel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-thumb:hover { opacity: 0.8; }
.carousel-thumb.is-active {
  border-color: var(--color-accent);
  opacity: 1;
}

.detail-body { padding-top: 4px; }

.detail-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.detail-price {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  margin-bottom: 24px;
}
.detail-price small { font-size: 0.75rem; color: var(--color-text-faint); font-weight: 400; }

.detail-desc {
  color: var(--color-text-dim);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 48ch;
}

.spec-list {
  border-top: 1px solid var(--color-border);
  margin-bottom: 32px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.spec-label { color: var(--color-text-faint); font-family: var(--font-mono); font-size: 0.8rem; }
.spec-value { color: var(--color-text); text-align: right; }

.detail-buy { max-width: 320px; }

.detail-note {
  color: var(--color-text-faint);
  font-size: 0.82rem;
  margin-top: 14px;
  max-width: 40ch;
}

.detail-empty {
  grid-column: 1 / -1;
  padding: 40px 0 20px;
}
.detail-empty .detail-desc { margin-bottom: 28px; }

/* Related products section reuses .product-grid / .product-card */
.related {
  padding: 0 0 88px;
}
.related .eyebrow { margin-bottom: 24px; }

/* =========================================================
   Contact strip
   ========================================================= */
.contact-strip {
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-inner h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-inner p { color: var(--color-text-dim); max-width: 440px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand p {
  color: var(--color-text-dim);
  font-size: 0.88rem;
  margin-top: 8px;
  max-width: 320px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  transition: color 0.2s var(--ease);
}
.footer-links a:hover { color: var(--color-accent); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-faint);
  width: 100%;
  margin-top: 8px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-axis { display: none; }
  .process-list { grid-template-columns: 1fr; gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  /* On tablet, hide WhatsApp CTA from header-actions (too crowded) */
  .header-wa-cta { display: none; }
  .site-nav { gap: 20px; }
}

@media (max-width: 720px) {
  /* Switch from 3-col grid to simple flex so the nav (now fixed) is out of flow */
  .header-inner { display: flex; justify-content: space-between; align-items: center; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    z-index: 40;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav a:not(.nav-cta) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--color-border); }
  /* Show WhatsApp CTA inside mobile nav slide-down */
  .site-nav .nav-cta { display: inline-flex; margin-top: 14px; }
  .nav-toggle { display: flex; }

  .contact-inner { flex-direction: column; align-items: flex-start; }
  .contact-inner .btn { width: 100%; justify-content: center; }

  /* Overlay shifts up slightly on small screens */
  .search-overlay { padding-top: 70px; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
}
