/* ==========================================================
   iii consulting — navy, red & white brand
   ========================================================== */
:root {
  --navy-900: #061633;
  --navy-800: #08204A;
  --navy: #0B2A5C;
  --navy-600: #143C7C;
  --navy-400: #3A62A8;
  --red: #E32630;
  --red-600: #C61C25;
  --red-soft: rgba(227, 38, 48, .1);
  --bg: #F4F6FB;
  --white: #fff;
  --ink: #0E1A33;
  --text: #33405A;
  --muted: #6A778F;
  --line: #E1E6F0;

  --radius: 20px;
  --shadow: 0 24px 60px -28px rgba(8, 32, 74, .45);
  --shadow-sm: 0 10px 30px -18px rgba(8, 32, 74, .4);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ico { width: 1em; height: 1em; flex: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: flex-end; gap: .22em; font-family: var(--head); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #fff; font-size: 1.7rem; white-space: nowrap; }
.logo__iii { display: inline-flex; gap: .07em; }
.logo__i { position: relative; display: inline-block; }
.logo__i::before {
  content: ""; position: absolute; left: 50%; top: -.19em; width: .3em; height: .3em; margin-left: -.15em;
  border-radius: 50%; background: var(--red);
}
.logo--dark { color: var(--navy); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--head); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; }
.title { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; margin-bottom: 1.1rem; }
.title--caps { text-transform: uppercase; letter-spacing: -.01em; }
.title--light { color: #fff; }
.hl { color: var(--red); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 660px; }
.lead--light { color: rgba(255,255,255,.8); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font: 700 .78rem/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 3px; }
.eyebrow--light { color: #fff; }
.hook { font-weight: 700; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--navy); border-left: 3px solid var(--red); padding-left: 14px; margin-bottom: 1.1rem; }
.hook--light { color: #fff; }

.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--white { background: #fff; }
.section--navy { background: radial-gradient(1000px 500px at 85% 0%, rgba(58,98,168,.45), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: rgba(255,255,255,.78); overflow: hidden; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section-head { text-align: center; margin: 0 auto clamp(40px, 6vw, 64px); max-width: 780px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 3px; }
.section-head .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 12px; border: 2px solid transparent; cursor: pointer;
  font: 700 .95rem/1 var(--head); letter-spacing: .01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -12px rgba(227,38,48,.7); }
.btn--red:hover { background: var(--red-600); transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-600); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.btn--sm { padding: .72rem 1.2rem; font-size: .85rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font: 700 .92rem var(--head); color: var(--red); }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Preloader / progress ---------- */
.preloader { position: fixed; inset: 0; z-index: 999; background: var(--navy); display: grid; place-content: center; justify-items: center; gap: 24px; transition: opacity .6s var(--ease), visibility .6s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader .logo { font-size: 2.6rem; animation: pop 1s var(--ease) both; }
.preloader__bar { width: 160px; height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--red); animation: load 1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes pop { from { transform: scale(.7) translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 200; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.75); font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .ico { color: var(--red); }
.header { position: sticky; top: 0; z-index: 100; background: rgba(11, 42, 92, .96); backdrop-filter: blur(14px); transition: box-shadow .4s, background .4s; }
.header.is-scrolled { box-shadow: 0 12px 40px -20px rgba(0,0,0,.6); background: rgba(8, 32, 74, .97); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { list-style: none; position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: .35rem; padding: .7rem .95rem; border-radius: 10px; font: 600 .92rem var(--head); color: rgba(255,255,255,.85); transition: color .3s, background .3s; }
.menu > li > a:hover, .menu > li > a.is-active { color: #fff; background: rgba(255,255,255,.08); }
.menu > li > a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--red); }
.menu .caret { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 340px; padding: 10px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease);
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .caret { transform: rotate(225deg) translateY(-1px); }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; transition: background .25s; }
.dropdown a:hover { background: var(--bg); }
.dropdown .d-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.15rem; flex: none; }
.dropdown b { display: block; font: 700 .88rem var(--head); color: var(--ink); }
.dropdown small { color: var(--muted); font-size: .76rem; }
.header__cta { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 3; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: .4s var(--ease); border-radius: 2px; }

/* ---------- Home hero slider ---------- */
.hero { position: relative; min-height: calc(100svh - 78px); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; padding: 90px 0 70px; background: var(--navy-900); }
.hero__media { position: absolute; inset: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s var(--ease), transform 8s linear; }
.hero__video.is-active { opacity: 1; transform: scale(1.02); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(6,22,51,.95) 0%, rgba(8,32,74,.82) 42%, rgba(11,42,92,.35) 75%, rgba(11,42,92,.2) 100%), linear-gradient(to top, rgba(6,22,51,.85), transparent 45%); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero__content { position: relative; z-index: 2; }
.hero__slides { display: grid; max-width: 820px; }
.hero__slide { grid-area: 1 / 1; pointer-events: none; }
.hero__slide > * { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.hero__slide.is-active { pointer-events: auto; }
.hero__slide.is-active > * { opacity: 1; transform: none; }
.hero__slide.is-active > :nth-child(2) { transition-delay: .1s; }
.hero__slide.is-active > :nth-child(3) { transition-delay: .22s; }
.hero__slide.is-active > :nth-child(4) { transition-delay: .34s; }
.hero__tag { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font: 700 .78rem var(--head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.3rem; }
.hero__tag .ico { color: var(--red); font-size: 1rem; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 1.1rem; }
.hero__lead { max-width: 600px; font-size: clamp(1rem, 1.4vw, 1.13rem); color: rgba(255,255,255,.82); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__controls { display: flex; align-items: center; gap: 14px; margin-top: 44px; }
.hero__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow--prev .ico { transform: rotate(180deg); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 42px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.25); cursor: pointer; overflow: hidden; }
.hero__dots button span { display: block; height: 100%; width: 0; background: var(--red); }
.hero__dots button.is-active span { animation: dotFill var(--slide-dur, 7s) linear forwards; }
.hero__dots button.is-done span { width: 100%; }
@keyframes dotFill { to { width: 100%; } }
.hero__count { white-space: nowrap; font: 600 .85rem var(--head); color: rgba(255,255,255,.6); }
.hero__count b { color: #fff; }

/* Flag ribbon at the bottom of hero */
.hero__strip { position: relative; z-index: 2; margin-top: 54px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); }
.hero__strip a { display: flex; align-items: center; gap: 10px; padding: 16px 14px; min-width: 0; background: rgba(8,32,74,.55); transition: background .3s; }
.hero__strip a:hover { background: rgba(227,38,48,.85); }
.hero__strip .s-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.5); font-size: 1.2rem; flex: none; }
.hero__strip b { font: 700 .86rem/1.3 var(--head); color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 110px); color: #fff; overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: -40px 0; background-size: cover; background-position: center; transform: scale(1.05); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(6,22,51,.96) 0%, rgba(8,32,74,.85) 50%, rgba(11,42,92,.55) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; max-width: 860px; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.crumbs { display: flex; gap: .5rem; align-items: center; font: 600 .82rem var(--head); color: rgba(255,255,255,.6); margin-bottom: 1.4rem; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--red); }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; gap: 30px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 800 clamp(.95rem, 1.8vw, 1.2rem) var(--head); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.marquee i { font-style: normal; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Platforms strip (3PL) ---------- */
.platforms { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.platforms__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.platforms p { display: flex; align-items: center; gap: .6rem; font: 600 1rem var(--head); color: var(--navy); }
.platforms p .ico { color: var(--red); font-size: 1.4rem; }
.platforms p b { color: var(--red); }
.platforms ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.platforms li { padding: .55rem 1.1rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 800 .9rem var(--head); color: var(--navy); }
.platforms li:last-child { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Who we are (punch points) ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.who__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: #fff; line-height: 1; margin-bottom: 1.2rem; }
.who__text > p { font-size: 1.12rem; margin-bottom: 1.6rem; }
.punch-list { display: grid; gap: 14px; }
.punch-item {
  display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff;
  transition: transform .45s var(--ease), background .35s, border-color .35s;
}
.punch-item:hover { transform: translateX(8px); background: rgba(255,255,255,.12); border-color: rgba(227,38,48,.7); }
.punch-item__ico { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); display: grid; place-items: center; font-size: 1.35rem; flex: none; transition: background .35s, border-color .35s; }
.punch-item:hover .punch-item__ico { background: var(--red); border-color: var(--red); }
.punch-item b { font: 700 1.08rem var(--head); flex: 1; }
.punch-item > .ico { opacity: 0; transform: translateX(-8px); transition: .35s var(--ease); color: var(--red); }
.punch-item:hover > .ico { opacity: 1; transform: none; }
.flags { position: absolute; inset: 0; pointer-events: none; }
.flags::before, .flags::after { content: ""; position: absolute; bottom: -80px; width: 420px; height: 420px; border-radius: 50%; filter: blur(70px); opacity: .35; }
.flags::before { left: -160px; background: #0F6B3A; }
.flags::after { right: -160px; background: var(--red); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-card__img { height: 210px; background-size: cover; background-position: center; position: relative; }
.svc-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,32,74,.7), transparent 60%); }
.svc-card__ico { position: absolute; left: 22px; bottom: -26px; z-index: 2; width: 56px; height: 56px; border-radius: 16px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 12px 24px -10px rgba(227,38,48,.8); transition: transform .5s var(--ease); }
.svc-card:hover .svc-card__ico { transform: rotate(-8deg) scale(1.08); }
.svc-card__body { padding: 44px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.svc-card p { font-size: .95rem; margin-bottom: 1.2rem; flex: 1; }

.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width .5s var(--ease); }
.feature:hover::after { width: 100%; }
.feature__ico { width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.1rem; transition: background .4s; }
.feature:hover .feature__ico { background: var(--red); }
.feature h4 { font-size: 1.12rem; margin-bottom: .45rem; }
.feature p { font-size: .94rem; color: var(--muted); }
.section--navy .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--navy .feature p { color: rgba(255,255,255,.7); }
.section--navy .feature__ico { background: rgba(255,255,255,.1); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__img { border-radius: 24px; aspect-ratio: 4/3.4; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.split__img--sm { position: absolute; width: 46%; aspect-ratio: 1; right: -24px; bottom: -34px; border: 8px solid #fff; border-radius: 20px; }
.split__badge { position: absolute; left: -20px; top: 28px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: 16px; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.split__badge b { display: block; font: 900 2.2rem/1 var(--head); }
.split__badge span { font-size: .8rem; font-weight: 600; }
.split__text > p { margin-bottom: 1.1rem; font-size: 1.04rem; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.checks { list-style: none; display: grid; gap: .75rem; margin: 1.4rem 0 1.8rem; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; font-size: .75rem; margin-top: 1px; }
.checks--2 { grid-template-columns: 1fr 1fr; }
.section--navy .checks .tick { background: rgba(227,38,48,.2); }

.callout { display: flex; gap: 16px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); box-shadow: var(--shadow-sm); margin: 1.6rem 0; }
.callout .ico { color: var(--red); font-size: 1.5rem; margin-top: 2px; }
.callout p { font-size: .96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; }
.stat { background: var(--navy-800); padding: 34px 26px; text-align: center; }
.stat b { display: block; font: 900 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--head); color: #fff; margin-bottom: .6rem; letter-spacing: -.02em; }
.stat b em { font-style: normal; color: var(--red); margin-left: .04em; }
.stat > span { color: rgba(255,255,255,.72); font-size: .95rem; }
.stat { position: relative; transition: background .4s; }
.stat::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; background: var(--red); translate: -50% 0; transition: width .5s var(--ease); }
.stat:hover { background: var(--navy); }
.stat:hover::after { width: 60%; }

/* ---------- Process ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.timeline__line { position: absolute; top: 33px; left: 8%; right: 8%; height: 3px; background: var(--line); border-radius: 3px; }
.timeline__line span { display: block; height: 100%; width: 0; background: var(--red); border-radius: 3px; transition: width .2s linear; }
.tstep { position: relative; text-align: center; padding: 0 6px; }
.tstep__num { width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font: 800 1.15rem var(--head); color: var(--navy); background: #fff; border: 3px solid var(--line); position: relative; z-index: 1; transition: all .6s var(--ease); }
.tstep.is-lit .tstep__num { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 12px 30px -10px rgba(227,38,48,.7); transform: scale(1.06); }
.tstep h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.tstep p { font-size: .9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(80px, 11vw, 130px) 0; overflow: hidden; color: #fff; text-align: center; background: var(--navy); }
.cta-band__video, .cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(6,22,51,.93), rgba(11,42,92,.82) 55%, rgba(227,38,48,.6)); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 820px; margin: 0 auto 1rem; }
.cta-band p { font-size: 1.1rem; opacity: .9; margin: 0 auto 2rem; max-width: 600px; }
.cta-band .kicker { font: 800 .85rem var(--head); letter-spacing: .2em; text-transform: uppercase; color: #FF8A90; margin-bottom: .8rem; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.accordion { display: grid; gap: 12px; }
.acc { background: #fff; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.acc[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.acc summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 22px; font: 700 1rem var(--head); color: var(--ink); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--navy); font-size: 1.3rem; font-weight: 500; transition: transform .4s var(--ease), background .4s, color .4s; }
.acc[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.acc p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Testimonial-free trust row ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.trust span { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .82rem var(--head); color: var(--navy); }
.trust .ico { color: var(--red); }
.section--navy .trust span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.info-card { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; transition: transform .4s var(--ease), box-shadow .4s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card__ico { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.info-card b { display: block; font: 700 1rem var(--head); color: var(--ink); margin-bottom: .2rem; }
.info-card p { font-size: .93rem; color: var(--muted); }
.info-card .tag { display: inline-block; font: 700 .7rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .3rem; }
.form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 16px; border-top: 5px solid var(--red); }
.form h3 { font-size: 1.5rem; }
.form > p { color: var(--muted); font-size: .95rem; margin-top: -8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label span { font: 700 .8rem var(--head); color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font: 500 .95rem var(--body); color: var(--ink); 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(--navy-400); background: #fff; box-shadow: 0 0 0 4px rgba(58,98,168,.15); }
.form__note { font-size: .9rem; color: var(--navy-600); text-align: center; min-height: 1.2em; font-weight: 600; }
.form__legal { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.65); padding: 80px 0 28px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 500px; height: 500px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(227,38,48,.22), transparent 65%); }
.footer__cta { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: 22px; background: var(--red); margin-bottom: 64px; }
.footer__cta h3 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.footer__cta p { color: rgba(255,255,255,.85); }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .logo { font-size: 2rem; margin-bottom: 1.2rem; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__grid a, .footer__grid p { display: flex; gap: .5rem; align-items: flex-start; font-size: .92rem; margin-bottom: .6rem; transition: color .3s; }
.footer__grid a:hover { color: #fff; }
.footer__grid .ico { color: var(--red); margin-top: 4px; }
.footer__legal { position: relative; padding-top: 24px; font-size: .78rem; display: grid; gap: .5rem; }
.footer__credit { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.footer__credit:hover { color: var(--red); }
.footer__grid small, .topbar small { opacity: .7; font-size: .85em; }
.footer__partner { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .86rem; }
.footer__partner img { flex: none; width: 44px; height: 44px; padding: 5px; border-radius: 10px; background: #fff; }
.footer__partner span { display: block; font: 700 .68rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.footer__partner b { color: #fff; }
.topbar__phones { gap: 1.2rem !important; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; }

/* Social icons */
.social { display: inline-flex !important; align-items: center; gap: 8px !important; }
.social a { display: inline-flex !important; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 !important; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .3s, transform .3s; }
.social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.social svg { width: 15px; height: 15px; }
.social--top { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.15); }
.social--top a { width: 24px; height: 24px; background: transparent; color: rgba(255,255,255,.75); }
.social--top a:hover { background: var(--red); }
.social--top svg { width: 14px; height: 14px; }
.social--footer { margin-top: 1.2rem; }
.social--footer a { width: 36px; height: 36px; }
.social--footer svg { width: 17px; height: 17px; }
.menu__social { display: none; }
@media (max-width: 1100px) {
  .menu__social { display: block; padding: 20px 1rem 0; }
  .menu__social .social a { width: 40px; height: 40px; }
  .menu__social .social svg { width: 18px; height: 18px; }
}

/* Partner (Qamari Associates) */
.partner__card { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding: 44px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.partner__logo { display: grid; place-items: center; width: 170px; height: 170px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.partner__logo img { width: 120px; height: 120px; }
.partner__body { min-width: 0; }
.partner__body .title { margin: .4rem 0 .2rem; }
.partner__role { font: 700 .95rem var(--head); color: var(--navy); margin-bottom: .8rem; }
.partner__body > p:not(.eyebrow):not(.partner__role) { color: var(--text); max-width: 62ch; }
.partner__info { list-style: none; margin-top: 1rem; display: grid; gap: .5rem; font-size: .93rem; color: var(--ink); }
.partner__info li { display: flex; gap: .6rem; align-items: flex-start; }
.partner__info .ico { color: var(--red); flex: none; margin-top: 3px; }
.partner__info a { font-weight: 700; color: var(--navy); }
.partner__years { text-align: center; padding: 26px 30px; border-radius: 18px; background: var(--navy); color: #fff; }
.partner__years b { display: block; font: 800 3.2rem/1 var(--head); color: #fff; }
.partner__years span { display: block; margin-top: .5rem; font-size: .8rem; color: rgba(255,255,255,.8); }
@media (max-width: 900px) {
  .partner__card { grid-template-columns: auto 1fr; padding: 32px; gap: 28px; }
  .partner__years { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
  .partner__years span { margin-top: 0; text-align: left; }
}
@media (max-width: 600px) {
  .partner__card { grid-template-columns: 1fr; padding: 24px; text-align: left; }
  .partner__logo { width: 110px; height: 110px; }
  .partner__logo img { width: 78px; height: 78px; }
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: ripple 2.2s ease-out infinite; z-index: -1; }

/* ---------- Chat widget ---------- */
.chat__fab { position: fixed; right: 22px; bottom: 92px; z-index: 91; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 7px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font: 700 .9rem var(--head); cursor: pointer; box-shadow: 0 14px 30px -8px rgba(8,32,74,.6); transition: transform .4s var(--ease), background .3s; }
.chat__fab-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; flex: none; }
.chat__fab-text { display: grid; text-align: left; line-height: 1.2; }
.chat__fab-text small { font: 500 .7rem var(--body); opacity: .75; }
.chat__fab:hover { transform: translateY(-2px); background: var(--navy-600); }
.chat.is-open .chat__fab { display: none; }
.chat__panel { position: fixed; right: 22px; bottom: 22px; z-index: 95; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100vh - 44px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(8,32,74,.55); overflow: hidden; animation: chatIn .45s var(--ease) both; }
.chat__panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.chat__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 56px 16px 18px; background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff; }
.chat__head-avatar { position: relative; flex: none; }
.chat__head-avatar img { display: block; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); }
.chat__head-avatar i { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #25D366; border: 2px solid var(--navy-800); }
.chat__head-text { display: grid; line-height: 1.25; min-width: 0; }
.chat__head-text b { font: 800 1.1rem var(--head); letter-spacing: -.01em; }
.chat__head-text span { font-size: .78rem; opacity: .85; }
.chat__head-text small { font-size: .7rem; opacity: .6; }
.chat__row { display: flex; align-items: flex-end; gap: 8px; max-width: 92%; }
.chat__row .chat__msg { max-width: none; }
.chat__avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; box-shadow: 0 4px 10px -4px rgba(8,32,74,.5); }
.chat__row.is-followed .chat__avatar { visibility: hidden; }
.chat__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.chat__close:hover { background: var(--red); }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); scroll-behavior: smooth; }
.chat__msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.55; animation: msgIn .35s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat__msg p { margin: 0; } .chat__msg p + p, .chat__msg ul { margin-top: .5em; } .chat__msg ul { padding-inline-start: 1.2em; } .chat__msg li + li { margin-top: .25em; }
.chat__msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.chat__msg--bot { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.chat__msg--user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 6px; }
.chat__msg--error { background: #FDECEC; color: var(--red-600); }
.chat__msg[dir="rtl"] { font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', var(--body); font-size: 1rem; line-height: 2.1; text-align: right; }
.chat__msg--user[dir="rtl"] { align-self: flex-end; }
.chat__msg--bot[dir="rtl"] { align-self: flex-start; border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; }
.chat__dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
.chat__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-400); animation: dot 1.2s infinite ease-in-out; }
.chat__dots i:nth-child(2) { animation-delay: .15s; } .chat__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
.chat__starters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--bg); }
.chat__starters:empty { display: none; }
.chat__starters button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 12px; font: 600 .78rem var(--body); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chat__starters button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid var(--line); background: #fff; }
.chat__form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; font: 500 .93rem/1.4 var(--body); color: var(--ink); background: var(--bg); outline: none; max-height: 120px; transition: border-color .25s, box-shadow .25s; }
.chat__form textarea:focus { border-color: var(--navy-400); box-shadow: 0 0 0 3px rgba(58,98,168,.15); background: #fff; }
.chat__form textarea[dir="rtl"] { font-family: 'Noto Nastaliq Urdu', var(--body); line-height: 1.9; }
.chat__send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--red); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.chat__send:hover { background: var(--red-600); transform: scale(1.06); }
.chat__send:disabled { opacity: .5; cursor: default; transform: none; }
.chat__note { margin: 0; padding: 0 16px 4px; font-size: .72rem; color: var(--muted); text-align: center; background: #fff; }
.chat__note a { color: var(--navy); font-weight: 700; }
.chat__powered { margin: 0; padding: 0 16px 10px; font-size: .68rem; color: var(--muted); text-align: center; background: #fff; letter-spacing: .02em; }
.chat__powered a { color: var(--red); font-weight: 700; }
.chat__powered a:hover { text-decoration: underline; }
.chat__sources { margin-top: 8px !important; font-size: .72rem; color: var(--muted); }
.chat__sources a { color: var(--red); text-decoration: underline; }
@media (max-width: 600px) {
  .chat__fab-text { display: none; }
  .chat__fab { width: 58px; padding: 0; justify-content: center; }
  .chat__fab-avatar { width: 50px; height: 50px; }
  .chat__panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
}
@keyframes ripple { from { transform: scale(1); opacity: .5; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px;
    padding: 100px 24px 40px; background: var(--navy-900); overflow-y: auto;
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .header.is-open .menu { opacity: 1; pointer-events: auto; }
  .header.is-open { backdrop-filter: none; }
  .menu > li > a { font-size: 1.2rem; padding: 1rem; }
  .menu > li > a.is-active::after { display: none; }
  .dropdown { position: static; translate: none; width: auto; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,.05); box-shadow: none; margin: 0 0 8px; }
  .dropdown b { color: #fff; }
  .dropdown a:hover { background: rgba(255,255,255,.08); }
  .header__cta { margin: 12px 0 0; }
  .burger { display: block; }
  .header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .burger span:nth-child(2) { opacity: 0; }
  .header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .timeline { grid-template-columns: 1fr; gap: 26px; max-width: 520px; margin: 0 auto; }
  .timeline__line { left: 32px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .tstep { text-align: left; display: grid; grid-template-columns: 66px 1fr; column-gap: 20px; }
  .tstep__num { margin: 0; grid-row: span 2; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__strip a { flex-direction: column; text-align: center; padding: 14px 8px; }
  .hero__strip b { font-size: .8rem; }
}
@media (max-width: 900px) {
  .who, .split, .faq, .contact, .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__img--sm { right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .logo { font-size: 1.45rem; }
  .grid--4, .checks--2, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .hero__strip { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .hero__strip::-webkit-scrollbar { display: none; }
  .hero__strip a { padding: 12px 8px; gap: 8px; }
  .hero__strip .s-ico { width: 36px; height: 36px; font-size: 1rem; }
  .hero__strip b { font-size: .78rem; }
  .hero__dots button { width: 28px; }
  .hero__controls { gap: 10px; margin-top: 32px; }
  .split__badge { left: 0; }
  .topbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
