/* =====================================================================
   VELONEX CHEMICALS — styles.css
   primary #71297a (purple, reserved for CTAs + active state) · #5D6576
   slate (secondary text) · white ground. Sora display / Rubik body.
   Deliberately light: 600 is the heaviest weight on the page.
   ===================================================================== */

:root {
  --brand: #71297a;
  --brand-ink: #5a2062;
  --brand-deep: #43164a;
  --brand-050: #f7eef8;
  --brand-100: #efdcf1;
  --brand-200: #e0bce4;

  --slate: #5d6576;
  --slate-600: #4b5262;
  --ink: #25272f;
  --ink-2: #414755;

  --gold: #c79a3d;

  --bg: #ffffff;
  --surface: #fbfafc;
  --surface-2: #f4f4f7;

  --border: #eae8ee;
  --border-2: #e0dbe6;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm:
    0 1px 2px rgba(37, 39, 47, 0.05), 0 1px 3px rgba(37, 39, 47, 0.04);
  --shadow-md:
    0 12px 30px -10px rgba(37, 39, 47, 0.12),
    0 3px 10px -4px rgba(37, 39, 47, 0.06);
  --shadow-lg:
    0 34px 70px -20px rgba(67, 22, 74, 0.2),
    0 12px 28px -12px rgba(37, 39, 47, 0.1);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --step--1: clamp(0.83rem, 0.8rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.16vw, 1.06rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.34vw, 1.28rem);
  --step-2: clamp(1.35rem, 1.16rem + 0.9vw, 1.72rem);
  --step-3: clamp(1.6rem, 1.32rem + 1.35vw, 2.3rem);
  --step-4: clamp(1.9rem, 1.45rem + 1.9vw, 2.7rem);

  --font-body:
    "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", var(--font-body);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;

  accent-color: var(--brand);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

/* browser surfaces themed from the palette */
::selection {
  background: var(--brand);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 5px;
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) var(--surface);
}
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--border-2);
  border-radius: 99px;
  border: 3px solid var(--surface);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--slate);
}

.visually-hidden,
.skip-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed !important;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  clip: auto;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.section {
  padding-block: clamp(64px, 8.5vw, 116px);
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
}
.icon--brand {
  color: var(--brand);
  width: 24px;
  height: 24px;
}

/* buttons */
.btn {
  --_bg: var(--brand);
  --_fg: #fff;
  --_bd: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-0);
  line-height: 1;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  background: var(--_bg);
  color: var(--_fg);
  border: 1.5px solid var(--_bd);
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn .icon {
  width: 1.12em;
  height: 1.12em;
}
.btn--primary {
  box-shadow: 0 12px 26px -14px rgba(113, 41, 122, 0.55);
}
.btn--primary:hover {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -16px rgba(113, 41, 122, 0.6);
}
.btn--primary:active {
  transform: translateY(0);
}
.btn--ghost {
  --_bg: transparent;
  --_fg: var(--brand);
  --_bd: var(--border-2);
}
.btn--ghost:hover {
  --_bd: var(--brand);
  background: var(--brand-050);
  transform: translateY(-2px);
}
.btn--ondark {
  --_bg: rgba(255, 255, 255, 0.1);
  --_fg: #fff;
  --_bd: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn--ondark:hover {
  --_bg: #fff;
  --_fg: var(--brand);
  --_bd: #fff;
  transform: translateY(-2px);
}
.btn--onbrand {
  --_bg: #fff;
  --_fg: var(--brand);
  --_bd: #fff;
}
.btn--onbrand:hover {
  --_bg: var(--brand-050);
  transform: translateY(-2px);
}
.btn--onbrand-ghost {
  --_bg: transparent;
  --_fg: #fff;
  --_bd: rgba(255, 255, 255, 0.5);
}
.btn--onbrand-ghost:hover {
  --_bg: rgba(255, 255, 255, 0.12);
  --_bd: #fff;
  transform: translateY(-2px);
}
.btn--sm {
  padding: 10px 18px;
  min-height: 42px;
  font-size: var(--step--1);
}
.btn--lg {
  padding: 17px 28px;
  min-height: 54px;
  font-size: var(--step-0);
}
.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--brand);
  font-size: var(--step--1);
}
.link-arrow .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}
.link-arrow--lg {
  font-size: var(--step-0);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur),
    box-shadow var(--dur),
    background var(--dur);
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 22px -16px rgba(37, 39, 47, 0.25);
  background: rgba(255, 255, 255, 0.95);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.header__logo img {
  height: 36px;
  width: auto;
}
.header__nav {
  display: flex;
  gap: 26px;
  margin-inline: auto;
}
.header__nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--ink-2);
  padding: 8px 2px;
  position: relative;
  transition: color var(--dur);
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transition: right var(--dur) var(--ease);
}
.header__nav a:hover {
  color: var(--brand);
}
.header__nav a:hover::after {
  right: 0;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.link-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--slate);
}
.link-phone .icon {
  color: var(--brand);
}
.link-phone:hover {
  color: var(--brand);
}
.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.header__burger .icon {
  width: 22px;
  height: 22px;
}
.mobile-nav {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 16px var(--gutter) 24px;
  overflow: hidden;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

/* hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(23, 15, 26, 0.32) 0%,
      rgba(23, 15, 26, 0.14) 30%,
      rgba(30, 18, 34, 0.72) 76%,
      rgba(28, 16, 32, 0.92) 100%
    ),
    linear-gradient(
      90deg,
      rgba(67, 22, 74, 0.6) 0%,
      rgba(67, 22, 74, 0.12) 56%,
      transparent 100%
    );
}
.hero__inner {
  padding-block: clamp(120px, 16vh, 150px) clamp(76px, 13vh, 118px);
  width: min(100% - (var(--gutter) * 2), var(--wrap));
}
.hero__title {
  max-width: 22ch;
}
.hero__title .line {
  display: block;
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  overflow-wrap: break-word;
}
.hero__title-soft {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 400 !important;
}
.hero__lede {
  margin-top: 22px;
  max-width: 56ch;
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  animation: bob 2.4s var(--ease) infinite;
}
.hero__scroll .icon {
  width: 18px;
  height: 18px;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* trust */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  padding: clamp(28px, 3.6vw, 42px) clamp(16px, 2.2vw, 32px);
  position: relative;
}
.trust__item + .trust__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--border);
}
.trust__item .icon {
  margin-bottom: 14px;
}
.trust__head {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: var(--step-1);
  line-height: 1.3;
}
.trust__sub {
  margin-top: 6px;
  font-size: var(--step--1);
  color: var(--slate);
}

