/* ==========================================================================
   DIV SYSTEMS - Design System
   Sections are authored as self-contained blocks so each maps 1:1 to an
   ACF flexible-content layout during the WordPress conversion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand (from the DIV SYSTEMS logo palette) */
  --brand:          #1F2F87;   /* deep indigo  */
  --brand-700:      #16215F;
  --brand-300:      #4657B5;
  --cyan:           #55CADC;   /* brand cyan   */
  --cyan-700:       #2A9BB0;
  --brand-grad:     linear-gradient(115deg, #1F2F87 0%, #55CADC 100%);

  /* Semantic aliases used through the sheet */
  --ink:            #0B1440;
  --ink-800:        #131E5C;
  --ink-700:        #1F2F87;
  --ink-600:        #2C3E9E;
  --accent:         #1F2F87;
  --accent-600:     #16215F;
  --accent-soft:    rgba(31, 47, 135, .10);
  --cyan-soft:      rgba(85, 202, 220, .18);

  /* Light surfaces and gradients (logo palette) */
  --tint-cyan:      #EAF7FB;
  --tint-indigo:    #EFF2FC;
  --grad-soft:      linear-gradient(135deg, #E9F6FB 0%, #EFF2FC 100%);
  --grad-hero:      linear-gradient(165deg, #F2FAFD 0%, #FFFFFF 44%, #EFF2FC 100%);
  --grad-brand:     linear-gradient(115deg, #1F2F87 0%, #2E5CB0 58%, #3C87C7 100%);

  /* Neutrals */
  --white:          #FFFFFF;
  --paper:          #F5F7FB;
  --paper-2:        #E8ECF5;
  --line:           #DCE2EE;
  --line-dark:      rgba(31, 47, 135, .13);
  --body:           #4C566F;
  --body-dark:      #4C566F;

  /* Type */
  --font-head: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;

  /* Scale */
  --step--1: clamp(.82rem, .79rem + .12vw, .88rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.06rem);
  --step-1:  clamp(1.18rem, 1.1rem + .38vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.55rem + 1.2vw, 2.6rem);
  --step-4:  clamp(2.2rem, 1.7rem + 2.2vw, 3.6rem);
  --step-5:  clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem);

  /* Layout */
  --wrap: 1240px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 64, .06), 0 4px 14px rgba(11, 20, 64, .05);
  --shadow-md: 0 18px 44px rgba(11, 20, 64, .10);
  --shadow-lg: 0 30px 80px rgba(11, 20, 64, .18);
  --t: .28s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 .55em;
  font-weight: 600;
}
h1 { font-size: var(--step-5); letter-spacing: -.032em; }
h2 { font-size: var(--step-4); letter-spacing: -.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan-700); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   3. Layout utilities
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--body-dark); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   4. Components
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-600);
  margin: 0 0 18px;
}
.section--ink .eyebrow { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 4vw, 58px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--body); }
.section--ink .lead { color: var(--body-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px;
  font-family: var(--font-body); font-size: .93rem; font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent; border-radius: 100px;
  transition: var(--t); cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(31, 47, 135, .26); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31, 47, 135, .34); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.section--ink .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost { border-color: var(--line-dark); color: #fff; }
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .92rem; color: var(--accent-600);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink); color: var(--body-dark);
  font-size: .82rem; border-bottom: 1px solid var(--line-dark);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar__list { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__list a { display: inline-flex; align-items: center; gap: .5em; transition: color var(--t); }
.topbar__list a:hover { color: #fff; }
.topbar__list svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.topbar__social { display: flex; gap: 8px; }
.topbar__social a {
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%; transition: var(--t);
}
.topbar__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.topbar__social svg { width: 13px; height: 13px; color: currentColor; }
@media (max-width: 860px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 42px; width: auto; flex: none; display: block; }
.site-footer .brand__logo, .drawer .brand__logo { height: 40px; }
@media (max-width: 480px) { .brand__logo { height: 34px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.14rem; letter-spacing: .01em; color: var(--ink); }
.brand__tag { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--body); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em; white-space: nowrap;
  padding: 10px 12px; border-radius: 8px;
  font-size: .94rem; font-weight: 500; color: var(--ink-800);
  transition: var(--t);
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--accent-600); background: none; }
.nav__link svg { width: 12px; height: 12px; opacity: .6; }

.nav__item { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 286px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--t);
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 11px 14px; border-radius: 9px; font-size: .92rem; color: var(--ink-800); transition: var(--t); }
.nav__sub a small { display: block; font-size: .78rem; color: var(--body); font-weight: 400; margin-top: 2px; }
.nav__sub a:hover { background: var(--paper); color: var(--accent-600); }

.header__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; }
.header__phone span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--body); }
.header__phone strong { font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
@media (max-width: 1180px) { .header__phone { display: none; } }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: var(--ink); border: 0; border-radius: 10px;
  place-items: center; color: #fff;
}
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: grid; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: #fff;
  padding: 26px var(--gutter);
  overflow-y: auto;
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4, 0, .2, 1);
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.drawer__close { width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-dark); border-radius: 10px; color: #fff; }
.drawer__list > li { border-bottom: 1px solid var(--line-dark); }
.drawer__list > li > a { display: block; padding: 16px 0; font-family: var(--font-head); font-size: 1.12rem; color: #fff; }
.drawer__list ul { padding: 0 0 14px 14px; }
.drawer__list ul a { display: block; padding: 8px 0; font-size: .95rem; color: var(--body-dark); }
.drawer .btn { width: 100%; margin-top: 26px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 620px at 78% 10%, #143260 0%, transparent 62%), var(--ink);
  color: var(--body-dark);
  padding: clamp(66px, 8vw, 118px) 0 clamp(56px, 6vw, 92px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(900px 520px at 70% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 520px at 70% 20%, #000 0%, transparent 78%);
  opacity: .5; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 1020px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 14px; margin-bottom: 26px;
  border: 1px solid var(--line-dark); border-radius: 100px;
  background: rgba(255, 255, 255, .05);
  font-size: .82rem; color: #fff;
}
.hero__badge b { color: var(--accent); font-weight: 600; }
.hero__badge span {
  padding: 3px 10px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: var(--step-1); max-width: 580px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero__points li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--body-dark); }
.hero__points svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* Globe / world panel */
.hero__panel { position: relative; }
.worldmap { position: relative; }
.worldmap > img { width: 124%; max-width: none; margin-left: -6%; opacity: 1; }
.worldmap svg { width: 100%; height: auto; overflow: visible; }
.worldmap .land { fill: rgba(255, 255, 255, .13); }
.worldmap .pin { fill: var(--cyan); }
.worldmap .pin-ring { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .65; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; }
.worldmap .pin-ring:nth-of-type(2n) { animation-delay: .7s; }
.worldmap .pin-ring:nth-of-type(3n) { animation-delay: 1.4s; }
.worldmap .arc { fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-dasharray: 4 6; opacity: .6; animation: dash 14s linear infinite; }
@keyframes ping { 0% { r: 4; opacity: .8; } 100% { r: 16; opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -200; } }

.hero__float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: var(--shadow-lg);
  font-size: .84rem; line-height: 1.35;
}
.hero__float strong { display: block; font-family: var(--font-head); font-size: 1.08rem; }
.hero__float .dot { width: 9px; height: 9px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); flex: none; }
.hero__float--a { bottom: 2%; left: -8%; }
.hero__float--b { top: 2%; right: 2%; }
@media (max-width: 1020px) { .hero__float--a { left: 0; } .hero__float--b { right: 0; }
  .worldmap > img { width: 100%; margin-left: 0; } }
