/* ============================================================
   OneClicQ — main.css
   Design system v2 (Phase 1 redesign): Manrope + Inter, solid brand colours, quiet surfaces
   Bootstrap 5 provides grid/components; this file owns the
   premium OneClicQ visual identity (tokens, type, components).
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* =========================================
     OneClicq Brand Colors
     ========================================= */

  --brand-navy: #011C53;
  --brand-blue: #073ED6;
  --brand-cyan: #02D9F9;
  --brand-gray: #A3A9B1;
  --brand-light: #EAEAEA;

  /* Light surfaces */
  --ink: #FFFFFF;
  --ink-2: #fbfbfb;
  --panel: #FFFFFF;
  --panel-2: #fbfbfb;

  --hairline: rgba(1, 28, 83, .10);
  --hairline-2: rgba(1, 28, 83, .18);

  /* Secondary surfaces */
  --paper: #fbfbfb;
  --paper-2: #FFFFFF;
  --paper-line: rgba(1, 28, 83, .10);

  /* Text */
  --platinum: #011C53;
  --mist: #6a6a6a;
  --mist-2: #6a6a6a;
  --slate: #011C53;
  --slate-mut: #6a6a6a;

  /* Brand accents */
  --azure: #073ED6;
  --azure-hi: #073ED6;
  --violet: #073ED6;
  --cyan: #02D9F9;

  /* Effects */
  --glass: rgba(255, 255, 255, .78);
  --glass-line: rgba(1, 28, 83, .10);

  --shadow-s: 0 1px 2px rgba(1, 28, 83, .05);
  --shadow-m: 0 12px 32px rgba(1, 28, 83, .08);
  --shadow-glow: 0 24px 48px -16px rgba(1, 28, 83, .18);
  --tint: #F3F6FD; /* quiet brand-blue surface for icons, chips and highlights */

  /* Typography */
  --f-display: "Manrope", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Inter", system-ui, sans-serif; /* labels use the body font */

  /* Type scale (desktop max → mobile min, fluid in between) */
  --fs-h1: clamp(2.5rem, 4.6vw + .5rem, 4.5rem);    /* 40 → 72px */
  --fs-h2: clamp(1.875rem, 2.6vw + .6rem, 3rem);    /* 30 → 48px */
  --fs-h3: clamp(1.375rem, 1vw + 1rem, 1.75rem);    /* 22 → 28px */
  --fs-body: 1.0625rem;                             /* 17px */
  --fs-lead: clamp(1.0625rem, .4vw + .95rem, 1.25rem); /* 17 → 20px */
  --fs-small: .9375rem;                             /* 15px */

  /* Rhythm */
  --nav-h: 76px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --container-max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET / BASE ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  background: var(--ink);
  color: var(--platinum);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip; /* clip: no sideways scroll, but sticky elements still work */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
h1,h2,h3,h4,h5 { font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; margin: 0; color: var(--platinum); }
p { margin: 0; }
ul { margin: 0; }

.container { max-width: var(--container-max); }

