:root {
  --ink: #111210;
  --graphite: #191A18;
  --cream: #F2F0E9;
  --beige: #C9C1B3;
  --steel: #8F918C;
  --lime: #D6FF3F;
  --sand: #D1B892;
}

html { scroll-behavior: auto; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
}

.font-display { font-family: 'Archivo', sans-serif; }

::selection {
  background: var(--lime);
  color: var(--ink);
}

.stitch-line {
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--beige) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.35;
}

.stitch-line-dark {
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(17,18,16,0.25) 0 6px,
    transparent 6px 12px
  );
}

.nav-glass {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav-glass.is-scrolled,
.nav-glass.is-solid {
  background: rgba(17, 18, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(201, 193, 179, 0.12);
}

.hero-media {
  transform: scale(1.08);
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(17,18,16,0.55) 0%, rgba(17,18,16,0.35) 40%, rgba(17,18,16,0.88) 100%),
    linear-gradient(90deg, rgba(17,18,16,0.65) 0%, rgba(17,18,16,0.15) 55%, rgba(17,18,16,0.45) 100%);
}

.mask-line {
  overflow: hidden;
  display: block;
  padding-bottom: 0.12em;
  margin-bottom: -0.08em;
}

.mask-line > span {
  display: block;
  will-change: transform;
}

.img-fallback { background-color: #2a2b28; }

.category-panel .panel-img,
.product-panel .panel-img,
.material-img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-panel:hover .panel-img,
.product-panel:hover .panel-img {
  transform: scale(1.04);
}

.category-panel .panel-title,
.product-panel .panel-title {
  transition: transform 0.4s ease;
}

.category-panel:hover .panel-title,
.product-panel:hover .panel-title {
  transform: translateY(-3px);
}

.accent-bar {
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width 0.45s ease;
}

.category-panel:hover .accent-bar,
.product-panel:hover .accent-bar {
  width: 48px;
}

.flow-item {
  opacity: 0.4;
  transition: opacity 0.4s ease, border-color 0.4s ease;
  border-color: rgba(201, 193, 179, 0.15);
}

.flow-item.is-active {
  opacity: 1;
  border-color: rgba(214, 255, 63, 0.45);
}

.flow-progress {
  transform-origin: left center;
  transform: scaleX(0);
}

.flow-progress-v {
  transform-origin: top center;
  transform: scaleY(0);
}

.workflow-step {
  opacity: 0.35;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}

.workflow-step.is-active {
  opacity: 1;
  border-color: var(--lime);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-lime:hover {
  background: #e4ff6e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(214, 255, 63, 0.18);
}

.btn-outline {
  border: 1px solid rgba(242, 240, 233, 0.35);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(214, 255, 63, 0.06);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-dark:hover {
  background: #000;
  color: var(--lime);
}

.field {
  background: rgba(242, 240, 233, 0.04);
  border: 1px solid rgba(201, 193, 179, 0.22);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.field:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(214, 255, 63, 0.04);
}

.wa-float {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.28);
}

.mobile-nav {
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.section-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.quality-clip {
  clip-path: inset(0 0 100% 0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-media { transform: none !important; }
  .quality-clip { clip-path: none !important; }
  .flow-item, .workflow-step { opacity: 1 !important; }
}

.hero-headline {
  font-size: clamp(2.5rem, 8.2vw, 7rem);
  line-height: 0.92;
}

.hero-line {
  white-space: nowrap;
}

.nav-link.is-current {
  color: var(--lime);
}

.alert-success {
  border: 1px solid rgba(214, 255, 63, 0.35);
  background: rgba(214, 255, 63, 0.08);
  color: var(--cream);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.alert-error {
  border: 1px solid rgba(255, 100, 100, 0.35);
  background: rgba(255, 80, 80, 0.08);
  color: var(--cream);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
