/* ---------- Hero Full-BG ---------- */
.hero {
  background: var(--dark);
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,19,15,0.9) 0%, rgba(23,19,15,0.65) 40%, rgba(23,19,15,0.3) 70%, rgba(23,19,15,0.4) 100%);
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,19,15,0.35) 0%, rgba(23,19,15,0) 22%, rgba(23,19,15,0) 78%, rgba(23,19,15,0.55) 100%);
  z-index: 1;
}
.hero-main {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}
.hero-content {
  max-width: 640px;
  padding: 0 0 0 48px;
}
.hero-indicator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.hero-indicator .num {
  font-family: var(--font-display);
  font-size: .85rem;
  color: var(--gold);
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(238,225,210,.5);
}
.hero-dots span.active {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-content h1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  color: var(--white);
  overflow: hidden;
  line-height: 1.0;
}
.hero-content h1 .line {
  display: block;
  overflow: hidden;
}
.hero-content h1 .line span {
  display: block;
  color: var(--gold);
}
.hero-content h1 .line:first-child span {
  color: var(--white);
}
.hero-content p {
  max-width: 460px;
  margin: 24px 0 36px;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------- Stats Banner (compact strip below hero) ---------- */
.stats-banner {
  background: var(--cream);
  border-bottom: 1px solid var(--beige);
  padding: 30px 0;
}
.stats-banner .wrap {
  width: 100%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stats-grid .stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-left: 1px solid var(--beige);
}
.stats-grid .stat-item:first-child {
  border-left: none;
  padding-left: 0;
}
.stats-grid .stat-item svg {
  width: 26px;
  height: 26px;
  color: var(--brown);
  flex-shrink: 0;
}
.stats-grid .stat-item b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark);
  line-height: 1;
  display: block;
}
.stats-grid .stat-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 4px;
}

/* ---------- Product Categories ---------- */
.categories {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 0 !important;
  --section-bg-desktop:url("");
  --section-bg-mobile:url("");
}
.categories .wrap {
  width: 100%;
}
.categories .section-head {
  color: var(--cream);
  margin-bottom: 0;
  align-items: center;
}
.categories .section-head h2 {
  color: var(--cream);
}

.cat-row {
  display: flex;
  height: 60vh;
  gap: 2px;
  width: 100%;
  margin-top: 32px;
}

.cat-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.25, 1, 0.3, 1);
}
.cat-card.active {
  flex: 2.5;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.8s var(--ease);
}
.cat-card.active img {
  transform: scale(1);
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,19,15,0.9), rgba(23,19,15,0.1) 60%);
  z-index: 1;
}
.cat-card .cat-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  color: var(--cream);
  z-index: 2;
}
.cat-card .cat-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: .85rem;
  display: block;
  margin-bottom: 8px;
}
.cat-card h3 {
  font-size: 1.25rem;
  line-height: 1.15;
}
.cat-card .cat-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(238,225,210,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  transition: all 0.3s var(--ease);
}
.cat-card.active .cat-arrow {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateX(4px);
}
.cat-card.active .cat-arrow svg {
  color: var(--dark);
}
.cat-card .cat-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--cream);
}

/* ---------- Our Story ---------- */
.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--light-cream);
  padding: 0;              /* was: padding: 40px 0; */
  --section-bg-desktop:url("");
  --section-bg-mobile:url("");
}
.story-media {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-content {
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  transform: none !important;
  will-change: auto;
}
.story-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 18px 0 24px;
}
.story-content .accent {
  color: var(--brown);
}
.thumb-rail {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
}
.thumb-rail button {
  width: 60px;
  height: 44px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  background: none;
  opacity: .55;
  transition: all .3s var(--ease);
}
.thumb-rail button.active {
  border-color: var(--gold);
  opacity: 1;
}
.thumb-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Brand Logos Grid Fix (Unified & Strict Alignment) ---------- */
.brands {
  background: var(--light-cream);
  display: flex;
  align-items: center;
  padding: 40px 0;
  --section-bg-desktop:url("");
  --section-bg-mobile:url("");
}
.brands .wrap {
  width: 100%;
}

.brand-collage,
.brands-grid,
.partners-grid,
.brand-cards-container {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}

.brand-tile,
.brand-title,
.brand-card,
.partner-card {
  background: var(--white, #ffffff) !important;
  border: 1px solid var(--beige, #e5e0d8) !important;
  border-radius: 6px !important;
  height: 140px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  margin: 0 !important;
  transform: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.brand-tile img,
.brand-title img,
.brand-card img,
.partner-card img {
  max-width: 80% !important;
  max-height: 70% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  transition: transform 0.3s ease !important;
}

.brand-tile:hover,
.brand-title:hover,
.brand-card:hover,
.partner-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--gold, #b8874a) !important;
  box-shadow: 0 8px 20px rgba(23,19,15,0.08) !important;
}

.brand-tile:hover img,
.brand-title:hover img,
.brand-card:hover img,
.partner-card:hover img {
  transform: scale(1.08) !important;
}

/* ---------- Featured Products ---------- */
.featured-products {
  background: var(--light-cream);
  display: flex;
  align-items: center;
  padding: 0 0 40px;
  --section-bg-desktop:url("");
  --section-bg-mobile:url("");
}
.featured-products .wrap {
  width: 100%;
}
.featured-products .section-head {
  margin-bottom: 24px;
}
.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fp-card {
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.fp-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(23,19,15,0.1);
}
.fp-image {
  height: 190px;
  overflow: hidden;
}
.fp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.fp-card:hover .fp-image img {
  transform: scale(1.1);
}
.fp-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.fp-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.fp-content p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
  flex-grow: 1;
}
.fp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
}
.fp-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.fp-card:hover .fp-link svg {
  transform: translateX(4px);
}