/* Selection */
::selection { background: rgba(37,84,235,.28); color: #fff; }

/* Focus visibility (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--azure-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #C7D0E0; border-radius: 20px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #A9B6CE; }

/* ---------- 3. TYPE SCALE / UTILITIES ---------- */
.display-hero {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h-xl { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.h-lg { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.02em; }
.lead-txt { font-size: var(--fs-lead); line-height: 1.6; color: var(--mist); font-weight: 400; }

/* Section label: sits on a thin rule, with a short brand-blue segment marking it */
.eyebrow {
  position: relative;
  display: block;
  font-family: var(--f-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--platinum);
  padding-top: .9rem;
  border-top: 1px solid var(--hairline-2);
}
.eyebrow::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 44px; height: 2px;
  background: var(--azure);
}
/* centred sections: no full-width rule, just the short bar above the label */
.eyebrow.center, .text-center .eyebrow, .section-head.center .eyebrow {
  border-top: 0;
  text-align: center;
}
.eyebrow.center::before, .text-center .eyebrow::before, .section-head.center .eyebrow::before {
  top: 0; left: 50%; transform: translateX(-50%);
}

/* Accent words in headlines: one solid brand colour, no gradient fill */
.grad-text { color: var(--brand-blue); }
.text-mist { color: var(--mist) !important; }
.text-platinum { color: var(--platinum) !important; }

/* Aurora hairline — the repeating structural device */
.aurora-rule { height: 1px; width: 100%; background: var(--hairline); border: 0; }

/* ---------- 4. SECTIONS ---------- */
.section { padding: clamp(64px, 9vw, 65px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.bg-ink   { background: var(--ink); }
.bg-ink-2 { background: var(--ink-2); }
.bg-paper { background: var(--paper); color: var(--slate); }
.bg-paper h1,.bg-paper h2,.bg-paper h3,.bg-paper h4 { color: var(--slate); }
.bg-paper .lead-txt { color: var(--slate-mut); }
.bg-paper .eyebrow { color: var(--slate); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Ambient glow blobs are retired: the markup stays harmless but renders nothing */
.glow { display: none !important; }


.section > .container { position: relative; z-index: 1; }

/* ---------- 5. BUTTONS ---------- */
.btn { font-family: var(--f-body); font-size: .9375rem; font-weight: 600; line-height: 1.2; border-radius: 10px; border: 1px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); display: inline-flex; align-items: center; gap: .55rem; letter-spacing: -.005em; }
.btn i { transition: transform .2s var(--ease); }
.btn:hover i.bi-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

/* Primary: solid brand blue (class name kept so existing markup keeps working) */
.btn-aurora {
  background: var(--brand-blue);
  color: #FFFFFF;
  padding: .85rem 1.5rem;
  box-shadow: 0 1px 2px rgba(1, 28, 83, .12);
}
.btn-aurora:hover, .btn-aurora:focus-visible {
  color: #FFFFFF;
  background: var(--brand-navy);
  box-shadow: 0 8px 20px -8px rgba(1, 28, 83, .45);
}

/* Secondary: white with a hairline border */
.btn-ghost {
  background: #FFFFFF;
  color: var(--brand-navy);
  border-color: var(--hairline-2);
  padding: .85rem 1.5rem;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: #FFFFFF;
}
.btn-dark { background: var(--slate); color: #fff; padding: .85rem 1.5rem; }
.btn-dark:hover { color:#fff; background: var(--brand-blue); }

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.link-arrow { font-family: var(--f-body); font-weight: 600; color: var(--azure-hi); display: inline-flex; align-items:center; gap: .4rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--cyan); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- 6. CARDS ---------- */
.card-q {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card-q:hover { border-color: var(--hairline-2); box-shadow: var(--shadow-m); }

.card-q .ico {
  width: 44px; height: 44px; border-radius: var(--r-sm); display:grid; place-items:center;
  background: var(--tint); border: 0;
  color: var(--brand-blue); font-size: 1.25rem; margin-bottom: 1.25rem;
}
.card-q h3 { font-size: clamp(1.25rem, .5vw + 1.1rem, 1.5rem); line-height: 1.25; margin-bottom: .6rem; }
.card-q p  { color: var(--mist); font-size: 1rem; line-height: 1.6; }

.tech-chip {
  display:inline-block; font-family: var(--f-body); font-size: .78rem; font-weight: 500; letter-spacing: 0;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: rgba(15,23,42,.045); border: 1px solid var(--hairline);
  color: var(--mist); margin: .25rem .25rem 0 0;
}
.card-q:hover .tech-chip { border-color: var(--hairline-2); color: var(--platinum); }

/* Light-surface card variant */
.bg-paper .card-q { background: var(--paper-2); border-color: var(--paper-line); box-shadow: 0 1px 3px rgba(9,16,32,.05); }
.bg-paper .card-q h3 { color: var(--slate); }
.bg-paper .card-q p  { color: var(--slate-mut); }
.bg-paper .card-q .tech-chip { background: #eef2f9; color: var(--slate-mut); border-color: var(--paper-line); }
.bg-paper .card-q:hover { box-shadow: 0 20px 46px rgba(11,16,32,.12); }

/* Glass card */
.glass {
  background: #FFFFFF; border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-m);
}

/* ---------- 7. NAVBAR ---------- */
.q-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1050; display: flex; align-items: center; background: #FFFFFF; border-bottom: 1px solid transparent; transition: height .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.q-logo-img { width: 260px; height: auto; display: block; object-fit: contain; }
.q-logo:hover .q-logo-img { opacity: .92; }
/* Scrolled: a slimmer full-width bar with a hairline, no floating glass pill */
.q-nav.scrolled { height: 64px; border-bottom-color: var(--hairline); box-shadow: 0 1px 12px rgba(1, 28, 83, .05); }

.q-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1360px; }

.q-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.03em; color: var(--platinum); }
.q-logo .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-blue); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37,84,235,.35); position: relative; }
.q-logo .mark::after { content:""; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.q-logo b { color: var(--azure-hi); }

.q-menu { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.q-menu > li > a { display: inline-flex; align-items:center; gap:.3rem; padding: .55rem .7rem; font-size: .9375rem; font-weight: 500; color: var(--brand-navy); border-radius: 8px; white-space: nowrap; }
.q-menu > li > a:hover { color: var(--brand-blue); background: var(--tint); }
.q-menu > li > a .caret { font-size: .75rem; opacity: .7; transition: transform .2s var(--ease); }
.q-menu > li:hover > a .caret { transform: rotate(180deg); }

/* Current page: brand blue text (cyan was too low-contrast on white) */
.q-menu li.active > a { color: var(--brand-blue); font-weight: 600; background: var(--tint); }

.q-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.q-actions .btn { padding: .58rem .95rem; font-size: .88rem; white-space: nowrap; flex-shrink: 0; }

/* Mega menu */
.mega-wrap { position: static; }
.mega {
  position: absolute; top: calc(var(--nav-h) - 2px); left: 50%; transform: translateX(-50%) translateY(10px); margin-top: -12px;
  width: min(960px, 94vw);
  background: #FFFFFF;
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-m); padding: 1.6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 1060;
  
}

/* .mega-wrap::after{
  content:"";
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  height: 10px;
} */
.mega-wrap:hover .mega, .mega-wrap:focus-within .mega, .mega.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.mega-col .mega-h { font-family: var(--f-body); font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--azure-hi); margin-bottom: .8rem; }
.mega-col a { display: block; font-size: .9rem; color: var(--mist); padding: .32rem 0; }
.mega-col a:hover { color: var(--platinum); transform: translateX(3px); }
.mega-foot { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--hairline); display:flex; align-items:center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mega-foot span { color: var(--mist); font-size: .9rem; }

/* Mobile nav */
.q-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hairline-2); background: rgba(15,23,42,.03); color: var(--platinum); font-size: 1.3rem; align-items:center; justify-content:center; }
.q-mobile {
  position: fixed; inset: 0; z-index: 1040;
  background: var(--ink); padding: calc(var(--nav-h) + 14px) 1.3rem 2rem;
  overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.q-mobile.open { transform: translateX(0); visibility: visible; }
.q-mobile .m-item { border-bottom: 1px solid var(--hairline); }
.q-mobile .m-link { display:flex; align-items:center; justify-content: space-between; padding: 1.05rem .2rem; font-family: var(--f-display); font-size: 1.18rem; font-weight: 500; color: var(--platinum); width:100%; background:none; border:0; text-align:left; }
.q-mobile .m-link .chev { transition: transform .3s var(--ease); color: var(--mist); }
.q-mobile .m-item.open .m-link .chev { transform: rotate(90deg); color: var(--azure-hi); }
.q-mobile .m-sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.q-mobile .m-item.open .m-sub { max-height: 640px; }
.q-mobile .m-sub a { display:block; padding: .55rem .2rem .55rem 1rem; color: var(--mist); font-size: .98rem; border-left: 2px solid var(--hairline); margin-left: .3rem; }
.q-mobile .m-sub a:hover { color: var(--platinum); border-color: var(--azure); }
.q-mobile .m-cta { margin-top: 1.6rem; display: grid; gap: .7rem; }
.q-mobile .m-cta .btn { justify-content: center; width: 100%; }

@media (max-width: 1100px) { .q-menu, .q-actions { display: none; } .q-burger { display: inline-flex; } .q-nav.scrolled { height: 62px; } }
@media (max-width: 600px) { .q-logo-img { width: 140px; } .q-nav.scrolled { height: 58px; } }


/* ---------- 8. STAT / COUNTER ---------- */
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.25rem, 3vw + 1rem, 3.25rem); letter-spacing: -.04em; line-height: 1; color: var(--brand-navy); }
.stat-label { font-family: var(--f-body); font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; color: var(--mist); margin-top: .6rem; }

/* ---------- 9. HERO NETWORK ---------- */
.hero {
  position: relative; min-height:100vh;
min-height:100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px; overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .container { position: relative; z-index: 2; }

/* ---------- 10. MARQUEE / LOGO STRIP ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.2rem; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-body); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--mist); white-space: nowrap; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- 11. PROCESS TIMELINE ---------- */
.proc-line { position: relative; }
.proc-step { position: relative; padding-left: 3.4rem; padding-bottom: 2.4rem; }
.proc-step::before { content:""; position:absolute; left: 15px; top: 6px; bottom: -6px; width: 1px; background: var(--hairline-2); }
.proc-step:last-child::before { display:none; }
.proc-num { position:absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--hairline-2); display:grid; place-items:center; font-family: var(--f-mono); font-size:.8rem; color: var(--azure-hi); }