@media (max-width: 560px) { .hero__float { display: none; } }

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust { background: var(--ink-800); border-top: 1px solid var(--line-dark); padding: 26px 0; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 13px; color: var(--body-dark); font-size: .88rem; }
.trust__item strong { font-family: var(--font-head); font-size: 1.5rem; color: #fff; line-height: 1; display: block; }
.trust__item .stars { color: var(--accent); letter-spacing: .1em; font-size: .9rem; }
.trust__divider { width: 1px; height: 38px; background: var(--line-dark); }
@media (max-width: 860px) { .trust__divider { display: none; } .trust__inner { gap: 22px 34px; } }

/* --------------------------------------------------------------------------
   8. Logo marquee
   -------------------------------------------------------------------------- */
.logos { background: var(--white); }

/* Client grid: six columns with hairline dividers, two rows.
   Mirrors the partner-grid layout used on the current divsystems.in. */
.partner-grid {
  display: flex; flex-wrap: wrap; align-items: stretch;
  overflow: hidden; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
}
.partner-item {
  width: 16.6667%; min-height: 148px;
  display: grid; place-items: center;
  padding: 30px 34px;
  border-left: 1px solid var(--line);
  transition: background var(--t);
}
.partner-item--first { border-left: none; }
.partner-item:nth-child(n+7) { border-top: 1px solid var(--line); }
.partner-item:hover { background: var(--grad-soft); }
.partner-item figure { margin: 0; width: 100%; }
.partner-item img {
  max-height: 54px; width: auto; margin-inline: auto;
  object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter var(--t), opacity var(--t), transform var(--t);
}
.partner-item:hover img { filter: none; opacity: 1; transform: scale(1.04); }

@media (max-width: 1080px) {
  .partner-item { width: 33.3333%; }
  .partner-item--first { border-left: 1px solid var(--line); }
  .partner-item:nth-child(3n+1) { border-left: none; }
  .partner-item:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .partner-item { width: 50%; min-height: 124px; padding: 24px 20px; }
  .partner-item:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .partner-item:nth-child(odd) { border-left: none; }
  .partner-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .partner-item img { max-height: 42px; }
}

/* --------------------------------------------------------------------------
   9. Services
   -------------------------------------------------------------------------- */
.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px 32px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: var(--t); overflow: hidden;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card__num {
  position: absolute; top: 26px; right: 30px;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  color: var(--paper-2); line-height: 1;
}
.svc-card__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 14px; background: var(--cyan-soft); color: var(--brand);
  margin-bottom: 22px;
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: var(--step-1); margin-bottom: 12px; }
.svc-card p { font-size: .95rem; margin-bottom: 20px; }
.svc-card__list { margin-bottom: 24px; }
.svc-card__list li { position: relative; padding-left: 20px; font-size: .88rem; margin-bottom: 7px; }
.svc-card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.svc-card .link-arrow { margin-top: auto; }