/* ---------- Sector Solutions ---------- */
.sectors {
  background: var(--dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  padding: 0 0 40px;
  --section-bg-desktop:url("");
  --section-bg-mobile:url("");
}
.sectors .wrap {
  width: 100%;
}
.sectors .section-head {
  margin-bottom: 24px;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sector-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(217,200,181,0.12);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.sector-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.sector-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.sector-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,19,15,0.7), transparent 50%);
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}
.sector-card:hover .sector-image::after {
  opacity: 0;
}
.sector-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.sector-card:hover .sector-image img {
  transform: scale(1.12);
}
.sector-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  transition: background 0.4s var(--ease);
}
.sector-card:hover .sector-content {
  background: rgba(184,135,74,0.08);
}
.sector-content h3 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.sector-content p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Why Choose Us ---------- */
.why {
  background: var(--light-cream);
  display: flex;
  align-items: center;
  padding: 40px 0;
  --section-bg-desktop:url("");
  --section-bg-mobile:url("");
}
.why .wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.why-top {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  margin-bottom: 40px;
  align-items: end;
}
.why-top h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}
.why-top p {
  color: var(--muted);
  font-size: .98rem;
  margin: 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
.why-card {
  height: 240px;
  width: 100%;
}
.why-card .flip-card-front {
  background: var(--white);
  border: 1px solid var(--beige);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.why-card .flip-card-front svg {
  width: 36px;
  height: 36px;
  color: var(--brown);
  margin-bottom: 16px;
}
.why-card .flip-card-front h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.why-card .flip-card-front p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* ---------- Commitment ---------- */
.commitment {
  display: flex;
  align-items: center;
  padding: 40px 0;
  --section-bg-desktop:url("");
  --section-bg-mobile:url("");
}
.commitment .wrap {
  width: 100%;
}
.commitment-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
}
.commitment-media {
  position: relative;
  height: 100%;
}
.commitment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.commitment-copy {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: none !important;
  will-change: auto;
}
.commitment-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 22px;
}
.commitment-copy p {
  color: var(--deep-brown);
  margin-bottom: 16px;
  font-size: .98rem;
}
.commitment-copy .btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* ---------- Mission / Vision / Values (compact banner) ---------- */
.mvv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mvv-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-left: 24px;
  border-left: 1px solid var(--beige);
}
.mvv-item:first-child {
  border-left: none;
  padding-left: 0;
}
.mvv-item svg {
  width: 28px;
  height: 28px;
  color: var(--brown);
  flex-shrink: 0;
  margin-top: 2px;
}
.mvv-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.mvv-item p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile/Tablet optimizations)
   ========================================================================== */
@media (max-width: 1199px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid .stat-item {
    border-left: none;
    padding-left: 0;
    margin-bottom: 14px;
  }
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 0 48px;
  }
  .cat-row {
    flex-direction: column;
    height: auto;
  }
    .cat-card {
    flex: 0 0 100px;
    height: 100px;
  }
  .cat-card.active {
    flex: 0 0 200px;
    height: 200px;
  }
  .story {
    grid-template-columns: 1fr;
    padding-top: 0 !important;
  }
  .story-media {
    height: 350px;
  }
  .story-content {
    padding: 24px 48px 0;
  }
  .thumb-rail {
    right: 12px;
  }
  .brand-collage,
  .brands-grid,
  .partners-grid,
  .brand-cards-container {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .commitment-inner {
    grid-template-columns: 1fr;
  }
  .commitment-media {
    height: 300px;
  }
  .commitment-copy {
    padding: 80px;
  }
  .mvv-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mvv-item {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .hero-content {
    padding: 0 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-content, .commitment-copy {
    padding: 20px 20px 30px;
  }
  .brand-collage,
  .brands-grid,
  .partners-grid,
  .brand-cards-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .brand-tile,
  .brand-title,
  .brand-card,
  .partner-card {
    height: 110px !important;
  }
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .fp-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .hero {
    height: 100svh;
    height: 100dvh;
    min-height: 560px;
  }
  .hero-main {
    min-height: 100%;
  }
}

/* ---------- Featured Products marquee ---------- */
.fp-marquee {
  overflow: hidden;
  padding: 14px 0 18px;               /* room for the hover lift + shadow */
  /* soft fade on the left/right edges */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.fp-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: fp-scroll 45s linear infinite;   /* bigger number = slower */
}
.fp-marquee:hover .fp-track,
.fp-marquee:focus-within .fp-track {
  animation-play-state: paused;               /* pause while hovering */
}
.fp-track .fp-card {
  flex: 0 0 300px;                            /* card width */
}
@keyframes fp-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }  /* one full set + half the gap */
}

@media (max-width: 640px) {
  .fp-track { animation-duration: 35s; gap: 16px; }
  .fp-track .fp-card { flex-basis: 250px; }
  @keyframes fp-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - 8px)); }
  }
}

/* Respect "reduce motion": no animation, just a swipeable row of the 5 real cards */
@media (prefers-reduced-motion: reduce) {
  .fp-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .fp-track { animation: none; }
  .fp-track .fp-card[aria-hidden="true"] { display: none; }
}