/* ---------- 12. TESTIMONIAL ---------- */
.quote-card { background: var(--panel); border:1px solid var(--hairline); border-radius: var(--r-lg); padding: 2.2rem; height:100%; box-shadow: var(--shadow-s); }
.quote-card .stars { color: #F5A623; letter-spacing: .1em; margin-bottom: .9rem; }
.quote-card p { color: var(--platinum); font-size: 1.05rem; }
.quote-card .who { display:flex; align-items:center; gap:.8rem; margin-top:1.4rem; }
.quote-card .who .av { width: 44px; height:44px; border-radius:50%; background: var(--tint); border:1px solid var(--hairline-2); display:grid; place-items:center; font-family: var(--f-display); font-weight:600; color: var(--platinum); }
.quote-card .who b { display:block; font-size:.95rem; }
.quote-card .who small { color: var(--mist); }

/* ---------- 13. FORM ---------- */
.q-field { margin-bottom: 1.1rem; }
.q-field label { display:block; font-size: .875rem; font-weight: 500; margin-bottom:.4rem; color: var(--brand-navy); }
.q-input {
  width: 100%; padding: .8rem 1rem; border-radius: var(--r-sm);
  background: #FFFFFF; border: 1px solid var(--hairline-2);
  color: var(--platinum); font-family: var(--f-body); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.q-input::placeholder { color: #8a8f98; }
.q-input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(7, 62, 214, .12); }
select.q-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%238A97B4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }

/* ---------- 14. FOOTER ---------- */
.q-foot {
  background: #060911;
  --platinum: #E9EDF7;
  --mist: #93A0BE;
  --mist-2: #64708c;
  --hairline: rgba(255,255,255,.09);
  --hairline-2: rgba(255,255,255,.14);
  --azure-hi: #6ea0ff;
  border-top: 1px solid var(--hairline); padding-top: clamp(56px, 7vw, 92px);
}
.q-foot .foot-h { font-family: var(--f-body); font-size:.95rem; font-weight:600; letter-spacing:0; color: var(--azure-hi); margin-bottom: 1rem; }
.q-foot a { display:block; color: var(--mist); font-size:.92rem; padding:.28rem 0; }
.q-foot a:hover { color: var(--platinum); transform: translateX(3px); }
.q-foot .brand-line { color: var(--mist); max-width: 320px; font-size: .95rem; }
.q-foot .socials { display:flex; gap:.6rem; margin-top:1.2rem; }
.q-foot .socials a { width:40px; height:40px; border-radius:11px; border:1px solid var(--hairline); display:grid; place-items:center; color: var(--mist); }
.q-foot .socials a:hover { color:#fff; border-color: var(--azure-hi); background: rgba(110,160,255,.16); transform: translateY(-2px); }
.q-foot .foot-bottom { border-top: 1px solid var(--hairline); margin-top: 3rem; padding: 1.6rem 0; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap: wrap; }
.q-foot .foot-bottom small { color: var(--mist-2); }
.q-foot .foot-bottom .flinks { display:flex; gap:1.4rem; flex-wrap:wrap; }
.q-foot .foot-bottom .flinks a { display:inline; padding:0; font-size:.85rem; }

/* ---------- 15. BREADCRUMB / PAGE HERO ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 clamp(48px,7vw,92px); overflow: hidden; }
.crumb { font-family: var(--f-body); font-size:.85rem; letter-spacing:0; color: var(--mist); display:flex; gap:.4rem; align-items:center; margin-bottom: 1.4rem; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline-2); }
.crumb a:hover { color: var(--azure); text-decoration-color: currentColor; }
.crumb .crumb-sep { color: var(--hairline-2); }
.crumb i { font-size:.75rem; opacity:.6; }

/* ---------- 16. REVEAL ANIMATION ---------- */
/* Subtle: short distance, quick fade, small stagger */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .05s; }
.reveal.d2 { transition-delay: .1s; }
.reveal.d3 { transition-delay: .15s; }
.reveal.d4 { transition-delay: .2s; }

/* Image treatment */
.img-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); position: relative; }
.img-frame img { width:100%; height:100%; object-fit: cover; }
.img-frame.glowing { box-shadow: var(--shadow-glow); }