/* section head — stacked, one focused message */
.section__head {
  margin-bottom: clamp(32px, 4.4vw, 54px);
  max-width: 64ch;
}
.section__title {
  font-size: var(--step-3);
  font-weight: 600;
  max-width: 30ch;
}
.section__intro {
  color: var(--slate);
  font-size: var(--step-0);
  max-width: 62ch;
  margin-top: 14px;
}
.section__foot {
  margin-top: clamp(36px, 4.5vw, 56px);
  display: flex;
  justify-content: center;
}
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
}
.w-i {
  display: inline-block;
  will-change: transform;
}
.gsap-ready .hero__title [data-split] {
  opacity: 0;
}

/* ---------- BEST-SELLERS (product cards, image + hover reveal) ---------- */
.bestsellers {
  background: var(--bg);
}
.products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur);
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.product__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-100), var(--brand-050));
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product:hover .product__media img {
  transform: scale(1.06);
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  border: 1px solid var(--brand-200);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.product__reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(43, 14, 48, 0.12),
    rgba(43, 14, 48, 0.92)
  );
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.product__reveal p {
  font-size: var(--step--1);
  line-height: 1.5;
}
.product:hover .product__reveal,
.product:focus-within .product__reveal {
  transform: translateY(0);
}
.product__body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}
.product__stars svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.product__body h3 {
  font-size: var(--step-1);
  font-weight: 600;
}
.product__body .link-arrow {
  margin-top: auto;
  padding-top: 10px;
}
@media (hover: none) {
  .product__reveal {
    position: static;
    transform: none;
    background: none;
    color: var(--slate);
    padding: 14px 18px 0;
    align-items: flex-start;
  }
}

/* ---------- CATEGORIES (image + hover reveal, filterable) ---------- */
.categories {
  background: var(--surface);
}
.filterbar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 30px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step--1);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-2);
  background: #fff;
  color: var(--slate-600);
  cursor: pointer;
  transition:
    background var(--dur),
    color var(--dur),
    border-color var(--dur);
}
.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.cat-card.is-hidden {
  display: none;
}
.cat-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-2);
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cat-card:hover .cat-card__media img {
  transform: scale(1.05);
}
.cat-card__reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(43, 14, 48, 0.12),
    rgba(43, 14, 48, 0.92)
  );
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.cat-card__reveal p {
  font-size: var(--step--1);
  line-height: 1.55;
}
.cat-card:hover .cat-card__reveal,
.cat-card:focus-within .cat-card__reveal {
  transform: translateY(0);
}
.cat-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cat-card__body h3 {
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--ink);
}
.cat-card__body .link-arrow {
  margin-top: auto;
}
@media (hover: none) {
  .cat-card__reveal {
    position: static;
    transform: none;
    background: none;
    color: var(--slate);
    padding: 14px 22px 0;
    align-items: flex-start;
  }
}

