/* =========================================================
   PIMS Technologies — multi-page system + motion
   Loaded after styles.css. Extends the same design tokens.
   ========================================================= */

/* ---------- Icon utility (brand-tinted Lucide masks) ---------- */
.ic {
  display: inline-block; width: 24px; height: 24px; flex: none;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat;
          mask: var(--i) center / contain no-repeat;
}
.ic-grad { background: var(--grad-brand); }
.ic-box {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-navy); color: #fff; flex: none; position: relative; overflow: hidden;
  transition: transform .3s var(--ease);
}
.ic-box .ic { width: 26px; height: 26px; }
.ic-box::after {
  content: ""; position: absolute; inset: 0; background: var(--grad-brand); opacity: 0; transition: opacity .3s;
}
.ic-box.ic-box-grad { background: var(--grad-brand); color: #06371f; }
.card-hover:hover .ic-box { transform: translateY(-2px) scale(1.04); }

.value-ic .ic { width: 24px; height: 24px; }
.cl-ic { font-size: 15px; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 250;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0; width: 58px; border-radius: 100px; overflow: hidden;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42), 0 2px 6px rgba(0,0,0,.15);
  transition: width .32s var(--ease), box-shadow .25s, transform .25s var(--ease);
  animation: waPop .5s var(--ease) both .4s;
}
.wa-float .wa-ic { flex: none; width: 58px; display: grid; place-items: center; }
.wa-float .wa-ic svg, .wa-float svg.wa-ic { width: 30px; height: 30px; }
.wa-float .wa-label {
  white-space: nowrap; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 15px;
  opacity: 0; padding-right: 4px; transition: opacity .2s .05s;
}
.wa-float:hover { width: 186px; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37,211,102,.5); }
.wa-float:hover .wa-label { opacity: 1; }
.wa-float:focus-visible { outline: 3px solid rgba(37,211,102,.5); outline-offset: 3px; }
@keyframes waPop { from { transform: scale(0) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; height: 54px; width: 54px; } .wa-float:hover { width: 54px; } .wa-float:hover .wa-label { opacity: 0; } .wa-float .wa-ic { width: 54px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* WhatsApp link in footer */
.footer-wa { display: inline-flex !important; align-items: center; gap: 7px; }
.footer-wa::before { content: ""; width: 16px; height: 16px; flex: none; background: #25D366;
  -webkit-mask: var(--wa-mask) center/contain no-repeat; mask: var(--wa-mask) center/contain no-repeat;
  --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M16 3C9.4 3 4 8.4 4 15c0 2.1.6 4.2 1.6 6L4 27l6.2-1.6c1.7.9 3.6 1.4 5.6 1.4h.2C22.6 26.8 28 21.4 28 15S22.6 3 16 3zm5.5 13.5c-.3-.2-1.8-.9-2-1-.3-.1-.5-.2-.7.1s-.8 1-.9 1.2c-.2.2-.3.2-.6.1s-1.3-.5-2.4-1.5c-.9-.8-1.5-1.8-1.7-2.1s0-.5.1-.6l.5-.5c.1-.2.2-.3.3-.5s0-.4 0-.5-.7-1.6-.9-2.2c-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4s-1 1-1 2.5 1.1 2.9 1.2 3.1c.2.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4z'/%3E%3C/svg%3E"); }

/* WhatsApp button */
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.32); }
.btn-wa:hover { background: #20bd5a; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,211,102,.42); }
.btn-wa::before { content: ""; width: 20px; height: 20px; flex: none; background: #fff;
  -webkit-mask: var(--wa-mask) center/contain no-repeat; mask: var(--wa-mask) center/contain no-repeat;
  --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M16 3C9.4 3 4 8.4 4 15c0 2.1.6 4.2 1.6 6L4 27l6.2-1.6c1.7.9 3.6 1.4 5.6 1.4h.2C22.6 26.8 28 21.4 28 15S22.6 3 16 3zm5.5 13.5c-.3-.2-1.8-.9-2-1-.3-.1-.5-.2-.7.1s-.8 1-.9 1.2c-.2.2-.3.2-.6.1s-1.3-.5-2.4-1.5c-.9-.8-1.5-1.8-1.7-2.1s0-.5.1-.6l.5-.5c.1-.2.2-.3.3-.5s0-.4 0-.5-.7-1.6-.9-2.2c-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4s-1 1-1 2.5 1.1 2.9 1.2 3.1c.2.2 2.1 3.2 5.1 4.5.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4z'/%3E%3C/svg%3E"); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad-brand); box-shadow: 0 0 10px rgba(43,182,115,.5); transition: width .1s linear; }

/* ---------- Animated brand gradient text ---------- */
.grad-text {
  background: linear-gradient(100deg, var(--green-500), var(--green-300), var(--green-500));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Rotating word ---------- */
.rotate-word { display: inline-block; transition: transform .32s var(--ease), opacity .32s var(--ease); }
.rotate-word.rotate-out { transform: translateY(-0.5em); opacity: 0; }

/* ---------- Logo pop on load ---------- */
.brand-mark { animation: logoPop .7s var(--ease) both; }
@keyframes logoPop { 0% { transform: scale(.7) rotate(-6deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Header: active + dropdown ---------- */
.nav-links a.active { color: var(--navy-800); }
.nav-links a.active::after { width: 100%; }
.nav-item.has-dd { position: relative; }
.nav-item.has-dd > a { display: inline-flex; align-items: center; gap: 4px; }
.dd-caret { transition: transform .25s var(--ease); }
.nav-item.has-dd:hover .dd-caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 288px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s var(--ease);
}
.nav-item.has-dd:hover .dropdown,
.nav-item.has-dd:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown a { display: block; padding: 12px 14px; border-radius: 11px; transition: background .18s; }
.dropdown a:hover { background: var(--paper); }
.dropdown a::after { display: none; }
.dd-t { display: block; font-weight: 600; color: var(--navy-800); font-size: 15px; }
.dd-n { display: block; font-size: 13px; color: var(--ink-500); }
.mobile-menu .mm-sub { padding-left: 22px; font-weight: 500; color: var(--ink-500); font-size: 15px; }

/* ---------- Footer (multi-column) ---------- */
.site-footer { padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brandcol .footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brandcol .brand-name { color: #fff; } .footer-brandcol .brand-sub { color: #8db4ff; }
.footer-tagline { color: #9fb2d6; font-size: 15px; max-width: 320px; margin-bottom: 16px; }
.footer-badge { font-size: 13px; color: #cdd9ee; display: flex; align-items: center; gap: 8px; }
.footer-col h4 { color: #fff; font-family: "Plus Jakarta Sans"; font-size: 14px; letter-spacing: .04em; margin-bottom: 16px; }
.footer-col a, .footer-static { display: block; color: #9fb2d6; font-size: 14.5px; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; color: #7f92b8; }
.footer-motto { letter-spacing: .06em; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--grad-hero); padding: clamp(120px, 16vh, 168px) 0 clamp(56px, 8vw, 84px); }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #9db6e4; margin-bottom: 20px; }
.breadcrumb a { color: #bcd0f2; } .breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero .lead { margin-top: 20px; font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: #cdd9ee; max-width: 640px; }
.page-hero .hero-cta { margin-top: 32px; }
.hero-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: #dbe6f7; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 8px 15px; border-radius: 100px; margin-bottom: 22px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-label { text-align: center; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; margin-bottom: 6px; }
.marquee-track { display: inline-flex; gap: 14px; white-space: nowrap; animation: marquee 34s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .m-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 100px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy-800); font-size: 14.5px; box-shadow: var(--shadow-sm); }
.marquee-track .m-pill .ic { width: 18px; height: 18px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats / at-a-glance counters ---------- */
.stats-band { background: var(--navy-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 8px 0; }
.stat { text-align: center; padding: 12px; }
.stat-num { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-k { display: block; margin-top: 10px; color: #cdd9ee; font-size: 14.5px; }
.stats-note { text-align: center; color: #7f92b8; font-size: 12.5px; margin-top: 22px; }

/* ---------- Grid helpers ---------- */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Section utilities ---------- */
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .kicker, .section-head.left .section-title, .section-head.left .section-lead { text-align: left; }
.eyebrow-row { display: flex; align-items: center; gap: 12px; }

/* ---------- Split media / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split + .split { margin-top: clamp(56px, 8vw, 96px); }
.split-copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.split-copy .kicker { margin-bottom: 12px; }
.check-list { margin-top: 22px; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink-700); }
.check-list .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--green-500); }

/* Illustration frame (abstract, brand — no fake dashboards) */
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: #fff; aspect-ratio: 4 / 3; }
.frame-navy { background: var(--grad-navy); border: 0; }
.frame svg { width: 100%; height: 100%; display: block; }

/* ---------- Icon feature cards ---------- */
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #d3ddf0; }
.icard h3 { font-size: 18px; margin: 18px 0 8px; }
.icard p { font-size: 14.5px; color: var(--ink-500); }
.icard .badge { margin-top: 14px; }

/* ---------- Module grid (PIMS Africa) ---------- */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module { display: flex; align-items: center; gap: 12px; padding: 16px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 13px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s; }
.module:hover { transform: translateY(-3px); border-color: var(--green-300); }
.module .ic { width: 20px; height: 20px; color: var(--navy-700); }
.module span { font-weight: 600; font-size: 14.5px; color: var(--navy-800); }

/* ---------- Tag pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); color: var(--navy-800); }
.pill .ic { width: 16px; height: 16px; color: var(--green-500); }

/* ---------- Cards with a photo header ---------- */
.icard-photo, .product-card-photo { padding: 0; overflow: hidden; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s var(--ease); }
.icard-photo:hover .card-img img, .product-card-photo:hover .card-img img { transform: scale(1.05); }
.icard-photo h3 { margin: 20px 24px 8px; }
.icard-photo p { margin: 0 24px 24px; }
.product-card-photo .pc-body { padding: 20px 22px 24px; }

/* ---------- Roadmap image cards ---------- */
.roadmap-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rm-card { display: block; border-radius: 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.rm-card img { width: 100%; height: auto; display: block; border-radius: 20px; }
.rm-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(10,42,94,.14); }
@media (max-width: 900px) { .roadmap-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 520px) { .roadmap-cards { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }

/* ---------- Timeline (roadmap) ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 26px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--green-500), var(--line)); }
.tl-item { position: relative; padding: 0 0 34px 74px; }
.tl-dot { position: absolute; left: 15px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--green-500);
  display: grid; place-items: center; }
.tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); }
.tl-phase { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-500); margin-bottom: 6px; }
.tl-item h3 { font-size: 19px; margin-bottom: 6px; }
.tl-item p { color: var(--ink-500); font-size: 15px; }
.tl-tags { margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-navy); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 66px); text-align: center; }
.cta-band::before { content: ""; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(141,198,63,.32), transparent 70%); filter: blur(20px); }
.cta-band h2 { color: #fff; position: relative; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band p { position: relative; color: #cdd9ee; margin: 16px auto 0; max-width: 560px; }
.cta-band .hero-cta { position: relative; justify-content: center; margin-top: 30px; }

/* ---------- Fiscal flow: sequential reveal ---------- */
.flow.flow-run .flow-step { opacity: 0; transform: translateY(10px); animation: flowIn .5s var(--ease) forwards; }
.flow.flow-run .flow-step:nth-child(1) { animation-delay: .05s; }
.flow.flow-run .flow-step:nth-child(2) { animation-delay: .25s; }
.flow.flow-run .flow-step:nth-child(3) { animation-delay: .45s; }
.flow.flow-run .flow-step:nth-child(4) { animation-delay: .65s; }
@keyframes flowIn { to { opacity: 1; transform: none; } }

/* ---------- FAQ (native details/summary) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: #cdd9ee; box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 17px; color: var(--navy-800); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--green-500); transition: transform .25s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-500); font-size: 15.5px; }

/* ---------- Callout / note ---------- */
.callout { display: flex; gap: 14px; padding: 20px 22px; border-radius: 14px; background: #eef7ee; border: 1px solid #cfe9d4; }
.callout .ic { color: var(--green-500); width: 24px; height: 24px; flex: none; }
.callout strong { color: var(--navy-800); display: block; margin-bottom: 3px; }
.callout p { color: var(--ink-700); font-size: 14.5px; }
.callout-navy { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.callout-navy strong { color: #fff; } .callout-navy p { color: #c3d1ea; } .callout-navy .ic { color: var(--green-300); }

/* ---------- Contact form (mailto, static) ---------- */
.contact-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy-800); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink-900);
  transition: border-color .2s, background .2s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-400); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Faux browser chrome for illustration frames ---------- */
.frame-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,.06); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }

/* =========================================================
   Imagery: photos, statement banners, showcase, logos
   ========================================================= */

/* Brand mark (real PNG app-icon) */
.brand-mark { border-radius: 10px; object-fit: contain; }
.footer-logo { height: 56px; width: auto; display: block; animation: logoPop .7s var(--ease) both; }

/* Make .frame hold real images (photos) as well as inline SVG */
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.frame.zoom:hover img { transform: scale(1.05); }
.frame.frame-auto { aspect-ratio: auto; }

/* Full-bleed cinematic statement banner (images carry their own text) */
.statement-band { width: 100%; line-height: 0; background: var(--navy-900); overflow: hidden; }
.statement-band img { width: 100%; height: auto; display: block; }
.statement-band.contained { max-width: 1360px; margin: 0 auto; }

/* Rounded, in-flow banner (product marketing images with baked text) */
.banner-rounded { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); line-height: 0; border: 1px solid var(--line); }
.banner-rounded img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease); }
.banner-rounded.zoom:hover img { transform: scale(1.03); }

/* Showcase gallery (branded ad campaign images) */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.showcase-grid.two { grid-template-columns: repeat(2, 1fr); }
.showcase-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line); line-height: 0; background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.showcase-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); aspect-ratio: 4 / 3; }
.showcase-card:hover img { transform: scale(1.05); }

/* Photo-backed hero: image behind a navy scrim, copy on top */
.photo-hero { position: relative; overflow: hidden; }
.photo-hero .ph-img { position: absolute; inset: 0; z-index: 0; }
.photo-hero .ph-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-hero .ph-scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(7,30,69,.62) 0%, rgba(7,30,69,.32) 28%, rgba(7,30,69,.78) 100%),
    linear-gradient(90deg, rgba(7,30,69,.88) 0%, rgba(7,30,69,.55) 55%, rgba(7,30,69,.35) 100%);
}
/* Centered variant (home): darken edges, keep the image glowing behind the copy */
.photo-hero.center .ph-scrim {
  background:
    radial-gradient(135% 125% at 50% 42%, rgba(7,30,69,.34) 0%, rgba(7,30,69,.80) 78%),
    linear-gradient(180deg, rgba(7,30,69,.55) 0%, rgba(7,30,69,.32) 34%, rgba(7,30,69,.82) 100%);
}
.photo-hero .page-hero-inner, .photo-hero .hero-inner, .photo-hero .container { position: relative; z-index: 1; }
/* Legibility over photography */
.photo-hero h1, .photo-hero .hero-title { text-shadow: 0 2px 24px rgba(3,14,35,.45); }
.photo-hero .lead, .photo-hero .hero-lead { text-shadow: 0 1px 14px rgba(3,14,35,.45); }
.photo-hero .hero-bg { display: none; }

/* Product logo lockup on hero / cards */
.logo-lockup { height: 54px; width: auto; display: block; margin-bottom: 22px; }
.page-hero .logo-lockup { filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow-md); margin-bottom: 22px; }
.logo-chip img { height: 40px; width: auto; display: block; }

/* Product logo strip */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 46px; }
.logo-strip img { height: 40px; width: auto; opacity: .9; transition: opacity .25s, transform .25s var(--ease); }
.logo-strip img:hover { opacity: 1; transform: translateY(-2px); }

@media (max-width: 900px) {
  .showcase-grid, .showcase-grid.two { grid-template-columns: repeat(2, 1fr); }
  .photo-hero .ph-scrim { background: linear-gradient(180deg, rgba(7,30,69,.82), rgba(7,30,69,.92)); }
}
@media (max-width: 560px) {
  .showcase-grid, .showcase-grid.two { grid-template-columns: 1fr; }
  .logo-strip { gap: 22px 30px; }
  .logo-strip img { height: 32px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .mobile-menu { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 18px; }
  .tl-item { padding-left: 58px; }
  .tl-dot { left: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .grad-text, .brand-mark, .marquee-track { animation: none !important; }
  .flow.flow-run .flow-step { opacity: 1 !important; transform: none !important; animation: none !important; }
}
