/* ==========================================================================
   ING — "Signal" Design System
   A premium, minimal identity built around the idea of signal & reach:
   broadcasting a brand's message clearly, loudly, and on-target.
   ========================================================================== */

:root{
  /* --- Canvas & ink --- */
  --paper:        #F3F6FD;   /* primary background — cool blue-white, matches logo family */
  --paper-dim:    #E6ECFA;   /* secondary panel background */
  --ink:          #071A3D;   /* deep navy-blue, near-black w/ logo blue undertone */
  --ink-soft:     #2E3F63;   /* body copy on paper */
  --ink-mute:     #6C7CA0;   /* captions, meta, muted text */
  --line:         #D6E0F5;   /* hairline borders on paper */
  --line-dark:    rgba(243,246,253,0.14);

  /* --- Brand accents --- */
  --signal:       #0A4FD1;   /* logo blue — the "signal" accent, CTAs, marks */
  --signal-dim:   #DCE7FC;   /* pale wash of signal for badges/hovers */
  --frequency:    #06316B;   /* deep navy-blue — secondary accent, links, gradients */
  --frequency-2:  #1C4F9C;   /* lighter step of frequency for gradients */
  --spark:        #F7031F;   /* logo red — used only as a tiny accent, like the logo's triangle */
  --white:        #FFFFFF;

  /* --- Elevation --- */
  --shadow-sm:  0 1px 2px rgba(7,26,61,0.08);
  --shadow-md:  0 8px 24px -8px rgba(7,26,61,0.20);
  --shadow-lg:  0 24px 64px -20px rgba(7,26,61,0.32);

  /* --- Radius --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* --- Type --- */
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Motion --- */
  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; background:var(--paper); }
html, body{ overflow-x:hidden; width:100%; }
/* Avoid a flash of the wrong language for returning visitors: hidden until i18n.js applies the saved language, then revealed. */
html.i18n-pending body{ visibility:hidden; }
section, .site-header, .site-footer{ background-color:var(--paper); }
.site-footer{ background-color:var(--ink); }
.bg-dim{ background-color:var(--paper-dim); }
.hero-photo{ background-color:var(--ink); }
.page-hero{ background-color:var(--ink); }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; font-size:1rem; }

:focus-visible{ outline:2px solid var(--signal); outline-offset:3px; }

.container{ width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }
.container-narrow{ width:100%; max-width:820px; margin:0 auto; padding:0 24px; }

section{ position:relative; }
.section{ padding:120px 0; }
.section-tight{ padding:80px 0; }
@media (max-width:900px){
  .section{ padding:80px 0; }
  .section-tight{ padding:56px 0; }
}

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  color:var(--ink);
  margin:0;
  font-weight:600;
  letter-spacing:-0.01em;
  line-height:1.08;
}
h1{ font-size:clamp(2.6rem,5.6vw,5rem); font-weight:600; letter-spacing:-0.02em; }
h2{ font-size:clamp(2.1rem,3.6vw,3.2rem); }
h3{ font-size:clamp(1.4rem,2vw,1.9rem); }
h4{ font-size:1.15rem; font-weight:600; }
p{ margin:0; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:600; font-size:0.78rem;
  letter-spacing:0.14em; text-transform:uppercase; color:var(--signal);
  margin-bottom:18px;
}
.eyebrow::before{
  content:''; width:22px; height:1.5px; background:var(--signal); display:inline-block;
}
.eyebrow.on-dark{ color:#9DC0FF; }
.eyebrow.on-dark::before{ background:#9DC0FF; }

.lede{ font-size:clamp(1.05rem,1.6vw,1.25rem); color:var(--ink-soft); max-width:640px; }
.muted{ color:var(--ink-mute); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-body); font-weight:600; font-size:0.95rem;
  padding:16px 30px; border-radius:var(--r-pill); border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; transition:transform .35s var(--ease); }
.btn-primary{ background:var(--ink); color:var(--paper); }
.btn-primary:hover{ background:var(--signal); color:var(--white); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-signal{ background:var(--signal); color:var(--white); box-shadow:0 12px 28px -10px rgba(10,79,209,0.55); }
.btn-signal:hover{ transform:translateY(-2px); box-shadow:0 18px 36px -10px rgba(10,79,209,0.65); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--ink); background:var(--ink); color:var(--paper); }
.btn-ghost.on-dark{ color:var(--paper); border-color:var(--line-dark); }
.btn-ghost.on-dark:hover{ background:var(--paper); color:var(--ink); }
.btn:hover svg{ transform:translateX(3px); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:18px 0;
  background:rgba(243,246,253,0.97); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:3px solid transparent;
  transition:padding .35s ease, box-shadow .35s ease, border-color .35s ease;
  transform:translateZ(0); -webkit-transform:translateZ(0); will-change:transform;
  isolation:isolate;
}
.site-header.is-scrolled{
  padding:12px 0; box-shadow:0 10px 28px -14px rgba(7,26,61,.32); border-bottom-color:var(--signal);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }

.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:1.5rem; color:var(--ink); letter-spacing:-0.01em; }
.brand .mark{ width:34px; height:34px; flex-shrink:0; }
.brand small{ display:block; font-family:var(--font-body); font-weight:600; font-size:0.56rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--ink-mute); margin-top:1px; }
.brand-logo{ height:42px; width:auto; display:block; flex-shrink:0; }
.brand-tagline{ display:block; font-family:var(--font-body); font-weight:600; font-size:0.56rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--ink-mute); }
.footer-brand .brand-logo{ height:46px; }

.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-links a{
  padding:10px 16px; font-size:0.94rem; font-weight:500; color:var(--ink-soft);
  border-radius:var(--r-pill); transition:background .25s ease, color .25s ease;
  position:relative;
}
.nav-links a::after{
  content:''; position:absolute; left:14px; right:14px; bottom:6px; height:2px;
  background:var(--signal); border-radius:2px; transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-links a:hover, .nav-links a.active{ background:var(--paper-dim); color:var(--ink); }

.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; width:44px; height:44px; border-radius:var(--r-pill); border:1px solid var(--line);
  background:transparent; align-items:center; justify-content:center; flex-direction:column; gap:5px;
}
.nav-toggle span{ width:18px; height:2px; background:var(--ink); border-radius:2px; transition:transform .3s ease, opacity .3s ease; }

