/* ==========================================================================
   Jafferjee Hardware & Machinery — Design System
   Industrial safety brand · Archivo (display) + Barlow (body)
   ========================================================================== */

:root {
  --red: #C4262C;
  --red-dark: #9E1D22;
  --red-tint: #fdeaea;
  --ink: #17181A;
  --ink-2: #202226;
  --ink-3: #2b2e33;
  --hi-vis: #F5C518;          /* functional hazard-yellow micro-accent */
  --cream: #F2F3F3;           /* true cool-neutral surface (not warm cream) */
  --surface-2: #E9EBEC;
  --line: #E1E4E6;
  --line-strong: #CBD0D3;
  --muted: #66707A;
  --muted-2: #4A535B;
  --muted-3: #8B949C;
  --white: #fff;

  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Barlow', system-ui, sans-serif;

  --container: 1280px;
  --radius: 14px;
  --radius-sm: 6px;

  --shadow-sm: 0 14px 30px rgba(15,18,20,.08);
  --shadow-md: 0 24px 50px rgba(15,18,20,.13);
  --shadow-lg: 0 34px 70px rgba(15,18,20,.20);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-expo: cubic-bezier(.16,1,.3,1);       /* ease-out-expo — entrances */
  --ease-quart: cubic-bezier(.25,1,.5,1);      /* ease-out-quart — hovers */
  --header-h: 84px;

  /* Semantic z-index scale */
  --z-sticky: 40;
  --z-mobilecta: 70;
  --z-fab: 90;
  --z-header: 100;
  --z-drawer: 110;
  --z-modal: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.01em; }
::selection { background: var(--red); color: #fff; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
html { -webkit-tap-highlight-color: rgba(196,38,44,.16); }
a, button, .btn, label, summary, .hero-chip, .hero-arrow, .social-btn, .chip { touch-action: manipulation; }
.mobile-nav, .lightbox { overscroll-behavior: contain; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.section { padding: 84px 0; }
.section--tight { padding: 64px 0; }
.eyebrow {
  color: var(--red); font-family: var(--display); font-weight: 800;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head h2 { color: var(--ink); font-size: clamp(30px, 4.2vw, 44px); font-weight: 900; margin-top: 12px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 6px;
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 800; font-size: 15px;
  padding: 16px 28px; border-radius: 5px; border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(196,38,44,.28); }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 12px 26px rgba(196,38,44,.38); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: #d9d4cf; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eee; color: var(--ink); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: #ffffff33; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 18px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); background: rgba(255,255,255,.95); }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .3s var(--ease);
}
.site-header.scrolled .header-inner { padding-top: 11px; padding-bottom: 11px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 50px; width: 50px; object-fit: cover; border-radius: 8px; transition: height .3s var(--ease), width .3s var(--ease); }
.site-header.scrolled .brand img { height: 44px; width: 44px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: var(--display); font-weight: 900; color: var(--ink); font-size: 20px; letter-spacing: -.01em; }
.brand__name span { color: var(--red); font-size: 9.5px; font-weight: 700; letter-spacing: .3em; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a.nav-link {
  position: relative; color: var(--ink); font-weight: 600; font-size: 15px; padding: 6px 0;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2.5px;
  background: var(--red); border-radius: 2px; transition: right .28s var(--ease);
}
.main-nav a.nav-link:hover { color: var(--red); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.active::after { right: 0; }
.main-nav a.nav-link.active { color: var(--ink); }
.nav-cta { background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 13.5px; letter-spacing: .06em; padding: 13px 22px; border-radius: 4px; transition: background .18s var(--ease), transform .18s var(--ease); }
.nav-cta:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: 10px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2.2px; background: var(--ink);
  border-radius: 2px; transform: translateX(-50%); transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* Mobile drawer */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(29,28,28,.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 98;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(340px, 86vw);
  background: #fff; z-index: 99; transform: translateX(100%);
  transition: transform .38s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,.16);
  display: flex; flex-direction: column; padding: 26px 26px 40px;
}
body.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav__head { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.mobile-nav a.nav-link { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); padding: 16px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav a.nav-link.active { color: var(--red); }
.mobile-nav .btn { margin-top: 24px; }
.mobile-nav__contact { margin-top: auto; font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.mobile-nav__contact a { color: var(--muted-2); font-weight: 600; }

/* ---------- Hero ---------- */
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(196,38,44,.45)} 70%{box-shadow:0 0 0 9px rgba(196,38,44,0)} 100%{box-shadow:0 0 0 0 rgba(196,38,44,0)} }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--ink); }
.hero-track { position: relative; display: grid; min-height: clamp(560px, 82svh, 760px); }
/* All slides share one grid cell and stack; the cell (and track) grows to fit
   the tallest slide's content, so tall copy never spills over the controls. */
.hero-slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease);
}
/* Dedicated background layer — always covers; the zoom is a transform,
   so the image can never lose 'cover' or tile on narrow screens. */