/* ---------- 17. CONTACT ("TALK TO US") WIDGET ---------- */
.talk-fab {
  position: fixed; bottom: 80px; right: 24px; z-index: 1100;
  width: 60px; height: 60px; border-radius: 50%; border: 0;
  background: var(--brand-blue); color: #fff; font-size: 1.4rem;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(1,28,83,.45);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.talk-fab:hover { background: var(--brand-navy); }
.talk-panel {
  position: fixed; bottom: 152px; right: 24px; z-index: 1100;
  width: 320px; max-width: calc(100vw - 32px);
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-m); overflow: hidden;
}
.talk-panel[hidden] { display: none; }
.talk-head { background: var(--brand-navy); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.talk-title { font-family: var(--f-display); font-weight: 600; font-size: 1rem; margin: 0; }
.talk-head small { color: rgba(255,255,255,.92); font-size: .78rem; }
.talk-close { background: rgba(255,255,255,.18); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.talk-close:hover { background: rgba(255,255,255,.3); }
.talk-body { padding: .6rem; display: grid; gap: .2rem; }
.talk-opt { display: flex; gap: .85rem; align-items: center; padding: .75rem .8rem; border-radius: var(--r-sm); color: var(--platinum); }
.talk-opt:hover, .talk-opt:focus-visible { background: rgba(7,62,214,.06); }
.talk-opt i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(7,62,214,.08); color: var(--azure); font-size: 1.1rem; flex-shrink: 0; }
.talk-opt .bi-whatsapp { color: #128C4A; background: rgba(18,140,74,.1); }
.talk-opt b { display: block; font-size: .92rem; }
.talk-opt small { color: var(--mist); font-size: .8rem; }
.mobile-nav-open .talk-widget, .mobile-nav-open .back-to-top-btn { display: none; }

@media (max-width: 575.98px) {
  .talk-fab { width: 48px; height: 48px; right: 14px; bottom: 72px; font-size: 1.15rem; }
  .talk-panel { right: 12px; left: 12px; width: auto; bottom: 130px; }
  /* keep the floating buttons from covering the last lines of content */
  .q-foot { padding-bottom: 72px; }
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--brand-navy); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* ---------- Forms: status message + spam trap ---------- */
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .95rem; }
.form-status.is-ok { background: rgba(18,140,74,.08); color: #0d6b38; border: 1px solid rgba(18,140,74,.25); }
.form-status.is-err { background: rgba(200,30,30,.06); color: #a51d1d; border: 1px solid rgba(200,30,30,.22); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--mist); font-size: .85rem; }

/* ---------- Footer contact block ---------- */
.q-foot .foot-contact { font-style: normal; margin-top: 1.2rem; display: grid; gap: .15rem; }
.q-foot .foot-contact span { color: var(--mist); font-size: .9rem; display: block; padding: .28rem 0; }
.q-foot .foot-contact i { color: var(--azure-hi); margin-right: .35rem; }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 991px) {
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
}

/* ---------- 19. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}



/* ============================================================
   20. RESPONSIVE HOMEPAGE PATCH
   Professional responsive behavior for desktop, tablet,
   mobile and small mobile screens.
   ============================================================ */

/* Prevent long words/URLs from creating horizontal overflow */


html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
.container, .container-fluid { width: 100%; }

/* ---------- Large desktop ---------- */
@media (max-width: 1399.98px) { .q-nav .container { max-width: 1240px; } .hero .container { padding-left: 24px; padding-right: 24px; } }

/* ---------- Desktop / laptop ---------- */
@media (max-width: 1199.98px) { .section { padding: clamp(58px, 7vw, 96px) 0; } .card-q { padding: 1.75rem 1.55rem; } .mega { width: min(900px, calc(100vw - 32px)); } .mega-grid { gap: 1rem; } }

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) { .q-nav .container { width: 100%; max-width: 100%; padding-left: 20px; padding-right: 20px; } .hero { min-height: 760px; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; } .hero .container { padding-left: 20px; padding-right: 20px; } .display-hero { max-width: 820px; } .section-head { max-width: 680px; } .mega { width: min(760px, calc(100vw - 32px)); } .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .img-frame { max-width: 100%; } .q-mobile { padding-left: 1.25rem; padding-right: 1.25rem; } }

/* ---------- Small tablet / large phone ---------- */
@media (max-width: 767.98px) { .section { padding: 56px 0; } .section--tight { padding: 44px 0; } .hero { min-height: 720px; align-items: center; padding-top: calc(var(--nav-h) + 42px); padding-bottom: 64px; } .hero .container { padding-left: 18px; padding-right: 18px; } .hero .d-flex.gap-3 .btn { width: auto; } .card-q { padding: 1.55rem 1.35rem; } .img-frame { border-radius: var(--r-md); } .proc-step { padding-left: 3rem; padding-bottom: 2rem; } .quote-card { padding: 1.7rem; } .mega { width: calc(100vw - 24px); padding: 1.2rem; } .mega-grid { grid-template-columns: 1fr; } .mega-foot { align-items: flex-start; flex-direction: column; } .mega-foot .btn { width: 100%; justify-content: center; } }

/* ---------- Mobile ---------- */
@media (max-width: 575.98px) { :root { --nav-h: 68px; } .section { padding: 52px 0; } .section--tight { padding: 40px 0; } .container { padding-left: 16px; padding-right: 16px; } .q-nav .container { padding-left: 16px; padding-right: 16px; } .q-logo-img { width: 140px; max-width: 140px; } .q-nav.scrolled { width: calc(100% - 16px); height: 58px; top: 7px; } .q-nav.scrolled .container { padding-left: 13px; padding-right: 13px; } .q-burger { width: 42px; height: 42px; flex: 0 0 42px; } .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 58px; } .hero .container { padding-left: 16px; padding-right: 16px; } .hero .lead-txt { max-width: 100% !important; } .hero .d-flex.flex-wrap.gap-3 { width: 100%; flex-direction: column; align-items: stretch; } .hero .d-flex.flex-wrap.gap-3 .btn { width: 100%; justify-content: center; } .hero .d-flex.flex-wrap.gap-4 { gap: .75rem !important; flex-direction: column; align-items: flex-start; font-size: .75rem !important; } .marquee-track { gap: 2rem; } .marquee-track span { font-size: .8rem; } .section-head, .section-head.center { max-width: 100%; } .card-q { padding: 1.45rem 1.25rem; } .tech-chip { font-size: .75rem; padding: .28rem .58rem; } .btn-lg { padding: .85rem 1.35rem; font-size: .95rem; } .img-frame img { min-height: 230px; object-fit: cover; } .proc-step { padding-left: 2.7rem; } .proc-step::before { left: 14px; } .proc-num { width: 30px; height: 30px; } .quote-card { padding: 1.45rem; } .q-foot .foot-bottom { align-items: flex-start; flex-direction: column; } .q-foot .foot-bottom .flinks { gap: .8rem 1rem; }  }

/* ---------- Extra-small phones ---------- */
@media (max-width: 390px) { .container, .q-nav .container, .hero .container { padding-left: 14px; padding-right: 14px; } .q-logo-img { width: 140px; max-width: 140px; } .q-nav.scrolled .container { padding-left: 11px; padding-right: 11px; } .q-burger { width: 40px; height: 40px; flex-basis: 40px; } .section { padding: 48px 0; } .card-q { padding: 1.3rem 1.1rem; }  }

/* ---------- Ultra-small phones ---------- */
@media (max-width: 340px) { .q-logo-img { width: 140px; max-width: 140px; }  .q-mobile { padding-left: 1rem; padding-right: 1rem; } }



/* Back To Top Button */

.back-to-top-btn{
    position:fixed;
    right:24px;
    bottom: 15px;
    width: 48px;
    height: 48px;
    border:none;
    border-radius:50%;
    background:#FFFFFF;
    color:var(--brand-navy);
    border:1px solid var(--hairline-2) !important;
    font-size:20px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.3s ease;
    z-index:9998;
    box-shadow: var(--shadow-m);
}

.back-to-top-btn.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top-btn:hover{
    transform:translateY(-3px);
}


@media (max-width: 575.98px){

    .back-to-top-btn{
        right: 18px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }

}


html,
body{
    overflow-x:hidden; overflow-x:clip;
    max-width:100%;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}
