/* ========== BilPack — Landing page ========== */
:root {
  --teal: #0b7a80;
  --teal-600: #08646a;
  --teal-300: #5fb8bc;
  --teal-50: #e8f4f4;
  --navy: #132c44;
  --navy-900: #0b1c2d;
  --ink: #1b2b3a;
  --muted: #5b6b78;
  --line: #dfe8ea;
  --bg: #f7fafa;
  --white: #fff;
  --gold: #d4a64a;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px -20px rgba(19, 44, 68, .28);
  --shadow-lg: 0 40px 90px -30px rgba(19, 44, 68, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --f-head: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.3; margin: 0; color: var(--navy); }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--teal); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__title { font-size: clamp(30px, 4.2vw, 50px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; }
.section__title--light { color: #fff; }
.section__sub { color: var(--muted); font-size: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 14px;
  color: var(--teal); background: var(--teal-50);
  padding: 6px 16px; border-radius: 99px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eyebrow--light { background: rgba(255,255,255,.1); color: var(--teal-300); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 16px;
  padding: 14px 28px; border-radius: 99px; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(-5px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 12px 30px -10px rgba(11,122,128,.7); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.btn--primary:hover::after { transform: scaleX(1); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { color: var(--navy); border: 1.5px solid var(--line); background: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--teal)); transform-origin: right; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s, box-shadow .4s, padding .4s; padding: 18px 0; }
.nav.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 6px 30px -12px rgba(19,44,68,.18); padding: 8px 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .45s var(--ease), background .4s, box-shadow .4s, padding .4s; }
.nav__inner { display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 58px; width: auto; transition: height .4s; }
.nav.is-scrolled .nav__logo img { height: 48px; }
.nav__links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__links a {
  font-family: var(--f-head); font-weight: 500; font-size: 15px; color: var(--navy);
  padding: 8px 14px; border-radius: 99px; position: relative; transition: color .3s, background .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--teal); background: var(--teal-50); }
.nav__mobile-cta { display: none; }
.nav__cta { padding: 11px 22px; font-size: 15px; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 150px 0 110px; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #9fd6d8; top: -120px; left: -120px; }
.blob--2 { width: 420px; height: 420px; background: #c7d6e6; bottom: -160px; right: 10%; }

.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero__title { font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.18; margin-bottom: 26px; letter-spacing: -.015em; }
.hero__title em { font-style: normal; color: var(--teal); position: relative; display: inline-block; }
.hero__title em::after {
  content: ""; position: absolute; inset-inline: -4px; bottom: .08em; height: .22em; z-index: -1;
  background: linear-gradient(90deg, rgba(95,184,188,.45), rgba(95,184,188,.15)); border-radius: 6px;
  transform: scaleX(0); transform-origin: right; transition: transform 1s var(--ease) .9s;
}
.hero__title.is-in em::after { transform: scaleX(1); }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero__lead strong { color: var(--navy); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.hero__chips li { font-size: 14px; font-weight: 500; color: var(--navy); padding: 6px 14px 6px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.hero__chips li::before { content: "✓"; color: var(--teal); font-weight: 700; }

.hero__visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero__visual figure { margin: 0; position: absolute; overflow: hidden; }
.hero__main { inset: 4% 6% 10% 0; border-radius: 34px; box-shadow: var(--shadow-lg); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__float { border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__float--a { width: 40%; aspect-ratio: 1; bottom: 0; right: -2%; }
.hero__float--b { width: 30%; aspect-ratio: 1; top: -2%; right: -4%; }
.hero__badge {
  position: absolute; left: -4%; bottom: 20%; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero__badge svg { font-size: 34px; color: #fff; background: var(--teal); padding: 7px; border-radius: 12px; box-sizing: content-box; width: 22px; height: 22px; }
.hero__badge strong { display: block; font-family: var(--f-head); color: var(--navy); font-size: 15px; line-height: 1.4; }
.hero__badge span { font-size: 12.5px; color: var(--muted); letter-spacing: .05em; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--navy); border-radius: 20px; opacity: .45; }
.hero__scroll span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--navy); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 22px 0; transform: rotate(-1.5deg) scale(1.04); margin: -10px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-head); font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--teal-300); flex: none; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1; }
.about__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--1 { inset: 0 0 26% 14%; }
.about__img--2 { width: 46%; aspect-ratio: 4/5; left: 0; bottom: 0; border: 6px solid var(--bg); }
.about__stamp { position: absolute; right: 4%; bottom: 6%; width: 120px; height: 120px; display: grid; place-items: center; background: var(--teal); border-radius: 50%; box-shadow: var(--shadow); }
.about__stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; stroke: none; }
.about__stamp text { fill: #fff; font-family: var(--f-head); font-size: 12.5px; font-weight: 500; letter-spacing: .5px; }
.about__stamp img { width: 46px; height: auto; background: #fff; border-radius: 50%; padding: 7px; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p { color: var(--muted); }
.about__text strong { color: var(--navy); }

.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: center; font-weight: 500; color: var(--navy); }
.ticks li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--teal-50) center/14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* ---------- Products ---------- */
.products { background: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter {
  font-family: var(--f-head); font-weight: 500; font-size: 15px; cursor: pointer;
  padding: 10px 22px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--teal); color: var(--teal); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; grid-auto-flow: dense; }
.card {
  background: var(--bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s, scale .4s;
  border: 1px solid var(--line);
}
.card--wide { grid-column: span 2; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--navy-900); }
.card--wide .card__img { aspect-ratio: 16 / 8.2; }
.card__img--light { background: #fff; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__img--light img { object-fit: contain; padding: 4%; }
.card:hover .card__img img { transform: scale(1.07); }
.card__body { padding: 22px 26px 26px; }
.card h3 { font-size: 21px; margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; line-height: 1.75; }
.tag { font-size: 13px; font-weight: 600; color: var(--teal); background: var(--teal-50); padding: 3px 12px; border-radius: 99px; }
.card.is-hidden { display: none; }
.card.is-filtering { animation: pop .55s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }

/* ---------- Uses (horizontal sticky scroll) ---------- */
.uses { position: relative; height: 340vh; background: var(--navy-900); color: #fff; }
.uses__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 36px; }
.uses__sticky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(11,122,128,.35), transparent 50%), radial-gradient(circle at 10% 90%, rgba(95,184,188,.15), transparent 45%); pointer-events: none; }
.uses__head .section__title { margin: 0; }
.uses__track { display: flex; gap: 28px; width: max-content; padding-inline: max(20px, calc((100vw - 1200px) / 2)); will-change: transform; }
.use {
  flex: none; width: clamp(280px, 34vw, 440px); aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.use img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.use:hover img { transform: scale(1.06); }
.use::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,28,45,.95) 5%, rgba(11,28,45,.15) 55%, transparent); }
.use__body { position: absolute; inset: auto 0 0; padding: 28px; z-index: 1; }
.use__body span { font-family: var(--f-head); font-weight: 700; color: var(--teal-300); font-size: 15px; }
.use__body h3 { color: #fff; font-size: 24px; margin: 6px 0 8px; }
.use__body p { color: rgba(255,255,255,.75); font-size: 15px; margin: 0; }
.uses__bar { height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.uses__bar span { display: block; height: 100%; background: var(--teal-300); transform-origin: right; transform: scaleX(0); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps__line { position: absolute; top: 38px; inset-inline: 12%; height: 2px; background: var(--line); }
.steps__line span { display: block; height: 100%; background: var(--teal); transform-origin: right; transform: scaleX(0); }
.step { text-align: center; position: relative; padding: 0 8px; }
.step__icon {
  width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 24px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line); color: var(--teal); font-size: 30px; position: relative; z-index: 1;
  transition: all .5s var(--ease); box-shadow: var(--shadow);
}
.step:hover .step__icon { background: var(--teal); color: #fff; transform: translateY(-6px) rotate(-6deg); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Why ---------- */
.why { background: #fff; overflow: hidden; }
.why__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why__text > p { color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature svg { flex: none; font-size: 22px; width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--teal-50); color: var(--teal); }
.feature h4 { font-size: 17px; margin-bottom: 2px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.7; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), background .4s;
}
.stat:nth-child(2), .stat:nth-child(3) { background: var(--navy); border-color: var(--navy); }
.stat:nth-child(2) *, .stat:nth-child(3) * { color: #fff !important; }
.stat:nth-child(2) > span, .stat:nth-child(3) > span { opacity: .75; }
.stat:hover { transform: translateY(-6px); }
.stat strong { display: block; font-family: var(--f-head); font-size: clamp(40px, 4.5vw, 58px); font-weight: 700; color: var(--teal); line-height: 1.1; direction: ltr; text-align: right; }
.stat > span { color: var(--muted); font-weight: 500; }

/* ---------- Contact ---------- */
.contact { padding-top: 40px; }
.contact__card {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px);
  background: var(--navy); border-radius: 34px; padding: clamp(28px, 5vw, 64px); color: #fff; position: relative; overflow: hidden;
}
.contact__card::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--teal); filter: blur(120px); opacity: .45; top: -200px; right: -150px; }
.contact__card > * { position: relative; }
.contact__info p { color: rgba(255,255,255,.75); }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list svg { font-size: 18px; width: 44px; height: 44px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.1); color: var(--teal-300); flex: none; }
.contact__list a:hover { color: var(--teal-300); }

.form { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 34px); color: var(--ink); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-family: var(--f-head); font-size: 14px; font-weight: 500; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--f-body); font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(11,122,128,.12); }
.form input[dir="ltr"] { text-align: right; }
.form .is-invalid { border-color: #d64545; }
.form__note { margin: 0; font-size: 14px; color: var(--teal); min-height: 1.4em; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 56px 0 34px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.footer__brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer__brand p { margin: 0; font-size: 15px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer__links a:hover { color: var(--teal-300); }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin: 10px 0 0; font-size: 14px; text-align: center; }

.to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 20px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); }