/* --------------------------------------------------------------------------
   10. Value / why-us split
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

.value-list { display: grid; gap: 18px; }
.value-item {
  display: flex; gap: 18px; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: var(--t);
}
.section--ink .value-item { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.value-item:hover { box-shadow: var(--shadow-sm); transform: translateX(5px); border-color: var(--accent); }
.value-item__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--brand-grad); color: #fff; }
.value-item__icon svg { width: 22px; height: 22px; }
.value-item h4 { margin-bottom: 6px; font-size: 1.04rem; }
.value-item p { font-size: .91rem; margin: 0; }

/* --------------------------------------------------------------------------
   11. Stats counters
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--ink); padding: 38px 28px; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat__num i { color: var(--accent); font-style: normal; }
.stat__label { margin-top: 12px; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: var(--body-dark); }

/* --------------------------------------------------------------------------
   12. Industries
   -------------------------------------------------------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1020px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }
.ind-card {
  padding: 30px 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: var(--t); height: 100%;
}
.ind-card:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ind-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--cyan-soft); color: var(--brand); margin-bottom: 18px; transition: var(--t); }
.ind-card:hover .ind-card__icon { background: var(--cyan); color: var(--ink); }
.ind-card__icon svg { width: 22px; height: 22px; }
.ind-card h4 { font-size: 1.02rem; margin-bottom: 9px; transition: color var(--t); }
.ind-card p { font-size: .88rem; margin: 0; transition: color var(--t); }
.ind-card:hover h4 { color: #fff; }
.ind-card:hover p { color: var(--body-dark); }

/* --------------------------------------------------------------------------
   13. Case studies
   -------------------------------------------------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 1000px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: var(--t); height: 100%;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case-card__media { position: relative; aspect-ratio: 36 / 26; overflow: hidden; background: var(--paper-2); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.case-card:hover .case-card__media img { transform: scale(1.06); }
.case-card__tag {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 13px; border-radius: 100px;
  background: rgba(6, 21, 43, .82); backdrop-filter: blur(6px);
  color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.case-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.case-card h3 { font-size: 1.14rem; margin-bottom: 11px; }
.case-card p { font-size: .91rem; margin-bottom: 20px; }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.case-card__meta span { padding: 5px 11px; border-radius: 7px; background: var(--paper); font-size: .76rem; font-weight: 500; color: var(--ink-700); }
.case-card .link-arrow { margin-top: auto; }

/* --------------------------------------------------------------------------
   14. Global delivery
   -------------------------------------------------------------------------- */
