:root {
  --steel-900: #1c1912;
  --steel-800: #292418;
  --steel-700: #3d3520;
  --steel-600: #7a6a35;
  --steel-100: #f3ecd8;
  --steel-50: #faf7ee;
  --border-warm: #e8ddb8;
  --orange: #f0b429;
  --orange-dark: #d99a12;
  --ink: #201c14;
  --gray: #6b6252;
  --radius: 4px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 8px 20px rgba(240,180,41,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }
.btn-ghost { color: var(--steel-800); border: 2px solid var(--steel-800); padding: 10px 20px; font-size: 0.9rem; }
.btn-ghost:hover { background: var(--steel-800); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28,25,18,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 3px 0 var(--orange);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo { display: flex; align-items: center; color: #fff; }
.logo-img { height: 44px; width: auto; border-radius: 6px; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: #e4dcc4;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: var(--orange); border-color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--steel-900) 0%, var(--steel-700) 100%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 60px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-content { max-width: 620px; }
.hero-visual { display: flex; justify-content: center; }
.rack-illustration { width: 100%; max-width: 320px; }
.floaty { transform-origin: center; animation: float 6s ease-in-out infinite; }
.floaty-a { animation-delay: 0s; }
.floaty-b { animation-delay: 0.8s; }
.floaty-c { animation-delay: 1.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.shelf { transform-origin: left center; }
.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 1.1rem;
  color: #d8cfb4;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 44px; list-style: none; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--orange); font-weight: 800; }
.hero-stats span { font-size: 0.8rem; color: #a89b78; letter-spacing: 0.05em; text-transform: uppercase; }

/* Section shared */
section { padding: 90px 0; }
.section-tag {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-tag-light { color: #f5d98a; }
.products h2, .gallery h2, .location h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--steel-900);
  margin-bottom: 46px;
  text-transform: uppercase;
  max-width: 640px;
}

/* Products — bento asymmetric grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 22px;
}
.card-feature { grid-column: span 2; grid-row: span 2; }
.card-wide { grid-column: span 2; }
.product-card {
  position: relative;
  background: var(--steel-50);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 30px 24px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(240,180,41,0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(28,25,18,0.1);
  border-color: var(--orange);
}
.card-feature h3 { font-size: 1.5rem; }
.card-feature p { font-size: 1rem; max-width: 46ch; }
.product-icon {
  width: 52px; height: 52px;
  color: var(--steel-600);
  margin-bottom: 18px;
}
.product-card:hover .product-icon { color: var(--orange); }
.product-card h3 {
  font-size: 1.15rem;
  color: var(--steel-900);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.product-card p { color: var(--gray); font-size: 0.92rem; }

/* Why us */
.why-us { background: var(--steel-900); color: #fff; }
.why-us h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 46px;
  text-transform: uppercase;
  max-width: 640px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 8px; text-transform: uppercase; }
.why-item p { color: #c2b896; font-size: 0.92rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 140px;
  gap: 18px;
}
.gallery-tile {
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  position: relative;
  overflow: hidden;
  grid-row: span 2;
}
.tile-big { grid-column: span 2; grid-row: span 3; }
.tile-tall { grid-row: span 3; }
.gallery-tile span {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}
.gallery-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,25,18,0) 40%, rgba(28,25,18,0.8) 100%);
}
.gallery-tile {
  background-color: var(--steel-800);
  background-size: cover;
  background-position: center;
}
.tile-1 { background-image: url('images/gallery-racks.jpg'); }
.tile-2 { background-image: url('images/gallery-counter.jpg'); }
.tile-3 { background-image: url('images/gallery-wallrack.jpg'); }
.tile-4 { background-image: url('images/gallery-trolley.jpg'); }
.tile-5 { background-image: url('images/gallery-textile.jpg'); }
.tile-6 { background-image: url('images/gallery-bins.jpg'); }
.gallery-note { margin-top: 26px; color: var(--gray); font-size: 0.95rem; }
.gallery-note a { color: var(--orange); font-weight: 600; }

/* Location */
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.location-address { font-size: 1.05rem; margin-bottom: 22px; color: var(--ink); }
.location-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.location-list a { color: var(--steel-600); font-weight: 600; }
.location-list a:hover { color: var(--orange); }
.location-map { height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-warm); }

/* CTA banner */
.cta-banner { background: var(--orange); color: var(--ink); text-align: center; }
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); text-transform: uppercase; margin-bottom: 12px; }
.cta-banner p { margin-bottom: 30px; color: rgba(32,28,20,0.75); font-size: 1.05rem; }
.cta-banner .hero-cta { justify-content: center; }
.cta-banner .btn-primary { background: var(--steel-900); color: #fff; }
.cta-banner .btn-primary:hover { background: var(--steel-800); }
.cta-banner .btn-outline-light { color: var(--ink); border-color: rgba(32,28,20,0.45); }
.cta-banner .btn-outline-light:hover { background: rgba(32,28,20,0.08); }

/* Footer */
.site-footer { background: var(--steel-900); color: #c2b896; padding: 60px 0 20px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-img { height: 52px; }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 280px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-copy { text-align: center; font-size: 0.8rem; padding-top: 22px; color: #837a5f; }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 60;
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* Magnetic buttons — JS sets --mx/--my translate via inline transform */
.magnetic { will-change: transform; }

/* Tactile feedback */
.btn:active { transform: scale(0.97); }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 260px; margin: 0 auto 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .card-feature, .card-wide { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .location-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--steel-900);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 3px solid var(--orange);
  }
  .main-nav.open { max-height: 320px; }
  .main-nav a { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.06); }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .hero { padding: 70px 0 60px; }
  .product-grid { grid-template-columns: 1fr; }
  .card-feature, .card-wide { grid-column: span 1; grid-row: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .tile-big { grid-column: span 2; }
  section { padding: 60px 0; }
  [data-reveal] { transition-delay: 0s !important; }
}
