/* ==========================================================================
   UPDATES — page loader, static image hero (replaces 3D hero), process tabs
   ========================================================================== */

/* ---------------------------------------------------------------------
   PAGE LOADER — shown on first paint, hides once page is ready
   --------------------------------------------------------------------- */
.page-loader{
  position:fixed; inset:0; z-index:999; background:var(--navy);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  transition:opacity .5s ease, visibility .5s ease;
}
.page-loader img{
  height:44px; width:auto; opacity:0; animation:loaderLogoIn .6s ease forwards .1s;
}
.page-loader-bar{
  width:140px; height:2px; margin-top:26px; background:rgba(255,255,255,0.14); border-radius:2px; overflow:hidden;
}
.page-loader-bar i{
  display:block; height:100%; width:40%; background:linear-gradient(90deg,var(--cyan),var(--orange));
  animation:loaderSweep 1.1s ease-in-out infinite;
}
.page-loader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
@keyframes loaderLogoIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
@keyframes loaderSweep{ 0%{ transform:translateX(-140%); } 100%{ transform:translateX(280%); } }
@media (prefers-reduced-motion: reduce){
  .page-loader-bar i{ animation:none; width:100%; }
  .page-loader img{ animation:none; opacity:1; }
}

/* ---------------------------------------------------------------------
   STATIC IMAGE HERO (homepage) — replaces the old 3D canvas hero
   --------------------------------------------------------------------- */