/* ---------- Fix-plan additions (Nov 2026) ---------- */
/* Heading-styled text that is not a heading (e.g. stat figures) */
.h1, .h2, .h3, .h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--platinum); margin: 0 0 .4rem; }
/* About timeline shows full years */
.proc-num.proc-year { width: 58px; border-radius: 999px; font-size: .75rem; }
.proc-step:has(.proc-year) { padding-left: 4.6rem; }
.proc-step:has(.proc-year)::before { left: 28px; }
/* Breadcrumb wraps on small screens instead of overflowing */
.crumb { flex-wrap: wrap; }
/* FAQ and Privacy pages carry their own label styles: match the plain section label */
.faq-eyebrow, .pp-eyebrow { font-size: .95rem !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
.faq-eyebrow::before, .faq-eyebrow::after, .pp-eyebrow::before, .pp-eyebrow::after { display: none !important; }

/* Home hero: plain facts instead of a pill badge and tick-list */
.hero-facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; color: var(--mist); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts i { color: var(--azure); }
@media (max-width: 575.98px) { .hero-facts { flex-direction: column; gap: .5rem; } }


/* Home hero tag line: divided list */
.hero-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 1rem; font-weight: 500; color: var(--mist); letter-spacing: 0; }
.hero-tags li + li { border-left: 1px solid var(--hairline-2); margin-left: 1rem; padding-left: 1rem; line-height: 1; }

/* ---------- Blog ---------- */
.blog-card { display: flex; flex-direction: column; height: 100%; background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; color: var(--platinum); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.blog-card:hover, .blog-card:focus-visible { border-color: var(--hairline-2); box-shadow: var(--shadow-m); transform: translateY(-2px); color: var(--platinum); }
.blog-card-img { width: 100%; height: 210px; object-fit: cover; }
.blog-card-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.blog-card-body .tech-chip { align-self: flex-start; }
.blog-card-title { font-size: 1.2rem; line-height: 1.3; margin: 0; }
.blog-card-summary { color: var(--mist); font-size: .95rem; line-height: 1.6; }
.blog-card-meta { color: var(--mist); font-size: .85rem; margin-top: auto; padding-top: .4rem; }

.article-wrap { max-width: 760px; margin-inline: auto; }
.article-title { font-size: clamp(2rem, 4.2vw, 3.2rem) !important; line-height: 1.1; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; color: var(--mist); font-size: .92rem; margin: 1.4rem 0 0; }
.article-section { padding-top: clamp(40px, 5vw, 64px); }
.article-figure { margin: 0 0 2.2rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); }
.article-figure img { width: 100%; height: auto; }
.article-body { font-size: 1.08rem; line-height: 1.8; color: var(--platinum); }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.2rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.25; margin: 2.6rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; line-height: 1.3; margin: 1.8rem 0 .6rem; }
.article-body strong { font-weight: 600; }
.article-lead { font-size: 1.22rem; line-height: 1.7; color: var(--platinum); }
.article-cta { margin-top: 3rem; padding: 1.8rem; border: 1px solid var(--hairline-2); border-left: 4px solid var(--azure); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--panel); }
.article-cta p { font-size: 1rem; color: var(--mist); }
.article-cta-title { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem !important; color: var(--platinum) !important; margin-bottom: .4rem !important; }
.article-cta-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.article-cta-links a { color: var(--azure); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575.98px) { .article-body { font-size: 1rem; } .article-lead { font-size: 1.1rem; } .article-cta { padding: 1.3rem; } }

/* ---------- Proof: testimonials + case-study results (only verified entries render) ---------- */
.cs-results { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1rem; }
.cs-results:empty { display: none; }
.cs-results strong { font-family: var(--f-display); font-size: 1.4rem; color: var(--azure); }
.quote-card { margin: 0; display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0; flex: 1; }
.quote-card .quote-logo { height: 28px; width: auto; margin-bottom: 1.1rem; object-fit: contain; align-self: flex-start; }
.quote-card .who img.av { object-fit: cover; }
.quote-card .quote-in { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--azure); margin-top: .2rem; }

/* Hero with photo on the right (text column is narrower, so cap the headline size) */
@media (min-width: 992px) {
  .hero-split .display-hero { font-size: clamp(2.5rem, 3.4vw + .5rem, 4rem); }
}
.hero-img img { aspect-ratio: 3 / 2; }
@media (max-width: 991.98px) { .hero-img { max-width: 640px; } }

