/* Core Link Arabia — Design System (fresh, 2026). Tokens per seo_plan/08-architecture/design-system-spec.md */
/* Montserrat — self-hosted from the client's brand font files (SIL OFL, see /assets/fonts/OFL.txt) */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/montserrat-regular.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/montserrat-italic.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/montserrat-medium.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/montserrat-semibold.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/montserrat-bold.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url('/assets/fonts/montserrat-extrabold.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:900;font-display:swap;src:url('/assets/fonts/montserrat-black.woff2') format('woff2')}
:root{--header-h:96px;--logo-h:84px;--logo-foot-h:120px;
  /* Tokens below are the editable theme (admin can override). Defaults = approved corelinkarabia.com palette. */
  --navy-900:#0D1F3C; --navy-700:#1A2F5A; --navy:#1A2F5A; --heading:var(--navy); --navy-500:#243D72;
  --steel:#64748B; --steel-600:#475569; --blue-600:#2D4D86; --blue-500:#2D4D86;
  /* "accent" tokens now resolve to the approved NAVY family (no teal) */
  --cyan-600:#0D1F3C; --cyan-500:#1A2F5A; --cyan-300:#2D4D86; --accent-bg:#EDF1F7;
  --ink-900:#1E293B; --gray-700:#5B6980; --gray-500:#94A3B8; --gray-400:#94A3B8;
  --gray-200:#E2E8F0; --gray-100:#F1F5F9; --gray-50:#F7F8FC; --white:#fff; --bg:#fff;
  --success:#1F9D55; --danger:#C0392B;
  --maxw:1200px; --gut:clamp(16px,4vw,32px); --radius:12px; --radius-sm:8px;
  --shadow-sm:0 1px 2px rgba(20,24,31,.06),0 2px 8px rgba(20,24,31,.05);
  --shadow-md:0 8px 30px rgba(20,24,31,.10);
  --font-sans:'Montserrat',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --fs-base:16px;
  --t:.2s ease;
  /* Prevent mobile browsers (Chrome/Samsung/iOS) from auto-darkening / recolouring the site. */
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;font-size:var(--fs-base,16px)}
body{margin:0;font-family:var(--font-sans);font-size:1rem;line-height:1.65;color:var(--ink-900);background:var(--bg);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
/* Global icon sizing — every inline SVG is small by default; containers override below. */
svg{width:1.2em;height:1.2em;flex:none;vertical-align:middle}
svg.b{width:20px;height:20px}
svg.x{width:20px;height:20px}
a{color:var(--cyan-500);text-decoration:none}
a:hover{color:var(--cyan-600)}
h1,h2,h3,h4{line-height:1.2;color:var(--heading);margin:0 0 .5em;font-weight:800;letter-spacing:-.01em}
h1{font-size:clamp(2.1rem,5vw,3.6rem);font-weight:900;line-height:1.12;letter-spacing:-.02em}
h2{font-size:clamp(1.6rem,3.5vw,2.5rem);line-height:1.22}
h3{font-size:1.15rem;font-weight:700;line-height:1.4}
h4{font-size:.95rem;font-weight:700}
p{margin:0 0 1rem;font-size:.93rem;line-height:1.85;color:var(--gray-700)}
:focus-visible{outline:3px solid var(--cyan-300);outline-offset:2px;border-radius:4px}
.container{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gut)}
.section{padding:clamp(3rem,7vw,5.5rem) 0}
.section--tight{padding-block:clamp(1.4rem,3.5vw,2.4rem)}
.section--tint{background:var(--gray-50)}
.section--navy{background:var(--navy-900);color:rgba(255,255,255,.85)}
.section--navy h2,.section--navy h3{color:#fff}
.eyebrow{display:inline-block;font-size:var(--eyebrow-fs,.8rem);font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--eyebrow-color,var(--navy));margin-bottom:.6rem}
.section--navy .eyebrow{color:rgba(255,255,255,.82)}
.lead{font-size:1.15rem;color:var(--gray-700);max-width:62ch}
.section--navy .lead{color:rgba(255,255,255,.75)}
.center{text-align:center}.center .lead{margin-inline:auto}
/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:.55rem;min-height:48px;padding:.7rem 1.35rem;border-radius:var(--btn-radius,999px);font-weight:700;font-size:1rem;border:2px solid transparent;cursor:pointer;transition:var(--t);text-align:center}
.btn svg{width:1.05em;height:1.05em;flex:none}
.btn--primary{background:var(--btn-solid-bg,var(--cyan-500));color:var(--btn-solid-text,#fff);border-color:var(--btn-solid-bg,var(--cyan-500))}
.btn--primary:hover{filter:brightness(.92)}
.btn--accent{background:#fff;color:var(--navy);border-color:#fff}
.btn--accent:hover{background:rgba(255,255,255,.88);color:var(--navy)}
.btn--outline{border-color:var(--btn-outline,var(--heading));color:var(--btn-outline,var(--heading));background:transparent}
.btn--outline:hover{background:var(--btn-outline,var(--heading));color:#fff}
.btn--ghost{border-color:rgba(255,255,255,.5);color:#fff;background:transparent}
.btn--ghost:hover{background:#fff;color:var(--navy-900)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem}
/* ---- Header ---- */
.site-header{position:sticky;top:0;z-index:50;background:var(--white);backdrop-filter:saturate(160%) blur(8px);border-bottom:1px solid var(--gray-100)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:var(--header-h);max-width:var(--maxw);margin:0 auto;padding-inline:var(--gut)}
.brand{display:flex;align-items:center;flex:none;text-decoration:none}
.brand-logo{display:block;height:var(--logo-h);width:auto;flex:none}
.brand-logo--ondark{display:none}
[data-theme="dark"] .site-header .brand-logo--onlight{display:none}
[data-theme="dark"] .site-header .brand-logo--ondark{display:block}
.footer-brand .brand-logo{height:var(--logo-foot-h)}
@media (max-width:1024px){:root{--header-h:80px;--logo-h:70px}}
@media (max-width:560px){:root{--header-h:72px;--logo-h:62px;--logo-foot-h:104px}}
.nav-links{display:flex;align-items:center;gap:.3rem;list-style:none;margin:0;padding:0}
.nav-links a{display:inline-block;padding:.5rem .75rem;border-radius:8px;font-weight:600;font-size:var(--nav-fs,.86rem);letter-spacing:.01em;color:var(--nav-color,var(--gray-700))}
.nav-links a:hover{color:var(--nav-hover,var(--heading));background:var(--gray-50)}
.nav-links a[aria-current=page]{color:var(--nav-active,var(--heading))}
[data-navactive=highlight] .nav-links a[aria-current=page]{background:var(--nav-active-bg,var(--accent-bg))}
[data-navactive=underline] .nav-links a[aria-current=page]{border-bottom:3px solid var(--nav-active,var(--heading));border-radius:0;padding-bottom:.35rem}
.nav-links .btn--primary{color:#fff}
.nav-links .btn--primary:hover{color:#fff}
.nav-cta-item{display:flex;align-items:center}
.nav-cta-item:first-of-type{margin-left:.4rem}
.nav-btn{min-height:42px;padding:.5rem .95rem;font-size:.9rem}
.nav-btn svg{width:1em;height:1em}
/* Header CTA buttons — fully admin-customisable (bg / text / border / shape) via tokens.
   Scoped to .nav-links so they override the generic .nav-links a colour. */
.nav-links .nav-btn--call{
  background:var(--call-bg,transparent);
  color:var(--call-text,var(--heading));
  border-color:var(--call-border,var(--heading));
  border-radius:var(--btn-radius,999px)}
.nav-links .nav-btn--call:hover{background:var(--call-border,var(--heading));color:#fff}
.nav-links .nav-btn--cta{
  background:var(--cta-bg,var(--cyan-500));
  color:var(--cta-text,#fff);
  border-color:var(--cta-border,var(--cyan-500));
  border-radius:var(--btn-radius,999px)}
.nav-links .nav-btn--cta:hover{filter:brightness(.92)}
.nav-toggle{display:none;background:none;border:0;padding:.5rem;cursor:pointer;color:var(--heading)}
.nav-toggle svg{width:28px;height:28px}
/* ---- Services dropdown ---- */
.nav-item{position:relative}
.nav-links .has-sub > a{display:inline-block}
.sub-toggle{background:none;border:0;cursor:pointer;color:var(--heading);padding:.3rem;display:inline-flex;align-items:center;vertical-align:middle}
.sub-toggle svg{width:16px;height:16px;transition:transform .2s ease}
.subnav{list-style:none;margin:0;padding:.4rem;position:absolute;top:100%;left:0;min-width:280px;background:var(--white);border:1px solid var(--gray-100);border-radius:12px;box-shadow:var(--shadow-md);display:none;z-index:60}
.subnav li a{display:flex;align-items:center;gap:.6rem;padding:.6rem .7rem;border-radius:8px;color:var(--heading);font-weight:600;font-size:.94rem;white-space:nowrap}
.subnav li a:hover{background:var(--gray-50);color:var(--cyan-600)}
.subnav .sub-ico{width:20px;height:20px;color:var(--heading);flex:none}
@media (min-width:1025px){
  .has-sub:hover .subnav,.has-sub:focus-within .subnav{display:block}
  .has-sub:hover .sub-toggle svg{transform:rotate(180deg)}
}
@media (max-width:1024px){
  .sub-toggle{position:absolute;right:.4rem;top:.5rem;padding:.5rem}
  .nav-links .has-sub{position:relative}
  .subnav{position:static;display:none;box-shadow:none;border:0;background:var(--gray-50);margin:.2rem 0 .4rem;min-width:0}
  .has-sub.open .subnav{display:block}
  .has-sub.open .sub-toggle svg{transform:rotate(180deg)}
}
@media (max-width:1024px){
  .nav-toggle{display:inline-flex}
  .nav-links{position:fixed;inset:var(--header-h) 0 auto 0;flex-direction:column;align-items:stretch;gap:.2rem;background:var(--white);padding:1rem var(--gut) 1.5rem;border-bottom:1px solid var(--gray-100);box-shadow:var(--shadow-md);transform:translateY(-130%);transition:transform .25s ease;max-height:calc(100vh - 80px);overflow-y:auto}
  .nav-links[data-open=true]{transform:translateY(0)}
  .nav-links a{padding:.85rem .8rem;font-size:1.05rem}
  .nav-cta-item{display:block}
  .nav-cta-item:first-of-type{margin-left:0}
  .nav-btn{width:100%;justify-content:center;margin-top:.4rem;min-height:48px}
}
/* ---- Hero ---- */
.hero{position:relative;background:radial-gradient(120% 120% at 78% 0,var(--navy) 0,var(--navy-900) 62%);color:#fff;overflow:hidden}
.hero::after{content:"";position:absolute;inset:0;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 39h40M39 0v40" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="1"/></svg>');pointer-events:none}
/* Hero background video */
.hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-scrim{position:absolute;inset:0;z-index:0;background:linear-gradient(135deg,rgba(8,16,42,.92) 0%,rgba(13,31,60,.85) 40%,rgba(11,75,84,.78) 100%)}
@media (max-width:760px){.hero-scrim{background:rgba(8,16,42,.9)}}
@media (prefers-reduced-motion:reduce){.hero-media{display:none}}
.hero .container{position:relative;z-index:1;padding-block:clamp(3.5rem,9vw,6.5rem)}
.hero h1{color:#fff;max-width:18ch}
.hero h1 span{color:var(--hero-accent,#fff)}
.hero p{color:rgba(255,255,255,.8);font-size:1.2rem;max-width:60ch}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.32);color:#fff;padding:.42rem 1.2rem;border-radius:999px;font-size:.82rem;font-weight:700;letter-spacing:.04em;margin-bottom:1.2rem}
/* ---- Stats / trust ---- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--gray-100);border:1px solid var(--gray-100);border-radius:var(--radius);overflow:hidden}
.stat{background:var(--white);padding:1.6rem 1rem;text-align:center}
.stat b{display:block;font-size:2rem;color:var(--heading);font-weight:800}
.stat span{color:var(--gray-700);font-size:.95rem}
@media (max-width:640px){.stats{grid-template-columns:repeat(2,1fr)}}
/* ---- Cards / grids ---- */
.grid{display:grid;gap:1.4rem}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--2{grid-template-columns:repeat(2,1fr)}
@media (max-width:900px){.grid--3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid--3,.grid--2{grid-template-columns:1fr}}
.card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--gray-100);border-radius:var(--radius);padding:1.6rem;transition:var(--t);height:100%}
a.card:hover{border-color:var(--cyan-300);box-shadow:var(--shadow-md);transform:translateY(-3px)}
.card .ico{width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:var(--accent-bg);color:var(--cyan-500);margin-bottom:1rem}
.card .ico svg{width:26px;height:26px}
.card h3{margin-bottom:.4rem}
.card p{color:var(--gray-700);margin-bottom:1rem;font-size:.98rem}
.card .more{margin-top:auto;font-weight:700;color:var(--link-color,var(--navy));display:inline-flex;align-items:center;gap:.4rem}
a.card:hover .more{color:var(--link-color,var(--navy));opacity:.75}
.card .more svg{width:1em;height:1em;transition:var(--t)}
a.card:hover .more svg{transform:translateX(3px)}
/* ---- Feature list ---- */
.feature{display:flex;gap:1rem;align-items:flex-start}
.feature .ico{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--gray-50);color:var(--cyan-600)}
.feature .ico svg{width:24px;height:24px}
.feature h4{margin-bottom:.25rem}
.feature p{color:var(--gray-700);font-size:.96rem;margin:0}
/* ---- Page hero / breadcrumb ---- */
.page-hero{background:linear-gradient(180deg,var(--navy-900),var(--navy));color:#fff;padding:clamp(2.5rem,6vw,4rem) 0}
.page-hero h1{color:#fff}
.page-hero p{color:rgba(255,255,255,.78);max-width:62ch;margin:0}
/* Page hero with a background photo (Services, Contact) — same scrim as the home hero */
.page-hero--photo{position:relative;overflow:hidden;padding:clamp(3rem,8vw,5.5rem) 0}
.page-hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.page-hero-scrim{position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(13,31,60,.92),rgba(11,75,84,.55))}
.page-hero--photo .container{position:relative;z-index:1}
.page-hero--photo p{color:rgba(255,255,255,.88)}
@media (max-width:760px){.page-hero-scrim{background:rgba(8,16,42,.82)}}
.crumbs{font-size:.9rem;color:rgba(255,255,255,.62);margin-bottom:1rem}
.crumbs a{color:rgba(255,255,255,.72)}.crumbs a:hover{color:#fff}
.crumbs span{color:#fff}
/* ---- Prose ---- */
.prose{max-width:72ch}
.prose h2{margin-top:2.2rem}
.prose h3{margin-top:1.6rem;color:var(--heading)}
.prose ul{padding-left:1.2rem}
.prose li{margin-bottom:.4rem}
/* ---- FAQ ---- */
.faq{border:1px solid var(--gray-100);border-radius:var(--radius);overflow:hidden;background:var(--white)}
.faq details{border-bottom:1px solid var(--gray-100)}
.faq details:last-child{border-bottom:0}
.faq summary{cursor:pointer;padding:1.1rem 1.3rem;font-weight:700;color:var(--heading);list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:var(--cyan-600);transition:var(--t)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .faq-body{padding:0 1.3rem 1.2rem;color:var(--gray-700)}
/* ---- Pills / related ---- */
.pills{display:flex;flex-wrap:wrap;gap:.7rem}
.pill{display:inline-flex;align-items:center;gap:.5rem;border:1px solid var(--gray-200);border-radius:999px;padding:.55rem 1rem;font-weight:600;color:var(--heading);background:var(--white)}
.pill:hover{border-color:var(--cyan-300);background:var(--gray-50)}
.pill svg{width:1.05em;height:1.05em}
/* ---- CTA band ---- */
/* ---- Quote bar ---- */
.quotebar{background:var(--navy-900);color:#fff;border-radius:var(--radius);padding:1.6rem 1.8rem;display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;justify-content:space-between}
.quotebar h3{color:#fff;margin:0}
.quotebar p{color:rgba(255,255,255,.62);margin:.3rem 0 0;font-size:.95rem}
/* ---- Forms ---- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:640px){.form-grid{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:.35rem}
.field--full{grid-column:1/-1}
label{font-weight:600;font-size:.92rem;color:var(--navy-900)}
input,select,textarea{font:inherit;padding:.7rem .85rem;border:1px solid var(--gray-200);border-radius:var(--radius-sm);background:var(--white);color:var(--ink-900);width:100%}
input:focus,select:focus,textarea:focus{border-color:var(--cyan-500);outline:none;box-shadow:0 0 0 3px var(--cyan-300)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.req{color:var(--danger)}
/* ---- Contact info list ---- */
.info{display:flex;gap:.8rem;align-items:flex-start;margin-bottom:1.1rem}
.info .ico{flex:none;width:42px;height:42px;border-radius:10px;background:var(--gray-50);color:var(--heading);display:grid;place-items:center}
.info .ico svg{width:22px;height:22px}
.info b{display:block;color:var(--navy-900)}
.info a,.info span{color:var(--gray-700)}
/* ---- Footer ---- */
.site-footer{background:var(--navy-900);color:rgba(255,255,255,.62);padding:3rem 0 1.5rem}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:2rem}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr}}
.site-footer h5{color:#fff;font-size:.95rem;letter-spacing:.04em;text-transform:uppercase;margin:0 0 1rem}
.site-footer a{display:block;color:rgba(255,255,255,.62);padding:.2rem 0}
.site-footer a:hover{color:var(--cyan-300)}
.footer-brand .brand{margin-bottom:1rem;display:inline-flex}
.footer-brand p{color:rgba(255,255,255,.5);font-size:.95rem;max-width:36ch}
.socials{display:flex;gap:.6rem;margin-top:1rem}
.socials a{width:40px;height:40px;border:1px solid rgba(255,255,255,.18);border-radius:10px;display:grid;place-items:center;padding:0}
.socials a:hover{background:var(--cyan-600);border-color:var(--cyan-600);color:#fff}
.socials svg{width:20px;height:20px}
.foot-info{display:flex;gap:.55rem;align-items:flex-start;margin-bottom:.7rem;font-size:.93rem}
.foot-info svg{width:18px;height:18px;flex:none;margin-top:3px;color:var(--cyan-300)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:2.2rem;padding-top:1.2rem;display:flex;flex-wrap:wrap;gap:.6rem;justify-content:space-between;font-size:.88rem;color:rgba(255,255,255,.5)}
.footer-bottom a{display:inline;color:rgba(255,255,255,.5)}
.footer-legal{display:flex;gap:1.2rem;flex-wrap:wrap}
/* ---- WhatsApp float ---- */
.wa{position:fixed;right:18px;bottom:18px;z-index:60;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:var(--shadow-md)}
.wa svg{width:30px;height:30px}
.wa:hover{transform:scale(1.05);color:#fff}
@media (max-width:560px){.wa{width:50px;height:50px;right:12px;bottom:12px}}
/* ---- Utilities ---- */
.mt0{margin-top:0}.mb0{margin-bottom:0}
.notice{background:var(--gray-50);border:1px solid var(--gray-100);border-left:4px solid var(--cyan-500);border-radius:var(--radius-sm);padding:1rem 1.2rem;color:var(--gray-700)}
.tag{display:inline-block;font-size:.78rem;font-weight:700;color:var(--cyan-600);background:rgba(26,47,90,.09);padding:.2rem .6rem;border-radius:6px;text-transform:uppercase;letter-spacing:.04em}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:#fff;padding:.6rem 1rem;border-radius:8px;z-index:100}
/* ---- Small buttons + service card quick-actions ---- */
.btn--sm{min-height:38px;padding:.4rem .85rem;font-size:.85rem;font-weight:600}
.svc-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--gray-100);border-radius:var(--radius);padding:1.6rem;height:100%;transition:var(--t)}
.svc-card:hover{border-color:var(--cyan-300);box-shadow:var(--shadow-md)}
.svc-card .ico{width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:var(--gray-50);color:var(--heading);margin-bottom:1rem}
.svc-card .ico svg{width:26px;height:26px}
.svc-card h3{margin-bottom:.4rem}
.svc-card h3 a{color:var(--navy-900)}
.svc-card h3 a:hover{color:var(--cyan-600)}
.svc-card p{color:var(--gray-700);font-size:.98rem;margin-bottom:1rem}
.svc-card .card-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:.5rem;padding-top:.4rem;border-top:1px solid var(--gray-100)}
.card-actions .act{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:700;padding:.4rem .7rem;border-radius:999px;border:1px solid var(--gray-200);color:var(--heading);background:var(--white)}
.card-actions .act:hover{border-color:var(--cyan-300);background:var(--gray-50)}
.card-actions .act.quote{background:var(--cyan-500);color:#fff;border-color:var(--cyan-500)}
.card-actions .act.quote:hover{background:var(--cyan-600);border-color:var(--cyan-600);color:#fff}
.card-actions .act.wa{color:#1a8a4d;border-color:#bfe3cd}
.card-actions .act svg{width:1em;height:1em}
/* ---- Insights filter + search ---- */
.insights-toolbar{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;margin-bottom:1.8rem}
.search-box{position:relative;flex:1;min-width:220px;max-width:360px}
.search-box input{padding-left:2.4rem}
.search-box svg{position:absolute;left:.8rem;top:50%;transform:translateY(-50%);color:var(--gray-400);width:18px;height:18px}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{cursor:pointer;border:1px solid var(--gray-200);background:var(--white);color:var(--heading);border-radius:999px;padding:.45rem .9rem;font-weight:600;font-size:.88rem}
.chip[aria-pressed=true]{background:var(--cyan-500);color:#fff;border-color:var(--cyan-500)}
.no-results{color:var(--gray-700);padding:1.5rem 0}
/* ---- Rich article prose ---- */
.prose h2{position:relative;padding-left:.9rem}
.prose h2::before{content:"";position:absolute;left:0;top:.15em;bottom:.15em;width:4px;border-radius:3px;background:var(--cyan-500)}
.prose .lead-in{font-size:1.15rem;color:var(--gray-700)}
.prose .callout{display:flex;gap:.8rem;background:var(--gray-50);border:1px solid var(--gray-100);border-left:4px solid var(--cyan-500);border-radius:var(--radius-sm);padding:1rem 1.2rem;margin:1.4rem 0}
.prose .callout::before{content:"i";flex:none;width:24px;height:24px;border-radius:50%;background:var(--cyan-500);color:#fff;font-weight:800;font-style:normal;display:grid;place-items:center;font-size:.85rem}
.prose .callout.warn{border-left-color:#E0A100}
.prose .callout.warn::before{content:"!";background:#E0A100}
.prose ul.checks{list-style:none;padding-left:0}
.prose ul.checks li{position:relative;padding-left:1.9rem;margin-bottom:.6rem}
.prose ul.checks li::before{content:"";position:absolute;left:0;top:.15em;width:1.3rem;height:1.3rem;border-radius:50%;background:rgba(26,47,90,.12);
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231A2F5A" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>');background-size:14px;background-repeat:no-repeat;background-position:center}
.prose blockquote{margin:1.4rem 0;padding:.8rem 1.2rem;border-left:4px solid var(--navy);background:var(--gray-50);border-radius:var(--radius-sm);color:var(--navy-900);font-style:italic}
.prose .keybox{background:var(--navy-900);color:rgba(255,255,255,.85);border-radius:var(--radius);padding:1.2rem 1.4rem;margin:1.6rem 0}
.prose .keybox h3{color:#fff;margin-top:0}
.prose .keybox ul{margin:0}
.article-meta{display:flex;gap:1rem;flex-wrap:wrap;color:var(--gray-700);font-size:.92rem;margin-top:.5rem}
/* ---- Vendor strip ---- */
.vendor-strip{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;align-items:center}
/* Brands We Integrate — logo wall. Tiles stay white in both themes so every brand logo keeps its own colours and stays legible. */
.brand-wall{list-style:none;margin:0 auto;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.9rem;max-width:1080px}
.brand-tile{flex:0 0 160px;display:flex;align-items:center;justify-content:center;height:88px;padding:.9rem 1.1rem;background:#fff;border:1px solid var(--gray-200);border-radius:12px;box-shadow:var(--shadow-sm);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.brand-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--cyan-300)}
.brand-tile img{display:block;max-width:100%;max-height:44px;width:auto;height:auto;object-fit:contain}
.brand-tile--tall img{max-height:60px}
.brand-tile__name{font-weight:800;font-size:1rem;color:#1A2F5A;text-align:center;line-height:1.2}
[data-theme="dark"] .brand-tile{border-color:rgba(255,255,255,.18);box-shadow:none}
@media (max-width:560px){.brand-wall{gap:.55rem}.brand-tile{flex:0 0 calc((100% - 1.1rem)/3);height:66px;padding:.55rem .6rem}.brand-tile img{max-height:32px}.brand-tile--tall img{max-height:46px}.brand-tile__name{font-size:.8rem}}
@media (max-width:360px){.brand-tile{flex-basis:calc((100% - .55rem)/2)}}
.vendor-chip{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:.6rem 1.4rem;background:var(--white);border:1px solid var(--gray-200);border-radius:10px;color:var(--heading);font-weight:800;letter-spacing:.02em;font-size:1.05rem;box-shadow:var(--shadow-sm);transition:var(--t)}
.vendor-chip:hover{border-color:var(--cyan-300);color:var(--cyan-600);transform:translateY(-2px)}
@media (max-width:560px){.vendor-chip{font-size:.95rem;min-height:46px;padding:.5rem 1rem}}
/* ===== Dark theme ===== */
/* Whole-site dark (default scope, or explicit data-dark-scope="site") */
:root[data-theme="dark"]:not([data-dark-scope="menu"]){
  color-scheme:dark;
  --bg:#0B1626; --white:#16273F;
  --heading:#EFF4FA; --ink-900:#D6E0EC; --gray-700:#9FB0C4; --steel:#9FB0C4;
  --gray-50:#101E33; --gray-100:rgba(255,255,255,.10); --gray-200:rgba(255,255,255,.16);
  --accent-bg:rgba(45,77,134,.28);
}
[data-theme="dark"]:not([data-dark-scope="menu"]) .card,[data-theme="dark"]:not([data-dark-scope="menu"]) .faq,[data-theme="dark"]:not([data-dark-scope="menu"]) .vendor-chip{box-shadow:none}
[data-theme="dark"] .site-header{border-bottom-color:rgba(255,255,255,.12)}
/* Menu-only dark: just the header line goes dark, rest of the site stays light */
[data-theme="dark"][data-dark-scope="menu"] .site-header{background:#0D1F3C}
[data-theme="dark"][data-dark-scope="menu"] .nav-links a{color:rgba(255,255,255,.72)}
[data-theme="dark"][data-dark-scope="menu"] .nav-links a:hover{color:#fff;background:rgba(255,255,255,.08)}
[data-theme="dark"][data-dark-scope="menu"] .nav-toggle,[data-theme="dark"][data-dark-scope="menu"] .theme-toggle,[data-theme="dark"][data-dark-scope="menu"] .sub-toggle{color:#fff;border-color:rgba(255,255,255,.3)}
/* Theme toggle button */
.theme-toggle{background:none;border:1px solid var(--gray-200);color:var(--heading);width:42px;height:42px;border-radius:10px;display:inline-grid;place-items:center;cursor:pointer;flex:none}
.theme-toggle:hover{border-color:var(--cyan-500);color:var(--cyan-500)}
.theme-toggle svg{width:20px;height:20px}
.theme-toggle .i-sun{display:none}
[data-theme="dark"] .theme-toggle .i-sun{display:block}
[data-theme="dark"] .theme-toggle .i-moon{display:none}
@media (max-width:1024px){.theme-toggle{width:100%;height:auto;padding:.7rem;display:flex;justify-content:center;gap:.5rem;margin-top:.4rem}.theme-toggle::after{content:'Toggle theme';font-weight:600}}

/* =====================================================================
   Vision / Mission cards
   ===================================================================== */
.vm-card{background:var(--white);border:1px solid var(--gray-100);border-left:4px solid var(--navy);
  border-radius:var(--radius);padding:1.8rem;height:100%}
.vm-card .ico{width:48px;height:48px;display:grid;place-items:center;border-radius:10px;
  background:var(--accent-bg);color:var(--navy);margin-bottom:1rem}
.vm-card .ico svg{width:26px;height:26px}
.vm-card h3{margin-bottom:.5rem;font-size:1.3rem}
.vm-card p{margin:0;font-size:1rem;line-height:1.8}

/* =====================================================================
   Footer icon / hover contrast (the footer is navy in BOTH themes,
   so these must not depend on the theme tokens)
   ===================================================================== */
.foot-info svg{color:#93B4E8}
.socials a:hover{background:#2D4D86;border-color:#2D4D86;color:#fff}
.site-footer a:hover{color:#93B4E8}

/* =====================================================================
   DARK THEME — icon + accent legibility (checklist item 5)
   The accent family defaults to navy, which is invisible on a dark
   surface. Re-point it at a light blue. --navy / --navy-900 are left
   alone on purpose: they are used as section BACKGROUNDS.
   ===================================================================== */
:root[data-theme="dark"]:not([data-dark-scope="menu"]){
  --cyan-500:#8FB4F2;
  --cyan-600:#AFCBF8;
  --cyan-300:#6E97DA;
  --accent-bg:rgba(143,180,242,.16);
  --link-color:#AFCBF8;
}
[data-theme="dark"]:not([data-dark-scope="menu"]) .card .ico,.vm-card .ico{background:rgba(143,180,242,.16);color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) .feature .ico,.svc-card .ico,.info .ico{background:rgba(255,255,255,.07);color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) label,.info b,.svc-card h3 a{color:var(--heading)}
[data-theme="dark"]:not([data-dark-scope="menu"]) .card .more,.card .more svg{color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) .vendor-chip:hover{color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) .theme-toggle:hover{border-color:#8FB4F2;color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) .tag{color:#AFCBF8;background:rgba(143,180,242,.16)}
[data-theme="dark"]:not([data-dark-scope="menu"]) .chip[aria-pressed=true]{background:#8FB4F2;color:#0B1626;border-color:#8FB4F2}
[data-theme="dark"]:not([data-dark-scope="menu"]) .prose .callout::before{background:#8FB4F2;color:#0B1626}
[data-theme="dark"]:not([data-dark-scope="menu"]) .prose .callout.warn::before{background:#E0A100;color:#0B1626}
[data-theme="dark"]:not([data-dark-scope="menu"]) .prose blockquote{color:var(--heading);border-left-color:#8FB4F2;background:rgba(255,255,255,.05)}
[data-theme="dark"]:not([data-dark-scope="menu"]) .prose ul.checks li::before{background-color:rgba(143,180,242,.18);background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23AFCBF8" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>')}
[data-theme="dark"]:not([data-dark-scope="menu"]) .notice{border-left-color:#8FB4F2;background:rgba(255,255,255,.04)}
[data-theme="dark"]:not([data-dark-scope="menu"]) .faq summary::after{color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) input,select,textarea{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.18);color:var(--ink-900)}
[data-theme="dark"]:not([data-dark-scope="menu"]) input::placeholder,textarea::placeholder{color:var(--gray-700)}
[data-theme="dark"]:not([data-dark-scope="menu"]) input:focus,select:focus,textarea:focus{border-color:#8FB4F2;box-shadow:0 0 0 3px rgba(143,180,242,.28)}
[data-theme="dark"]:not([data-dark-scope="menu"]) .btn--accent{background:#8FB4F2;color:#0B1626;border-color:#8FB4F2}
[data-theme="dark"]:not([data-dark-scope="menu"]) .btn--accent:hover{background:#AFCBF8;color:#0B1626;border-color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) .btn--outline{border-color:#8FB4F2;color:#AFCBF8}
[data-theme="dark"]:not([data-dark-scope="menu"]) .btn--outline:hover{background:#8FB4F2;color:#0B1626}
[data-theme="dark"]:not([data-dark-scope="menu"]) a.card:hover,.svc-card:hover,.vendor-chip:hover{border-color:rgba(143,180,242,.55)}
[data-theme="dark"]:not([data-dark-scope="menu"]) .vm-card{border-left-color:#8FB4F2}
[data-theme="dark"]:not([data-dark-scope="menu"]) .search-box svg{color:var(--gray-700)}
[data-theme="dark"]:not([data-dark-scope="menu"]) .prose h2::before{background:#8FB4F2}

/* =====================================================================
   Service imagery (checklist item 7)
   Cards with a 16:9 media band; swap the SVG for a photo any time —
   the markup and sizing stay identical.
   ===================================================================== */
.card--media{padding:0;overflow:hidden}
.card-media{display:block;background:var(--navy-900);line-height:0}
.card-media img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;transition:transform .35s ease}
a.card--media:hover .card-media img{transform:scale(1.045)}
.card-body{display:flex;flex-direction:column;flex:1;padding:1.5rem}
.card--media .ico{margin-top:-2.6rem;position:relative;z-index:1;background:var(--white);
  border:1px solid var(--gray-100);box-shadow:var(--shadow-sm)}
.service-banner{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  border-radius:var(--radius);box-shadow:var(--shadow-sm)}
@media (max-width:640px){
  .card-body{padding:1.2rem}
  .card--media .ico{margin-top:-2.2rem}
}
[data-theme="dark"]:not([data-dark-scope="menu"]) .card--media .ico{background:var(--white);border-color:var(--gray-200)}

/* =====================================================================
   MOBILE HARDENING
   ===================================================================== */
/* Never allow sideways scroll, whatever a long word or wide table does.
   overflow-x:clip is used deliberately: `hidden` on html/body creates a
   scroll container and silently breaks the sticky header. */
html,body{max-width:100%}
body{overflow-x:clip}
main{overflow-wrap:break-word}
/* Never split normal words with a hyphen ("Ara-bia", "in-frastructure"); only break very long strings such as URLs. */
h1,h2,h3,h4,h5,p,li,summary,td,th{overflow-wrap:break-word;word-break:normal;-webkit-hyphens:manual;hyphens:manual}
/* Balanced headings (no single word left alone on the last line) and tidier paragraph endings. */
h1,h2,h3,h4,h5{text-wrap:balance}
p,li{text-wrap:pretty}

/* Respect notched phones (iPhone safe areas), especially in installed app mode */
.container,.nav{padding-left:max(var(--gut),env(safe-area-inset-left));
                padding-right:max(var(--gut),env(safe-area-inset-right))}
.site-footer{padding-bottom:max(1.5rem,env(safe-area-inset-bottom))}

/* Wide content scrolls inside its own box instead of stretching the page */
.prose table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.prose pre{overflow-x:auto}

/* Tap targets: 44px minimum on touch devices */
@media (pointer:coarse){
  .nav-links a,.subnav li a,.site-footer a,.footer-legal a,.crumbs a{min-height:44px;display:flex;align-items:center}
  .site-footer a,.footer-legal a{display:flex}
  .chip,.pill{min-height:44px}
  .faq summary{min-height:52px}
}

/* ---- Phones ---- */
@media (max-width:768px){
  .hero .container{padding-block:clamp(2.6rem,11vw,4rem)}
  .hero h1{max-width:100%}
  .hero p{font-size:1.05rem}
  .hero .btn-row .btn{width:100%;justify-content:center}
  .lead{font-size:1.05rem}
  .section{padding:clamp(2.2rem,8vw,3.2rem) 0}
  .vm-card{padding:1.4rem}
  .insights-toolbar{flex-direction:column;align-items:stretch}
  .search-box{max-width:none}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:.9rem}
  .footer-legal{gap:.4rem 1rem}
  .article-meta{gap:.4rem 1rem}
}

/* ---- Small phones ---- */
@media (max-width:480px){
  .stats{grid-template-columns:1fr 1fr}
  .stat{padding:1.15rem .6rem}
  .stat b{font-size:1.5rem}
  .stat span{font-size:.82rem;line-height:1.35;display:block}
  .btn{width:100%;justify-content:center}
  .btn-row{flex-direction:column;align-items:stretch}
  .vendor-strip{gap:.5rem}
  .vendor-chip{font-size:.85rem;min-height:42px;padding:.45rem .8rem}
  .faq summary{padding:.95rem 1rem;font-size:.95rem}
  .faq .faq-body{padding:0 1rem 1rem}
  .prose h2{padding-left:.7rem}
  .socials a{width:44px;height:44px}
}

/* The hero video is a heavy download for very little payoff on a phone —
   the poster image alone carries the same look. */
@media (max-width:760px){
  .hero-media{display:none}
  .hero{background:linear-gradient(160deg,#0D1F3C 0%,#1A2F5A 55%,#243D72 100%)}
}
@media (prefers-reduced-data:reduce){.hero-media{display:none}}

/* Mobile nav drawer: full usable height and its own scroll */
@media (max-width:1024px){
  .nav-links{max-height:calc(100dvh - var(--header-h));padding-bottom:max(1.5rem,env(safe-area-inset-bottom))}
  .subnav li a{white-space:normal}
}

/* =====================================================================
   INSTALL-APP BANNER  (mobile only)
   Hidden by default and on every desktop/fine-pointer device; the script
   only unhides it on a coarse-pointer, narrow viewport that is not
   already running the installed app.
   ===================================================================== */
/* `hidden` must win over the display rules below, or the banner and the
   iOS sheet render on page load. */
.pwa-banner[hidden],.pwa-sheet[hidden]{display:none !important}
.pwa-banner{position:fixed;left:0;right:0;bottom:0;z-index:80;
  display:flex;align-items:center;gap:.85rem;
  padding:.85rem 1rem calc(.85rem + env(safe-area-inset-bottom));
  background:var(--navy-900);color:#fff;
  border-top:1px solid rgba(255,255,255,.14);
  box-shadow:0 -8px 30px rgba(0,0,0,.32);
  transform:translateY(110%);transition:transform .26s ease}
.pwa-banner.is-in{transform:translateY(0)}
.pwa-banner__icon{width:48px;height:48px;flex:none;border-radius:10px;background:#fff;padding:5px}
.pwa-banner__text{flex:1;min-width:0;line-height:1.35}
.pwa-banner__text strong{display:block;font-size:.95rem;color:#fff}
.pwa-banner__text span{display:block;font-size:.8rem;color:rgba(255,255,255,.68)}
.pwa-banner__cta{flex:none;min-height:44px;padding:.55rem 1.15rem;border:0;border-radius:999px;
  background:#fff;color:var(--navy-900);font:inherit;font-weight:700;font-size:.9rem;cursor:pointer}
.pwa-banner__cta:hover{background:rgba(255,255,255,.88)}
.pwa-banner__close{flex:none;width:36px;height:36px;border:0;background:transparent;
  color:rgba(255,255,255,.6);font-size:1.6rem;line-height:1;cursor:pointer;border-radius:8px}
.pwa-banner__close:hover{color:#fff;background:rgba(255,255,255,.1)}
/* keep the WhatsApp float clear of the banner while it is open */
body.has-pwa-banner .wa{bottom:calc(88px + env(safe-area-inset-bottom))}

/* iOS "Add to Home Screen" instruction sheet */
.pwa-sheet{position:fixed;inset:0;z-index:90;background:rgba(8,16,32,.62);
  display:flex;align-items:flex-end;justify-content:center;padding:1rem}
.pwa-sheet__panel{background:var(--white);color:var(--ink-900);border-radius:16px;
  padding:1.5rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom));width:100%;max-width:460px;
  box-shadow:var(--shadow-md)}
.pwa-sheet__panel h3{margin:0 0 .9rem;color:var(--heading)}
.pwa-sheet__panel ol{margin:0 0 1.2rem;padding-left:1.2rem;color:var(--gray-700);font-size:.95rem;line-height:1.75}
.pwa-sheet__panel li{margin-bottom:.45rem}
.pwa-sheet__panel .btn{width:100%;justify-content:center}

/* Belt and braces: never show either on a desktop-class device, even if
   a script somehow unhides them. */
@media (min-width:901px),(pointer:fine){
  .pwa-banner,.pwa-sheet{display:none !important}
}
/* Already installed → never nag */
@media (display-mode:standalone),(display-mode:minimal-ui){
  .pwa-banner,.pwa-sheet{display:none !important}
}

/* =====================================================================
   Header logo: Blue logo on the light theme, Gray logo once dark mode is on.
   (Same logo — just the variant that is legible on the background.)
   ===================================================================== */

/* Eyebrow labels were navy-on-navy in dark mode — barely readable */
[data-theme="dark"]:not([data-dark-scope="menu"]) .eyebrow{color:#93B4E8}
[data-theme="dark"]:not([data-dark-scope="menu"]) .section--tint{background:#0E1B2E}

/* Install banner: keep it to two compact lines on the narrowest phones */
.pwa-banner__text strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:400px){
  .pwa-banner{gap:.6rem;padding-left:.75rem;padding-right:.75rem}
  .pwa-banner__icon{width:40px;height:40px}
  .pwa-banner__text strong{font-size:.9rem}
  .pwa-banner__text span{font-size:.74rem}
  .pwa-banner__cta{padding:.5rem .85rem;font-size:.85rem}
  .pwa-banner__close{width:30px;height:30px;font-size:1.35rem}
}

/* =====================================================================
   Mobile typography (≤640px) — one consistent type scale on phones.
   Display 32 / H2 24 / H3 19 / H4 17 / lead 16 / body 15 / small 14 / caption 13 / label 12
   ===================================================================== */
@media (max-width:640px){
  body h1,body .hero h1,body .page-hero h1{font-size:2rem;line-height:1.15}
  body h2,body .cta h2{font-size:1.5rem;line-height:1.25}
  body h3,body .card h3,body .vm-card h3,body .keybox h3,body .card-body h3,body .art-card h3{font-size:1.1875rem;line-height:1.35}
  body h4,body h5,body .card h4,body .feature h4,body .faq summary{font-size:1.0625rem;line-height:1.35}
  body .lead,body .hero p,body .page-hero p,body .prose .lead-in,body article.prose p.lead-in{font-size:1rem;line-height:1.7}
  body main p,body main li,body .card p,body .card-body p,body .art-card p,body .vm-card p,body .feature p,body .prose p,body article.prose p,body .prose li,body .keybox li,body .faq-body,body .info a,body .info span,body .footer-brand p{font-size:.9375rem;line-height:1.7}
  body .btn,body .pill,body .more,body .nav-links a,body .card-body .more{font-size:.9375rem}
  body .site-footer a,body .foot-info a,body .foot-info span,body .crumbs,body .crumbs a,body .crumbs span,body .page-hero .crumbs,body label,body p.center{font-size:.875rem}
  body .footer-bottom,body .footer-bottom span,body .footer-legal a,body .stat span,body .card form p,body form p,body .tag,body .art-card .tag{font-size:.8125rem}
  body .eyebrow,body .hero-badge{font-size:.75rem}
  body .stat b{font-size:1.5rem}
  body input,body textarea,body select{font-size:16px}
}