@media (max-width:960px){
  .nav-links{
    position:fixed; inset:0 0 0 auto; width:min(340px,86vw); height:100vh; background:var(--paper);
    flex-direction:column; align-items:stretch; justify-content:flex-start; gap:2px;
    padding:100px 28px 40px; transform:translateX(100%); transition:transform .45s var(--ease);
    box-shadow:var(--shadow-lg); overflow-y:auto;
  }
  .nav-links.is-open{ transform:translateX(0); }
  .nav-links a{ padding:16px 6px; border-bottom:1px solid var(--line); border-radius:0; font-size:1.05rem; }
  .nav-toggle{ display:flex; }
  .nav-actions .btn-signal{ display:none; }
  body.nav-open{ overflow:hidden; }
}
.nav-scrim{ position:fixed; inset:0; background:rgba(7,26,61,0.4); z-index:900; opacity:0; pointer-events:none; transition:opacity .4s ease; }
.nav-scrim.is-open{ opacity:1; pointer-events:auto; }
.nav-toggle.is-active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity:0; }
.nav-toggle.is-active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Signature: signal pulse line ---------- */
.pulse-line{ width:100%; height:auto; display:block; overflow:visible; }
.pulse-line path{
  fill:none; stroke:var(--signal); stroke-width:2; stroke-linecap:round;
  stroke-dasharray:6 10; animation:pulse-flow 3.2s linear infinite;
}
@keyframes pulse-flow{ to{ stroke-dashoffset:-160; } }
.pulse-divider{ display:block; width:100%; height:40px; margin:0 auto; }