/* ---------- PROCESS (numbered because the sequence is the content) ---------- */
.process {
  background: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-200), var(--border) 62%);
  z-index: 0;
  transform-origin: left;
  transform: scaleX(var(--line-scale, 1));
}
.step {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
  box-shadow: 0 10px 18px -10px rgba(113, 41, 122, 0.55);
}
.step h3 {
  font-size: var(--step-0);
  font-weight: 600;
  margin-bottom: 6px;
}
.step p {
  font-size: var(--step--1);
  color: var(--slate);
}
.pullquote {
  margin-top: clamp(34px, 4.5vw, 52px);
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.pullquote::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.pullquote__mark {
  width: 36px;
  height: 36px;
  fill: rgba(255, 255, 255, 0.5);
  flex: 0 0 auto;
}
.pullquote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.42;
  max-width: 46ch;
}

/* ---------- WHY (divide-y list, not cards) ---------- */
.why {
  background: var(--surface);
}
.why__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.why__intro {
  position: sticky;
  top: 100px;
}
.why__intro p {
  color: var(--slate);
  margin: 16px 0 26px;
  max-width: 44ch;
}
.why__list {
  display: grid;
}
.why__row {
  padding-block: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--border);
}
.why__row:first-child {
  border-top: 0;
  padding-top: 0;
}
.why__row h3 {
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 8px;
}
.why__row p {
  font-size: var(--step--1);
  color: var(--slate);
  max-width: 62ch;
}

/* ---------- INDUSTRIES (plain list, no card chrome) ---------- */
.industries {
  background: var(--bg);
}
.industries__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.industries__text p {
  color: var(--slate);
  margin: 16px 0 22px;
  font-size: var(--step-0);
  max-width: 44ch;
}
.industries__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(24px, 3vw, 44px);
}
.industries__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-0);
  color: var(--ink);
}
.industries__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex: 0 0 auto;
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--surface);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__text .section__title {
  margin-bottom: 18px;
  max-width: 20ch;
}
.about__text p {
  color: var(--slate);
  max-width: 56ch;
  margin-bottom: 14px;
}
.about__text .link-arrow {
  margin-top: 10px;
}
.about__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  scale: 1.12;
  will-change: transform;
}
.about__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(37, 39, 47, 0.06);
  border-radius: inherit;
}

/* ---------- CLIENTS (single marquee) ---------- */
.clients {
  padding-block: clamp(38px, 5vw, 60px);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.clients__label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 24px;
}
.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
  );
}
.marquee__track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  padding-block: 8px;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
.marquee__track li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--slate-600);
  white-space: nowrap;
  filter: grayscale(1);
  opacity: 0.7;
}
.marquee__track li em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-left: 6px;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 28px));
  }
}
.clients__note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--slate);
  opacity: 0.7;
  margin-top: 20px;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--surface);
}
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: 100px;
}
.faq__intro p {
  color: var(--slate);
  margin: 16px 0 26px;
  max-width: 40ch;
}
.faq__list {
  display: grid;
  gap: 10px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition:
    border-color var(--dur),
    box-shadow var(--dur);
}
.faq__item:has(.faq__q[aria-expanded="true"]) {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 18px clamp(16px, 2.4vw, 24px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-0);
  color: var(--ink);
  min-height: 56px;
}
.faq__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--brand);
  transition: transform var(--dur) var(--ease);
}
.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}
.faq__a {
  padding: 0 clamp(16px, 2.4vw, 24px);
  overflow: hidden;
}
.faq__a[hidden] {
  display: none;
}
.faq__a p {
  padding-bottom: 20px;
  color: var(--slate);
  font-size: var(--step--1);
  max-width: 64ch;
}
.faq__a a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.final-cta::before {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.06);
  left: -120px;
  top: -160px;
}
.final-cta::after {
  width: 320px;
  height: 320px;
  background: rgba(0, 0, 0, 0.1);
  right: -120px;
  bottom: -150px;
}
.final-cta__inner {
  padding-block: clamp(56px, 8vw, 100px);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.final-cta__inner h2 {
  color: #fff;
  font-size: var(--step-3);
  font-weight: 600;
}
.final-cta__inner p {
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  font-size: var(--step-1);
  font-weight: 300;
}
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #211126;
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(56px, 7vw, 88px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.5fr 1.3fr;
  gap: 36px;
}
.footer__logo {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}
.footer__brand p {
  font-size: var(--step--1);
  max-width: 44ch;
}
.footer__col-h {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col ul {
  display: grid;
  gap: 10px;
}
.footer__col a {
  font-size: var(--step--1);
  transition: color var(--dur);
}
.footer__col a:hover {
  color: #fff;
}

/* Contact specific styling */
.footer__contact li {
  display: flex;
  font-size: var(--step--1);
  align-items: flex-start;
}
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.footer__contact .icon {
  width: 17px;
  height: 17px;
  color: var(--brand-200);
  flex: 0 0 auto;
}
.footer__addr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.55);
}
.footer__addr .icon {
  margin-top: 3px;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 64px);
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer__bestsellers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer__bestsellers-grid ul {
  display: grid;
  gap: 10px;
}