.globe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 860px) { .globe-grid { grid-template-columns: 1fr; } }
.globe-card { padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.globe-card__zone { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.globe-card__zone svg { width: 16px; height: 16px; }
.globe-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.globe-card p { font-size: .89rem; margin: 0; }

/* --------------------------------------------------------------------------
   15. Process
   -------------------------------------------------------------------------- */
.process { counter-reset: step; display: grid; gap: 0; }
.process__row {
  counter-increment: step;
  display: grid; grid-template-columns: 92px 1fr 1fr; gap: clamp(20px, 3vw, 48px);
  padding: 34px 0; border-top: 1px solid var(--line);
  align-items: start;
}
.process__row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .process__row { grid-template-columns: 62px 1fr; } .process__row > p { grid-column: 2; } }
.process__num {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  color: var(--accent-600); letter-spacing: .06em;
}
.process__num::before { content: "0" counter(step); }
.process__row h3 { font-size: var(--step-1); margin: 0; }
.process__row p { font-size: .94rem; margin: 0; }
.process__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.process__tags span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: .78rem; }

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */
.tstm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 42px; }
.tstm-source {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border: 1px solid var(--line-dark); border-radius: 100px;
  background: rgba(255, 255, 255, .05); font-size: .86rem; color: #fff;
}
.tstm-source svg { width: 76px; height: 20px; }
.tstm-source b { color: var(--accent); }

.tstm-rail {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: none;
  margin-right: calc(50% - 50vw); padding-right: calc(50vw - 50%);
  -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
  mask-image: linear-gradient(90deg, #000 86%, transparent);
}
.tstm-rail::-webkit-scrollbar { display: none; }
.tstm {
  flex: 0 0 clamp(290px, 34vw, 400px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 32px 30px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark);
}
.tstm__stars { color: var(--accent); letter-spacing: .12em; margin-bottom: 16px; font-size: .94rem; }
.tstm__quote { font-family: var(--font-head); font-size: 1.04rem; line-height: 1.6; color: #fff; margin-bottom: 22px; font-weight: 400; }
.tstm__project { font-size: .82rem; color: var(--accent); margin-bottom: 18px; }
.tstm__who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.tstm__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600; flex: none; }
.tstm__who strong { display: block; color: #fff; font-size: .92rem; font-weight: 600; }
.tstm__who small { font-size: .78rem; color: var(--body-dark); }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%;
  background: transparent; color: #fff; transition: var(--t);
}
.rail-nav button:hover { background: var(--accent); border-color: var(--accent); }
.rail-nav svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   17. Tech stack
   -------------------------------------------------------------------------- */
.tech-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tech-tab {
  padding: 10px 22px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; font-size: .88rem; font-weight: 500; color: var(--ink-800); transition: var(--t);
}
.tech-tab:hover { border-color: var(--ink); }
.tech-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
.tech-pill {
  display: grid; place-items: center; gap: 10px;
  padding: 24px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); text-align: center; font-size: .86rem; font-weight: 500; color: var(--ink-800);
  transition: var(--t);
}
.tech-pill:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tech-pill__mark {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px;
  background: var(--paper); font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink);
}

/* --------------------------------------------------------------------------
   18. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-700) 100%);
  border-radius: clamp(18px, 2.4vw, 30px);
  padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 70px);
  display: grid; grid-template-columns: 1.2fr auto; gap: 34px; align-items: center;
}
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(85, 202, 220, .28), transparent 66%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: var(--body-dark); margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--body-dark); padding: clamp(56px, 6vw, 86px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 42px; padding-bottom: 52px; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: var(--body-dark); }
.footer__about { font-size: .91rem; margin: 22px 0; max-width: 340px; }
.footer h5 { font-family: var(--font-head); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 22px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: .92rem; transition: var(--t); }
.footer__links a:hover { color: var(--accent); padding-left: 5px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 18px; font-size: .91rem; }
.footer__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }
.footer__contact a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; transition: var(--t); }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__social svg { width: 15px; height: 15px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 24px 0; border-top: 1px solid var(--line-dark); font-size: .86rem;
}
.footer__bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   20. Reveal on scroll
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   21. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: radial-gradient(800px 420px at 80% 0%, #143260 0%, transparent 60%), var(--ink);
  color: var(--body-dark); padding: clamp(56px, 6vw, 88px) 0;
}
.page-hero h1 { color: #fff; max-width: 15ch; }
.page-hero p { max-width: 640px; font-size: var(--step-1); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .84rem; margin-bottom: 20px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }


/* ==========================================================================
   22. LIGHT THEME
   No dark surfaces anywhere. Sections that were navy become either a soft
   tint drawn from the logo gradient, or the full brand gradient where a
   block needs to carry weight. Text stays dark indigo throughout.
   ========================================================================== */