.hero-static{
  position:relative; overflow:hidden; background:var(--navy); color:#fff;
  padding:172px 0 96px;
}
.hero-static-bg{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center 58%;
}
.hero-static-scrim{
  position:absolute; inset:0; z-index:1;
  /* darker behind the text (left) so copy stays readable, photo reads clearly on the right */
  background:
    linear-gradient(90deg, rgba(6,16,32,0.92) 0%, rgba(6,16,32,0.78) 30%, rgba(6,16,32,0.42) 52%, rgba(6,16,32,0.18) 68%, rgba(6,16,32,0.08) 100%),
    linear-gradient(180deg, rgba(6,16,32,0.35) 0%, rgba(6,16,32,0.05) 30%, rgba(6,16,32,0.05) 65%, rgba(6,16,32,0.55) 100%);
}
.hero-static .wrap{ position:relative; z-index:2; }
.hero-static-inner{ max-width:620px; }
.hero-static .eyebrow{ color:#9FE6FF; text-shadow:0 2px 14px rgba(0,0,0,0.4); }
.hero-static h1{ color:#fff; font-size:clamp(30px,5vw,56px); margin:18px 0 18px; line-height:1.1; text-shadow:0 4px 24px rgba(0,0,0,0.45); }
.hero-static h1 em{ font-style:normal; color:var(--cyan); }
.hero-static p{ font-size:16px; line-height:1.75; color:rgba(255,255,255,0.86); max-width:540px; text-shadow:0 2px 14px rgba(0,0,0,0.4); }
.hero-static .hero-actions{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-static .hero-stats{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  margin-top:56px; padding-top:28px; border-top:1px solid rgba(255,255,255,0.16); max-width:920px;
}
.hero-static .hero-stats .num{ font:800 28px/1 'Manrope',sans-serif; color:#fff; }
.hero-static .hero-stats .label{ font-size:12px; color:rgba(255,255,255,0.6); margin-top:6px; line-height:1.4; }

@media (max-width:720px){
  .hero-static{ padding:150px 0 64px; }
  .hero-static .hero-stats{ grid-template-columns:repeat(2,1fr); }
}

/* ---------------------------------------------------------------------
   PROCESS TABS — the 6 value-chain steps, now tab-driven instead of
   scroll-linked 3D animation
   --------------------------------------------------------------------- */
.process-tabs{ background:var(--navy-soft); }
.process-tabs-head{ max-width:640px; margin-bottom:36px; }
.process-tabs-head .eyebrow{ color:var(--cyan); }
.process-tabs-head h2{ color:#fff; font-size:clamp(24px,3vw,34px); margin-top:12px; }
.process-tabs-head p{ color:rgba(255,255,255,0.62); margin-top:14px; font-size:15px; line-height:1.7; }

.tab-nav{
  display:flex; flex-wrap:wrap; gap:8px; margin-bottom:28px;
}
.tab-nav button{
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); color:rgba(255,255,255,0.68);
  font:600 13px/1 'Inter',sans-serif; padding:12px 18px; border-radius:100px;
  transition:all .2s ease; display:flex; align-items:center; gap:8px;
}
.tab-nav button .tn{ font:800 11px/1 'Manrope',sans-serif; color:var(--cyan); }
.tab-nav button:hover{ background:rgba(255,255,255,0.1); color:#fff; }
.tab-nav button.is-active{ background:var(--cyan); border-color:var(--cyan); color:#fff; }
.tab-nav button.is-active .tn{ color:#fff; }

.tab-panels{ position:relative; }
.tab-panel{
  display:none; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1);
  border-radius:var(--radius); padding:36px; gap:32px;
  grid-template-columns:1fr 1fr; align-items:center;
}
.tab-panel.is-active{ display:grid; animation:tabFadeIn .35s ease both; }
@keyframes tabFadeIn{ from{ opacity:0; } to{ opacity:1; } }
.tab-panel .n{ font:800 13px/1 'Manrope',sans-serif; letter-spacing:.1em; color:var(--cyan); text-transform:uppercase; }
.tab-panel h3{ color:#fff; font-size:clamp(20px,2.4vw,28px); margin:12px 0 12px; }
.tab-panel p{ color:rgba(255,255,255,0.68); font-size:14.5px; line-height:1.75; max-width:420px; }
.tab-panel .tab-visual{
  height:220px; border-radius:var(--radius-sm); background-size:cover; background-position:center;
  border:1px solid rgba(255,255,255,0.1);
}

@media (max-width:820px){
  .tab-panel{ grid-template-columns:1fr; }
  .tab-panel .tab-visual{ height:180px; order:-1; }
}
@media (max-width:560px){
  .tab-nav{ overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; -webkit-overflow-scrolling:touch; }
  .tab-nav button{ flex:none; }
}

/* ---------------------------------------------------------------------
   PURPOSE PANEL — Vision / Mission / Objective over the facility image
   --------------------------------------------------------------------- */
.purpose-section{ position:relative; overflow:hidden; padding:120px 0 96px; background:var(--navy); }
.purpose-bg{
  position:absolute; inset:0; z-index:0;
  background-image:url('../assets/hero-bg.jpg'); background-size:cover; background-position:center 55%;
}
.purpose-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(6,12,24,0.55) 0%, rgba(6,12,24,0.72) 55%, rgba(6,12,24,0.92) 100%);
}
.purpose-inner{ position:relative; z-index:2; }

.purpose-cta{
  display:inline-flex; align-items:center; gap:10px;
  background:rgba(39,170,226,0.92); color:#fff; font:700 13px/1 'Manrope',sans-serif;
  padding:12px 20px 12px 12px; border-radius:100px; margin-bottom:44px;
  box-shadow:0 10px 28px rgba(39,170,226,0.35); transition:transform .22s ease, box-shadow .22s ease;
}
.purpose-cta:hover{ transform:translateY(-2px); box-shadow:0 14px 34px rgba(39,170,226,0.45); }
.purpose-play{ width:26px; height:26px; border-radius:50%; background:rgba(255,255,255,0.22); display:flex; align-items:center; justify-content:center; flex:none; }
.purpose-play svg{ width:13px; height:13px; }

.purpose-panel{
  display:flex; border-radius:20px; overflow:hidden;
  background:rgba(10,18,32,0.5); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,0.1);
}
.purpose-card{
  flex:1; padding:44px 36px 40px; position:relative; border-right:1px solid rgba(255,255,255,0.09);
  --accent:#27AAE2;
}
.purpose-card:last-child{ border-right:none; }
.purpose-icon{
  width:76px; height:76px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; background:radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--accent) 45%, transparent), color-mix(in srgb, var(--accent) 8%, transparent));
  border:1.5px solid color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow:0 0 0 7px color-mix(in srgb, var(--accent) 10%, transparent);
  margin-bottom:24px;
}
.purpose-icon svg{ width:28px; height:28px; }
.purpose-card h3{
  color:var(--accent); font:800 20px/1 'Manrope',sans-serif; letter-spacing:.02em; text-transform:uppercase;
}
.purpose-rule{ display:block; width:34px; height:3px; border-radius:3px; background:var(--accent); margin:14px 0 18px; }
.purpose-card p{ color:rgba(255,255,255,0.82); font-size:15px; line-height:1.65; max-width:280px; }
.purpose-card::after{
  content:''; position:absolute; left:36px; right:36px; bottom:22px; height:30px;
  background-image:radial-gradient(var(--accent) 1.3px, transparent 1.6px);
  background-size:13px 13px; opacity:.4;
  -webkit-mask-image:linear-gradient(180deg, black, transparent);
  mask-image:linear-gradient(180deg, black, transparent);
}
.purpose-mission{ --accent:#3AB54A; }
.purpose-objective{ --accent:#9b6bff; }

@media (max-width:820px){
  .purpose-panel{ flex-direction:column; }
  .purpose-card{ border-right:none; border-bottom:1px solid rgba(255,255,255,0.09); }
  .purpose-card:last-child{ border-bottom:none; }
}
@media (max-width:560px){
  .purpose-section{ padding:88px 0 64px; }
  .purpose-cta{ font-size:12px; padding:10px 16px 10px 10px; margin-bottom:32px; }
}
@supports not (background: color-mix(in srgb, red 50%, transparent)){
  .purpose-icon{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.35); box-shadow:none; }
  .purpose-card::after{ opacity:.25; }
}

/* ---------------------------------------------------------------------
   VIDEO MODAL — company video lightbox, triggered by "Discover Our Purpose"
   --------------------------------------------------------------------- */
.video-modal-overlay{
  position:fixed; inset:0; z-index:300; background:rgba(6,12,24,0.86); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.video-modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.video-modal{
  width:100%; max-width:900px; position:relative;
  transform:translateY(14px) scale(.98); transition:transform .25s ease;
}
.video-modal-overlay.is-open .video-modal{ transform:translateY(0) scale(1); }
.video-modal-frame{
  position:relative; width:100%; aspect-ratio:16/9; border-radius:16px; overflow:hidden;
  background:#000; box-shadow:0 30px 80px rgba(0,0,0,0.5);
}
.video-modal-frame video{ width:100%; height:100%; display:block; object-fit:cover; }
.video-modal-close{
  position:absolute; top:-46px; right:0; background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.2);
  color:#fff; width:36px; height:36px; border-radius:50%; font-size:14px;
}
.video-modal-close:hover{ background:rgba(255,255,255,0.22); }
@media (max-width:640px){
  .video-modal-close{ top:-42px; }
}

/* ---------------------------------------------------------------------
   SCROLL-SCRUBBED VIDEO — canvas frame sequence driven by scroll position
   --------------------------------------------------------------------- */
.scroll-video-spacer{ position:relative; height:340vh; background:#000; }
.scroll-video-sticky{
  position:sticky; top:0; left:0; right:0; height:100vh; height:100svh; overflow:hidden; background:#000;
}
#scroll-video-canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }

.scroll-video-loader{
  position:absolute; inset:0; z-index:20; background:#000; display:flex; align-items:center; justify-content:center;
  transition:opacity .6s ease; font:600 12px/1 'Manrope',sans-serif; letter-spacing:.18em; color:rgba(255,255,255,.55); text-transform:uppercase;
}
.scroll-video-loader .dot{ width:6px; height:6px; border-radius:50%; background:var(--cyan); display:inline-block; margin-right:10px; animation:svLoaderPulse 1.1s ease-in-out infinite; }
@keyframes svLoaderPulse{ 0%,100%{ opacity:.3; } 50%{ opacity:1; } }
.scroll-video-loader.is-hidden{ opacity:0; pointer-events:none; }

.scroll-video-progress{ position:absolute; top:0; left:0; right:0; z-index:10; height:2px; background:rgba(255,255,255,0.14); }
.scroll-video-progress i{ display:block; height:100%; width:0%; background:linear-gradient(90deg,var(--cyan),var(--orange)); }

.scroll-video-caption{
  position:absolute; left:0; right:0; bottom:64px; z-index:10; text-align:center; padding:0 28px; pointer-events:none;
}
.scroll-video-caption .eyebrow{ color:#9FE6FF; }
.scroll-video-caption h2{ color:#fff; font-size:clamp(22px,3.4vw,36px); margin-top:12px; text-shadow:0 4px 20px rgba(0,0,0,0.5); }
.scroll-video-scrollcue{
  margin-top:26px; font:600 11px/1 'Manrope',sans-serif; letter-spacing:.16em; color:rgba(255,255,255,.6); text-transform:uppercase;
}
.scroll-video-scrollcue i{ display:block; width:1px; height:30px; margin:10px auto 0; background:rgba(255,255,255,.3); position:relative; overflow:hidden; }
.scroll-video-scrollcue i::after{ content:''; position:absolute; top:-100%; left:0; right:0; height:100%; background:var(--cyan); animation:svCue 1.8s ease-in-out infinite; }
@keyframes svCue{ 0%{top:-100%;} 60%,100%{top:100%;} }

@media (max-width:720px){
  .scroll-video-spacer{ height:280vh; }
  .scroll-video-caption{ bottom:44px; }
}
@media (prefers-reduced-motion: reduce){
  .scroll-video-spacer{ height:auto; }
  .scroll-video-sticky{ position:relative; height:56.25vw; min-height:320px; max-height:640px; }
  .scroll-video-scrollcue{ display:none; }
}

/* ---------------------------------------------------------------------
   BENEFIT GRID — "Why Agilomatrix" icon-card layout (homepage)
   --------------------------------------------------------------------- */
.why-section{ position:relative; overflow:hidden; padding:96px 0; background:var(--navy-soft); }
.why-inner{ position:relative; z-index:2; }
.why-inner .eyebrow{ color:#9FE6FF; }
.why-inner .section-title{ color:#fff; }
.why-inner .section-title .accent-cyan{ color:var(--cyan); }
.why-inner .lede{ color:rgba(255,255,255,0.66); }

.benefit-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:stretch;
}
.benefit-card{
  background:#fff; border-radius:var(--radius) var(--radius) 4px 4px;
  padding:36px 26px 28px; text-align:center;
  display:flex; flex-direction:column; align-items:center;
  transition:transform .22s ease, box-shadow .22s ease;
  box-shadow:0 10px 26px rgba(11,27,51,0.07);
  border-bottom:4px solid var(--accent);
  --accent:#27AAE2;
}
.benefit-card:hover{ transform:translateY(-4px); box-shadow:0 16px 36px rgba(11,27,51,0.12); }
.benefit-icon{
  width:64px; height:64px; border-radius:50%; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  background:color-mix(in srgb, var(--accent) 14%, white);
  color:var(--accent);
}
.benefit-icon svg{ width:26px; height:26px; }
.benefit-rule{ display:block; width:26px; height:3px; border-radius:3px; background:var(--accent); margin-bottom:16px; }
.benefit-card h3{ font-size:17px; line-height:1.3; margin-bottom:10px; color:var(--navy); min-height:44px; display:flex; align-items:center; }
.benefit-card p{ font-size:13.5px; line-height:1.6; color:var(--muted); flex:1; }
.benefit-link{
  display:inline-flex; align-items:center; gap:5px; margin-top:18px;
  font:700 13.5px/1 'Inter',sans-serif; color:var(--accent);
}
.benefit-link span{ transition:transform .18s ease; }
.benefit-link:hover span{ transform:translateX(3px); }
@supports not (background: color-mix(in srgb, red 50%, transparent)){
  .benefit-icon{ background:rgba(39,170,226,0.12); }
}
@media (max-width:960px){ .benefit-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .benefit-grid{ grid-template-columns:1fr; } .why-section{ padding:72px 0; } }

/* ---------------------------------------------------------------------
   DELIVER GRID — "What We Deliver" image cards on dark photo backdrop
   --------------------------------------------------------------------- */
.deliver-section{ position:relative; overflow:hidden; padding:100px 0; background:var(--navy); }
.deliver-bg{
  position:absolute; inset:0; z-index:0;
  background-image:url('../assets/hero-bg.jpg'); background-size:cover; background-position:center 55%;
}
.deliver-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(11,27,51,0.58) 0%, rgba(11,27,51,0.68) 60%, rgba(11,27,51,0.8) 100%);
}
.deliver-inner{ position:relative; z-index:2; }

.deliver-head{ display:grid; grid-template-columns:auto 1px 1fr; gap:36px; align-items:center; margin-bottom:48px; }
.deliver-head .eyebrow{ color:#9FE6FF; }
.deliver-head h2{ color:#fff; font:800 clamp(26px,3.4vw,38px)/1.15 'Manrope',sans-serif; margin-top:12px; }
.deliver-head h2 .accent-cyan{ color:var(--cyan); }
.deliver-divider{ width:1px; height:70px; background:rgba(255,255,255,0.16); }
.deliver-head p{ color:rgba(255,255,255,0.66); font-size:15px; line-height:1.7; max-width:360px; }
@media (max-width:820px){ .deliver-head{ grid-template-columns:1fr; } .deliver-divider{ display:none; } }

.deliver-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.deliver-card{
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1); border-radius:18px; overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.deliver-card:hover{ transform:translateY(-4px); border-color:rgba(255,255,255,0.22); box-shadow:0 18px 40px rgba(0,0,0,0.35); }
.deliver-media{ position:relative; height:190px; }
.deliver-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.deliver-media::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(6,12,24,0.55)); }
.deliver-icon{
  position:absolute; left:20px; bottom:-24px; z-index:2;
  width:52px; height:52px; border-radius:50%; background:#fff; color:var(--cyan);
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,0,0,0.3);
}
.deliver-icon svg{ width:22px; height:22px; }
.deliver-body{ padding:40px 24px 28px; }
.deliver-body h3{ color:#fff; font-size:18px; margin-bottom:10px; }
.deliver-rule{ display:block; width:26px; height:3px; border-radius:3px; background:var(--cyan); margin-bottom:14px; }
.deliver-body p{ color:rgba(255,255,255,0.66); font-size:13.5px; line-height:1.6; margin-bottom:18px; }
.deliver-link{ display:inline-flex; align-items:center; gap:5px; font:700 13.5px/1 'Inter',sans-serif; color:var(--cyan); }
.deliver-link span{ transition:transform .18s ease; }
.deliver-link:hover span{ transform:translateX(3px); }
@media (max-width:820px){ .deliver-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------
   CLIENTS & PARTNERS — premium dark navy, single-line logo marquee
   --------------------------------------------------------------------- */
.partners-section{ background:var(--navy); padding:88px 0; }
.partners-head{ text-align:center; margin-bottom:48px; }
.partners-head h2{ color:#fff; font:800 clamp(24px,3vw,32px)/1.2 'Manrope',sans-serif; }
.partners-rule{ display:block; width:46px; height:3px; border-radius:3px; background:var(--cyan); margin:16px auto 0; }

.marquee{
  position:relative; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track{
  display:flex; align-items:center; gap:44px; width:max-content;
  animation:marqueeScroll 38s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state:paused; }
.marquee-item{
  display:flex; align-items:center; justify-content:center; flex:none;
  height:64px; padding:0 20px; border-radius:12px; background:#fff;
  transition:transform .2s ease, box-shadow .2s ease;
}
.marquee-item:hover{ transform:translateY(-3px); box-shadow:0 10px 24px rgba(0,0,0,0.35); }
.marquee-item img{ height:30px; max-height:30px; width:auto; object-fit:contain; }
@keyframes marqueeScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation:none; } }
@media (max-width:560px){
  .partners-section{ padding:64px 0; }
  .partners-head{ margin-bottom:32px; }
  .marquee-track{ gap:28px; }
  .marquee-item{ height:52px; padding:0 16px; }
  .marquee-item img{ height:24px; max-height:24px; }
}

/* ---------------------------------------------------------------------
   AGILOTOOLS TEASER — dark software panel with floating capability tags
   --------------------------------------------------------------------- */
.agilo-section{ position:relative; overflow:hidden; padding:96px 0; background:var(--navy); }
.agilo-inner{ position:relative; z-index:2; }
.agilo-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; margin-bottom:56px; }
.agilo-text .eyebrow{ color:#9FE6FF; }
.agilo-text h2{ color:#fff; font:800 clamp(26px,3.2vw,36px)/1.2 'Manrope',sans-serif; margin:12px 0 16px; }
.agilo-text h2 .accent-cyan{ color:var(--cyan); }
.agilo-text p{ color:rgba(255,255,255,0.66); font-size:15px; line-height:1.75; max-width:440px; margin-bottom:26px; }
.agilo-text .btn-primary{ background:#fff; color:var(--navy); }
.agilo-text .btn-primary:hover{ background:var(--cyan); color:#fff; }

.agilo-visual{ position:relative; max-width:460px; margin:0 auto; padding:34px 10px; }
.agilo-screen{
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12); border-radius:16px;
  padding:20px; box-shadow:0 30px 70px rgba(0,0,0,0.4);
}
.agilo-screen-bar{ display:flex; gap:6px; margin-bottom:16px; }
.agilo-screen-bar i{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,0.18); }
.agilo-screen-label{ font:800 11px/1 'Manrope',sans-serif; letter-spacing:.1em; color:rgba(255,255,255,0.4); text-transform:uppercase; margin-bottom:14px; }
.agilo-tile-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.agilo-tile{
  aspect-ratio:1; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:color-mix(in srgb, var(--t-accent) 16%, rgba(255,255,255,0.04));
  color:var(--t-accent);
}
.agilo-tile svg{ width:18px; height:18px; }
.agilo-badge{
  position:absolute; display:flex; align-items:center; gap:10px;
  background:#0f1e35; border:1px solid rgba(255,255,255,0.14); border-radius:12px;
  padding:10px 14px; box-shadow:0 14px 30px rgba(0,0,0,0.35);
  font:700 12px/1.3 'Inter',sans-serif; color:#fff; white-space:nowrap;
}
.agilo-badge .agilo-badge-icon{
  width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex:none;
  background:color-mix(in srgb, var(--b-accent) 22%, transparent); color:var(--b-accent);
}
.agilo-badge .agilo-badge-icon svg{ width:15px; height:15px; }
.agilo-badge-1{ top:-6px; left:-6px; --b-accent:#27AAE2; }
.agilo-badge-2{ top:-6px; right:-6px; --b-accent:#9b6bff; }
.agilo-badge-3{ bottom:-6px; left:-6px; --b-accent:#3AB54A; }
.agilo-badge-4{ bottom:-6px; right:-6px; --b-accent:#F7941D; }

.agilo-grid-cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.agilo-card{
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1); border-radius:var(--radius);
  padding:26px 22px; border-bottom:3px solid var(--accent); --accent:#27AAE2;
  transition:transform .2s ease, border-color .2s ease;
}
.agilo-card:hover{ transform:translateY(-4px); border-color:rgba(255,255,255,0.22); border-bottom-color:var(--accent); }
.agilo-card .agilo-card-icon{
  width:40px; height:40px; border-radius:10px; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  background:color-mix(in srgb, var(--accent) 18%, transparent); color:var(--accent);
}
.agilo-card .agilo-card-icon svg{ width:19px; height:19px; }
.agilo-card h3{ color:#fff; font-size:15.5px; margin-bottom:8px; }
.agilo-card p{ color:rgba(255,255,255,0.62); font-size:13px; line-height:1.55; }

@media (max-width:900px){
  .agilo-grid{ grid-template-columns:1fr; }
  .agilo-text p{ max-width:none; }
  .agilo-grid-cards{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .agilo-badge{ font-size:10.5px; padding:8px 10px; gap:7px; }
  .agilo-badge .agilo-badge-icon{ width:24px; height:24px; }
  .agilo-grid-cards{ grid-template-columns:1fr; }
}

/* ---------------------------------------------------------------------
   CTA BAND v2 — dark card, eyebrow, two-tone heading, icon buttons, visual
   --------------------------------------------------------------------- */
.cta-band-v2{
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  background:var(--navy); color:#fff; border-radius:20px; padding:52px 56px;
  border:1px solid rgba(255,255,255,0.08);
}
.cta-eyebrow{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.cta-eyebrow span{ font:800 11.5px/1 'Manrope',sans-serif; letter-spacing:.14em; color:var(--cyan); text-transform:uppercase; }
.cta-eyebrow i{ display:block; width:28px; height:2px; border-radius:2px; background:var(--cyan); }
.cta-band-v2 h3{ color:#fff; font:800 clamp(24px,2.8vw,32px)/1.25 'Manrope',sans-serif; max-width:420px; }
.cta-band-v2 h3 .accent-cyan{ color:var(--cyan); }
.cta-band-v2 p{ color:rgba(255,255,255,0.62); margin-top:14px; font-size:14.5px; line-height:1.7; max-width:400px; }
.cta-actions-v2{ display:flex; flex-direction:column; gap:12px; flex:none; }
.cta-btn{
  display:inline-flex; align-items:center; gap:10px; justify-content:center;
  padding:13px 22px; border-radius:100px; font:700 14px/1 'Inter',sans-serif; white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cta-btn svg{ width:16px; height:16px; flex:none; }
.cta-btn-fill{ background:var(--cyan); color:#fff; }
.cta-btn-fill:hover{ transform:translateY(-2px); box-shadow:0 12px 26px rgba(39,170,226,0.35); }
.cta-btn-outline{ background:transparent; border:1px solid rgba(255,255,255,0.25); color:#fff; }
.cta-btn-outline:hover{ background:rgba(255,255,255,0.08); transform:translateY(-2px); }
.cta-btn .arrow{ margin-left:2px; transition:transform .18s ease; }
.cta-btn:hover .arrow{ transform:translateX(3px); }

.cta-visual{ flex:none; width:220px; height:180px; position:relative; display:none; }
.cta-visual svg{ width:100%; height:100%; }
@media (min-width:900px){ .cta-visual{ display:block; } }

/* ---------------------------------------------------------------------
   FOOTER v2 — social row + underline rule per column
   --------------------------------------------------------------------- */
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,0.16);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.7);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.footer-social a:hover{ background:var(--cyan); border-color:var(--cyan); color:#fff; }
.footer-social svg{ width:15px; height:15px; }
.footer-col h5{ position:relative; padding-bottom:10px; }
.footer-col h5::after{ content:''; position:absolute; left:0; bottom:0; width:22px; height:2px; border-radius:2px; background:var(--cyan); }
.footer-col a{ display:inline-flex; align-items:center; gap:4px; }
.footer-col a svg{ width:11px; height:11px; opacity:0; transform:translateX(-3px); transition:opacity .18s ease, transform .18s ease; }
.footer-col a:hover svg{ opacity:1; transform:translateX(0); }
.footer-contact-list{ display:flex; flex-direction:column; gap:12px; }
.footer-contact-list li{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:rgba(255,255,255,0.62); }
.footer-contact-list svg{ width:15px; height:15px; flex:none; margin-top:1px; color:var(--cyan); }
.footer-contact-list a{ color:rgba(255,255,255,0.62); }
.footer-contact-list a:hover{ color:#fff; }
.footer-bottom a{ color:rgba(255,255,255,0.62); display:inline-flex; align-items:center; gap:5px; }
.footer-bottom a:hover{ color:var(--cyan); }

/* ==========================================================================
   PROJECT TIMELINE — chronological engagement list (Projects page)
   ========================================================================== */
.proj-timeline{ position:relative; padding-left:0; }
.proj-timeline::before{
  content:''; position:absolute; left:20px; top:6px; bottom:6px; width:2px;
  background:linear-gradient(180deg, var(--cyan) 0%, var(--cyan) 40%, var(--line) 92%);
}
.proj-t-item{ position:relative; padding:0 0 36px 58px; }
.proj-t-item:last-child{ padding-bottom:0; }
.proj-t-dot{
  position:absolute; left:9px; top:18px; width:22px; height:22px; border-radius:50%;
  background:radial-gradient(circle at 35% 30%, #5DD3FA, var(--cyan) 70%);
  box-shadow:0 0 0 5px rgba(39,170,226,0.14), 0 4px 10px rgba(11,27,51,0.18);
  display:flex; align-items:center; justify-content:center;
}
.proj-t-dot::after{ content:''; width:7px; height:7px; border-radius:50%; background:#fff; }
.proj-t-item[data-status="progress"] .proj-t-dot{
  background:radial-gradient(circle at 35% 30%, #FFC873, var(--orange) 70%);
  box-shadow:0 0 0 5px rgba(247,148,29,0.16), 0 4px 10px rgba(11,27,51,0.18);
  animation:pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot{
  0%,100%{ box-shadow:0 0 0 5px rgba(247,148,29,0.16), 0 4px 10px rgba(11,27,51,0.18); }
  50%{ box-shadow:0 0 0 9px rgba(247,148,29,0.10), 0 4px 10px rgba(11,27,51,0.18); }
}
.proj-t-card{
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--cyan); border-radius:var(--radius);
  padding:20px 22px 20px 20px; display:flex; align-items:flex-start; gap:16px;
  transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.proj-t-item[data-status="progress"] .proj-t-card{ border-left-color:var(--orange); }
.proj-t-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px) translateX(2px); }
.proj-t-icon{
  flex:none; width:42px; height:42px; border-radius:11px; background:var(--soft); color:var(--navy);
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.proj-t-icon svg{ width:20px; height:20px; }
.proj-t-item[data-status="progress"] .proj-t-icon{ background:rgba(247,148,29,0.1); color:var(--orange); }
.proj-t-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:8px; }
.proj-t-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.proj-t-period{
  font:800 11.5px/1 'Manrope',sans-serif; letter-spacing:.05em; color:var(--cyan);
  background:rgba(39,170,226,0.09); padding:5px 11px; border-radius:100px; white-space:nowrap;
}
.proj-t-card h4{ font-size:16.5px; line-height:1.4; color:var(--navy); font-weight:700; }
.proj-t-meta{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:2px; }
.proj-t-type{
  font:700 11px/1 'Inter',sans-serif; letter-spacing:.02em; padding:5px 10px; border-radius:100px;
  background:var(--soft); color:var(--muted);
}
.proj-t-type.greenfield{ background:rgba(58,181,74,0.10); color:#237A2E; }
.proj-t-type.brownfield{ background:rgba(239,65,54,0.09); color:#B23127; }
.proj-t-loc{ font-size:12.5px; color:var(--muted); display:inline-flex; align-items:center; gap:4px; }
.proj-t-loc svg{ width:12px; height:12px; flex:none; }
@media (max-width:640px){
  .proj-timeline::before{ left:14px; }
  .proj-t-item{ padding-left:40px; }
  .proj-t-dot{ left:3px; width:16px; height:16px; }
  .proj-t-card{ flex-direction:column; gap:10px; }
}

/* ==========================================================================
   CLIENT / INDUSTRY LOGO STRIP (Projects page)
   ========================================================================== */
.client-logos-band{ background:var(--soft); border-radius:22px; padding:40px 34px 34px; }
.client-logos-band .section-head{ margin-bottom:26px; }
.client-logos-grid{
  display:grid; grid-template-columns:repeat(6,1fr); gap:14px;
}
.client-logo-card{
  background:#fff; border:1px solid var(--line); border-radius:14px; height:92px;
  display:flex; align-items:center; justify-content:center; padding:16px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.client-logo-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:transparent; }
.client-logo-card img{
  max-width:100%; max-height:100%; object-fit:contain;
  filter:grayscale(1) opacity(0.68); transition:filter .25s ease;
}
.client-logo-card:hover img{ filter:grayscale(0) opacity(1); }
@media (max-width:980px){ .client-logos-grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:640px){
  .client-logos-grid{ grid-template-columns:repeat(3,1fr); gap:10px; }
  .client-logo-card{ height:74px; border-radius:11px; padding:12px; }
  .client-logos-band{ padding:30px 18px 24px; border-radius:16px; }
}