.hero-slide__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  will-change: transform;
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(20,19,19,.90) 0%, rgba(20,19,19,.66) 40%, rgba(20,19,19,.12) 72%, rgba(20,19,19,.30) 100%),
    linear-gradient(0deg, rgba(20,19,19,.55) 0%, rgba(20,19,19,0) 32%);
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide.is-active .hero-slide__bg { animation: heroZoom 12s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }

.hero-slide__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--container);
  margin: 0 auto; display: flex; align-items: center;
  padding-block: clamp(60px, 9vh, 104px) clamp(112px, 15vh, 152px);
  padding-inline: 48px;
}
.hero-copy2 { color: #fff; max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: .18em;
  text-transform: uppercase; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  padding: 9px 16px; border-radius: 40px; margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(196,38,44,.6); animation: pulse 2.4s infinite; }
.hero-copy2 :is(h1, h2) { color: #fff; font-weight: 900; font-size: clamp(42px, 6vw, 82px); line-height: .96; letter-spacing: -.025em; text-wrap: balance; }
.hero-copy2 :is(h1, h2) .accent { color: #fff; position: relative; }
.hero-copy2 :is(h1, h2) .accent::after { content: ""; position: absolute; left: 0; right: 6%; bottom: .06em; height: .14em; background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.hero-slide.is-active :is(h1, h2) .accent::after { animation: heroUnderline .7s var(--ease-expo) .5s forwards; }
@keyframes heroUnderline { to { transform: scaleX(1); } }
.hero-copy2 p { color: #ece9e6; font-size: clamp(16px, 1.5vw, 19.5px); line-height: 1.62; max-width: 480px; margin-top: 24px; }
.hero-actions { display: flex; gap: 13px; margin-top: 34px; flex-wrap: wrap; }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.42); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.hero-meta { color: #dad6d2; font-size: 15px; margin-top: 30px; max-width: 500px; line-height: 1.5; }
.hero-meta::before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--red); border-radius: 2px; vertical-align: middle; margin-right: 13px; margin-top: -3px; }
.hero-meta strong { color: #fff; font-weight: 800; }

/* Entry animation for active slide content */
.hero-slide .anim { opacity: 0; transform: translateY(22px); }
.hero-slide.is-active .anim { animation: heroIn .7s var(--ease) forwards; }
.hero-slide.is-active .hero-copy2 .anim:nth-child(1) { animation-delay: .12s; }
.hero-slide.is-active .hero-copy2 .anim:nth-child(2) { animation-delay: .22s; }
.hero-slide.is-active .hero-copy2 .anim:nth-child(3) { animation-delay: .32s; }
.hero-slide.is-active .hero-copy2 .anim:nth-child(4) { animation-delay: .42s; }
.hero-slide.is-active .hero-copy2 .anim:nth-child(5) { animation-delay: .52s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Controls */
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: clamp(22px, 3.5vh, 42px); z-index: 4;
  max-width: var(--container); margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-chip {
  position: relative; overflow: hidden; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 11px 20px; border-radius: 40px;
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .01em;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.hero-chip:hover { background: rgba(255,255,255,.22); }
.hero-chip.active { background: var(--red); border-color: var(--red); }
.hero-chip__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #fff; opacity: .9; }
.hero-chip.active .hero-chip__bar { animation: chipFill var(--hero-delay, 6000ms) linear forwards; }
@keyframes chipFill { from { width: 0; } to { width: 100%; } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.30); color: #fff; display: grid; place-items: center;
  font-size: 20px; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { animation: none; }
  .hero-slide .anim { opacity: 1; transform: none; animation: none; }
  .hero-chip.active .hero-chip__bar { animation: none; }
}

/* ---------- Brand strip ---------- */
.brand-strip { background: #fff; border-bottom: 1px solid var(--line); }
.brand-strip__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 48px; padding: 26px 48px; flex-wrap: wrap; }
.brand-strip__label { color: var(--muted-3); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; }
.brand-word { color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  color: inherit; display: flex; flex-direction: column; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: #d9d4cf; }
.pillar__media { height: 230px; position: relative; overflow: hidden; background: var(--cream); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.08); }
.pillar__body { padding: 28px; }
.pillar__body h3 { color: var(--ink); font-size: 25px; font-weight: 800; }
.pillar__body p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 10px; }
.pillar__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--red); }
.pillar__link .arrow { transition: transform .25s var(--ease); }
.pillar:hover .pillar__link .arrow { transform: translateX(5px); }

/* ---------- Factory band ---------- */
.band { background: var(--red); overflow: hidden; }
.band-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.band-copy { padding: 72px 56px 72px 48px; color: #fff; }
.band-copy--right { padding: 66px 48px 66px 56px; }
.band-copy .kicker { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .22em; color: #ffffffcc; }
.band-copy h2 { font-size: clamp(34px, 4.6vw, 50px); font-weight: 900; margin-top: 16px; line-height: .98; }
.band-copy p { font-size: 17px; line-height: 1.6; margin-top: 20px; opacity: .94; max-width: 460px; }
.band-media { position: relative; min-height: 440px; overflow: hidden; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; transition: transform .35s var(--ease-quart), box-shadow .35s var(--ease-quart), border-color .35s var(--ease-quart); }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.why-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; }
.why-card .ico svg { width: 24px; height: 24px; }
.why-card .num { display: none; }
.why-card h4 { font-family: var(--display); font-size: 19.5px; font-weight: 800; margin-top: 18px; color: var(--ink); letter-spacing: -.01em; }
.why-card p { color: var(--muted); font-size: 14.5px; line-height: 1.58; margin-top: 9px; }

/* ---------- Sectors ---------- */
.sectors { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; max-width: 980px; margin: 0 auto; }
.chip {
  background: var(--cream); color: #3a3530; padding: 11px 20px; border-radius: 40px;
  font-weight: 600; font-size: 15px; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  cursor: default;
}
.chip:hover { background: var(--red); color: #fff; transform: translateY(-3px); }

/* ---------- Quote CTA ---------- */
.cta-panel {
  background: var(--ink); border-radius: 18px; padding: 64px 56px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(196,38,44,.22), transparent 70%); }
.cta-panel h2 { color: #fff; font-size: clamp(32px, 4vw, 44px); font-weight: 900; line-height: 1; }
.cta-panel p { color: #bdb7b2; font-size: 18px; margin-top: 14px; max-width: 460px; }
.cta-panel__meta { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; color: #e7e3df; font-size: 15px; font-weight: 600; }
.cta-panel__meta a { color: #e7e3df; }
.cta-panel__meta a:hover { color: #fff; }
.cta-panel__actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #8f8984; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 60px 48px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid #ffffff14; padding-bottom: 38px; }
.footer-brand__row { display: flex; align-items: center; gap: 12px; }
.footer-brand__row img { height: 46px; width: 46px; object-fit: cover; border-radius: 7px; background: #fff; }
.footer-brand__row b { font-family: var(--display); font-weight: 900; color: #fff; font-size: 18px; display: block; line-height: 1; }
.footer-brand__row span { color: var(--red); font-size: 8.5px; font-weight: 700; letter-spacing: .3em; margin-top: 3px; display: block; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; line-height: 1.65; max-width: 330px; }
.footer-col h4 { color: #fff; font-family: var(--display); font-weight: 800; font-size: 12.5px; letter-spacing: .12em; margin-bottom: 16px; }
.footer-col a, .footer-col p { color: #b8b2ad; font-size: 14.5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { display: block; line-height: 1.9; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom .tag { letter-spacing: .14em; font-weight: 600; }
.footer-social { margin-top: 22px; }
.footer-social__label { display: block; color: #fff; font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -100px; top: -100px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(196,38,44,.18), transparent 70%); }
.page-hero .container { position: relative; padding-top: 70px; padding-bottom: 64px; }
.crumb { font-size: 13px; color: var(--muted-3); font-weight: 600; letter-spacing: .04em; }
.crumb a { color: var(--muted-3); }
.crumb a:hover { color: #fff; }
.crumb .here { color: var(--red); }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 900; margin-top: 18px; line-height: .98; }
.page-hero p { color: #c7c1bc; font-size: 19px; line-height: 1.6; max-width: 660px; margin-top: 18px; }
.jump-nav { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Sticky sub-nav (products) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__inner { max-width: var(--container); margin: 0 auto; padding: 0 48px; display: flex; gap: 6px; overflow-x: auto; }
.subnav a { color: var(--muted-2); font-family: var(--display); font-weight: 700; font-size: 14px; padding: 16px 16px; border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--red); border-bottom-color: var(--red); }

/* ---------- Product category ---------- */
.cat-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 48px; }
.cat-head .cat-tag { color: var(--red); font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .16em; }
.cat-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 900; margin-top: 8px; color: var(--ink); }
.cat-head p { color: var(--muted-2); font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 520px; }
.cat-banner { height: 300px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-banner:hover img { transform: scale(1.05); }

.ppe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ppe-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; display: flex; flex-direction: column; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.ppe-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.ppe-card__top { display: flex; align-items: baseline; gap: 10px; }
.ppe-card__no { font-family: var(--display); font-weight: 900; color: var(--red); font-size: 14px; }
.ppe-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag-pill { background: var(--cream); color: #4a4540; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 30px; }

.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { background: #fff; border-radius: 12px; padding: 26px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.tool-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.tool-card h3 { font-size: 20px; font-weight: 800; color: var(--ink); }

.garment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.garment-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.garment-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.garment-card__media { width: 160px; flex-shrink: 0; position: relative; overflow: hidden; background: var(--cream); }
.garment-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.garment-card:hover .garment-card__media img { transform: scale(1.07); }
.garment-card__body { padding: 22px 24px; }
.garment-card__body h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.garment-card__body p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 8px; }

/* ---------- Product gallery (thumbs) ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery__item {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.gallery__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--red); }
.gallery__thumb { aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s var(--ease); }
.gallery__item:hover .gallery__thumb img { transform: scale(1.08); }
.gallery__cap { padding: 10px 12px 14px; font-size: 12.5px; font-weight: 600; color: var(--muted-2); text-align: center; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,19,19,.88); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s; padding: 30px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage { max-width: 640px; width: 100%; text-align: center; }
.lightbox__img { background: #fff; border-radius: 16px; padding: 26px; max-height: 74vh; display: flex; align-items: center; justify-content: center; }
.lightbox__img img { max-height: 66vh; width: auto; object-fit: contain; transform: scale(.96); transition: transform .3s var(--ease); }
.lightbox.open .lightbox__img img { transform: scale(1); }
.lightbox__cap { color: #fff; font-family: var(--display); font-weight: 700; margin-top: 18px; font-size: 18px; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---------- About: story / stats / values / csr ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.media-frame { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.story-grid p { color: var(--muted-2); font-size: 16.5px; line-height: 1.7; margin-top: 16px; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.stat-card { background: var(--cream); border-radius: 12px; padding: 26px; transition: transform .3s var(--ease); }
.stat-card:hover { transform: translateY(-4px); }
.stat-card b { font-family: var(--display); font-weight: 900; font-size: 34px; color: var(--red); display: block; }
.stat-card span { font-size: 13.5px; color: var(--muted); font-weight: 600; margin-top: 4px; display: block; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { background: var(--ink-2); border-radius: var(--radius); padding: 40px; border-top: 3px solid var(--red); }
.vm-card .kicker { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .18em; color: var(--red); }
.vm-card p { line-height: 1.5; margin-top: 16px; }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value-card { border: 1px solid var(--line); border-radius: 12px; padding: 26px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); background: #fff; }
.value-card:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-5px); }
.value-card .bar { width: 38px; height: 4px; background: var(--red); border-radius: 3px; }
.value-card h4 { font-family: var(--display); font-size: 18px; font-weight: 800; margin-top: 16px; color: var(--ink); }
.value-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 8px; }

.csr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.csr-card { background: #fff; border-radius: var(--radius); padding: 38px; }
.csr-card h3 { font-size: 26px; font-weight: 900; color: var(--ink); }
.csr-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.csr-list li { display: flex; gap: 12px; color: #4a4540; font-size: 15.5px; line-height: 1.5; }
.csr-list li .m { color: var(--red); font-weight: 900; }

/* Trust / awards */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.trust-card__media { height: 220px; background: var(--cream); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.trust-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.trust-card__body { padding: 20px 24px; }
.trust-card__body b { font-family: var(--display); font-size: 16px; color: var(--ink); display: block; }
.trust-card__body span { font-size: 13.5px; color: var(--muted); display: block; margin-top: 4px; }

/* Client logos */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: center; }
.client-logo { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.client-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.client-logo img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,.07); }
.form-card h2 { font-size: 26px; font-weight: 900; color: var(--ink); }
.form-note { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.field:first-child, .field-row .field { margin-top: 0; }
.field > span { font-size: 13px; font-weight: 700; color: #3a3530; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 13px 14px; font-size: 15px;
  background: #fff; font-family: var(--body); color: var(--ink); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a49d97; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,38,44,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); background: #fff7f7; }
.field-error { color: var(--red-dark); font-size: 12.5px; font-weight: 600; display: none; }
.field.invalid .field-error { display: block; }
.form-alert { margin-top: 14px; background: var(--red-tint); color: var(--red-dark); font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 8px; }
.form-foot { text-align: center; color: var(--muted-3); font-size: 13px; margin-top: 14px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; font-size: 32px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-family: var(--display); animation: pop .4s var(--ease); }
@keyframes pop { 0%{transform:scale(.3);opacity:0} 60%{transform:scale(1.1)} 100%{transform:scale(1);opacity:1} }
.form-success h2 { font-size: 30px; font-weight: 900; margin-top: 22px; color: var(--ink); }
.form-success p { color: var(--muted-2); font-size: 16.5px; line-height: 1.6; margin-top: 12px; max-width: 420px; margin-left: auto; margin-right: auto; }
.form-success .actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

.info-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 32px; }
.info-card h3 { font-size: 20px; font-weight: 800; color: #fff; }
.info-block { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.info-block .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--red); }
.info-block .val { margin-top: 6px; font-size: 15px; line-height: 1.9; }
.info-block .val a { color: #e7e3df; display: block; }
.info-block .val a:hover { color: #fff; }
.info-block .val p { color: #e7e3df; line-height: 1.6; margin-top: 6px; }
.map-embed { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); height: 260px; border: 1px solid var(--line); }
.map-embed--wide { height: clamp(320px, 45vh, 460px); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(0,0,0,.22); transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s; }
.fab svg { width: 26px; height: 26px; }
.fab-whatsapp { bottom: 22px; background: #25D366; color: #fff; }
.fab-whatsapp:hover { transform: scale(1.08); color: #fff; }
.fab-top { bottom: 90px; background: var(--ink); color: #fff; font-size: 20px; opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }
.fab-top:hover { transform: translateY(-3px); color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo); }
.reveal.in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--scale { transform: scale(.94); }
.reveal--clip { opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-expo); }
.reveal--clip.in { clip-path: inset(0 0 0 0); }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }
.reveal[data-delay="5"] { transition-delay: .35s; }
.reveal[data-delay="6"] { transition-delay: .42s; }

/* ---------- Social buttons ---------- */
.socials { display: flex; align-items: center; gap: 10px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--muted-2); background: #fff;
  transition: transform .2s var(--ease-quart), background .2s var(--ease-quart), color .2s var(--ease-quart), border-color .2s var(--ease-quart);
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-3px); color: #fff; background: var(--red); border-color: var(--red); }
.social-btn.social-btn--ig:hover { background: #E1306C; border-color: #E1306C; }
.social-btn.social-btn--fb:hover { background: #1877F2; border-color: #1877F2; }
/* dark-surface variant (footer / info card) */
.socials--dark .social-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #d7dade; }
.socials--dark .social-btn:hover { color: #fff; }

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilecta);
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(15,18,20,.08);
}
.mobile-cta .btn { flex: 1; justify-content: center; padding: 14px 12px; font-size: 14.5px; }

/* ---------- Clients marquee ---------- */
.clients-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { display: flex; gap: 20px; width: max-content; animation: marquee 34s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track .client-logo { width: 200px; flex: 0 0 auto; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav .nav-link, .main-nav .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .hero-track { min-height: clamp(520px, 76svh, 680px); }
  .band-grid, .split, .story-grid, .cat-head, .contact-grid, .vm-grid, .csr-grid { grid-template-columns: 1fr; }
  .band-copy, .band-copy--right { padding: 56px 40px; }
  .band-copy--right { order: 2; }
  .band-media { min-height: 300px; order: 1; }
  .cta-panel { grid-template-columns: 1fr; padding: 48px 36px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .section { padding: 60px 0; }
  .header-inner { padding: 14px 24px; }
  .pillars { grid-template-columns: 1fr; }
  .ppe-grid, .tools-grid, .garment-grid { grid-template-columns: 1fr; }
  .garment-card { flex-direction: column; }
  .garment-card__media { width: 100%; height: 200px; }
  .why-grid, .values-grid, .stat-cards, .clients { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .story-grid { gap: 34px; }
  .hero-track { min-height: clamp(480px, 74svh, 600px); }
  .hero-slide__inner { padding-inline: 24px; padding-block-end: 106px; }
  .hero-controls { padding: 0 24px; bottom: 20px; flex-wrap: wrap; gap: 14px; }
  .hero-arrow { width: 46px; height: 46px; }
  .band-copy, .band-copy--right { padding: 44px 24px; }
  .brand-strip__inner { gap: 24px; padding: 22px 24px; }
  /* Sticky conversion bar takes over from the floating WhatsApp button */
  .mobile-cta { display: flex; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .fab-whatsapp { display: none; }
  .fab-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: 16px; width: 46px; height: 46px; }
}
@media (max-width: 600px) {
  .hero-eyebrow { font-size: 10px; letter-spacing: .09em; padding: 8px 13px; }
  .hero-actions { width: 100%; max-width: 340px; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 15px 18px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid, .values-grid, .stat-cards, .clients, .gallery { grid-template-columns: 1fr 1fr; }
  .hero-copy2 :is(h1, h2) { font-size: clamp(32px, 8vw, 44px); }
  .hero-chip { padding: 9px 15px; font-size: 13px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal--clip { clip-path: none; }
  .clients-track { animation: none; }
  .hero-copy2 :is(h1, h2) .accent::after { transform: scaleX(1); }
}