/* ---- Top bar ---- */
.topbar {
  background: var(--tint-indigo);
  color: var(--body);
  border-bottom: 1px solid var(--line);
}
.topbar__list a:hover { color: var(--brand); }
.topbar__list svg { color: var(--cyan-700); }
.topbar__social a { border-color: var(--line); color: var(--body); }
.topbar__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- Hero ---- */
.hero {
  background: var(--grad-hero);
  color: var(--body);
}
.hero::after {
  background-image: linear-gradient(rgba(31, 47, 135, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(31, 47, 135, .07) 1px, transparent 1px);
  opacity: 1;
}
.hero h1 { color: var(--ink); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #1F2F87 0%, #2F9FBE 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--brand);
}
.hero__lead { color: var(--body); }
.hero__badge {
  background: #fff; border-color: var(--line);
  color: var(--ink); box-shadow: var(--shadow-sm);
}
.hero__badge b { color: var(--brand); }
.hero__badge span { background: var(--cyan-soft); color: var(--cyan-700); }
.hero__points li { color: var(--body); }
.hero__points svg { color: var(--cyan-700); }
.hero .btn--ghost { border-color: var(--line); color: var(--ink); }
.hero .btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero__float { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-md); }

/* ---- World map on light ---- */
.worldmap > img { opacity: .9; }
.worldmap .pin { fill: var(--brand); }
.worldmap .pin-ring { stroke: var(--cyan-700); opacity: .7; }
.worldmap .arc { stroke: var(--cyan-700); opacity: .55; }