/* ========== Scroll reveal ========== */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal=""], [data-reveal="up"] { transform: translateY(40px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.9); filter: blur(6px); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* parallax figures: reveal on inner image so outer transform is free for parallax */
.hero__visual [data-reveal], .about__media [data-reveal] { transform: none; filter: none; }
.hero__visual [data-reveal] > img, .about__media [data-reveal] > img { transition: transform 1.4s var(--ease); }
.hero__visual [data-reveal]:not(.is-in) > img, .about__media [data-reveal]:not(.is-in) > img { transform: scale(1.25); }
.hero__visual [data-reveal], .about__media [data-reveal] { clip-path: inset(100% 0 0 0 round 30px); transition: clip-path 1.3s var(--ease), opacity .6s; transition-delay: var(--d, 0ms); }
.hero__visual [data-reveal].is-in, .about__media [data-reveal].is-in { clip-path: inset(-80px -80px -80px -80px round 0); }
.hero__visual .hero__badge[data-reveal], .about__media .about__stamp[data-reveal] { clip-path: none; transform: scale(.6); }
.hero__visual .hero__badge[data-reveal].is-in, .about__media .about__stamp[data-reveal].is-in { clip-path: none; transform: none; transition: opacity .6s, transform .9s var(--ease); transition-delay: var(--d, 0ms); }

/* word split */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
[data-split].is-in .w > span { transform: none; }

/* stagger children */
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
[data-stagger].is-in > * { opacity: 1; transform: none; }

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .nav__links a { padding: 8px 10px; font-size: 14.5px; }
  .nav__cta { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; margin-inline-start: auto;
    border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; z-index: 2;
  }
  .nav__toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px;
    background: rgba(247,250,250,.97); backdrop-filter: blur(14px); padding: 90px 28px 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; margin: 0;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a { font-size: 24px; padding: 12px 18px; text-align: center; transform: translateY(16px); opacity: 0; transition: all .45s var(--ease); }
  .nav.is-open .nav__links a { transform: none; opacity: 1; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .15s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav__links a:nth-child(6) { transition-delay: .25s; }
  .nav__mobile-cta { display: block; background: var(--teal); color: #fff !important; margin-top: 16px; }
  .nav__logo { z-index: 2; }
  .nav__logo img { height: 48px; }

  .hero { padding: 120px 0 90px; }
  .hero__inner, .about__inner, .why__inner, .contact__card { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin: 24px auto 0; }
  .hero__scroll { display: none; }
  .about__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps__line { display: none; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand img { margin-inline: auto; }
  .footer__links { justify-content: center; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--wide .card__img { aspect-ratio: 4 / 3; }
  .features, .form__row { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 24px 18px; }
  .steps { grid-template-columns: 1fr; }
  .hero__badge { left: 0; bottom: 14%; padding: 10px 12px; }
  .hero__badge strong { font-size: 13px; }
  .about__stamp { width: 96px; height: 96px; }
  .about__stamp text { font-size: 11px; }
  .uses { height: 420vh; }
  .use { width: 78vw; }
  .to-top { left: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-reveal], [data-stagger] > *, [data-split] .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}