/* ---------- Shared: technology tags + filter tabs (moved out of 13 pages) ---------- */
.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-tags span { padding: .4rem .8rem; border: 1px solid var(--hairline); background: #FFFFFF; border-radius: 6px; font-size: .875rem; color: var(--mist); }
.product-filters { display: flex; flex-wrap: nowrap; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .5rem; }
.product-filters::-webkit-scrollbar { display: none; }
.product-filters .chip { flex: 0 0 auto; background: #FFFFFF; border: 1px solid var(--hairline-2); color: var(--brand-navy); padding: .6rem 1.1rem; border-radius: 8px; font-family: var(--f-body); font-size: .9rem; font-weight: 500; cursor: pointer; white-space: nowrap; min-height: 42px; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.product-filters .chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.product-filters .chip.active { color: #FFFFFF; background: var(--brand-navy); border-color: var(--brand-navy); }
.tech-chip { border-radius: 6px; background: var(--tint); border-color: transparent; color: var(--brand-navy); }

/* ============================================================
   HOME PAGE (Phase 2)
   ============================================================ */
.section-rule { border-block: 1px solid var(--hairline); }
.hero-lead { max-width: 600px; }

/* Proof strip: numbers + technologies, separated by hairlines (no cards) */
.home-proof { border-block: 1px solid var(--hairline); background: var(--ink-2); padding: clamp(40px, 5vw, 64px) 0; }
.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.proof-stats > div { padding: .25rem 1.5rem; border-left: 1px solid var(--hairline); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .5rem; }
.proof-stats > div:first-child { border-left: 0; padding-left: 0; }
.proof-stats dt, .proof-stats dd { margin: 0; }
.tech-row { margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--hairline); display: flex; align-items: baseline; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.tech-row-label { font-size: var(--fs-small); font-weight: 600; color: var(--brand-navy); margin: 0; white-space: nowrap; }
.tech-row-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: var(--mist); font-size: var(--fs-small); font-weight: 500; }
@media (max-width: 767.98px) {
  .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .proof-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .tech-row { flex-direction: column; gap: .75rem; }
  .tech-row-list { gap: .4rem 1.25rem; }
}

/* Services: tab list + one detailed panel on desktop; stacked rows below 992px */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.svc-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.svc-tab { display: flex; align-items: baseline; gap: 1rem; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--hairline); padding: 1.15rem .25rem; font-family: var(--f-display); font-size: clamp(1.05rem, .4vw + .95rem, 1.25rem); font-weight: 600; letter-spacing: -.015em; color: var(--mist); cursor: pointer; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.svc-tab:hover { color: var(--brand-navy); }
.svc-tab.is-active { color: var(--brand-navy); padding-left: .75rem; box-shadow: inset 2px 0 0 var(--brand-blue); }
.svc-num { font-family: var(--f-body); font-size: .8125rem; font-weight: 600; color: var(--brand-blue); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.svc-panel { background: #FFFFFF; border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); }
.svc-panel > .svc-num { display: none; }
.svc-panel h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.svc-desc { font-size: var(--fs-lead); color: var(--platinum); line-height: 1.6; }
.svc-benefit { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); color: var(--mist); }
.svc-benefit b { display: block; font-size: .8125rem; font-weight: 600; color: var(--brand-navy); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.svc-tech { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-tech li { font-size: .875rem; font-weight: 500; padding: .35rem .75rem; border-radius: 6px; background: var(--tint); color: var(--brand-navy); }
.js .svc-panel:not(.is-active) { display: none; }
.svc-foot { margin-top: clamp(32px, 4vw, 48px); display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.svc-foot p { margin: 0; color: var(--mist); }
.svc-foot p a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(7, 62, 214, .35); }
.svc-foot p a:hover { text-decoration-color: currentColor; }
@media (max-width: 991.98px) {
  .svc { grid-template-columns: 1fr; gap: 0; }
  .svc-tabs { display: none; }
  .js .svc-panel:not(.is-active) { display: block; }
  .svc-panels { display: grid; gap: 1rem; }
  .svc-panel > .svc-num { display: block; margin-bottom: .5rem; }
}

/* Why OneClicq: numbered editorial list, two columns */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.why-list li { padding: 1.5rem 0; border-top: 1px solid var(--hairline-2); }
.why-num { display: block; font-size: .8125rem; font-weight: 600; color: var(--brand-blue); margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.why-list h3 { font-size: clamp(1.2rem, .4vw + 1.1rem, 1.375rem); margin-bottom: .5rem; }
.why-list p { color: var(--mist); }
@media (max-width: 767.98px) { .why-list { grid-template-columns: 1fr; } }

/* Process: six steps on one line on desktop, 3 x 2 on tablet, a vertical list on phones */
.process { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
.process li { position: relative; padding-top: 1.75rem; border-top: 2px solid var(--hairline-2); }
.process li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--brand-blue); }
.process-num { display: block; font-size: .8125rem; font-weight: 600; color: var(--brand-blue); margin-bottom: .5rem; }
.process h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.process p { color: var(--mist); font-size: var(--fs-small); line-height: 1.55; }
@media (max-width: 1199.98px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; } }
@media (max-width: 575.98px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 0 1.75rem 1.75rem; border-top: 0; border-left: 2px solid var(--hairline-2); }
  .process li:last-child { padding-bottom: 0; }
  .process li::before { top: 0; left: -6px; }
}

/* Selected work: alternating image / text rows */
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--hairline); }
.work-row:last-child { border-bottom: 0; padding-bottom: 0; }
.work-row--flip .work-img { order: 2; }
.work-img img { aspect-ratio: 3 / 2; }
.work-meta { font-size: .8125rem; font-weight: 600; color: var(--brand-blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.work-body h3 { font-size: var(--fs-h3); margin-bottom: 1.25rem; }
.work-facts { margin: 0; display: grid; gap: 1rem; }
.work-facts dt { font-size: .875rem; font-weight: 600; color: var(--brand-navy); margin-bottom: .2rem; }
.work-facts dd { margin: 0; color: var(--mist); }
.work-body .svc-tech { margin-bottom: 0; }
@media (max-width: 991.98px) { .work-row { grid-template-columns: 1fr; } .work-row--flip .work-img { order: 0; } }

/* Industries: a ruled grid instead of tiles */
.ind-grid { list-style: none; margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.ind-grid li { display: flex; align-items: center; gap: .85rem; padding: 1.35rem 1.25rem; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--brand-navy); }
.ind-grid i { font-size: 1.25rem; color: var(--brand-blue); }
@media (max-width: 767.98px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ind-grid li { padding: 1.1rem .9rem; font-size: .975rem; } }

/* Blog card title when used outside a heading */
.blog-card .blog-card-title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; color: var(--brand-navy); letter-spacing: -.015em; }

/* Closing CTA: solid navy band */
.cta-band { background: var(--brand-navy); color: #FFFFFF; padding: clamp(56px, 7vw, 96px) 0; }
.cta-band-title { color: #FFFFFF; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.cta-band-text { color: rgba(255, 255, 255, .78); font-size: var(--fs-lead); margin-top: 1rem; max-width: 560px; }
.btn-light-solid { background: #FFFFFF; color: var(--brand-navy); padding: .85rem 1.5rem; }
.btn-light-solid:hover, .btn-light-solid:focus-visible { background: var(--tint); color: var(--brand-blue); }
.cta-band .btn:focus-visible { outline-color: #FFFFFF; }

/* ============================================================
   SHARED PAGE BLOCKS (Phase 3): service, solution and hub pages
   ============================================================ */
.section-head + .feature-grid, .section-head + .tech-groups, .section-head + .svc-tech, .section-head + .process { margin-top: clamp(28px, 3vw, 44px); }

/* Heading beside a ruled list of value points */
.point-list { list-style: none; margin: 0; padding: 0; }
.point-list li { padding: 1.4rem 0; border-top: 1px solid var(--hairline-2); }
.point-list li:last-child { border-bottom: 1px solid var(--hairline-2); }
.point-list h3 { font-size: clamp(1.2rem, .4vw + 1.1rem, 1.375rem); margin-bottom: .4rem; }
.point-list p { color: var(--mist); }

/* Numbered feature grid with hairline tops (2, 3 or 4 columns) */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 clamp(24px, 3vw, 48px); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid li { padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--hairline-2); }
.feature-grid h3 { font-size: clamp(1.15rem, .35vw + 1.05rem, 1.3rem); margin-bottom: .45rem; }
.feature-grid p { color: var(--mist); }
@media (max-width: 991.98px) { .feature-grid--3, .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .feature-grid--2, .feature-grid--3, .feature-grid--4 { grid-template-columns: 1fr; } }

/* Technology groups: label column + tags */
.tech-groups { margin: 0; border-top: 1px solid var(--hairline-2); }
.tech-group { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 1rem 2rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--hairline); }
.tech-group dt { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--brand-navy); margin: 0; }
.tech-group dd { margin: 0; }
.tech-group .svc-tech { margin: 0; }
.svc-tech--lg li { font-size: .9375rem; padding: .45rem .9rem; }
@media (max-width: 575.98px) { .tech-group { grid-template-columns: 1fr; gap: .6rem; } }

/* Process with fewer than six steps */
.process--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .process--4, .process--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; } }
@media (max-width: 575.98px) { .process--3, .process--4, .process--5 { grid-template-columns: 1fr; } }