/* ---- Trust strip ---- */
.trust {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust__item { color: var(--body); }
.trust__item strong { color: var(--brand); }
.trust__item .stars { color: var(--cyan-700); }
.trust__divider { background: var(--line); }

/* ---- Tinted sections (were navy) ---- */
.section--ink { background: var(--grad-soft); color: var(--body); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--ink); }
.section--ink .lead { color: var(--body); }
.section--ink .eyebrow { color: var(--brand); }
.section--ink .link-arrow { color: var(--brand); }
.section--ink .btn--ghost { border-color: var(--line); color: var(--ink); }
.section--ink .btn--ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.globe-card { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.globe-card__zone { color: var(--cyan-700); }
.globe-card p { color: var(--body); }

/* ---- Stats band ---- */
.stats { background: var(--line); border-color: var(--line); box-shadow: var(--shadow-sm); }
.stat { background: #fff; }
.stat__num { color: var(--brand); }
.stat__num i { color: var(--cyan-700); }
.stat__label { color: var(--body); }

/* ---- Testimonials ---- */
.tstm {
  background: #fff; border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.tstm__stars { color: var(--cyan-700); }
.tstm__quote { color: var(--ink); }
.tstm__project { color: var(--cyan-700); }
.tstm__who { border-top-color: var(--line); }
.tstm__who strong { color: var(--ink); }
.tstm__who small { color: var(--body); }
.tstm__avatar { background: var(--brand-grad); color: #fff; }
.tstm-source { background: #fff; border-color: var(--line); color: var(--ink); }
.tstm-source b { color: var(--brand); }
.rail-nav button { border-color: var(--line); color: var(--ink); background: #fff; }
.rail-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- CTA band: the one saturated gradient block ---- */
.cta-band { background: var(--grad-brand); }
.cta-band::after { background: radial-gradient(circle, rgba(85, 202, 220, .38), transparent 66%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); }
.cta-band .eyebrow { color: #BFE9F3; }
.cta-band .btn--primary { background: #fff; color: var(--brand); box-shadow: 0 10px 28px rgba(11, 20, 64, .22); }
.cta-band .btn--primary:hover { background: var(--cyan); color: var(--ink); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }

/* ---- Cards that used to be navy: brand gradient, text over the deep end ---- */
.card-on-ink {
  background: var(--grad-brand) !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, .88);
}
.card-on-ink h3, .card-on-ink h4 { color: #fff; }
.card-on-ink p { color: rgba(255, 255, 255, .88); }
.card-on-ink .eyebrow { color: #BFE9F3; }
.card-on-ink .link-arrow { color: #fff; }
.card-on-ink .svc-card__icon,
.card-on-ink .ind-card__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.card-on-ink .btn--primary { background: #fff; color: var(--brand); box-shadow: 0 10px 26px rgba(11, 20, 64, .2); }
.card-on-ink .btn--primary:hover { background: var(--cyan); color: var(--ink); }
.card-on-ink:hover .ind-card__icon { background: #fff; color: var(--brand); }

/* ---- Industry card hover: tint instead of navy ---- */
.ind-card:hover { background: var(--grad-soft); border-color: var(--cyan); }
.ind-card:hover h4 { color: var(--ink); }
.ind-card:hover p { color: var(--body); }
.ind-card.card-on-ink:hover h4 { color: #fff; }
.ind-card.card-on-ink:hover p { color: rgba(255, 255, 255, .88); }

/* ---- Case study tag over photography ---- */
.case-card__tag { background: rgba(31, 47, 135, .88); }

/* ---- Ghost button default ---- */
.btn--ghost:hover { border-color: var(--brand); background: var(--brand); color: #fff; }

/* ---- Mobile drawer ---- */
.drawer { background: var(--grad-hero); color: var(--body); }
.drawer__close { border-color: var(--line); color: var(--ink); }
.drawer__list > li { border-bottom-color: var(--line); }
.drawer__list > li > a { color: var(--ink); }
.drawer__list ul a { color: var(--body); }
.nav-toggle { background: var(--brand); }

/* ---- Footer ---- */
.site-footer {
  background: var(--grad-soft);
  color: var(--body);
  border-top: 1px solid var(--line);
}
.site-footer h5, .footer h5 { color: var(--ink); }
.footer__about { color: var(--body); }
.footer__links a:hover { color: var(--brand); }
.footer__contact svg { color: var(--cyan-700); }
.footer__contact a:hover { color: var(--brand); }
.footer__social a { border-color: var(--line); color: var(--body); }
.footer__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer__bottom { border-top-color: var(--line); }
.footer__bottom a:hover { color: var(--brand); }

/* ---- Inner page header ---- */
.page-hero { background: var(--grad-hero); color: var(--body); }
.page-hero h1 { color: var(--ink); }
.crumbs a:hover { color: var(--brand); }

.tstm--cta { background: var(--grad-brand); border-color: transparent; }
.tstm--cta .tstm__quote { color: #fff; }
.tstm--cta .tstm__stars { color: var(--cyan); }
.tstm--cta .tstm__who { border-top-color: rgba(255, 255, 255, .28); }
.tstm--cta .tstm__who strong { color: #fff; }
.tstm--cta .tstm__who small { color: rgba(255, 255, 255, .82); }
.tstm--cta .tstm__avatar { background: #fff; color: var(--brand); }

/* ==========================================================================
   23. Inner page components
   ========================================================================== */

/* ---- Page hero ---- */
.page-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 60px); align-items: end; }
@media (max-width: 900px) { .page-hero__inner { grid-template-columns: 1fr; } }
.page-hero h1 { font-size: var(--step-4); max-width: 20ch; margin-bottom: 18px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero__meta span {
  padding: 8px 16px; border-radius: 100px; background: #fff;
  border: 1px solid var(--line); font-size: .84rem; font-weight: 500; color: var(--ink);
}
.crumbs { color: var(--body); }

/* ---- Tabs (About) ---- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab-btn {
  padding: 12px 24px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; font-size: .92rem; font-weight: 600; color: var(--ink); transition: var(--t);
}
.tab-btn:hover { border-color: var(--brand); }
.tab-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.tab-panel { animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--grad-brand); opacity: .35; }
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -32px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
}
.timeline__year { font-family: var(--font-head); font-weight: 600; color: var(--cyan-700); font-size: .9rem; letter-spacing: .04em; }
.timeline__item h4 { margin: 6px 0 8px; font-size: 1.06rem; }
.timeline__item p { font-size: .93rem; margin: 0; }

/* ---- Alternating feature rows ---- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(50px, 6vw, 88px); }
.feature-row:nth-child(even) .feature-row__media { order: -1; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
}
.feature-row__media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.feature-row__media img { width: 100%; aspect-ratio: 36/26; object-fit: cover; }
.feature-row__panel {
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px);
  background: var(--grad-soft); border: 1px solid var(--line);
}
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: .95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--cyan-soft);
}
.checklist li::after {
  content: ""; position: absolute; left: 5.5px; top: .72em;
  width: 7px; height: 4px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---- FAQ accordion ---- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px;
  padding: 24px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-head); font-size: 1.04rem; font-weight: 600; color: var(--ink);
}
.faq__q span:last-child {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--cyan-soft); color: var(--brand);
  font-size: 1.1rem; line-height: 1; transition: transform var(--t);
}
.faq__item.is-open .faq__q span:last-child { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 60px 26px 0; font-size: .95rem; }
.faq__item.is-open .faq__a { display: block; animation: fadeUp .35s ease both; }

/* ---- Filter chips ---- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-btn {
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; font-size: .88rem; font-weight: 500; color: var(--ink); transition: var(--t);
}
.filter-btn:hover { border-color: var(--brand); }
.filter-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 11px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: #fff; transition: var(--t);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 47, 135, .1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .84rem; margin-top: 16px; }
.contact-tile {
  display: flex; gap: 16px; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 16px; transition: var(--t);
}
.contact-tile:hover { box-shadow: var(--shadow-sm); border-color: var(--cyan); }
.contact-tile__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--grad-brand); color: #fff; }
.contact-tile__icon svg { width: 21px; height: 21px; }
.contact-tile h4 { font-size: 1rem; margin-bottom: 5px; }
.contact-tile p, .contact-tile a { font-size: .93rem; margin: 0; }
.contact-tile a:hover { color: var(--brand); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; background: var(--grad-soft); display: grid; place-items: center; text-align: center; padding: 24px; }

/* ---- Blog ---- */
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--t);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 36/22; overflow: hidden; background: var(--grad-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 12px; font-size: .8rem; color: var(--cyan-700); margin-bottom: 12px; font-weight: 500; }
.post-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.post-card p { font-size: .92rem; margin-bottom: 18px; }
.post-card .link-arrow { margin-top: auto; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .article { grid-template-columns: 1fr; } }
.prose { font-size: 1.04rem; line-height: 1.78; }
.prose h2 { font-size: var(--step-2); margin: 2em 0 .6em; }
.prose h3 { font-size: var(--step-1); margin: 1.7em 0 .5em; }
.prose ul { margin: 0 0 1.3rem; }
.prose ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.prose blockquote {
  margin: 1.8rem 0; padding: 22px 26px;
  background: var(--grad-soft); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-head); font-size: 1.08rem; color: var(--ink);
}
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.sidebar-card h5 { font-family: var(--font-head); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--body); margin: 0 0 18px; }
.sidebar-card li { margin-bottom: 12px; font-size: .93rem; }
.sidebar-card a:hover { color: var(--brand); }
.is-sticky-side { position: sticky; top: 100px; }

/* ---- Case study detail ---- */
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .result-grid { grid-template-columns: repeat(2, 1fr); } }
.result-tile { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.result-tile strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--brand); line-height: 1; margin-bottom: 8px; }
.result-tile span { font-size: .84rem; }
.spec-list { border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
@media (max-width: 620px) { .spec-list div { grid-template-columns: 1fr; gap: 4px; } }
.spec-list dt, .spec-list strong { font-weight: 600; color: var(--ink); }

/* Section labels inside long-form case study prose */
.prose .eyebrow { margin: 2.6em 0 14px; }
.prose .eyebrow:first-child { margin-top: 0; }
.prose .eyebrow + h2 { margin-top: 0; }
.prose figure img { width: 100%; }

/* Service illustrations, taken from the current divsystems.in services page.
   Height-constrained so the varied artwork ratios line up across a grid. */
.svc-illus {
  display: block;
  align-self: flex-start;      /* the cards are flex columns; stop the artwork stretching */
  width: auto; height: auto;
  max-height: 92px;            /* a common box, so the varied artwork ratios read evenly */
  max-width: 168px;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 0 22px;
}
.svc-card .svc-illus { margin-bottom: 20px; }
/* the services page rows reuse .feature-row__media, whose img rule would crop these */
.feature-row__media .svc-illus { width: auto; aspect-ratio: auto; object-fit: contain; }
@media (max-width: 680px) { .svc-illus { max-height: 76px; max-width: 140px; } }

/* ---- Hero world map: stronger routes, labelled cities ---- */
.worldmap .worldmap__overlay { position: absolute; inset: 0; width: 124%; max-width: none; height: auto; margin-left: -6%; overflow: visible; }
.worldmap .arc-base { fill: none; stroke: url(#arcGrad); stroke-width: 7; stroke-linecap: round; opacity: .16; }
.worldmap .arc { fill: none; stroke: url(#arcGrad); stroke-width: 2.8; stroke-linecap: round;
  stroke-dasharray: 7 7; opacity: 1; animation: dash 12s linear infinite; }
.worldmap .pulse { fill: #fff; stroke: var(--cyan-700); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(42,155,176,.8)); }
.worldmap .pin { fill: #fff; stroke: var(--brand); stroke-width: 2.6; }
.worldmap .pin-ring { fill: none; stroke: var(--cyan-700); stroke-width: 1.6; opacity: .8; }
.worldmap .hq { fill: var(--brand); stroke: #fff; stroke-width: 3; }
.worldmap .hq-halo { fill: rgba(85,202,220,.22); }
.worldmap .map-label rect { fill: #fff; stroke: var(--line); filter: drop-shadow(0 4px 10px rgba(11,20,64,.10)); }
.worldmap .map-label text { font: 600 13px var(--font-body); fill: var(--ink); text-anchor: middle; }
.worldmap .map-label--hq rect { fill: var(--brand); stroke: none; }
.worldmap .map-label--hq text { fill: #fff; font-size: 14px; }
@media (max-width: 1020px) { .worldmap .worldmap__overlay { width: 100%; margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .worldmap .pulse { display: none; } }
/* keep the stat cards clear of the routes */
.hero__float--b { top: -14%; right: 2%; bottom: auto; left: auto; }
.hero__float--a { bottom: -12%; left: -6%; top: auto; right: auto; }
@media (max-width: 1020px) { .hero__float--b { top: -6%; right: 0; } .hero__float--a { bottom: -6%; left: 0; } }

/* ==========================================================================
   24. Buttons in the logo gradient (same blend as the hero "Your software.")
   ========================================================================== */
:root { --btn-grad: linear-gradient(100deg, #1F2F87 0%, #2F9FBE 50%, #1F2F87 100%); }
.btn--primary, .hero .btn--ghost:hover, .section--ink .btn--ghost:hover, .btn--ghost:hover {
  background: var(--btn-grad); background-size: 200% 100%; background-position: 0 0;
  color: #fff; border-color: transparent;
}
.btn--primary:hover, .hero .btn--ghost:hover, .section--ink .btn--ghost:hover, .btn--ghost:hover {
  background-image: var(--btn-grad); background-position: 100% 0;
}
.btn--primary:hover { transform: translateY(-2px); }
.btn { transition: background-position .5s ease, transform .25s ease, box-shadow .25s ease, color .25s ease, border-color .25s ease; }
/* on the gradient CTA cards the button stays white so it reads against the gradient */
.cta-band .btn--primary, .card-on-ink .btn--primary { background: #fff; color: var(--brand); }
.cta-band .btn--primary:hover, .card-on-ink .btn--primary:hover { background: var(--btn-grad); background-size: 200% 100%; background-position: 100% 0; color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 14px 30px rgba(11,20,64,.3); }
.tech-tab.is-active, .tab-btn.is-active, .filter-btn.is-active { background: linear-gradient(100deg, #1F2F87 0%, #2F9FBE 100%); border-color: transparent; color: #fff; }

/* hidden panels (tech tabs, about tabs) must stay hidden even when the class sets display */
[hidden] { display: none !important; }
.tech-pill__logo { display: grid; place-items: center; width: 40px; height: 40px; }
.tech-pill__logo svg { width: 28px; height: 28px; }
.topbar__phone a { gap: .45em; }
.topbar__phone strong { font-weight: 600; color: var(--ink); }
.topbar__list li > span { display: inline-flex; align-items: center; gap: .5em; }
a.post-card__media { display: block; }
/* WordPress admin bar and core alignment helpers */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.prose .alignleft { float: left; margin: 0 1.4em 1em 0; } .prose .alignright { float: right; margin: 0 0 1em 1.4em; } .prose .aligncenter { margin-inline: auto; }
.prose figure { margin: 2rem 0; } .prose figcaption { font-size: .86rem; margin-top: 10px; color: var(--body); }
/* Contact Form 7 inside the form card */
.form-card .wpcf7-form-control-wrap { display: block; }
.form-card .wpcf7-submit { width: 100%; }
.form-card .wpcf7-spinner { display: block; margin: 12px auto 0; }
.form-card .wpcf7-not-valid-tip { font-size: .8rem; margin-top: 6px; }
.form-card .wpcf7-response-output { margin: 18px 0 0 !important; border-radius: 10px; font-size: .9rem; padding: 12px 16px !important; }
.form-card form > p { margin: 0; }
.map-embed--live { padding: 0; display: block; }
.map-embed--live iframe { width: 100%; height: 100%; border: 0; display: block; }