.footer__bestsellers-grid a {
  white-space: nowrap; /* Prevents awkward line-breaks on product names */
}

/* ---------- QUICK CONTACT ---------- */
.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 12px;
}
.quick-contact__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}
.quick-contact__btn .icon {
  width: 24px;
  height: 24px;
}
.quick-contact__btn--wa {
  background: #25d366;
}
.quick-contact__btn--call {
  background: var(--brand);
}
.quick-contact__btn:hover {
  transform: scale(1.08);
}

/* ---------- REVEAL STATES ---------- */
[data-reveal],
[data-hero] {
  will-change: transform, opacity;
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.7s var(--ease);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
.js .product[data-reveal],
.js .cat-card[data-reveal],
.js .step[data-reveal],
.js .trust__item[data-reveal] {
  transform: translateY(26px) scale(0.965);
  transition:
    opacity 0.55s var(--ease),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gsap-ready [data-hero] {
  opacity: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1080px) {
  .header__nav {
    display: none;
  }
  .header__burger {
    display: inline-flex;
  }
  .link-phone {
    display: none;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
  .why__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }
  .why__intro,
  .faq__intro {
    position: static;
  }
  .industries__grid,
  .about__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .hero {
    min-height: auto;
  }
  .hero__inner {
    padding-block: clamp(104px, 22vh, 150px) clamp(56px, 10vh, 90px);
  }
  .trust__grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust__item + .trust__item::before {
    display: none;
  }
  .trust__item {
    border-top: 1px solid var(--border);
  }
  .trust__grid .trust__item:nth-child(-n + 2) {
    border-top: 0;
  }
  .products {
    grid-template-columns: 1fr 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .industries__list {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bar {
    justify-content: flex-start;
  }
  .hero__cta .btn,
  .final-cta__actions .btn {
    width: 100%;
  }
}
@media (max-width: 440px) {
  .products {
    grid-template-columns: 1fr;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal],
  .js [data-hero] {
    opacity: 1 !important;
    transform: none !important;
  }
  .w-i {
    transform: none !important;
  }
  .hero__scroll {
    animation: none;
  }
  .hero__bg img {
    height: 100%;
  }
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
  .product__reveal,
  .cat-card__reveal {
    position: static;
    transform: none;
    background: none;
    color: var(--slate);
    padding-top: 14px;
    align-items: flex-start;
  }
}

/* header — Products dropdown (Home / Products / About / Contact) */
.header__dd {
  position: relative;
}
.header__dd-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.header__dd-parent .icon {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease);
}
.header__dd:hover .header__dd-parent .icon,
.header__dd:focus-within .header__dd-parent .icon {
  transform: rotate(180deg);
}
.header__dd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.header__dd-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  min-width: 214px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    visibility var(--dur);
  z-index: 120;
}
.header__dd:hover .header__dd-menu,
.header__dd:focus-within .header__dd-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.header__dd-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--ink-2);
  transition:
    background var(--dur),
    color var(--dur);
}
.header__dd-menu a::after {
  display: none;
}
.header__dd-menu a:hover {
  background: var(--brand-050);
  color: var(--brand);
}
.mobile-nav__sub {
  padding-left: 22px !important;
  font-size: 0.98rem !important;
  color: var(--slate-600);
}
#contact {
  scroll-margin-top: 96px;
}