/* FAQ accordion (native details/summary: keyboard and screen-reader friendly, no JS) */
.faq-acc { border-top: 1px solid var(--hairline-2); }
.faq-item { border-bottom: 1px solid var(--hairline-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, .3vw + 1rem, 1.2rem); color: var(--brand-navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hairline-2); font-family: var(--f-body); font-weight: 400; font-size: 1.1rem; color: var(--brand-blue); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--brand-blue); }
.faq-item p { color: var(--mist); padding: 0 3rem 1.4rem 0; }

/* Index list: full-width ruled rows linking to detail pages (Services, Solutions hubs) */
.index-group { margin-top: clamp(28px, 3vw, 40px); }
.section-head + .index-group, .section-head + .index-list { margin-top: clamp(28px, 3vw, 44px); }
.index-group-label { font-size: .8125rem; font-weight: 600; color: var(--brand-blue); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .5rem; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline-2); }
.index-list li { border-bottom: 1px solid var(--hairline-2); }
.index-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) minmax(0, auto) 1.5rem; gap: 1rem 2rem; align-items: center; padding: 1.5rem .25rem; color: inherit; transition: background-color .2s var(--ease); }
.index-row:hover, .index-row:focus-visible { background: var(--tint); color: inherit; }
.index-num { font-size: .8125rem; font-weight: 600; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.index-main h3 { font-size: clamp(1.2rem, .5vw + 1.05rem, 1.5rem); margin-bottom: .3rem; }
.index-text { display: block; color: var(--mist); }
.index-row .svc-tech { margin: 0; justify-content: flex-end; }
.index-arrow { color: var(--brand-blue); font-size: 1.15rem; transition: transform .2s var(--ease); }
.index-row:hover .index-arrow { transform: translateX(4px); }
@media (max-width: 991.98px) {
  .index-row { grid-template-columns: 2.25rem minmax(0, 1fr) 1.25rem; }
  .index-row .svc-tech { grid-column: 2 / 3; justify-content: flex-start; }
  .index-arrow { grid-row: 1; grid-column: 3; }
}

/* Industries page: two-column list with icon, name and description */
.ind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); }
.section-head + .ind-list { margin-top: clamp(28px, 3vw, 44px); }
.ind-list li { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--hairline-2); }
.ind-list i { flex: 0 0 44px; height: 44px; border-radius: var(--r-sm); background: var(--tint); color: var(--brand-blue); display: grid; place-items: center; font-size: 1.2rem; }
.ind-list h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.ind-list p { color: var(--mist); }
@media (max-width: 767.98px) { .ind-list { grid-template-columns: 1fr; } }

/* Inline text link */
.link-inline { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(7, 62, 214, .35); }
.link-inline:hover { text-decoration-color: currentColor; color: var(--brand-blue); }

/* Contact page: details list and map */
.contact-list { display: grid; border-top: 1px solid var(--hairline-2); }
.contact-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--hairline-2); }
.contact-item > i { flex: 0 0 40px; height: 40px; border-radius: var(--r-sm); background: var(--tint); color: var(--brand-blue); display: grid; place-items: center; font-size: 1.1rem; }
.contact-item h2 { font-family: var(--f-body); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-navy); margin: 0 0 .3rem; }
.contact-item a, .contact-item span, .contact-item address { display: block; color: var(--mist); font-style: normal; margin: 0; }
.contact-item a:hover { color: var(--brand-blue); }
.map-frame { height: 340px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
label[data-consent] { cursor: pointer; }
label[data-consent] input[type="checkbox"] { margin-top: .3rem; flex: 0 0 auto; }

/* About: mission / vision pair */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.mv-grid > div { padding-top: 1.5rem; border-top: 2px solid var(--brand-blue); }
.mv-grid h3 { font-size: var(--fs-h3); margin-bottom: .75rem; }
.mv-grid p { font-size: var(--fs-lead); color: var(--mist); line-height: 1.6; }
@media (max-width: 767.98px) { .mv-grid { grid-template-columns: 1fr; } }

/* About: milestones timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--hairline-2); }
.timeline li { position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; padding: 0 0 2rem 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--brand-blue); }
.timeline-year { font-family: var(--f-display); font-weight: 700; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.timeline p { color: var(--mist); }
@media (max-width: 575.98px) { .timeline li { grid-template-columns: 1fr; gap: .25rem; } }

/* Secondary button on the navy band */
.btn-outline-light-solid { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .45); padding: .85rem 1.5rem; }
.btn-outline-light-solid:hover, .btn-outline-light-solid:focus-visible { color: #FFFFFF; border-color: #FFFFFF; background: rgba(255, 255, 255, .08); }

/* ============================================================
   LEGAL PAGES (Privacy Policy, Cookie Policy): standard layout
   ============================================================ */
.legal-hero { padding: calc(var(--nav-h) + 56px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--hairline); }
.legal-title { font-size: clamp(2.25rem, 3vw + 1rem, 3.25rem); font-weight: 800; letter-spacing: -.03em; margin-top: .75rem; }
.legal-intro { max-width: 680px; margin-top: 1rem; }
.legal-meta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: var(--fs-small); color: var(--mist); }
.legal-meta i { color: var(--brand-blue); }

.legal-wrap { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal-toc-wrap { position: sticky; top: calc(var(--nav-h) + 24px); }
.legal-toc summary { list-style: none; font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-navy); margin-bottom: .75rem; pointer-events: none; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hairline-2); counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; font-size: .9375rem; color: var(--mist); line-height: 1.4; }
.legal-toc a::before { content: counter(toc) ". "; font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: var(--brand-navy); }
.legal-toc a.is-current { color: var(--brand-blue); border-left-color: var(--brand-blue); font-weight: 500; }

.legal-body { max-width: 72ch; color: var(--platinum); }
.legal-section { padding-bottom: 2.25rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--hairline); scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.legal-section h2 { font-size: clamp(1.4rem, .6vw + 1.2rem, 1.75rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.legal-num { color: var(--brand-blue); }
.legal-section h3 { font-size: 1.125rem; margin: 1.5rem 0 .6rem; }
.legal-section p { margin: 0 0 1rem; line-height: 1.75; }
.legal-section ul { margin: 0 0 1rem; padding-left: 1.25rem; line-height: 1.7; }
.legal-section li { margin-bottom: .45rem; }
.legal-section li::marker { color: var(--brand-blue); }
.legal-section a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(7, 62, 214, .35); }
.legal-section a:hover { text-decoration-color: currentColor; }
.legal-note { margin: 1.25rem 0 0; padding: 1rem 1.25rem; background: var(--tint); border-left: 3px solid var(--brand-blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.legal-note p { margin: 0; }
.legal-contact { list-style: none; padding: 0 !important; margin: 1rem 0 0; border-top: 1px solid var(--hairline); }
.legal-contact li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; margin: 0; border-bottom: 1px solid var(--hairline); }
.legal-contact b { font-weight: 600; color: var(--brand-navy); }
.legal-related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline-2); color: var(--mist); }
.legal-related a { color: var(--brand-blue); font-weight: 500; }

