/* ==========================================================
   Zabeel Plastics — corporate redesign
   ========================================================== */
:root {
  --ink: #0b1820;
  --navy: #0e2633;
  --navy-2: #13394b;
  --brand: #2281a2;
  --sky: #49b5db;
  --eco: #3c9a4a;          /* Zabeeco green */
  --eco-dark: #1f5e2b;
  --sand: #f5f2ec;
  --mist: #eef4f7;
  --line: #dde5ea;
  --text: #3d4a52;
  --white: #fff;
  --radius: 18px;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--sky); }
.display {
  font-size: clamp(44px, 7.2vw, 108px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: .95;
}
.h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.accent { color: var(--brand); }
.on-dark .accent { color: var(--sky); }
.outline { color: transparent; -webkit-text-stroke: 2px currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px;
  border-radius: 100px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.on-dark .btn-primary:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink); color: #b7c6ce;
  font-size: 13.5px;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; color: var(--sky); }
.topbar .tb-right a { font-weight: 600; color: var(--sky); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.menu-open .header::before { background: #fff; }
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(11,24,32,.35); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  color: var(--ink); padding: 10px 16px; border-radius: 100px;
  position: relative; transition: background .25s, color .25s;
}
.nav a:hover { background: var(--mist); }
.nav a.active { color: var(--brand); }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
  transform: translateX(-50%);
}
.nav .btn { margin-left: 14px; padding: 13px 22px; color: #fff; }
.nav .btn:hover { background: var(--navy); }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: calc(100vh - 128px); min-height: calc(100svh - 128px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,20,28,.92) 0%, rgba(8,20,28,.72) 42%, rgba(8,20,28,.12) 75%),
    linear-gradient(0deg, rgba(8,20,28,.85) 0%, transparent 45%);
}
.hero .wrap { padding: clamp(36px, 6vh, 120px) 0 clamp(24px, 3.5vh, 56px); }
.hero h1 { color: #fff; max-width: 13ch; font-size: clamp(40px, min(7.2vw, 9vh), 108px); }
.hero .lead { max-width: 620px; color: #cfdbe1; font-size: clamp(16px, min(1.5vw, 2.4vh), 21px); margin: clamp(16px, 2.6vh, 30px) 0 clamp(20px, 3.4vh, 38px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: clamp(22px, 4vh, 80px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats div { padding: 26px 24px 0 0; }
.hero-stats strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -0.04em; line-height: 1; color: #fff;
}
.hero-stats span { font-size: 14px; color: #9fb3bd; letter-spacing: .02em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  background: var(--ink);
  padding: 140px 0 90px;
}
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8,20,28,.94) 10%, rgba(8,20,28,.55) 60%, rgba(8,20,28,.25));
}
.page-hero h1 { color: #fff; font-size: clamp(48px, 8vw, 120px); font-weight: 800; letter-spacing: -0.05em; line-height: .92; }
.page-hero .lead { color: #cfdbe1; max-width: 620px; margin-top: 28px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: #9fb3bd; margin-bottom: 28px; font-family: var(--display); font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: var(--sky); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section.tight { padding: clamp(60px, 7vw, 100px) 0; }
.bg-sand { background: var(--sand); }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: #b9c8cf; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.section-head {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end;
  margin-bottom: 64px;
}
.section-head p { margin: 0; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--brand); color: #fff;
  padding: 26px 0; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: "✦"; font-size: .5em; color: rgba(255,255,255,.55); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.img-stack { position: relative; padding: 0 0 70px 70px; }
.img-stack .main { border-radius: var(--radius); width: 100%; aspect-ratio: 4/4.2; object-fit: cover; }
.img-stack .inset {
  position: absolute; left: 0; bottom: 0; width: 46%;
  border-radius: var(--radius); border: 8px solid #fff;
  aspect-ratio: 1; object-fit: cover;
  box-shadow: 0 30px 60px -25px rgba(11,24,32,.4);
}
.img-stack .badge {
  position: absolute; right: -14px; top: 40px;
  background: var(--ink); color: #fff; border-radius: 16px;
  padding: 22px 26px; text-align: left;
  box-shadow: 0 30px 60px -25px rgba(11,24,32,.6);
}
.img-stack .badge strong { display: block; font-family: var(--display); font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.img-stack .badge span { font-size: 13px; color: #9fb3bd; text-transform: uppercase; letter-spacing: .14em; }
.checks { list-style: none; padding: 0; margin: 32px 0 40px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.on-dark .checks li { color: #fff; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; aspect-ratio: 4/5; display: block; isolation: isolate;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(8,20,28,.88) 100%);
  transition: background .4s;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card:hover::before { background: linear-gradient(180deg, rgba(34,129,162,.15) 0%, rgba(8,20,28,.92) 100%); }
.cat-card .num {
  position: absolute; top: 18px; left: 20px;
  font-family: var(--display); font-weight: 700; font-size: 13px; color: #fff;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 100px;
}
.cat-card .meta { position: absolute; left: 22px; right: 22px; bottom: 22px; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cat-card h3 { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.cat-card .arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center;
  transform: rotate(-45deg); transition: transform .4s var(--ease), background .3s, color .3s;
}
.cat-card .arrow svg { width: 18px; height: 18px; }
.cat-card:hover .arrow { transform: rotate(0); background: var(--sky); color: #fff; }

/* ---------- Advantage cards ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 34px 38px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.adv:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,24,32,.35); border-color: transparent; }
.adv .n {
  font-family: var(--display); font-weight: 800; font-size: 84px; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  position: absolute; right: 24px; top: 18px; transition: -webkit-text-stroke-color .4s;
}
.adv:hover .n { -webkit-text-stroke-color: var(--sky); }
.adv .icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--mist); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 34px;
}
.adv .icon svg { width: 28px; height: 28px; }
.adv h3 { margin-bottom: 14px; }
.adv p { margin: 0; }

/* ---------- Distribution ---------- */
.dist-photo { border-radius: var(--radius); overflow: hidden; position: relative; }
.dist-photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.dist-photo .tag {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.dist-photo .tag span {
  background: rgba(8,20,28,.72); backdrop-filter: blur(8px); color: #fff;
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 100px;
}

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4.4;
  isolation: isolate; color: #fff;
}
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,28,.1) 30%, rgba(8,20,28,.85)); }
.ind:hover img { transform: scale(1.08); }
.ind .label { position: absolute; left: 20px; right: 20px; bottom: 22px; }
.ind small { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--sky); }
.ind h3 { color: #fff; font-size: 24px; margin-top: 6px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand); color: #fff; border-radius: 28px;
  padding: clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 70px solid rgba(255,255,255,.08);
}
.cta h2 { color: #fff; font-size: clamp(36px, 5vw, 72px); font-weight: 800; }
.cta p { color: #d9eef5; margin: 20px 0 0; max-width: 560px; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; }
.cta .btn-light { background: #fff; color: var(--ink); }
.cta .btn-light:hover { background: var(--ink); color: #fff; }
.cta .btn-ghost { color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9fb3bd; padding: 100px 0 0; margin-top: clamp(80px, 10vw, 140px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 70px; }
.footer .logo img { height: 50px; margin-bottom: 24px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a:hover { color: #fff; }
.footer .contact-list li { display: flex; gap: 12px; }
.footer .contact-list svg { flex: none; width: 18px; height: 18px; color: var(--sky); margin-top: 4px; }
.footer-big {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.06em; line-height: .8;
  font-size: clamp(40px, 10.4vw, 152px);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
  white-space: nowrap; overflow: hidden; user-select: none;
  margin-bottom: -0.12em;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 0; font-size: 14px;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 16px 34px -10px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float img { width: 100%; height: 100%; }

/* ---------- About page ---------- */
.big-quote {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
  font-size: clamp(30px, 4.2vw, 58px); color: var(--ink); max-width: 20ch;
}
.big-quote .muted { color: #a9b6bd; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vm {
  border-radius: var(--radius); padding: clamp(36px, 4vw, 56px); position: relative; overflow: hidden;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
}
.vm.v { background: var(--ink); color: #b9c8cf; }
.vm.m { background: var(--brand); color: #e3f3f9; }
.vm h3 { color: #fff; font-size: clamp(30px, 3vw, 44px); font-weight: 800; margin-bottom: 18px; }
.vm .tag { position: absolute; top: 34px; left: clamp(36px, 4vw, 56px); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.vm.m .tag { color: #fff; opacity: .7; }
.vm p { margin: 0; font-size: 19px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.value { padding: 40px 34px 10px 0; }
.value + .value { padding-left: 34px; border-left: 1px solid var(--line); }
.value .k { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--brand); margin-bottom: 40px; display: block; }
.value h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 800; margin-bottom: 14px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 10px; }
.timeline div { padding: 28px 28px 0 0; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.timeline div::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--sky); }
.timeline strong { display: block; font-family: var(--display); font-size: 22px; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.timeline p { margin: 0; font-size: 15.5px; }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.gallery img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gallery img:first-child { aspect-ratio: auto; grid-row: span 2; }

/* ---------- Products page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar button {
  font-family: var(--display); font-weight: 600; font-size: 14.5px;
  padding: 11px 20px; border-radius: 100px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; transition: all .25s;
}
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s;
}
.prod:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,24,32,.35); }
.prod .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--mist); }
.prod .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prod:hover .ph img { transform: scale(1.06); }
.prod .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod .kind { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.prod .kind.eco { color: var(--eco); }
.prod h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.prod p { margin: 0; font-size: 15.5px; }
.prod .link {
  margin-top: auto; padding-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink);
}
.prod .link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.prod:hover .link { color: var(--brand); }
.prod:hover .link svg { transform: translate(3px, -3px); }
.prod.hide { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.info-cards { display: grid; gap: 16px; margin-top: 40px; }
.info-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px; border-radius: var(--radius); background: var(--mist);
  transition: background .3s;
}
.info-card:hover { background: #e3eef3; }
.info-card .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h4 { font-size: 18px; margin-bottom: 4px; letter-spacing: -0.01em; }
.info-card p { margin: 0; font-size: 15.5px; }
.info-card a { color: var(--ink); font-weight: 600; }
.info-card a:hover { color: var(--brand); }
.form-card {
  background: var(--ink); border-radius: 28px; padding: clamp(32px, 4.5vw, 60px); color: #b9c8cf;
}
.form-card h3 { color: #fff; font-size: clamp(30px, 3vw, 42px); font-weight: 800; margin-bottom: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #9fb3bd; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 15px 16px; outline: none; transition: border-color .25s, background .25s;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sky); background: rgba(73,181,219,.08); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin: 6px 0 4px; }
.consent input { margin-top: 4px; accent-color: var(--sky); }
.form-note { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: rgba(60,154,74,.18); color: #b9f0c1; font-size: 15px; }
.form-note.show { display: block; }
.map-frame { border-radius: var(--radius); overflow: hidden; height: 420px; background: var(--mist); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.b2b-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: #fff; }
.perk .icon { width: 50px; height: 50px; border-radius: 14px; background: var(--mist); color: var(--brand); display: grid; place-items: center; margin-bottom: 24px; }
.perk .icon svg { width: 24px; height: 24px; }
.perk h3 { font-size: 21px; margin-bottom: 8px; }
.perk p { margin: 0; font-size: 15.5px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .b2b-perks { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 128px; left: 0; right: 0; bottom: 0; z-index: 49;
    background: #fff; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .nav a { font-size: 28px; font-weight: 800; padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; letter-spacing: -0.02em; }
  .nav a:hover { background: none; color: var(--brand); }
  .nav a.active::after { display: none; }
  .nav .btn { margin: 24px 0 0; justify-content: center; font-size: 17px; border-bottom: 0; border-radius: 100px; padding: 18px; }
  .section-head, .split, .cta, .contact-grid, .vm-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .section-head { gap: 20px; margin-bottom: 44px; }
  .adv-grid, .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 10px; margin-top: 56px; }
  .cta .actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .tb-left a:not(:first-child), .topbar .tb-left span { display: none; }
  .topbar { font-size: 12.5px; }
  .topbar .wrap { gap: 12px; }
  .topbar a { white-space: nowrap; }
  .header .wrap { height: 74px; }
  .logo img { height: 38px; }
  .cat-grid, .ind-grid, .prod-grid, .b2b-perks, .form-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 4/3.4; }
  .ind { aspect-ratio: 4/3; }
  .img-stack { padding: 0 0 50px 40px; }
  .img-stack .badge { right: 10px; top: 16px; padding: 16px 18px; }
  .img-stack .badge strong { font-size: 34px; }
  .footer-top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .timeline { grid-template-columns: 1fr; }
}

/* ==========================================================
   Intro 3D scroll scene (home page)
   Each animated element gets --t (0 → 1) from its data-s / data-e
   window of the section's scroll progress; the big "2008" also gets
   --u for its exit. Set by main.js.
   ========================================================== */
@property --t { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --u { syntax: "<number>"; inherits: false; initial-value: 0; }

.intro3d { position: relative; height: 300vh; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.intro3d-stage {
  position: sticky; top: 88px; height: calc(100vh - 88px);
  display: flex; align-items: center; overflow: hidden;
  perspective: 1400px; perspective-origin: 50% 40%;
}
.intro3d-stage > .wrap { position: relative; z-index: 1; width: min(var(--wrap), 100% - 48px); }
.intro3d .img-stack { max-width: min(100%, 58vh); transform-style: preserve-3d; perspective: 1200px; }
.intro3d-copy .h2 { font-size: clamp(32px, min(4.6vw, 7vh), 64px); }
.intro3d-copy .lead { margin-top: 20px !important; }
.intro3d-copy .checks { margin: 20px 0 26px; gap: 10px; }

/* giant year behind everything */
.intro3d-big {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  font-family: var(--display); font-weight: 800; letter-spacing: -0.07em; line-height: .8;
  font-size: clamp(220px, 38vw, 620px);
  color: var(--sky); /* solid logo blue (#49b5db) */
  white-space: nowrap; pointer-events: none; user-select: none;
  transform-origin: 50% 100%;
  transform:
    translate(-50%, -50%)
    translateY(calc((1 - var(--t)) * 45%))
    translateZ(calc(var(--u) * -500px))
    rotateX(calc((1 - var(--t)) * 78deg))
    scale(calc(1.25 - var(--t) * .25));
  opacity: calc(var(--t) * (1 - var(--u) * .82));
}

/* photos fly in from depth */
.intro3d .img-stack .main {
  transform:
    translate3d(calc((1 - var(--t)) * 55%), calc((1 - var(--t)) * 25%), calc((1 - var(--t)) * -1100px))
    rotateY(calc((1 - var(--t)) * -42deg))
    rotateX(calc((1 - var(--t)) * 16deg))
    rotateZ(calc((1 - var(--t)) * 6deg));
  opacity: min(1, calc(var(--t) * 2.2));
  box-shadow: 0 calc(var(--t) * 50px) calc(var(--t) * 90px) calc(var(--t) * -30px) rgba(11,24,32,.45);
  will-change: transform, opacity;
}
.intro3d .img-stack .inset {
  transform:
    translate3d(calc((1 - var(--t)) * -90%), calc((1 - var(--t)) * 60%), calc((1 - var(--t)) * 500px))
    rotateY(calc((1 - var(--t)) * 55deg))
    rotateZ(calc((1 - var(--t)) * -18deg));
  opacity: min(1, calc(var(--t) * 2));
  will-change: transform, opacity;
}
.intro3d .img-stack .badge {
  transform-origin: 50% 0;
  transform: perspective(600px) rotateX(calc((1 - var(--t)) * -100deg)) scale(calc(.7 + var(--t) * .3));
  opacity: var(--t);
}

/* copy */
.intro3d-copy .h2 { perspective: 800px; }
.intro3d-copy .w {
  display: inline-block; transform-origin: 50% 100%;
  transform: translateY(calc((1 - var(--t)) * 70%)) rotateX(calc((1 - var(--t)) * -95deg));
  opacity: var(--t);
}
.intro3d-copy .fx-up { transform: translateY(calc((1 - var(--t)) * 40px)); opacity: var(--t); }
.intro3d-copy .fx-side { transform: translateX(calc((1 - var(--t)) * 70px)); opacity: var(--t); }
.intro3d-copy .fx-pop { transform: translateY(calc((1 - var(--t)) * 30px)) scale(calc(.85 + var(--t) * .15)); opacity: var(--t); }

/* scroll progress line */
.intro3d-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(34,129,162,.12); z-index: 2; }
.intro3d-progress span { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Phones / reduced motion: no pinning — elements animate in once when they appear */
@media (max-width: 960px), (max-height: 640px), (prefers-reduced-motion: reduce) {
  .intro3d { height: auto; }
  .intro3d-stage { position: relative; top: 0; height: auto; display: block; overflow: clip; padding: clamp(80px, 10vw, 140px) 0; }
  .intro3d-big, .intro3d-progress { display: none; }
  .intro3d .img-stack { max-width: none; }
  .intro3d [data-s] { transition: --t 1.1s var(--ease); }
  .intro3d [data-s].in { --t: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .intro3d [data-s] { --t: 1; transition: none; }
}

/* ==========================================================
   Zabeeco brand scene (home, about, products)
   Pinned while it plays. main.js writes, per scroll frame:
     --c  on .zb-box     0 → 1  colour switch (green box, white logo)
     --k  on each piece  0 → 1  that piece's own entrance
     --h  on photos      0 → 1  closing parallax drift
   and the logo's transform/opacity. Without JS every --k
   falls back to 1, so the section shows its final layout.
   Timings: ZB_TIMELINE in assets/js/main.js.
   ========================================================== */
.zb-scene { position: relative; height: 380vh; }
.zb-stage {
  position: sticky; top: 88px; height: calc(100vh - 88px);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.zb-box {
  position: relative; isolation: isolate;
  width: min(var(--wrap), 100% - 48px); height: calc(100% - 48px);
  border-radius: 28px; background: #f3f8ec; color: var(--ink);
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: center;
  gap: clamp(32px, 4vw, 72px); padding: clamp(24px, 4.5vh, 64px) clamp(32px, 4vw, 64px);
}
/* green fill fades in on its own layer (opacity only) */
.zb-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: #82c341; /* Zabeeco green, from zabeeco-logo.svg */
  opacity: var(--c, 0);
}

/* --- logo: sits in .zb-logo-slot for the final layout; JS flies it from the centre --- */
.zb-left { position: relative; z-index: 2; }
.zb-logo-slot { position: relative; width: min(100%, 380px, 40vh); aspect-ratio: 420.64 / 127.65; margin-bottom: clamp(18px, 3.2vh, 40px); }
.zb-logo { position: absolute; inset: 0; transform-origin: 50% 50%; }
.zb-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zb-logo-color { opacity: calc(1 - var(--c, 0)); }
.zb-logo-white { opacity: var(--c, 0); }

/* logo pieces (2D inside the SVG; depth comes from scale + travel) */
.zb-icon, .zb-letter, .zb-tagline { transform-box: view-box; }
.zb-icon {
  transform:
    translate(calc(var(--fx) * (1 - var(--k, 1))), calc(var(--fy) * (1 - var(--k, 1))))
    rotate(calc(var(--fr) * (1 - var(--k, 1))))
    scale(calc(1 + (var(--fs) - 1) * (1 - var(--k, 1))));
  opacity: var(--k, 1);
}
.zb-letter {
  transform:
    translateY(calc((1 - var(--k, 1)) * 60px))
    rotate(calc((1 - var(--k, 1)) * -14deg))
    scale(calc(.35 + .65 * var(--k, 1)));
  opacity: var(--k, 1);
}
.zb-tagline { transform: translateY(calc((1 - var(--k, 1)) * 14px)); opacity: var(--k, 1); }

/* --- left copy --- */
.zb-copy .eyebrow { color: #1e3d0c; margin-bottom: 14px; }
.zb-copy h2 { font-size: clamp(24px, min(2.4vw, 4.2vh), 34px); }
.zb-copy p { margin: 14px 0 0; max-width: 520px; color: #13260a; }
@media (max-height: 780px) { .zb-copy p { font-size: 15px; line-height: 1.55; } .zb-copy .pill-row span { padding: 4px 11px; font-size: 13px; } }
.zb-copy .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(16px, 2.6vh, 26px) 0 clamp(18px, 3vh, 32px); }
.zb-copy .pill-row span { border: 1px solid rgba(11,24,32,.28); border-radius: 100px; padding: 6px 13px; font-size: 14px; font-weight: 500; color: var(--ink); }
.zb-btn { background: var(--ink); color: #fff; }
.zb-btn:hover { background: #fff; color: var(--ink); }
.zb-item { transform: translateY(calc((1 - var(--k, 1)) * 36px)); opacity: var(--k, 1); }

/* --- photo stack: two cards in 3D --- */
.zb-photos { position: relative; height: min(100%, 470px); perspective: 1400px; transform-style: preserve-3d; }
.zb-photo { position: absolute; display: block; object-fit: cover; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(11,24,32,.55); backface-visibility: hidden; }
.zb-photo-back {
  right: 0; top: 0; width: 86%; aspect-ratio: 1600 / 1070;
  transform:
    translate3d(calc((1 - var(--k, 1)) * 45%), calc((1 - var(--k, 1)) * -12% + var(--h, 0) * -22px), calc((1 - var(--k, 1)) * -900px))
    rotateY(calc((1 - var(--k, 1)) * -40deg))
    rotateX(calc((1 - var(--k, 1)) * 10deg));
  opacity: min(1, calc(var(--k, 1) * 2));
}
.zb-photo-front {
  left: 0; bottom: 0; width: 66%; aspect-ratio: 1322 / 646; border: 8px solid #fff;
  transform:
    translate3d(calc((1 - var(--k, 1)) * -30%), calc((1 - var(--k, 1)) * 70% + var(--h, 0) * 22px), calc((1 - var(--k, 1)) * 420px))
    rotateY(calc((1 - var(--k, 1)) * 38deg))
    rotateZ(calc((1 - var(--k, 1)) * -10deg));
  opacity: min(1, calc(var(--k, 1) * 2));
}

/* --- phones, short screens, reduced motion: no pinning, stacked, green from the start,
       pieces play once when the box scrolls into view (.zb-play added by main.js) --- */
@media (max-width: 960px), (max-height: 640px), (prefers-reduced-motion: reduce) {
  .zb-scene { height: auto; padding: clamp(60px, 10vw, 100px) 0; }
  .zb-stage { position: relative; top: 0; height: auto; display: block; overflow: clip; overflow-clip-margin: 20px; }
  .zb-box { --c: 1; height: auto; margin-inline: auto; grid-template-columns: 1fr; gap: 40px; }
  .zb-logo { transform: none !important; opacity: 1 !important; }
  .zb-logo-slot { width: min(100%, 340px); }
  .zb-photos { height: auto; aspect-ratio: 4 / 3.3; }

  .zb-play .zb-letter { animation: zbLetter .8s var(--ease) calc(var(--i) * .06s) both; }
  .zb-play .zb-icon { animation: zbIcon 1s var(--ease) calc(.25s + var(--i) * .09s) both; }
  .zb-play .zb-tagline { animation: zbRise .7s var(--ease) .8s both; }
  .zb-play .zb-item { animation: zbRise .8s var(--ease) .5s both; }
  .zb-play .zb-photo-back { animation: zbPhotoBack 1s var(--ease) .3s both; }
  .zb-play .zb-photo-front { animation: zbPhotoFront 1s var(--ease) .5s both; }
}
@keyframes zbLetter { from { opacity: 0; transform: translateY(60px) rotate(-14deg) scale(.35); } }
@keyframes zbIcon { from { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(var(--fs)); } }
@keyframes zbRise { from { opacity: 0; transform: translateY(30px); } }
@keyframes zbPhotoBack { from { opacity: 0; transform: perspective(1000px) translateX(30%) rotateY(-30deg); } }
@keyframes zbPhotoFront { from { opacity: 0; transform: perspective(1000px) translate(-20%, 30%) rotateY(30deg) rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) {
  .zb-play .zb-letter, .zb-play .zb-icon, .zb-play .zb-tagline, .zb-play .zb-item,
  .zb-play .zb-photo-back, .zb-play .zb-photo-front { animation: none; }
}

/* ---------- Hero: "since" figure + scrolling Zabeeco product icons ---------- */
.hero-stats { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); padding-top: 26px; }
.hero-stats > div { padding: 0; }
.hero-since { flex: none; }
.hero-icons {
  flex: 1; min-width: 0; display: flex; 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);
}
.hero-icons-track {
  flex: none; display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none;
  animation: heroIcons 26s linear infinite;
}
.hero-icons:hover .hero-icons-track { animation-play-state: paused; }
.hero-icons li {
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 10px 20px 10px 10px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-icons .hi-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(73,181,219,.16); color: var(--sky);
}
.hero-icons .hi-icon svg { width: 26px; height: 26px; }
.hero-icons .hi-label { font-family: var(--display); font-weight: 600; font-size: 15px; color: #fff; }
@keyframes heroIcons { to { transform: translateX(-100%); } }
@media (max-height: 820px) {
  .hero-stats { padding-top: 18px; }
  .hero-stats strong { font-size: 38px; }
  .hero-icons li { padding: 6px 16px 6px 6px; }
  .hero-icons .hi-icon { width: 36px; height: 36px; }
  .hero-icons .hi-icon svg { width: 21px; height: 21px; }
}
@media (max-width: 960px) {
  .hero-stats { gap: 16px; }
  .hero-stats strong { font-size: 32px; }
  .hero-stats span { font-size: 12.5px; }
  .hero-icons li { padding: 8px 16px 8px 8px; }
  .hero-icons .hi-icon { width: 38px; height: 38px; }
  .hero-icons .hi-icon svg { width: 22px; height: 22px; }
  .hero-icons .hi-label { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-icons { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .hero-icons-track { animation: none; flex-wrap: wrap; gap: 10px; }
  .hero-icons-track[aria-hidden="true"] { display: none; }
}