/* ---------- Hero (photo) ---------- */
.hero-photo{
  position:relative; min-height:100vh; display:flex; align-items:flex-end;
  padding:160px 0 84px; overflow:hidden; isolation:isolate;
}
.hero-photo-bg{
  position:absolute; top:-15%; left:0; right:0; height:130%; z-index:0;
  background-size:cover; background-position:center 32%; will-change:transform;
}
.hero-photo-overlay{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(4,14,36,.35) 0%, rgba(4,14,36,.42) 38%, rgba(3,12,32,.94) 100%),
    linear-gradient(100deg, rgba(4,14,36,.88) 0%, rgba(7,32,84,.5) 45%, rgba(10,79,209,.28) 100%);
}
.hero-photo-content{ position:relative; z-index:2; color:var(--white); max-width:760px; }
.hero-photo .eyebrow{ color:#9DC0FF; }
.hero-photo .eyebrow::before{ background:#9DC0FF; }
.hero-photo .lede{ color:#D3DDF2; max-width:600px; }

.hero-headline{ margin-bottom:22px; color:var(--white); }
.hero-headline .word{ display:inline-block; white-space:nowrap; }
.hero-headline .letter{
  display:inline-block; opacity:0; transform:translateY(20px);
  animation:letterIn .6s cubic-bezier(.16,.84,.44,1) forwards;
}
.hero-headline .letter.space{ width:0.32em; }
@keyframes letterIn{ to{ opacity:1; transform:translateY(0); } }

.hero-photo .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:34px; }
.hero-photo .btn-ghost{ color:var(--white); border-color:rgba(255,255,255,.4); }
.hero-photo .btn-ghost:hover{ background:var(--white); color:var(--ink); border-color:var(--white); }

.hero-photo .hero-stats{ display:flex; gap:36px; margin-top:52px; flex-wrap:wrap; }
.hero-photo .hero-stats .stat b{ display:block; font-family:var(--font-display); font-size:2rem; color:var(--white); }
.hero-photo .hero-stats .stat span{ font-size:0.82rem; color:#A9B7D6; }

.hero-float-card{
  position:absolute; z-index:2; right:56px; bottom:84px; width:320px;
  background:rgba(7,26,61,0.55); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.14); border-radius:var(--r-lg); padding:28px;
  box-shadow:var(--shadow-lg);
  animation:float-card 6s ease-in-out infinite;
}
@keyframes float-card{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }
@media (prefers-reduced-motion: reduce){ .hero-float-card{ animation:none; } }
.hero-float-card .tag{ font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:#9DC0FF; font-weight:600; }
.hero-float-card-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:18px; }
.hero-float-card img{ width:28px; height:28px; border-radius:8px; }
.hero-float-card p{ color:var(--white); font-family:var(--font-display); font-size:1.05rem; line-height:1.35; margin-bottom:16px; }
.hero-float-card-foot{ display:flex; align-items:center; justify-content:space-between; padding-top:16px; border-top:1px solid rgba(255,255,255,.16); }
.hero-float-card-foot span{ color:#A9B7D6; font-size:0.8rem; }
.hero-float-card-foot span:first-child{ color:var(--white); font-weight:600; }

@media (max-width:960px){
  .hero-photo{ padding:130px 0 60px; min-height:88vh; align-items:flex-end; }
  .hero-float-card{ display:none; }
}
@media (max-width:600px){
  .hero-photo{ min-height:100vh; }
}

/* ---------- Marquee / trusted-by ---------- */
.marquee-wrap{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:34px 0; overflow:hidden; }
.marquee-label{ font-size:0.78rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--ink-mute); font-weight:600; margin-bottom:22px; text-align:center; }
.marquee{ display:flex; width:max-content; gap:64px; animation:marquee-scroll 26s linear infinite; }
@keyframes marquee-scroll{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
.marquee span{ font-family:var(--font-display); font-size:1.4rem; font-weight:600; color:var(--ink-mute); opacity:.55; white-space:nowrap; }
.marquee:hover{ animation-play-state:paused; }
.logo-marquee{ gap:20px; align-items:center; }
.marquee-wrap{ position:relative; }
.marquee-wrap::before, .marquee-wrap::after{
  content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none;
}
.marquee-wrap::before{ left:0; background:linear-gradient(90deg, var(--paper), transparent); }
.marquee-wrap::after{ right:0; background:linear-gradient(270deg, var(--paper), transparent); }
.logo-slot{
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  width:150px; height:64px; padding:10px 18px; border-radius:var(--r-md); border:1px solid var(--line);
  background:var(--white); transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.logo-slot:hover{ transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:transparent; }
.logo-slot img{
  max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain;
  filter:grayscale(1) opacity(.62); transition:filter .3s ease, transform .3s var(--ease);
}
.logo-slot:hover img{ filter:grayscale(0) opacity(1); transform:scale(1.08); }

.statement-block{
  max-width:760px; margin:0 auto; text-align:center; padding:8px 0;
}
.statement-block .quote-mark{ width:40px; height:30px; margin:0 auto 20px; display:block; }
.statement-quote{
  font-family:var(--font-display); font-weight:600; font-size:clamp(1.5rem,3vw,2.1rem);
  line-height:1.32; color:var(--ink); letter-spacing:-0.01em;
}
.statement-person{ display:flex; align-items:center; justify-content:center; gap:12px; margin-top:28px; }
.statement-mark{ width:32px; height:32px; border-radius:9px; }
.statement-person div{ text-align:left; line-height:1.3; }
.statement-person strong{ display:block; font-size:0.94rem; color:var(--ink); }
.statement-person span{ font-size:0.82rem; color:var(--ink-mute); }

/* ---------- Section headers ---------- */
.section-head{ max-width:680px; margin-bottom:64px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head-row{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:56px; }
@media (max-width:760px){ .section-head-row{ flex-direction:column; align-items:flex-start; } }

/* ---------- Cards: services ---------- */
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:960px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.service-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-md);
  padding:36px 32px; transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
  position:relative; overflow:hidden; scroll-margin-top:120px;
}
.service-card:target{ animation:svc-highlight 1.8s var(--ease); }
@keyframes svc-highlight{
  0%{ box-shadow:0 0 0 4px var(--signal); border-color:transparent; }
  100%{ box-shadow:var(--shadow-md); }
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.service-card .icon{ transition:transform .4s var(--ease), background .3s ease; }
.service-card:hover .icon{ transform:scale(1.12) rotate(-6deg); }
.service-card .num{ font-family:var(--font-display); font-size:0.85rem; color:var(--ink-mute); margin-bottom:22px; display:block; }
.service-card .icon{
  width:52px; height:52px; border-radius:var(--r-sm); background:var(--signal-dim); color:var(--signal);
  display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.service-card .icon svg{ width:24px; height:24px; }
.service-card h4{ margin-bottom:12px; }
.service-card p{ font-size:0.94rem; color:var(--ink-mute); }
.service-card .goto{ display:inline-flex; align-items:center; gap:6px; margin-top:20px; font-size:0.85rem; font-weight:600; color:var(--ink); opacity:0; transform:translateY(4px); transition:.3s ease; }
.service-card:hover .goto{ opacity:1; transform:translateY(0); }

/* ---------- Value / feature rows ---------- */
.value-row{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:start; }
@media (max-width:900px){ .value-row{ grid-template-columns:1fr; gap:36px; } }
.value-list{ display:flex; flex-direction:column; }
.value-item{ display:flex; gap:22px; padding:26px 0; border-top:1px solid var(--line); transition:transform .35s var(--ease); }
.value-item:last-child{ border-bottom:1px solid var(--line); }
.value-item .idx{ font-family:var(--font-display); color:var(--ink-mute); font-size:0.9rem; padding-top:2px; transition:color .3s ease; }
.value-item h4{ margin-bottom:8px; }
.value-item p{ font-size:0.94rem; color:var(--ink-mute); }
.value-item:hover{ transform:translateX(8px); }
.value-item:hover .idx{ color:var(--signal); }

/* ---------- Mission / vision panels ---------- */
.panel{ border-radius:var(--r-lg); padding:44px; }
.panel-outline{ border:1px solid var(--line); background:var(--white); }
.panel-dark{ background:var(--ink); color:var(--paper); }
.panel-dark h3{ color:var(--paper); }
.panel-dark p{ color:#B7BEC2; }
.panel .tag-icon{ width:46px; height:46px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; margin-bottom:24px; }

/* ---------- Benefit tiles ---------- */
.benefit-tile{ padding:32px; border-radius:var(--r-md); background:var(--white); border:1px solid var(--line); transition:background .3s ease, transform .35s var(--ease), box-shadow .35s var(--ease); }
.benefit-tile:hover{ background:var(--white); box-shadow:var(--shadow-md); transform:translateY(-6px); }
.benefit-tile .icon{ width:44px; height:44px; border-radius:50%; background:var(--paper-dim); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; margin-bottom:18px; transition:transform .4s var(--ease), background .3s ease; }
.benefit-tile .icon svg{ width:20px; height:20px; color:var(--frequency); }
.benefit-tile:hover .icon{ transform:scale(1.12) rotate(-6deg); background:var(--signal-dim); }

/* ---------- Testimonials ---------- */
.testi-track-wrap{ overflow:hidden; }
.testi-track{ display:flex; gap:24px; transition:transform .6s var(--ease); }
.testi-card{
  flex:0 0 100%; max-width:100%; background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:44px;
  position:relative; overflow:hidden; border-top:4px solid var(--accent, var(--signal));
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testi-card::before{
  content:''; position:absolute; inset:-40% -40% auto auto; width:220px; height:220px; z-index:0;
  background:radial-gradient(circle, var(--accent, var(--signal)) 0%, transparent 65%); opacity:.14; pointer-events:none;
}
.testi-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.testi-card > *{ position:relative; z-index:1; }
.testi-card:nth-child(3n+1){ --accent:#0A4FD1; }
.testi-card:nth-child(3n+2){ --accent:#F7031F; }
.testi-card:nth-child(3n+3){ --accent:#06316B; }
@media (min-width:760px){ .testi-card{ flex:0 0 calc(50% - 12px); max-width:calc(50% - 12px); } }
.testi-card-top{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
.testi-card-top .testi-stars{ margin-bottom:0; }
.testi-logo{ height:32px; display:flex; align-items:center; flex-shrink:0; opacity:.8; transition:opacity .3s ease; }
.testi-logo img{ height:100%; width:auto; max-width:96px; object-fit:contain; filter:grayscale(1); }
.testi-card:hover .testi-logo{ opacity:1; }
.testi-card:hover .testi-logo img{ filter:grayscale(0); }
.testi-stars{ display:flex; gap:4px; color:var(--accent, var(--signal)); margin-bottom:22px; }
.testi-stars svg{ width:16px; height:16px; }
.testi-quote{ font-family:var(--font-display); font-size:1.15rem; color:var(--ink); line-height:1.5; margin-bottom:26px; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.avatar-badge{
  width:44px; height:44px; border-radius:50%; background:var(--accent, var(--frequency)); color:var(--paper);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:600; font-size:0.95rem; flex-shrink:0;
  position:relative; overflow:hidden;
}
.avatar-badge img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.testi-person span{ font-size:0.82rem; color:var(--ink-mute); }
.testi-nav{ display:flex; gap:10px; margin-top:36px; justify-content:center; }

/* ---------- Founder quotes (redesigned) ---------- */
.founder-quotes{ display:grid; gap:20px; }
.founder-quote-feature{
  position:relative; overflow:hidden; background:var(--ink); border-radius:var(--r-lg);
  padding:48px; isolation:isolate;
}
.founder-quote-feature::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background:radial-gradient(circle at 12% 15%, rgba(10,79,209,.55), transparent 55%),
             radial-gradient(circle at 92% 90%, rgba(28,79,156,.6), transparent 55%);
}
.founder-quote-feature .quote-mark{ width:36px; height:27px; margin-bottom:18px; display:block; }
.founder-quote-feature .quote-mark path{ fill:#6E93E0; }
.founder-quote-feature .quote-lg{
  font-family:var(--font-display); font-weight:500; font-size:clamp(1.2rem,2.4vw,1.55rem);
  line-height:1.45; color:var(--white); margin-bottom:30px; max-width:640px;
}
.founder-quote-feature .avatar-badge{ width:52px; height:52px; font-size:1.05rem; background:var(--signal); color:var(--white); }
.founder-quote-feature .testi-person strong{ color:var(--white) !important; font-size:1rem !important; }
.founder-quote-feature .testi-person span{ color:#A9B7D6; }
.founder-quote-foot{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.founder-quote-feature .founder-quote-foot .testi-logo{ opacity:.9; }
.founder-quote-feature .founder-quote-foot .testi-logo img{ filter:brightness(0) invert(1) opacity(.8); }

.founder-quote-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media (max-width:600px){ .founder-quote-grid{ grid-template-columns:1fr; } }
.founder-quote-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:30px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.founder-quote-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.founder-quote-card .quote-mark{ width:26px; height:20px; margin-bottom:14px; display:block; }
.founder-quote-card .quote-mark path{ fill:var(--signal-dim); }
.founder-quote-card .testi-quote{ font-size:0.98rem; margin-bottom:20px; }
.founder-quote-card .avatar-badge{ width:38px; height:38px; font-size:0.82rem; }
.founder-quote-card:nth-child(odd) .avatar-badge{ background:var(--signal); }
.founder-quote-card:nth-child(even) .avatar-badge{ background:var(--frequency-2); }
.testi-nav button{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:var(--white);
  display:flex; align-items:center; justify-content:center; transition:.25s ease;
}
.testi-nav button:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.testi-nav svg{ width:16px; height:16px; }

/* ---------- Blog cards ---------- */
.blog-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-md); overflow:hidden; transition:transform .4s var(--ease), box-shadow .4s var(--ease); display:flex; flex-direction:column; }
.empty-state{ max-width:440px; margin:0 auto; text-align:center; padding:64px 32px; border:1px dashed var(--line); border-radius:var(--r-lg); background:var(--paper-dim); }
.empty-state .icon{ width:56px; height:56px; margin:0 auto 20px; border-radius:50%; background:var(--white); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--frequency); }
.empty-state .icon svg{ width:26px; height:26px; }
.empty-state h3{ font-family:var(--font-display); font-size:1.2rem; margin-bottom:8px; }
.empty-state p{ color:var(--ink-mute); font-size:0.94rem; }
.blog-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.blog-card .thumb{ height:190px; background:linear-gradient(135deg,var(--frequency),var(--frequency-2)); position:relative; display:flex; align-items:center; justify-content:center; }
.blog-card .thumb span{ font-family:var(--font-display); color:rgba(255,255,255,.9); font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; border:1px solid rgba(255,255,255,.35); padding:6px 14px; border-radius:var(--r-pill); }
.blog-card .body{ padding:28px; display:flex; flex-direction:column; gap:12px; flex:1; }
.blog-card .meta{ display:flex; gap:14px; font-size:0.78rem; color:var(--ink-mute); }
.blog-card h4{ font-size:1.1rem; line-height:1.3; }
.blog-card p{ font-size:0.9rem; color:var(--ink-mute); flex:1; }
.blog-card .read{ font-weight:600; font-size:0.85rem; display:inline-flex; align-items:center; gap:6px; color:var(--ink); }
.blog-card .read svg{ width:14px; height:14px; transition:transform .3s ease; }
.blog-card:hover .read svg{ transform:translateX(4px); }

/* ---------- Team ---------- */
.team-card{ text-align:center; }
.team-photo{
  width:100%; aspect-ratio:1/1.05; border-radius:var(--r-md); background:linear-gradient(160deg,var(--ink),var(--frequency));
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; position:relative; overflow:hidden;
}
.team-photo span{ font-family:var(--font-display); font-size:2.6rem; color:rgba(255,255,255,.92); font-weight:600; }
.team-photo::after{ content:''; position:absolute; inset:0; background:radial-gradient(circle at 80% 100%, rgba(247,3,31,.4), transparent 60%); }
.team-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; }
.team-photo.has-photo::after{ background:linear-gradient(180deg, transparent 60%, rgba(10,10,15,.55) 100%); }
.team-card h4{ margin-bottom:4px; }
.team-card .role{ font-size:0.85rem; color:var(--signal); font-weight:600; }
.team-social{ display:flex; gap:8px; justify-content:center; margin-top:14px; }
.team-social a{ width:34px; height:34px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; transition:.25s ease; }
.team-social a:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.team-social svg{ width:14px; height:14px; }

/* ---------- Leadership marquee (team page) ---------- */
.team-marquee-wrap{ position:relative; overflow:hidden; padding:12px 0 4px; margin-top:40px; }
.team-marquee-wrap::before, .team-marquee-wrap::after{
  content:''; position:absolute; top:0; bottom:0; width:100px; z-index:2; pointer-events:none;
}
.team-marquee-wrap::before{ left:0; background:linear-gradient(90deg, var(--paper-dim), transparent); }
.team-marquee-wrap::after{ right:0; background:linear-gradient(270deg, var(--paper-dim), transparent); }
.team-marquee{ gap:28px; animation-duration:32s; }
.team-card-marquee{ width:220px; flex-shrink:0; text-align:center; }
.values-strip{ display:flex; flex-wrap:wrap; gap:14px; }
.value-chip{ display:flex; align-items:center; gap:10px; padding:14px 22px; border:1px solid var(--line); border-radius:var(--r-pill); font-weight:600; font-size:0.9rem; color:var(--ink); }
.value-chip .dot{ width:8px; height:8px; border-radius:50%; background:var(--signal); }

/* ---------- Skills / bars ---------- */
.skill-row{ margin-bottom:24px; }
.skill-row .top{ display:flex; justify-content:space-between; margin-bottom:10px; font-weight:600; color:var(--ink); font-size:0.94rem; }
.skill-bar{ height:8px; border-radius:var(--r-pill); background:var(--paper-dim); overflow:hidden; }
.skill-bar i{ display:block; height:100%; border-radius:var(--r-pill); background:linear-gradient(90deg,var(--frequency),var(--signal)); width:0; transition:width 1.4s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--ink); border-radius:var(--r-lg); padding:72px; position:relative; overflow:hidden; text-align:center; }
.cta-band::before{
  content:''; position:absolute; inset:0; background:radial-gradient(circle at 20% 20%, rgba(10,79,209,.4), transparent 55%), radial-gradient(circle at 85% 80%, rgba(28,79,156,.5), transparent 55%);
}
.cta-band > *{ position:relative; }
.cta-band h2{ color:var(--paper); max-width:720px; margin:0 auto 20px; }
.cta-band p{ color:#AEB6BA; max-width:600px; margin:0 auto; }
.cta-actions{ display:flex; gap:14px; justify-content:center; margin-top:36px; flex-wrap:wrap; }
@media (max-width:760px){ .cta-band{ padding:48px 28px; } }

/* ---------- Forms ---------- */
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:0.82rem; font-weight:600; color:var(--ink); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:15px 18px; border-radius:var(--r-sm); border:1px solid var(--line);
  background:var(--white); color:var(--ink); transition:border-color .25s ease, box-shadow .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--signal); box-shadow:0 0 0 4px rgba(10,79,209,0.14);
}
.field textarea{ resize:vertical; min-height:140px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
@media (max-width:600px){ .form-grid{ grid-template-columns:1fr; } }
.form-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg); padding:40px; box-shadow:var(--shadow-sm); }
.form-success{ display:none; padding:34px; border:1px solid var(--line); background:var(--paper-dim); border-radius:var(--r-md); text-align:center; }
.form-success.is-visible{ display:block; }
.form-success h3{ color:var(--signal); margin-bottom:8px; }

/* ---------- Info tiles (contact) ---------- */
.info-tile{ display:flex; gap:18px; align-items:flex-start; padding:26px 0; border-top:1px solid var(--line); }
.info-tile:last-child{ border-bottom:1px solid var(--line); }
.info-tile .icon{ width:46px; height:46px; border-radius:var(--r-sm); background:var(--paper-dim); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-tile .icon svg{ width:20px; height:20px; color:var(--frequency); }
.info-tile h4{ margin-bottom:4px; font-size:1rem; }
.info-tile a, .info-tile p{ color:var(--ink-mute); font-size:0.94rem; }

.map-frame{ border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line); }
.map-frame iframe{ width:100%; height:420px; border:0; display:block; }

/* ---------- Blog single ---------- */
.article-head{ max-width:820px; margin:0 auto 48px; text-align:center; }
.article-meta{ display:flex; gap:18px; justify-content:center; color:#B7C6E8; font-size:0.85rem; margin-bottom:20px; }
.page-hero .article-meta{ color:#B7C6E8; }
.article-body{ max-width:760px; margin:0 auto; }
.article-body h2{ margin:44px 0 18px; font-size:1.7rem; }
.article-body p{ margin-bottom:20px; font-size:1.03rem; color:var(--ink-soft); }
.article-body .pull-quote{ font-family:var(--font-display); font-size:1.4rem; color:var(--ink); border-left:3px solid var(--signal); padding-left:26px; margin:36px 0; }
.checklist{ display:flex; flex-direction:column; gap:16px; margin:24px 0; }
.checklist li{ display:flex; gap:14px; }
.checklist .n{ font-family:var(--font-display); color:var(--signal); font-weight:600; flex-shrink:0; }
.checklist b{ color:var(--ink); }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:32px; }
.tag-pill{ padding:8px 16px; border:1px solid var(--line); border-radius:var(--r-pill); font-size:0.82rem; color:var(--ink-soft); }
.share-row{ display:flex; gap:10px; margin-top:20px; }
.share-row a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.share-row svg{ width:15px; height:15px; }

.comment{ display:flex; gap:16px; padding:26px 0; border-top:1px solid var(--line); }
.comment .body{ flex:1; }
.comment .name-row{ display:flex; justify-content:space-between; margin-bottom:6px; }
.comment .name-row b{ color:var(--ink); }
.comment .name-row span{ font-size:0.8rem; color:var(--ink-mute); }
.comment p{ font-size:0.94rem; color:var(--ink-mute); }

/* ---------- 404 ---------- */
.error-wrap{ text-align:center; padding:200px 0 140px; }
.error-code{ font-family:var(--font-display); font-size:clamp(6rem,18vw,11rem); font-weight:700; color:var(--ink); line-height:1; letter-spacing:-0.03em; position:relative; display:inline-block; }
.error-code .dot{ color:var(--signal); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#AEB6BA; padding:88px 0 28px; }
.footer-top{ display:grid; grid-template-columns:1.3fr 0.8fr 0.8fr 1fr; gap:48px; margin-bottom:64px; }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; row-gap:40px; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.footer-brand .brand{ color:var(--paper); }
.footer-brand p{ margin-top:18px; max-width:280px; font-size:0.92rem; color:#8B9297; }
.footer-social{ display:flex; gap:10px; margin-top:24px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; transition:transform .3s var(--ease), background .25s ease, border-color .25s ease; }
.footer-social a:hover{ background:var(--signal); border-color:var(--signal); color:var(--white); transform:translateY(-4px) rotate(-8deg); }
.footer-social svg{ width:15px; height:15px; }
.footer-col h5{ color:var(--paper); font-family:var(--font-body); font-size:0.82rem; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:22px; }
.footer-col ul{ display:flex; flex-direction:column; gap:13px; }
.footer-col a{ font-size:0.92rem; color:#AEB6BA; transition:color .2s ease; }
.footer-col a:hover{ color:var(--paper); }
.footer-newsletter{ display:flex; gap:0; border:1px solid var(--line-dark); border-radius:var(--r-pill); padding:5px; margin-top:16px; }
.footer-newsletter input{ flex:1; background:transparent; border:0; padding:10px 16px; color:var(--paper); }
.footer-newsletter input::placeholder{ color:#77808A; }
.footer-newsletter button{ background:var(--signal); color:var(--white); border:0; border-radius:var(--r-pill); padding:10px 20px; font-weight:600; font-size:0.85rem; }
.footer-bottom{ border-top:1px solid var(--line-dark); padding-top:26px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:0.82rem; color:#77808A; }
.footer-bottom a{ color:#9AA1A6; }
.footer-bottom-links{ display:flex; gap:22px; }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero{
  position:relative; padding:170px 0 90px; text-align:center; overflow:hidden; isolation:isolate; color:var(--white);
}
.page-hero::before{
  content:''; position:absolute; inset:0; z-index:-2;
  background-image:url('../img/hero-casablanca.jpg'); background-size:cover; background-position:center 30%;
}
.page-hero::after{
  content:''; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg, rgba(4,14,36,.74) 0%, rgba(4,14,36,.9) 100%),
             linear-gradient(100deg, rgba(4,14,36,.7) 0%, rgba(10,79,209,.32) 100%);
}
.page-hero h1{ color:var(--white); animation:hero-rise .9s var(--ease) .1s both; }
.page-hero .eyebrow{ color:#9DC0FF; animation:hero-rise .9s var(--ease) both; }
.page-hero .eyebrow::before{ background:#9DC0FF; }
.page-hero .crumbs{ display:flex; gap:8px; justify-content:center; align-items:center; margin-top:18px; font-size:0.9rem; color:#B7C6E8; animation:hero-rise .9s var(--ease) .25s both; }
.page-hero .crumbs a{ color:#B7C6E8; }
.page-hero .crumbs span.sep{ opacity:.5; }
.page-hero .crumbs .current{ color:var(--white); font-weight:600; }
@keyframes hero-rise{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){
  .page-hero h1, .page-hero .eyebrow, .page-hero .crumbs{ animation:none; }
}

/* ---------- Welcome preloader ---------- */
.preloader{
  position:fixed; inset:0; z-index:9999; background:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner{ text-align:center; padding:0 24px; }

/* signal ping rings behind the logo — ties into the brand's "signal" identity */
.preloader-ring-wrap{
  position:relative; width:88px; height:88px; margin:0 auto 28px;
  display:flex; align-items:center; justify-content:center;
}
.preloader-ring-wrap::before, .preloader-ring-wrap::after{
  content:''; position:absolute; inset:0; border-radius:50%;
  border:1px solid var(--signal); opacity:0;
  animation:preloader-ping 2.6s cubic-bezier(.2,.6,.35,1) infinite;
}
.preloader-ring-wrap::after{ animation-delay:1.3s; }
@keyframes preloader-ping{
  0%{ transform:scale(.72); opacity:.85; }
  75%{ opacity:0; }
  100%{ transform:scale(1.85); opacity:0; }
}
.preloader-logo{
  position:relative; z-index:1; width:56px; height:56px; display:block;
  animation:preloader-logo-in 1s cubic-bezier(.16,1,.3,1) both;
}
@keyframes preloader-logo-in{
  0%{ opacity:0; transform:scale(.7); filter:blur(8px); }
  100%{ opacity:1; transform:scale(1); filter:blur(0); }
}

.preloader-text span{
  display:block; opacity:0; transform:translateY(14px);
  animation:preloader-text-in .9s cubic-bezier(.16,1,.3,1) forwards;
}
.preloader-text span:first-child{
  font-family:var(--font-display); font-weight:600; color:var(--white);
  font-size:clamp(1.3rem,3vw,1.7rem); animation-delay:.55s;
}
.preloader-text span:last-child{
  font-size:0.98rem; color:#B7C6E8; margin-top:10px; max-width:380px; margin-left:auto; margin-right:auto;
  animation-delay:.8s;
}
@keyframes preloader-text-in{ to{ opacity:1; transform:translateY(0); } }

/* thin fill bar — gives a sense of real loading progress */
.preloader-bar{
  width:160px; height:2px; margin:30px auto 0; border-radius:2px;
  background:rgba(255,255,255,0.12); overflow:hidden;
  opacity:0; animation:preloader-bar-in .5s ease .8s forwards;
}
.preloader-bar span{
  display:block; height:100%; width:0%; border-radius:2px;
  background:linear-gradient(90deg, var(--signal), #6FA0FF);
  animation:preloader-bar-fill 1.5s cubic-bezier(.4,0,.2,1) 1s forwards;
}
@keyframes preloader-bar-in{ to{ opacity:1; } }
@keyframes preloader-bar-fill{ to{ width:100%; } }

@media (prefers-reduced-motion: reduce){
  .preloader-logo, .preloader-text span, .preloader-bar, .preloader-bar span{ animation:none !important; opacity:1; transform:none; filter:none; width:100%; }
  .preloader-ring-wrap::before, .preloader-ring-wrap::after{ display:none; }
}

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* ---------- Bg tint sections ---------- */
.bg-dim{ background:var(--paper-dim); }
.bg-ink{ background:var(--ink); color:var(--paper); }
.bg-ink h2, .bg-ink h3, .bg-ink h4{ color:var(--paper); }

/* ---------- back to top ---------- */
.back-top{
  position:fixed; right:24px; bottom:24px; width:48px; height:48px; border-radius:50%;
  background:var(--ink); color:var(--paper); display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transform:translateY(10px); transition:.35s ease; z-index:500; box-shadow:var(--shadow-md);
}
.back-top.is-visible{ opacity:1; pointer-events:auto; transform:translateY(0); }
.back-top:hover{ background:var(--signal); transform:translateY(-4px) scale(1.08); }
.back-top svg{ width:18px; height:18px; }

/* ---------- utility ---------- */
.mt-0{ margin-top:0 !important; }
.center-text{ text-align:center; }
.flex-center{ display:flex; align-items:center; justify-content:center; }

/* ==========================================================================
   Language switcher (multilingual support: FR default / EN / AR)
   ========================================================================== */
.lang-switch{ position:relative; }
.lang-switch-btn{
  display:inline-flex; align-items:center; gap:8px;
  height:44px; padding:0 14px; border-radius:var(--r-pill);
  border:1px solid var(--line); background:transparent;
  font-family:var(--font-body); font-weight:600; font-size:0.85rem; color:var(--ink-soft);
  transition:border-color .25s ease, background .25s ease, color .25s ease;
}
.lang-switch-btn:hover{ border-color:var(--ink); color:var(--ink); background:var(--paper-dim); }
.lang-switch-btn .lang-flag{ font-size:1rem; line-height:1; }
.lang-switch-btn .lang-caret{ width:11px; height:11px; opacity:0.6; transition:transform .25s ease; }
.lang-switch.is-open .lang-switch-btn .lang-caret{ transform:rotate(180deg); }

.lang-switch-menu{
  position:absolute; top:calc(100% + 10px); right:0; min-width:170px;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r-md);
  box-shadow:var(--shadow-lg); padding:6px; z-index:1001;
  opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
  list-style:none; margin:0;
}
.lang-switch.is-open .lang-switch-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.lang-switch-menu li{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--r-sm);
  font-size:0.9rem; font-weight:500; color:var(--ink-soft); cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
.lang-switch-menu li:hover, .lang-switch-menu li:focus-visible{ background:var(--paper-dim); color:var(--ink); outline:none; }
.lang-switch-menu li[aria-selected="true"]{ color:var(--signal); font-weight:600; }
.lang-switch-menu .lang-flag{ font-size:1.05rem; }

[dir="rtl"] .lang-switch-menu{ right:auto; left:0; }

@media (max-width:520px){
  .lang-switch-btn .lang-code{ display:none; }
  .lang-switch-btn{ padding:0 12px; gap:4px; }
}

/* ==========================================================================
   RTL (Arabic) support
   ========================================================================== */
html[dir="rtl"] body{
  font-family:'Cairo', var(--font-body);
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6{
  font-family:'Cairo', var(--font-display);
}
html[dir="rtl"] .eyebrow::before{ margin-inline-end:0; }
html[dir="rtl"] .hero-float-card{ right:auto; left:56px; }
@media (max-width:900px){ html[dir="rtl"] .hero-float-card{ left:24px; right:auto; } }
html[dir="rtl"] .back-top{ right:auto; left:24px; }
html[dir="rtl"] .value-item:hover{ transform:translateX(-8px); }
html[dir="rtl"] .checklist li{ direction:rtl; }
/* Directional arrow icons (buttons, "learn more" links) should point the reading direction in RTL */
html[dir="rtl"] .btn svg{ transform:scaleX(-1); }
html[dir="rtl"] .btn:hover svg{ transform:scaleX(-1) translateX(3px); }
html[dir="rtl"] .goto svg{ transform:scaleX(-1); }
html[dir="rtl"] .service-card:hover .goto svg{ transform:scaleX(-1); }
@media (max-width:960px){
  html[dir="rtl"] .nav-links{ inset:0 auto 0 0; transform:translateX(-100%); }
  html[dir="rtl"] .nav-links.is-open{ transform:translateX(0); }
}

/* ==========================================================================
   Blog — listing cards + single article typography
   ========================================================================== */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:960px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .blog-grid{ grid-template-columns:1fr; } }

.blog-card{
  display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--r-lg);
  background:var(--white); overflow:hidden; transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blog-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.blog-card .blog-card-image{ width:100%; aspect-ratio:16/10; object-fit:cover; background:var(--paper-dim); display:block; }
.blog-card .blog-card-body{ padding:22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.blog-card .blog-card-meta{ font-size:0.78rem; color:var(--ink-mute); margin-bottom:10px; display:flex; gap:8px; align-items:center; }
.blog-card h3{ font-size:1.1rem; line-height:1.35; margin-bottom:10px; }
.blog-card p{ font-size:0.9rem; color:var(--ink-mute); flex:1; }
.blog-card .goto{ display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-size:0.85rem; font-weight:600; color:var(--signal); }

.blog-pagination{ display:flex; justify-content:center; gap:8px; margin-top:48px; }
.blog-pagination a, .blog-pagination span{
  display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 12px;
  border-radius:var(--r-pill); font-size:0.88rem; font-weight:600; color:var(--ink-soft); border:1px solid var(--line);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.blog-pagination a:hover{ background:var(--paper-dim); border-color:transparent; }
.blog-pagination span.current{ background:var(--signal); color:var(--white); border-color:var(--signal); }
.blog-pagination span.disabled{ opacity:0.35; pointer-events:none; }

/* Single post header */
.post-hero-image{ width:100%; max-height:460px; object-fit:cover; border-radius:var(--r-lg); margin-top:32px; box-shadow:var(--shadow-md); }
.post-meta-row{ display:flex; align-items:center; gap:10px; justify-content:center; color:var(--ink-mute); font-size:0.88rem; margin-top:14px; flex-wrap:wrap; }
.post-meta-row .dot{ width:4px; height:4px; border-radius:50%; background:var(--ink-mute); }

/* Article prose typography (renders admin-authored rich text content) */
.post-content{ max-width:720px; margin:0 auto; font-size:1.05rem; line-height:1.75; color:var(--ink-soft); }
.post-content h2{ font-size:1.6rem; margin:44px 0 16px; color:var(--ink); }
.post-content h3{ font-size:1.3rem; margin:36px 0 14px; color:var(--ink); }
.post-content p{ margin-bottom:20px; }
.post-content ul, .post-content ol{ margin:0 0 20px; padding-inline-start:22px; }
.post-content li{ margin-bottom:8px; }
.post-content a{ color:var(--signal); text-decoration:underline; text-underline-offset:3px; }
.post-content img{ max-width:100%; border-radius:var(--r-md); margin:24px 0; }
.post-content blockquote{
  margin:28px 0; padding:18px 24px; border-inline-start:3px solid var(--signal);
  background:var(--paper-dim); border-radius:0 var(--r-sm) var(--r-sm) 0; font-style:italic; color:var(--ink-soft);
}
.post-content strong{ color:var(--ink); }

.post-share{ display:flex; align-items:center; gap:14px; justify-content:center; margin-top:48px; padding-top:32px; border-top:1px solid var(--line); }
.post-share span{ font-size:0.85rem; color:var(--ink-mute); font-weight:600; }
.post-share a{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center;
  justify-content:center; color:var(--ink-soft); transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.post-share a:hover{ background:var(--signal); color:var(--white); border-color:var(--signal); }
.post-share a svg{ width:16px; height:16px; }

/* ==========================================================================
   FAQ accordion (native <details>/<summary> — works without JS, great for SEO/GEO)
   ========================================================================== */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{
  border-bottom:1px solid var(--line); padding:6px 0;
}
.faq-item summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between;
  gap:20px; padding:20px 4px; font-family:var(--font-display); font-size:1.02rem; color:var(--ink);
  -webkit-tap-highlight-color:transparent;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item .faq-icon{
  flex-shrink:0; width:26px; height:26px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; transition:transform .3s var(--ease), background .3s ease, border-color .3s ease;
}
.faq-item .faq-icon svg{ width:12px; height:12px; }
.faq-item[open] .faq-icon{ transform:rotate(45deg); background:var(--signal); border-color:var(--signal); color:var(--white); }
.faq-item .faq-answer{ padding:0 4px 22px; color:var(--ink-mute); font-size:0.95rem; line-height:1.7; max-width:660px; }
.faq-item:hover summary{ color:var(--signal); }
html[dir="rtl"] .faq-item[open] .faq-icon{ transform:rotate(45deg); }

/* ==========================================================================
   Stats band — 4-up metrics panel below the trust marquee
   ========================================================================== */
.stats-band{
  display:grid; grid-template-columns:repeat(4,1fr);
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow-md); overflow:hidden;
}
.stats-band .stat-cell{
  padding:40px 20px; text-align:center; border-right:1px solid var(--line);
  transition:background .3s ease;
}
.stats-band .stat-cell:last-child{ border-right:none; }
.stats-band .stat-cell.is-accent{ background:var(--paper-dim); }
.stats-band .stat-cell b{
  display:block; font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.9rem,4vw,2.5rem); color:var(--signal); margin-bottom:10px; letter-spacing:-0.01em;
}
.stats-band .stat-cell span{ font-size:0.92rem; color:var(--ink-soft); }
@media (max-width:760px){
  .stats-band{ grid-template-columns:repeat(2,1fr); }
  .stats-band .stat-cell:nth-child(odd){ border-right:1px solid var(--line); }
  .stats-band .stat-cell:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .stats-band .stat-cell:nth-child(even){ border-right:none; }
}

/* 5-item responsive grid for the homepage featured-services teaser (includes the new AI service) */
.grid-5-fit{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:24px; }
@media (max-width:960px){ .grid-5-fit{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-5-fit{ grid-template-columns:1fr; } }

/* ==========================================================================
   AI-powered banner (homepage)
   ========================================================================== */
.ai-banner{
  background:linear-gradient(135deg, var(--frequency) 0%, var(--ink) 100%);
  border-radius:var(--r-lg); padding:56px 40px; text-align:center; color:var(--white);
  position:relative; overflow:hidden;
}
.ai-banner::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 18% 20%, rgba(10,79,209,0.4), transparent 55%),
             radial-gradient(circle at 85% 80%, rgba(10,79,209,0.25), transparent 50%);
}
.ai-banner-icon{
  width:58px; height:58px; margin:0 auto 22px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.18);
  position:relative; z-index:1;
}
.ai-banner-icon svg{ width:26px; height:26px; color:#9DC0FF; }
.ai-banner .eyebrow{ justify-content:center; position:relative; z-index:1; }
.ai-banner h2{ color:var(--white); font-size:clamp(1.5rem,3vw,2.15rem); max-width:680px; margin:0 auto 14px; position:relative; z-index:1; }
.ai-banner p{ color:#B7C6E8; max-width:560px; margin:0 auto 28px; font-size:1.02rem; position:relative; z-index:1; }
.ai-banner .btn{ position:relative; z-index:1; }