@media (max-width: 991.98px) {
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-toc-wrap { position: static; }
  .legal-toc { border: 1px solid var(--hairline-2); border-radius: var(--r-md); padding: 1rem 1.25rem; }
  .legal-toc summary { pointer-events: auto; cursor: pointer; margin: 0; display: flex; justify-content: space-between; }
  .legal-toc summary::after { content: "+"; font-weight: 400; font-size: 1.1rem; color: var(--brand-blue); }
  .legal-toc[open] summary::after { content: "\2212"; }
  .legal-toc[open] summary { margin-bottom: .75rem; }
}
@media (max-width: 575.98px) { .legal-contact li { grid-template-columns: 1fr; gap: .15rem; } }

/* Legal pages: full-width image banner with a navy overlay */
.legal-hero--image { position: relative; overflow: hidden; isolation: isolate; background: var(--brand-navy); border-bottom: 0; min-height: clamp(380px, 34vw, 500px); display: flex; align-items: flex-end; padding-bottom: clamp(44px, 5vw, 72px); }
.legal-hero--image .legal-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.legal-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 28, 83, .94) 0%, rgba(1, 28, 83, .82) 42%, rgba(1, 28, 83, .35) 100%); }
.legal-hero--image .container { position: relative; width: 100%; }
.legal-hero--image .legal-title { color: #FFFFFF; }
.legal-hero--image .legal-intro { color: rgba(255, 255, 255, .82); }
.legal-hero--image .legal-meta { color: rgba(255, 255, 255, .78); }
.legal-hero--image .legal-meta i { color: var(--brand-cyan); }
.legal-hero--image .crumb, .legal-hero--image .crumb a { color: rgba(255, 255, 255, .78); }
.legal-hero--image .crumb a { text-decoration-color: rgba(255, 255, 255, .4); }
.legal-hero--image .crumb a:hover { color: #FFFFFF; }
.legal-hero--image .crumb .crumb-sep { color: rgba(255, 255, 255, .45); }
@media (max-width: 767.98px) { .legal-hero--image::after { background: linear-gradient(180deg, rgba(1, 28, 83, .78) 0%, rgba(1, 28, 83, .9) 100%); } }

/* Case studies: listing links + detail pages */
.work-row h3 a { color: inherit; }
.work-row h3 a:hover { color: var(--brand-blue); }
a.work-img { display: block; }
a.work-img img { transition: transform .4s var(--ease); }
a.work-img:hover img { transform: scale(1.02); }
.work-cta { margin-top: 1.5rem; }

.cs-glance { background: var(--ink-2); border-block: 1px solid var(--hairline); padding: clamp(24px, 3vw, 36px) 0; }
.cs-glance-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.cs-glance-list > div { padding: .25rem 1.5rem; border-left: 1px solid var(--hairline); }
.cs-glance-list > div:first-child { border-left: 0; padding-left: 0; }
.cs-glance-list dt { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mist); margin-bottom: .4rem; }
.cs-glance-list dd { margin: 0; font-weight: 600; color: var(--brand-navy); }
.cs-glance-list dd a { color: var(--brand-blue); font-weight: 500; }
.cs-glance-list .svc-tech { margin: 0; }
@media (max-width: 991.98px) {
  .cs-glance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .cs-glance-list > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 575.98px) { .cs-glance-list { grid-template-columns: 1fr; } .cs-glance-list > div { border-left: 0; padding-left: 0; } }

.cs-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.cs-story-block { border-top: 2px solid var(--brand-blue); padding-top: 1.5rem; }
.cs-story-block p { font-size: var(--fs-lead); line-height: 1.65; color: var(--mist); margin-top: 1rem; }
.cs-story-block p:first-of-type { color: var(--platinum); }
@media (max-width: 767.98px) { .cs-story { grid-template-columns: 1fr; } }
.cs-note { margin-top: clamp(32px, 4vw, 48px); padding-top: 1.25rem; border-top: 1px solid var(--hairline); font-size: var(--fs-small); color: var(--mist); }

.cs-pager .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-pager-link { display: flex; flex-direction: column; gap: .35rem; padding: clamp(24px, 3vw, 40px) 0; color: var(--brand-navy); }
.cs-pager-link--next { text-align: right; align-items: flex-end; border-left: 1px solid var(--hairline); }
.cs-pager-link span { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mist); }
.cs-pager-link b { font-family: var(--f-display); font-size: clamp(1.1rem, .5vw + 1rem, 1.35rem); font-weight: 700; }
.cs-pager-link:hover b { color: var(--brand-blue); }
@media (max-width: 575.98px) { .cs-pager .container { grid-template-columns: 1fr; } .cs-pager-link--next { border-left: 0; border-top: 1px solid var(--hairline); text-align: left; align-items: flex-start; } }

/* Case study detail: enriched narrative */
.cs-overview { max-width: 900px; }
.cs-overview-text { margin-top: 1.25rem; font-family: var(--f-display); font-size: clamp(1.3rem, .9vw + 1.05rem, 1.75rem); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; color: var(--brand-navy); }
.cs-lead { font-size: var(--fs-lead); font-weight: 500; line-height: 1.6; color: var(--platinum); }
.cs-list-title { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-blue); margin: 0 0 .5rem; }
.cs-list-title--gap { margin-top: clamp(36px, 4vw, 56px); }
.cs-changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); }
.cs-changes li { padding-top: 1.5rem; border-top: 2px solid var(--brand-blue); }
.cs-changes i { font-size: 1.5rem; color: var(--brand-blue); display: block; margin-bottom: .75rem; }
.cs-changes h3 { font-size: clamp(1.15rem, .35vw + 1.05rem, 1.3rem); margin-bottom: .45rem; }
.cs-changes p { color: var(--mist); }
.section-head + .cs-changes { margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 767.98px) { .cs-changes { grid-template-columns: 1fr; } }

/* Technologies: one-line purpose under each group name */
.tech-group dt span { display: block; font-family: var(--f-body); font-size: .875rem; font-weight: 400; color: var(--mist); margin-top: .2rem; letter-spacing: 0; }
/* Industries: typical systems under each description */
.ind-list .svc-tech { margin: .75rem 0 0; }
