/* ========== Tokens ========== */
:root {
  --bg: #ffffff;
  --bg-2: #f7f7f8;
  --surface: #ffffff;
  --border: #e6e7eb;
  --text: #111827;
  --muted: #4b5563;
  --brand: #2f4193;        /* logo navy: buttons, links, headings accents */
  --brand-dark: #233172;   /* hover / pressed */
  --brand-2: #38a1b2;      /* logo teal: gradients and decoration (not for small text) */
  --brand-soft: #eef2fb;   /* light navy tint for backgrounds */
  --danger: #dc2626;       /* form errors only */
  --danger-soft: #fef2f2;
  --amber: #d97706;
  --green: #059669;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05), 0 2px 8px rgba(17, 24, 39, .04);
  --shadow-lg: 0 24px 60px -20px rgba(17, 24, 39, .18);
  --radius: 16px;          /* cards, list items */
  --radius-lg: 20px;       /* panels, forms, large blocks */

  /* Spacing system: change these to adjust spacing site-wide */
  --content-max: 1360px;   /* max width of the content itself */
  --gutter: 32px;          /* side margin between content and screen edge */
  --nav-h: 72px;           /* fixed header height */
  --section-y: 112px;      /* top/bottom padding of every section */
  --head-gap: 56px;        /* section heading -> section content */
  --split-gap: 64px;       /* gap between two-column layouts */
  --grid-gap: 24px;        /* gap between cards in a grid */
  --stack-gap: 16px;       /* gap between stacked list items */
  --card-pad: 28px;        /* inner padding of cards */
  --measure: 640px;        /* max width of lead paragraphs */

  /* Two-column layouts: only these three splits are used */
  --cols-intro: 5fr 7fr;   /* intro text left, main content right (why, contact, CTA, FAQs) */
  --cols-lead: 7fr 5fr;    /* main text left, supporting card right (page heroes) */
  --cols-equal: 1fr 1fr;   /* two equal halves (overview, problem/solution, technologies) */

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(47, 65, 147, .55);
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(47, 65, 147, .6);
}

.btn--ghost {
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn--sm { padding: 9px 16px; font-size: 14px; }

/* ========== Navigation ========== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px rgba(17, 24, 39, .15);
}
/* The header and footer span the full width on every page: logo in the left corner, menu in the right */
.nav > .container,
.footer > .container { max-width: none; padding-left: clamp(16px, 1.8vw, 36px); padding-right: clamp(16px, 1.8vw, 36px); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.logo { display: flex; align-items: center; }
.logo img { display: block; height: 48px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav__links a:not(.btn):hover { color: var(--brand); }
.nav__links a.is-active { color: var(--text); position: relative; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 120px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}
/* Faint network lines behind the logo hub */
.hero__net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__net path { fill: none; stroke: #dfe6f1; stroke-width: 1.2; }
.hero__net circle { fill: #cfd9ea; }

/* Faint grid used behind the inner page heroes */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(17, 24, 39, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}

/* Banners on every page: the text hugs the left edge on wide screens (the photo fills the right) */
.hero > .container,
.blog-hero > .container,
.page-hero > .container,
.sol-banner > .container { max-width: none; padding-left: clamp(var(--gutter), 4vw, 96px); padding-right: clamp(var(--gutter), 4vw, 96px); }
.hero__content { max-width: 720px; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;   /* headline left, logo hub right */
  align-items: center;
  gap: var(--split-gap);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(47, 65, 147, .25);
  background: var(--brand-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .02em;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(47, 65, 147, .5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(47, 65, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 65, 147, 0); }
}

/* Small teal label above the headline */
.hero .eyebrow { padding: 0; border: 0; background: none; border-radius: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1fa0b4; }
.hero .pulse-dot { display: none; }

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 14px 0 20px;
  color: #141c45;
}
.hero__title .gradient-text { background: none; color: inherit; }

.gradient-text { background: none; color: inherit; }

.gradient-text {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 18px;
  color: #3d4451;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

/* Headline figures: big number with its label beside it */
.hero__stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 40px; }
.hero__stats li { display: flex; align-items: center; gap: 12px; }
.hero__stats strong { font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #141c45; }
.hero__stats span { max-width: 110px; font-size: 14px; line-height: 1.3; color: var(--muted); }

/* Logo hub */
.hub { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin-left: auto; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines circle { fill: none; stroke: #b9cbe9; stroke-width: 1.4; stroke-dasharray: 3 5; }
.hub__lines line { stroke: #c9d7ef; stroke-width: 1.2; }
.hub__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 34%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(47, 65, 147, .06), 0 18px 40px -16px rgba(47, 65, 147, .55);
}
.hub__core img { width: 76%; height: auto; }
.hub__node {
  position: absolute;
  width: 15%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2f4193;
  background: #fff;
  border: 1px solid #dbe4f3;
  box-shadow: 0 8px 18px -10px rgba(47, 65, 147, .5);
}
.hub__node svg { width: 48%; height: 48%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ========== Shared section ========== */
.section {
  position: relative;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
}

/* ========== Core Capabilities ========== */
/* ========== What's Inside ========== */
/* Blue-to-teal band under a diagonal teal line, with network lines, the dashboard laptop and tag pills */
.inside {
  position: relative;
  padding: 150px 0 72px;
  margin-top: -1px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(150deg, #2a2c7c 0%, #283f96 45%, #1f7fa8 80%, #1aa6b3 100%);
}
.inside__edge { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 90px; }
.inside__edge-fill { fill: #fff; }
.inside__edge-line { fill: none; stroke: #1fb6c1; stroke-width: 4; vector-effect: non-scaling-stroke; }
.inside__net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .35; }
.inside__net path { fill: none; stroke: #9fb8f0; stroke-width: 1; }
.inside__net circle { fill: #cfe0ff; }
.inside > .container { max-width: none; padding-left: clamp(var(--gutter), 4vw, 96px); padding-right: clamp(var(--gutter), 4vw, 96px); }

.inside__inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: var(--split-gap); }
.inside__label { margin-bottom: 18px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.inside__list { list-style: none; display: grid; gap: 4px; }
.inside__list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  margin-left: -14px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  transition: background .2s;
}
.inside__list a:hover { background: rgba(255, 255, 255, .1); }
.inside__list a:focus-visible { outline: 2px solid #5ee0e8; outline-offset: 2px; }
.inside__num { min-width: 26px; font-family: var(--font-head); font-weight: 700; color: #5ee0e8; }
.inside__list svg { width: 18px; height: 18px; margin-left: auto; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.inside__list a:hover svg, .inside__list a:focus-visible svg { opacity: 1; transform: none; }

.inside__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.inside__tags li { padding: 7px 16px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; }

/* Laptop with the factory dashboard */
.laptop { width: min(100%, 620px); margin-left: auto; filter: drop-shadow(0 30px 40px rgba(8, 14, 50, .45)); }
.laptop__screen { padding: 12px; background: #1b1f2e; border-radius: 14px 14px 0 0; }
.laptop__base { height: 16px; margin: 0 -6%; background: linear-gradient(180deg, #d9dee8, #9aa3b4); border-radius: 0 0 14px 14px; }
.dash { background: #f4f7fc; border-radius: 6px; overflow: hidden; color: #1e2a55; font-size: 12px; }
.dash__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #fff; border-bottom: 1px solid #e3e9f3; }
.dash__brand { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #2f4193; }
.dash__brand i { font-style: normal; color: #b6c2d8; }
.dash__brand img { width: 16px; height: 16px; }
.dash__dots { display: flex; gap: 4px; }
.dash__dots i { width: 7px; height: 7px; border-radius: 50%; background: #3fb6c4; }
.dash__body { display: grid; grid-template-columns: 1fr 120px; gap: 10px; padding: 12px; }
.dash__card { padding: 10px 12px; background: #fff; border: 1px solid #e3e9f3; border-radius: 8px; }
.dash__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 600; }
.dash__badge { padding: 2px 8px; font-size: 9px; font-weight: 700; letter-spacing: .06em; color: #0f8a5f; background: #e2f7ee; border-radius: 999px; }
.dash__gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gauge { position: relative; display: grid; justify-items: center; gap: 4px; }
.gauge svg { width: 62px; height: 62px; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: #e4eaf4; stroke-width: 3.5; }
.gauge__value { fill: none; stroke: #2f6fe0; stroke-width: 3.5; stroke-linecap: round; }
.gauge:nth-child(2) .gauge__value { stroke: #2aa5b8; }
.gauge:nth-child(3) .gauge__value { stroke: #5b4fd6; }
.gauge b { position: absolute; top: 21px; font-size: 13px; }
.gauge small { font-size: 10px; color: #6b7590; }
.dash__oee { display: grid; place-content: center; text-align: center; }
.dash__oee b { font-family: var(--font-head); font-size: 32px; line-height: 1; color: #141c45; }
.dash__oee small { margin-top: 4px; font-size: 11px; color: #6b7590; }
.dash__chart { grid-column: 1 / -1; }
.dash__chart span { font-weight: 600; }
.dash__chart svg { display: block; width: 100%; height: 70px; margin-top: 6px; }
.dash__series { fill: none; stroke: #2f6fe0; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dash__series--b { stroke: #3fb6c4; }

/* ========== Why Choose ========== */
.why {
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 55%, #f5f9ff 100%);
}
/* Circuit lines on both sides, soft circles and a dot grid */
.why__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.why__circuit { position: absolute; width: 120px; stroke: #b9cdf3; stroke-width: 1.6; }
.why__circuit circle { fill: #c9dafa; stroke: none; }
.why__circuit--left { top: 40px; left: 0; }
.why__circuit--right { top: 120px; right: 0; width: 130px; }
.why__blob { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #dbe8ff, rgba(219, 232, 255, 0) 70%); }
.why__blob--bl { bottom: -160px; left: -140px; width: 420px; height: 420px; }
.why__blob--tr { top: -120px; right: -120px; width: 320px; height: 320px; }
.why__dots { bottom: 40px; left: 34%; opacity: .7; }

.why__inner {
  display: grid;
  grid-template-columns: var(--cols-intro);
  gap: var(--split-gap);
  align-items: start;
}
.why__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.why__intro .section-title { color: #0f1b4c; }
.why__highlight {
  background: linear-gradient(90deg, #1d5fe0, #1fb8d3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* How it works: round picture tiles joined by arrows */
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), 1fr);
  margin: 36px 0 40px;
}
.flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.flow__icon {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  color: #1d5fe0;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e6efff 70%);
  border: 1px solid #dbe6fb;
  box-shadow: 0 12px 26px -14px rgba(29, 95, 224, .55), inset 0 -3px 8px rgba(29, 95, 224, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.flow__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow li:hover .flow__icon { transform: translateY(-4px); box-shadow: 0 18px 30px -14px rgba(29, 95, 224, .6); }
.flow__label { font-size: 14px; font-weight: 600; line-height: 1.3; color: #1e2a55; }
/* Short accent line under each label */
.flow__label::after { content: ""; display: block; width: 26px; height: 2px; margin: 8px auto 0; border-radius: 2px; background: #3b82f6; opacity: .8; }
/* Arrow with a small ring between the tiles */
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 41px;
  left: calc(50% + 50px);
  right: calc(-50% + 50px);
  height: 2px;
  background: linear-gradient(90deg, #8fb3f5, #3b82f6);
}
.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 37px;
  right: calc(-50% + 46px);
  width: 8px; height: 8px;
  border-top: 2px solid #3b82f6;
  border-right: 2px solid #3b82f6;
  transform: rotate(45deg);
}

.why__btn {
  border-radius: 999px;
  padding: 16px 32px;
  background: linear-gradient(90deg, #1d5fe0, #1fb8d3);
  box-shadow: 0 14px 30px -12px rgba(29, 95, 224, .6);
}
.why__btn:hover { background: linear-gradient(90deg, #1a52c4, #1aa3bb); }

/* Numbered reasons: gradient number, round icon, text and an arrow */
.reasons { display: grid; gap: var(--stack-gap); }
.reason {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #e3eaf6;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px -18px rgba(15, 27, 76, .35);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.reason:hover,
.reason--featured {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, .35), 0 18px 36px -18px rgba(29, 95, 224, .55);
}
.reason:hover { transform: translateX(6px); }
.reason__num {
  flex: none;
  min-width: 56px;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #1d5fe0, #1fa0d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reason__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  color: #1d5fe0;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e9f0fe 75%);
  border: 1px solid #dfe8fb;
}
.reason__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reason__body { flex: 1; min-width: 0; }
.reason h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; color: #0f1b4c; }
.reason p { color: var(--muted); font-size: 14.5px; }
.reason__arrow { flex: none; color: #1d5fe0; }
.reason__arrow svg { width: 20px; height: 20px; transition: transform .2s; }
.reason:hover .reason__arrow svg { transform: translateX(3px); }

/* ========== Industries ========== */
.industries {
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f6f9fe, #ffffff 55%, #f6f9fe);
}
.industries__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* Faded refinery skyline in the top-left corner */
.industries__skyline {
  position: absolute;
  top: 0; left: 0;
  width: 46%; height: 380px;
  background: url("images/hero-bg.svg") 85% 40% / cover no-repeat;
  opacity: .8;
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 0% 0%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 100% at 0% 0%, #000 40%, transparent 80%);
}
.decor-dots--tr { top: 140px; right: 16px; }
.decor-dots--bl { bottom: 30px; left: 120px; }
.industries__blob { position: absolute; border-radius: 50%; }
.industries__blob--tr { top: -90px; right: -70px; width: 220px; height: 220px; background: linear-gradient(135deg, #bfdbfe, #a5f3fc); opacity: .7; }
.industries__blob--bl { bottom: -120px; left: -90px; width: 260px; height: 260px; background: linear-gradient(135deg, #bfdbfe, #dbeafe); opacity: .8; }
.industries__blob--br { bottom: -110px; right: -60px; width: 240px; height: 240px; background: linear-gradient(135deg, #5eead4, #3b82f6); opacity: .55; }

.industries__head { position: relative; max-width: 760px; margin: 0 auto var(--head-gap); text-align: center; }
.industries__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
}
.industries__pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.industries__head h2 {
  margin: 18px 0 14px;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #16204d;
}
.industries__head > p:not(.industries__script) { max-width: 620px; margin: 0 auto; font-size: 17px; color: var(--muted); }
/* Handwritten note beside the heading */
.industries__script {
  position: absolute;
  top: 70px;
  right: -230px;
  font-family: "Caveat", cursive;
  font-size: 30px;
  line-height: 1.15;
  color: #475569;
  transform: rotate(-12deg);
}
.industries__script::after {
  content: "";
  display: block;
  width: 110px; height: 10px;
  margin: 2px 0 0 60px;
  border-bottom: 3px solid var(--brand);
  border-radius: 0 0 60% 40%;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}
.ind-card {
  --accent: var(--brand);
  position: relative;
  min-height: 228px;
  padding: 24px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -18px rgba(17, 24, 64, .25);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ind-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 24px 46px -24px color-mix(in srgb, var(--accent) 50%, transparent);
}
/* Industry picture in an organic leaf-shaped frame with an accent edge */
.ind-card__art {
  position: absolute;
  top: 10px; right: -8px;
  width: 46%;
  aspect-ratio: 1;
  padding: 0 7px 7px 0;
  border-radius: 58% 42% 46% 54% / 46% 38% 62% 54%;
  background: linear-gradient(200deg, color-mix(in srgb, var(--accent) 85%, #fff), color-mix(in srgb, var(--accent) 25%, #fff) 70%);
}
.ind-card__art img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform .5s ease;
}
.ind-card:hover .ind-card__art img { transform: scale(1.04); }
.ind-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  border-radius: 50%;
}
.ind-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ind-card h3 { max-width: 56%; margin-bottom: 10px; font-family: var(--font-head); font-size: 17px; line-height: 1.3; color: #16204d; }
.ind-card p { position: relative; max-width: 58%; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.ind-card__link { display: inline-flex; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.ind-card__link span { transition: transform .2s; }
.ind-card__link:hover span { transform: translateX(3px); }

/* ========== Solution cards ========== */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--head-gap);
  text-align: center;
}
.section-lead { color: var(--muted); font-size: 17px; max-width: var(--measure); }
.section-head .section-lead { margin: 0 auto; }

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--grid-gap);
}

.card {
  position: relative;
  flex: 0 1 calc((100% - 3 * var(--grid-gap)) / 4);
  display: flex;
  flex-direction: column;
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* Soft tint that fades in on hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 70% at 0% 0%, rgba(56, 161, 178, .08), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
/* Brand bar along the top edge */
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 65, 147, .3);
  box-shadow: 0 24px 50px -22px rgba(47, 65, 147, .35);
}
.card:hover::before { opacity: 1; }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(47, 65, 147, .18);
  margin-bottom: 22px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); background: var(--brand); color: #fff; }
.card__icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.card p {
  flex: 1;
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.card__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(47, 65, 147, .35);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.card__link span { transition: transform .2s; }
.card__link:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.card__link:hover span { transform: translateX(3px); }
.card__link:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ========== Contact ========== */
.contact {
  padding: var(--section-y) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.contact__inner {
  display: grid;
  grid-template-columns: var(--cols-intro);
  gap: var(--split-gap);
  align-items: center;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 20px 0 16px;
}
.contact__lead { color: var(--muted); font-size: 17px; max-width: var(--measure); }
.contact__points { margin-top: 24px; display: grid; gap: 12px; }
.contact__points li { position: relative; padding-left: 28px; font-weight: 500; }
.contact__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.form {
  display: grid;
  gap: 18px;
  padding: calc(var(--card-pad) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form label em { color: var(--muted); font-style: normal; font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 65, 147, .15);
}
.form .is-invalid { border-color: var(--danger); background: var(--danger-soft); }
.form__submit { justify-content: center; border: 0; cursor: pointer; }
.form__submit:disabled { opacity: .6; cursor: wait; transform: none; }
.form__status { font-size: 14px; min-height: 1.4em; font-weight: 500; }
.form__status.is-success { color: var(--green); }
.form__status.is-error { color: var(--danger); }

/* ========== Call to action ========== */
.cta {
  position: relative;
  padding: var(--section-y) 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(135deg, #1b2559 0%, var(--brand-dark) 35%, var(--brand) 70%, var(--brand-2) 100%);
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .14), transparent 40%),
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(90deg, #000 30%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 85%);
}
.cta__inner {
  display: grid;
  grid-template-columns: var(--cols-intro);
  gap: var(--split-gap);
  align-items: center;
}
.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
}
.cta__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 20px 0 16px;
}
.cta__lead { font-size: 17px; color: rgba(255, 255, 255, .9); max-width: var(--measure); }
.cta__points { margin-top: 24px; display: grid; gap: 12px; }
.cta__points li { position: relative; padding-left: 34px; font-weight: 500; }
.cta__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.cta__points li::after {
  content: "";
  position: absolute;
  left: 6px; top: 7px;
  width: 10px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.cta .form {
  color: var(--text);
  border: 0;
  box-shadow: 0 40px 80px -30px rgba(17, 24, 64, .6);
}

/* ========== Solution pages ========== */
.section--alt { background: var(--bg-2); }

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 var(--section-y);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(70% 90% at 100% 0%, rgba(56, 161, 178, .09), transparent 60%);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: var(--cols-lead);
  gap: var(--split-gap);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 500; }

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 20px 0 16px;
}
.page-hero__lead { font-size: 18px; color: var(--muted); max-width: var(--measure); }

.glance {
  padding: calc(var(--card-pad) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.glance__icon { width: 64px; height: 64px; background: var(--brand); color: #fff; border: 0; }
.glance__icon svg { width: 32px; height: 32px; }
.glance h2 {
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.glance ul { display: grid; gap: 12px; }
.glance li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.glance li svg, .feature__check svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.overview {
  display: grid;
  grid-template-columns: var(--cols-equal);
  gap: var(--split-gap);
  align-items: center;
}
.overview__boxes { display: grid; gap: var(--stack-gap); }
/* Optional photo on a service page, set in the admin portal */
.overview__photo {
  display: block;
  width: 100%;
  max-height: 320px;
  margin-top: 28px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ov-box {
  position: relative;
  padding: var(--card-pad);
  border-radius: var(--radius);
}
.ov-box h3 {
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.ov-box p { font-size: 15.5px; }
.ov-box--challenge {
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.ov-box--challenge h3 { color: var(--muted); }
.ov-box--challenge p { color: var(--muted); }
.ov-box--solution {
  background: var(--brand-soft);
  border: 1px solid rgba(47, 65, 147, .2);
  border-left: 4px solid var(--brand);
}
.ov-box--solution h3 { color: var(--brand); }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}
.benefit {
  padding: var(--card-pad);
  text-align: center;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--brand-soft), #fff 70%);
  border: 1px solid rgba(47, 65, 147, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(47, 65, 147, .35); }
.benefit__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(47, 65, 147, .55);
}
.benefit__icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit h3 { font-family: var(--font-head); font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 15px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.feature {
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 65, 147, .3);
  box-shadow: 0 18px 40px -20px rgba(47, 65, 147, .3);
}
.feature__check {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  margin-bottom: 18px;
}
.feature__check svg { margin-top: 0; }
.feature h3, .app h3 { font-family: var(--font-head); font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.feature p, .app p { color: var(--muted); font-size: 15px; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.app {
  position: relative;
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  transition: box-shadow .3s ease;
}
.app:hover { box-shadow: 0 14px 32px -18px rgba(17, 24, 39, .25); }
.app__num {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.faq-layout {
  display: grid;
  grid-template-columns: var(--cols-intro);
  gap: var(--split-gap);
  align-items: start;
}
.faq-layout__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-layout__intro .section-lead { margin-bottom: 24px; }
.faq-list { display: grid; gap: var(--stack-gap); }
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq[open] { border-color: rgba(47, 65, 147, .35); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px var(--card-pad);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--radius); }
/* Plus icon that turns into a minus when open */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq p { padding: 0 var(--card-pad) 22px; color: var(--muted); }

.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--stack-gap);
}
.other {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.other .card__icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.other .card__icon svg { width: 22px; height: 22px; }
.other__title { flex: 1; line-height: 1.35; }
.other__arrow { color: var(--brand); transition: transform .2s ease; }
.other:hover { border-color: rgba(47, 65, 147, .35); box-shadow: var(--shadow-sm); color: var(--brand); }
.other:hover .other__arrow { transform: translateX(4px); }

/* ----- Solutions listing page ----- */
.page-hero--center .page-hero__inner { grid-template-columns: 1fr; text-align: center; }
.page-hero--center .page-hero__inner > div { max-width: 860px; margin: 0 auto; }
.page-hero--center .page-hero__lead { margin: 0 auto; }
.page-hero--center .breadcrumb { justify-content: center; }

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.chip {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover { color: var(--brand); border-color: rgba(47, 65, 147, .4); background: var(--brand-soft); }

.help-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1b2559, var(--brand-dark) 40%, var(--brand));
  box-shadow: 0 30px 60px -30px rgba(27, 37, 89, .6);
}
.help-banner h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin-bottom: 8px; }
.help-banner p { color: rgba(255, 255, 255, .88); max-width: var(--measure); }
.help-banner .btn--primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.help-banner .btn--primary:hover { background: var(--brand-soft); }

/* ========== Factory use cases ========== */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.uc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.uc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 65, 147, .3);
  box-shadow: 0 28px 56px -26px rgba(47, 65, 147, .4);
}
.uc-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.uc-card__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.uc-card:hover .uc-card__media img { transform: scale(1.05); }
.uc-card__tag {
  align-self: flex-start;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
}
.uc-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--card-pad);
}
.uc-card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.uc-card h3 a:hover { color: var(--brand); }

.uc-block { padding: 14px 16px; border-radius: 12px; margin-bottom: 10px; }
.uc-block h4, .uc-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.uc-block p { font-size: 14px; }
.uc-block--problem { background: var(--bg-2); }
.uc-block--problem h4 { color: var(--muted); }
.uc-block--problem p { color: var(--muted); }
.uc-block--solution { background: var(--brand-soft); border-left: 3px solid var(--brand); }
.uc-block--solution h4 { color: var(--brand); }

.uc-label { color: var(--text); margin-top: 12px; margin-bottom: 10px; }
.uc-benefits { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.uc-benefits li { display: flex; gap: 8px; align-items: flex-start; }
.uc-benefits svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-chips li {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.uc-card__btn { margin-top: auto; justify-content: center; }
.uc-card .tech-chips { margin-bottom: 24px; }

/* Use case detail page */
.uc-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.uc-hero-img img { display: block; width: 100%; height: auto; }

.uc-challenges { display: grid; gap: var(--stack-gap); margin-top: 24px; }
.uc-challenges li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
}
/* Small "x" marker for each pain point */
.uc-challenges li::before, .uc-challenges li::after {
  content: "";
  position: absolute;
  left: 20px; top: 26px;
  width: 14px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: rotate(45deg);
}
.uc-challenges li::after { transform: rotate(-45deg); }

.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }


/* ----- Use case detail page ----- */
.uc-section { scroll-margin-top: calc(var(--nav-h) + 56px); }
.uc-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand-2);
}
.section-head--left { max-width: none; margin: 0; text-align: left; }
.section-head--left .section-lead { margin: 0; }

/* ----- Use case page, brochure layout ----- */
.ucb { padding: calc(var(--nav-h) + 32px) 0 var(--section-y); background: #fff; }
.ucb .breadcrumb { margin-bottom: 18px; }
.ucb-label { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1fa0b4; }
.ucb-label__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.ucb-label__icon svg, .ucb-tech__label svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ucb-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 32px;
  color: #fff;
  border-radius: 20px;
  background: linear-gradient(120deg, #141c4f 0%, #1f3a8a 55%, #1f7fa8 100%);
  box-shadow: 0 24px 48px -28px rgba(15, 27, 76, .7);
}
.ucb-banner__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.ucb-banner__icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ucb-banner__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5ee0e8; }
.ucb-banner__kicker i { font-style: normal; margin: 0 6px; color: rgba(255, 255, 255, .5); }
.ucb-banner h1 { margin: 4px 0 2px; font-family: var(--font-head); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; }
.ucb-banner__sub { font-size: 16px; color: rgba(255, 255, 255, .85); }

.ucb-how { position: relative; margin-top: 24px; padding: 26px 32px 18px; overflow: hidden; isolation: isolate; background: #f3f7fc; border: 1px solid #e3eaf6; border-radius: 20px; }
.ucb-how__net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.ucb-how__net path { fill: none; stroke: #d5e1f2; stroke-width: 1.2; }
.ucb-how__net circle { fill: #c3d4ec; }
.ucb-how__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; }
.ucb-flow { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 18px 10px; }
.ucb-flow__step { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.ucb-flow__step:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 38px); right: calc(-50% + 38px); border-top: 2px dashed #1fa0b4; }
.ucb-flow__icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #2f4193; background: #fff; border: 1px solid #dbe4f3; box-shadow: 0 10px 22px -14px rgba(47, 65, 147, .6); }
.ucb-flow__step:last-child .ucb-flow__icon { color: #fff; background: linear-gradient(145deg, #2f4193, #1f7fa8); border: 0; }
.ucb-flow__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ucb-flow__icon b { position: absolute; top: -4px; left: -4px; display: grid; place-items: center; width: 22px; height: 22px; font-size: 11.5px; color: #fff; background: #1fb6a8; border: 2px solid #fff; border-radius: 50%; }
.ucb-flow__label { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: #1e2a55; }
.ucb-screen { margin: 0; }
.ucb-screen__frame { padding: 10px; background: #1b1f2e; border-radius: 14px; box-shadow: 0 24px 40px -24px rgba(8, 14, 50, .6); }
.ucb-screen__frame img { display: block; width: 100%; height: auto; border-radius: 6px; }
.ucb-screen figcaption { margin-top: 8px; text-align: right; font-size: 12px; font-style: italic; color: var(--muted); }

.ucb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; }
.ucb-col { padding: 4px 28px 4px 0; }
.ucb-col + .ucb-col { padding: 4px 0 4px 28px; border-left: 1px solid #e3eaf6; }
.ucb-col p { font-size: 15.5px; line-height: 1.65; color: #3d4451; }
.ucb-col--challenge .ucb-label { color: #c2410c; }
.ucb-col--challenge .ucb-label__icon { color: #fff; background: #f97316; }
.ucb-col--solution .ucb-label__icon { color: #fff; background: #1fa0b4; }

.ucb-benefits-wrap { margin-top: 30px; }
.ucb-benefits-wrap .ucb-label { color: #141c45; }
.ucb-benefits { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ucb-benefit { display: grid; gap: 12px; align-content: start; padding: 18px; font-size: 14.5px; font-weight: 500; line-height: 1.4; color: #1e2a55; background: #fff; border: 1px solid #e3eaf6; border-radius: 14px; box-shadow: 0 10px 24px -20px rgba(15, 27, 76, .45); }
.ucb-benefit__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #2f4193, #1f7fa8); }
.ucb-benefit__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ucb-tech { display: flex; align-items: center; gap: 24px; margin-top: 26px; padding: 16px 22px; background: #e7f6f7; border-radius: 14px; }
.ucb-tech__label { flex: none; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #13808f; }
.ucb-tech p { font-size: 15px; color: #1e2a55; }

@media (max-width: 900px) {
  .ucb-how__inner, .ucb-cols { grid-template-columns: 1fr; }
  .ucb-col, .ucb-col + .ucb-col { padding: 0; border: 0; }
  .ucb-col + .ucb-col { margin-top: 22px; }
}
@media (max-width: 560px) {
  .ucb-banner { flex-direction: column; align-items: flex-start; padding: 22px; }
  .ucb-how { padding: 22px 18px 14px; }
  .ucb-flow { grid-template-columns: 1fr 1fr; }
  .ucb-flow__step::after { display: none; }
  .ucb-tech { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Sticky "jump to section" bar under the hero */
.uc-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.uc-nav__links {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.uc-nav__links::-webkit-scrollbar { display: none; }
.uc-nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.uc-nav__links a span { font-family: var(--font-head); font-weight: 700; color: var(--brand-2); }
.uc-nav__links a:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* 01 Overview */
.uc-overview {
  display: grid;
  grid-template-columns: var(--cols-lead);
  gap: var(--split-gap);
  align-items: start;
}
.uc-overview__text { margin-top: 20px; }
.uc-overview__text p { margin-bottom: 16px; font-size: 17px; color: var(--muted); max-width: 720px; }
.uc-facts {
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.uc-facts h3 { margin-bottom: 18px; font-family: var(--font-head); font-size: 19px; }
.uc-facts dt {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.uc-facts dd { margin-bottom: 18px; font-weight: 500; }
.uc-facts dd:last-child { margin-bottom: 0; }
.uc-facts__links { display: grid; gap: 8px; }
.uc-facts__links a { font-weight: 600; color: var(--brand); }
.uc-facts__links a:hover { text-decoration: underline; }

/* 02 Challenge / 03 Solution: heading left, content right */
.uc-split {
  display: grid;
  grid-template-columns: var(--cols-intro);
  gap: var(--split-gap);
  align-items: start;
}
.uc-split .uc-challenges { margin-top: 0; }
.uc-solution {
  padding: var(--card-pad);
  background: var(--brand-soft);
  border: 1px solid rgba(47, 65, 147, .18);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
}
.uc-solution p { margin-bottom: 20px; font-size: 18px; line-height: 1.6; color: var(--text); }
.uc-solution .uc-benefits { font-size: 15.5px; gap: 10px; }

/* 04 Architecture flow diagram */
.arch-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.arch-stage {
  position: relative;
  padding: var(--card-pad);
  padding-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
/* The ISensIOT platform stage is the heart of the system */
.arch-stage:nth-child(3) {
  border-color: rgba(47, 65, 147, .45);
  background: linear-gradient(180deg, var(--brand-soft), #fff);
  box-shadow: 0 18px 40px -20px rgba(47, 65, 147, .45);
}
/* Arrow to the next stage */
.arch-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -32px;
  width: 14px; height: 14px;
  border-top: 3px solid var(--brand-2);
  border-right: 3px solid var(--brand-2);
  transform: translateY(-50%) rotate(45deg);
}
.arch-stage__num {
  position: absolute;
  top: -18px; left: var(--card-pad);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
  box-shadow: 0 6px 16px -6px rgba(47, 65, 147, .6);
}
.arch-stage h3 { margin-bottom: 12px; font-family: var(--font-head); font-size: 18px; }
.arch-stage ul { display: grid; gap: 8px; }
.arch-stage li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--muted); }
.arch-stage li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}

/* 05 Components */
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.comp-card {
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.comp-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.comp-card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: #fff;
  background: var(--brand);
  border-radius: 12px;
}
.comp-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.comp-card h3 { font-family: var(--font-head); font-size: 20px; }
.comp-card ul { display: grid; gap: 12px; }
.comp-card li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.comp-card li svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 06 Implementation steps */
.impl-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
  counter-reset: none;
}
.impl-step {
  position: relative;
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.impl-step__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.impl-step h3 { margin-bottom: 8px; font-family: var(--font-head); font-size: 17px; }
.impl-step p { font-size: 15px; color: var(--muted); }

/* ========== Solutions showcase (Solutions page) ========== */
.sol-showcase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--nav-h) + 40px) 0 var(--section-y);
  background: linear-gradient(180deg, #f5f8fe 0%, #ffffff 60%, #f5f8fe 100%);
}
.sol-showcase__decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.decor-dots {
  position: absolute;
  width: 120px; height: 90px;
  background-image: radial-gradient(rgba(47, 65, 147, .25) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
}
.decor-dots--tl { top: calc(var(--nav-h) + 40px); left: 16px; }
.decor-dots--br { right: 16px; bottom: 60px; }
.decor-blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.decor-blob--l { width: 260px; height: 260px; left: -130px; top: 30%; background: radial-gradient(circle, rgba(56, 161, 178, .18), transparent 70%); }
.decor-blob--r { width: 320px; height: 320px; right: -160px; top: 60px; background: radial-gradient(circle, rgba(47, 65, 147, .14), transparent 70%); }
.decor-wave { position: absolute; top: calc(var(--nav-h) + 10px); right: 0; width: 380px; height: 150px; }
.decor-wave path { fill: none; stroke: rgba(47, 65, 147, .25); stroke-width: 2; }

/* Banner photo across the top with the heading on its left; the same size as the other page banners
   (About Us, Blog...), so the photo fills that strip. A soft glow behind the text keeps it readable. */
.sol-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(var(--nav-h) + 380px);
  padding: calc(var(--nav-h) + 48px) 0 56px;
  overflow: hidden;
  isolation: isolate;
  background: #eef4fc;
}
.sol-banner__photo { position: absolute; inset: var(--nav-h) 0 0; width: 100%; height: calc(100% - var(--nav-h)); object-fit: cover; }
.sol-banner::before {
  content: "";
  position: absolute;
  inset: var(--nav-h) 0 0;
  z-index: 1;
  background: radial-gradient(ellipse 48% 60% at 18% 50%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55) 60%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.sol-banner > .container { position: relative; z-index: 2; width: 100%; }
/* Heading on the left of the banner, like the other page banners */
.sol-banner .sol-showcase__head { width: auto; max-width: 720px; margin: 0; text-align: left; }
.sol-banner .sol-showcase__sub { justify-content: flex-start; }
.sol-banner .sol-showcase__sub::before,
.sol-banner .sol-showcase__sub::after { display: none; }
.sol-showcase--after-banner { padding-top: 64px; }

.sol-showcase__head { max-width: 1000px; margin: 0 auto var(--head-gap); text-align: center; }
/* Small pill label above a heading (home page Core Capabilities) */
.sol-tagline {
  display: inline-block;
  padding: 7px 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(47, 65, 147, .18);
  border-radius: 999px;
}
.sol-showcase__head h1 {
  margin: 0 0 12px;
  color: #0f1b4c;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.sol-gradient {
  background: linear-gradient(90deg, #2563eb, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sol-showcase__head .sol-gradient { background: linear-gradient(90deg, #1d5fe0, #2b7de9); -webkit-background-clip: text; background-clip: text; }
/* Subtitle between two thin lines */
.sol-showcase__sub { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 19px; font-weight: 500; color: #1e2a55; }
.sol-showcase__sub::before,
.sol-showcase__sub::after { content: ""; flex: 0 1 150px; height: 1.5px; background: linear-gradient(90deg, rgba(29, 95, 224, 0), #1d5fe0); }
.sol-showcase__sub::after { transform: scaleX(-1); }

/* ----- Our Services: one row per service ----- */
.svc-list { display: grid; gap: 20px; max-width: 1180px; margin: 0 auto; }
.svc-row {
  --accent: var(--brand);
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px 28px;
  align-items: start;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid #dfe6f1;
  border-radius: 20px;
  box-shadow: 0 10px 30px -22px rgba(15, 27, 76, .45);
  transition: border-color .3s ease, box-shadow .3s ease;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.svc-row:hover { border-color: color-mix(in srgb, var(--accent) 40%, #dfe6f1); box-shadow: 0 22px 44px -26px color-mix(in srgb, var(--accent) 55%, transparent); }
.svc-row__icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2f4193, #1f7fa8);
  box-shadow: 0 0 0 6px #e7f6f7, 0 12px 24px -12px rgba(31, 75, 150, .7);
}
.svc-row__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-row__num { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1fa0b4; }
.svc-row h2 { margin: 4px 0 10px; font-family: var(--font-head); font-size: 24px; line-height: 1.25; color: #141c45; }
.svc-row h2 a:hover { color: var(--accent); }
.svc-row p { font-size: 15px; color: #3d4451; }
.svc-row__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.svc-row__chips { display: flex; gap: 10px; }
.svc-row__chip { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #2f4193; background: #eef3fb; }
.svc-row__chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-row__caps { padding: 18px 20px; background: #f3f7fc; border-radius: 14px; }
.svc-row__caps h3 { margin-bottom: 12px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1fa0b4; }
.svc-row__caps ul { list-style: none; display: grid; gap: 10px; }
.svc-row__caps li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: #1e2a55; }
.svc-row__caps li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; color: #fff; background: #1fa0b4; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1024px) {
  .svc-row { grid-template-columns: 64px minmax(0, 1fr); }
  .svc-row__icon { width: 60px; height: 60px; }
  .svc-row__caps { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .svc-row { grid-template-columns: 1fr; padding: 22px; }
  .svc-row__caps { grid-column: auto; }
  .svc-row h2 { font-size: 20px; }
}

/* 4 cards on the first row, the rest centred below */
.sol-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grid-gap); }
.sol-grid > * { flex: 0 1 calc((100% - 3 * var(--grid-gap)) / 4); }
.sol-grid--3 > * { flex-basis: calc((100% - 2 * var(--grid-gap)) / 3); }
@media (min-width: 1025px) {
  .sol-grid:not(.sol-grid--3) > :nth-child(n+5) { flex-basis: calc((88% - 2 * var(--grid-gap)) / 3); }
}
.sol-card h3 { margin-bottom: 10px; font-family: var(--font-head); font-size: 18px; line-height: 1.3; }
.sol-card h3 a:hover { color: var(--accent); }

/* Home page Core Capabilities, styled like the Solutions showcase */
.cap-showcase {
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f5f8fe 0%, #ffffff 60%, #f5f8fe 100%);
}
.cap-showcase .decor-dots--tl { top: 40px; }
.cap-showcase .decor-wave { top: 10px; }
.sol-showcase__head h2 {
  margin: 18px 0 14px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.sol-card {
  --accent: var(--brand);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px -18px rgba(17, 24, 64, .25);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.sol-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 26px 50px -24px color-mix(in srgb, var(--accent) 45%, transparent);
}
.sol-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.sol-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px; height: 54px;
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent));
  border-radius: 14px;
  box-shadow: 0 10px 20px -10px var(--accent);
}
.sol-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sol-card h2 { margin-bottom: 10px; font-family: var(--font-head); font-size: 18px; line-height: 1.3; }
.sol-card h2 a:hover { color: var(--accent); }
/* Device illustration on a soft accent circle */
.sol-card__art {
  position: relative;
  width: 58%;
  aspect-ratio: 4 / 3;
  margin: -8px -10px 0 0;
}
.sol-card__art::before {
  content: "";
  position: absolute;
  inset: 4% 4% 4% 10%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
}
.sol-card__art img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.sol-card:hover .sol-card__art img { transform: scale(1.06) rotate(-2deg); }
.sol-card p { flex: 1; margin-bottom: 20px; font-size: 14.5px; color: #3d4451; }
.sol-card__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #1e2a55;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.sol-card__btn svg { width: 16px; height: 16px; color: var(--accent); transition: transform .2s; }
.sol-card__btn:hover { color: #fff; background: var(--accent); }
.sol-card__btn:hover svg { color: #fff; }
.sol-card__btn:hover svg { transform: translateX(3px); }

/* ========== Gallery ========== */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.gallery-filter { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; cursor: pointer; }
.gallery-filter.is-active { color: #fff; background: var(--brand); border-color: var(--brand); font-weight: 600; }
.gallery-filter__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-2);
  border-radius: 999px;
}
.gallery-filter.is-active .gallery-filter__count { color: var(--brand); background: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.gallery-item {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item[hidden] { display: none; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(47, 65, 147, .4); }
.gallery-item__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery-item__open:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.gallery-item__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item__media img { display: block; width: 100%; height: 100%; transition: transform .5s ease; }
.gallery-item__media--cover img { object-fit: cover; }
.gallery-item__media--contain {
  padding: 8%;
  background: radial-gradient(circle at 50% 55%, #fff 0%, var(--brand-soft) 70%);
}
.gallery-item__media--contain img { object-fit: contain; }
.gallery-item:hover .gallery-item__media img { transform: scale(1.05); }
.gallery-item__zoom {
  position: absolute;
  right: 12px; bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  color: #fff;
  background: rgba(20, 28, 69, .75);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s, transform .25s;
}
.gallery-item__zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.gallery-item:hover .gallery-item__zoom,
.gallery-item__open:focus-visible .gallery-item__zoom { opacity: 1; transform: none; }
.gallery-item figcaption { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.gallery-item__project {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.gallery-item__project[hidden] { display: none; }
.gallery-item__project svg { flex-shrink: 0; width: 15px; height: 15px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery-item__project b { font-weight: 600; color: var(--text); }
.gallery-item__details {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
/* Keep the button at the bottom even when cards have different amounts of text */
.gallery-item__caption { margin-bottom: 12px; }
.gallery-item__details svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery-item__details:hover { color: #fff; background: var(--brand); }
.gallery-item__details:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.lightbox__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.lightbox__link svg { width: 16px; height: 16px; }
.gallery-item__cat { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); }
.gallery-item figcaption strong { font-family: var(--font-head); font-size: 17px; line-height: 1.3; }
.gallery-item__caption { font-size: 14px; color: var(--muted); }

/* Lightbox */
.lightbox {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px -20px rgba(17, 24, 39, .5);
  overflow: visible;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: lightbox-in .25s ease; }
.lightbox::backdrop { background: rgba(10, 14, 35, .8); backdrop-filter: blur(4px); }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.97); } }
.lightbox__figure { margin: 0; padding: 20px 0; }
.lightbox__media {
  display: block;
  aspect-ratio: 16 / 10;
  max-height: 62vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 50% 55%, #fff 0%, var(--brand-soft) 75%);
}
.lightbox__media img { width: 100%; height: 100%; object-fit: contain; }
.lightbox figcaption { display: grid; gap: 4px; padding: 16px 4px 0; }
.lightbox__title { font-family: var(--font-head); font-size: 20px; }
.lightbox__caption { color: var(--muted); }
.lightbox__counter { margin-top: 4px; font-size: 13px; color: var(--muted); }
.lightbox__nav, .lightbox__close {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}
.lightbox__nav {
  width: 48px; height: 48px;
  margin: 0 14px;
  font-size: 30px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.lightbox__nav:hover { color: #fff; background: var(--brand); }
.lightbox__close {
  position: absolute;
  top: -16px; right: -16px;
  width: 40px; height: 40px;
  font-size: 26px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 8px 20px -8px rgba(17, 24, 39, .6);
}

/* ========== About Us ========== */
.about-intro {
  display: grid;
  grid-template-columns: var(--cols-lead);
  gap: var(--split-gap);
  align-items: center;
}
.about-intro .section-title { margin-top: 20px; }
.about-intro p { margin-bottom: 16px; font-size: 17px; color: var(--muted); max-width: 680px; }
.about-what {
  padding: calc(var(--card-pad) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-what h3 { margin-bottom: 16px; font-family: var(--font-head); font-size: 20px; }
.about-what ul, .mv-card ul { display: grid; gap: 12px; }
.about-what ul { margin-bottom: 24px; }
.about-what li, .mv-card li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.about-what li svg, .mv-card li svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mission & vision cards */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.mv-card {
  --accent: var(--brand);
  position: relative;
  padding: calc(var(--card-pad) + 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mv-card--vision { --accent: var(--brand-2); }
.mv-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--accent) 45%, transparent); }
.mv-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 16px;
  box-shadow: 0 12px 24px -12px var(--accent);
}
.mv-card--mission .mv-card__icon { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.mv-card__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mv-card h2 { position: relative; margin-bottom: 12px; font-family: var(--font-head); font-size: 26px; }
.mv-card__lead { position: relative; margin-bottom: 22px; font-size: 17.5px; line-height: 1.6; color: var(--text); }
.mv-card li svg { stroke: var(--accent); }
.mv-card li { color: var(--muted); }

/* Approach steps */
.approach {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}
.approach-step {
  position: relative;
  padding: var(--card-pad);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
/* Connector between steps */
.approach-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 58px;
  right: calc(-1 * var(--grid-gap));
  width: var(--grid-gap);
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.approach-step__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 50%;
  transition: background .3s, color .3s;
}
.approach-step:hover .approach-step__icon { color: #fff; background: var(--brand); }
.approach-step__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.approach-step__num { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--brand-2); }
.approach-step h3 { margin: 4px 0 8px; font-family: var(--font-head); font-size: 19px; }
.approach-step p { font-size: 15px; color: var(--muted); }

/* ========== Contact Us ========== */
.contact-page__inner {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 40px;
  align-items: start;
}
.contact-page__form {
  padding: calc(var(--card-pad) + 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-page__form h2 { font-family: var(--font-head); font-size: 26px; }
.contact-page__intro { margin: 6px 0 24px; color: var(--muted); }
/* The form sits inside the card, so it needs no card of its own */
.contact-form { padding: 0; border: 0; box-shadow: none; background: none; }

.contact-page__side { display: grid; gap: 20px; }
.contact-panel {
  padding: var(--card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-panel h3 { margin-bottom: 16px; font-family: var(--font-head); font-size: 18px; }

.contact-details { display: grid; gap: 16px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px; height: 42px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 12px;
}
.contact-detail__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-detail a { font-weight: 600; color: var(--brand); }
.contact-detail a:hover { text-decoration: underline; }

.next-steps { list-style: none; display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 14px; }
.next-step__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px; height: 30px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
}
.next-steps strong { display: block; margin-bottom: 2px; }
.next-steps li > span:last-child { font-size: 14.5px; color: var(--muted); }

.contact-panel--links ul { display: grid; gap: 4px; }
.contact-panel--links a {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-weight: 500;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.contact-panel--links a:hover { color: var(--brand); background: var(--brand-soft); }

/* ========== Blog ========== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Dark banner with tinted factory background */
.blog-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(var(--nav-h) + 380px);
  padding: calc(var(--nav-h) + 48px) 0 56px;
  color: #fff;
  /* Deep blue behind the text; the factory photo with glowing IoT icons fills the right, below the menu.
     The photo's left edge already fades into this blue, so there is no seam at any width. */
  background: #01336e url("images/blog-hero.jpg") right bottom / auto calc(100% - var(--nav-h)) no-repeat;
}
.blog-hero > .container { width: 100%; }
/* Blue banner with a photo uploaded in the admin portal: the photo fills the right and melts into the blue */
.blog-hero.blog-hero--photo { overflow: hidden; isolation: isolate; background: #01336e; }
.page-banner__photo {
  position: absolute;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 58%;
  height: calc(100% - var(--nav-h));
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40%);
}

/* Thin glowing accent line along the bottom, as in the design */
.blog-hero::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  bottom: 0;
  width: 55%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(79, 195, 247, 0), #4fc3f7 30%, rgba(79, 195, 247, 0));
  box-shadow: 0 0 10px rgba(79, 195, 247, .7);
}
.blog-hero .breadcrumb { margin-bottom: 14px; color: rgba(255, 255, 255, .75); }
.blog-hero .breadcrumb a:hover { color: #fff; }
.blog-hero .breadcrumb [aria-current] { color: #fff; }
.blog-hero h1 {
  max-width: 760px;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.blog-hero p { max-width: 680px; font-size: 16.5px; color: rgba(255, 255, 255, .85); }
/* About ISENS, blue banner at the foot of the page: headline figures and tags (shared with the home page) */
.about-figures { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 28px; }
.about-figures li { display: flex; align-items: center; gap: 12px; }
.about-figures strong { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; }
.about-figures span { max-width: 110px; font-size: 14px; line-height: 1.3; color: rgba(255, 255, 255, .8); }
.about-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-tags li { padding: 6px 14px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; }

/* Body: articles left, sidebar right, help strip below */
.blog-body { padding: 48px 0 var(--section-y); background: var(--bg-2); }
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
.blog-main .post-grid { --cols: 3; }

/* Featured article */
.featured-post {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 32px;
  align-items: center;
  padding: 16px;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.featured-post__cover .post-cover { border-radius: var(--radius); aspect-ratio: 16 / 10; }
.featured-post__body { padding: 8px 16px 8px 0; }
.featured-post h2 {
  margin: 14px 0 10px;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
}
.featured-post h2 a:hover { color: var(--brand); }
.featured-post p { margin-bottom: 14px; color: var(--muted); }

/* Category pills */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.cat-pill {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color .2s, background .2s, border-color .2s;
}
.cat-pill:hover { color: var(--brand); border-color: rgba(47, 65, 147, .4); }
.cat-pill[aria-current] { color: #fff; background: var(--brand); border-color: var(--brand); font-weight: 600; }

/* Category badge (on card images) */
.post-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: var(--brand);
  border-radius: 6px;
}
.post-card__media .post-badge { position: absolute; left: 14px; bottom: -12px; box-shadow: 0 6px 14px -6px rgba(17, 24, 64, .5); }
.post-card__media .post-badge:hover { background: var(--brand-dark); }
.post-badge--static { background: var(--brand-2); }

/* Meta row: author, date, reading time */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: auto;   /* keeps meta and Read More aligned at the bottom of each card */
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.post-meta li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.post-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.read-more {
  align-self: flex-start;
  display: inline-flex;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}
.read-more span { transition: transform .2s; }
.read-more:hover span { transform: translateX(3px); }

/* Article cards */
.post-grid {
  --cols: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.post-grid > * { flex: 0 1 calc((100% - (var(--cols) - 1) * 24px) / var(--cols)); }
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 65, 147, .3);
  box-shadow: 0 22px 44px -24px rgba(47, 65, 147, .4);
}
.post-card__media { position: relative; }
.post-card__cover { display: block; }
.post-card__cover .post-cover { aspect-ratio: 16 / 8; }
.post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 18px;
}
.post-card h3 {
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: 16.5px;
  line-height: 1.35;
}
.post-card h3 a:hover { color: var(--brand); }
.post-card p {
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card:hover .post-cover svg { transform: scale(1.08); }

/* Search results */
.blog-search-status { margin-bottom: 20px; font-weight: 600; color: var(--muted); }
.blog-empty {
  padding: calc(var(--card-pad) * 2) var(--card-pad);
  text-align: center;
  background: var(--surface);
  border: 1px dashed #d1d5db;
  border-radius: var(--radius-lg);
}
.blog-empty h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 6px; }
.blog-empty p { color: var(--muted); }
.blog-empty a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.post-card[hidden] { display: none; }
/* While searching, hide the featured article and category pills so results come first */
.blog-main.is-searching .featured-post,
.blog-main.is-searching .cat-pills { display: none; }

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.pagination[hidden] { display: none; }
.pagination__btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.pagination__btn:hover:not(:disabled) { color: var(--brand); border-color: rgba(47, 65, 147, .4); }
.pagination__btn.is-current { color: #fff; background: var(--brand); border-color: var(--brand); }
.pagination__btn:disabled { opacity: .45; cursor: not-allowed; }
.pagination__btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.blog-main { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Sidebar */
.blog-sidebar { display: grid; gap: 20px; }
.widget {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.widget__title { margin-bottom: 14px; font-family: var(--font-head); font-size: 18px; }

.blog-search { display: flex; gap: 8px; padding: 14px; }
.blog-search__field { position: relative; flex: 1; }
.blog-search__field svg {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
}
.blog-search input {
  width: 100%;
  padding: 11px 12px 11px 38px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.blog-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 65, 147, .15); }
.blog-search .btn { padding: 10px 18px; font-size: 14px; border: 0; cursor: pointer; }

.widget-cats { display: grid; gap: 2px; }
.widget-cats a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  font-size: 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.widget-cats a:hover { color: var(--brand); background: var(--bg-2); }
.widget-cats a[aria-current] { color: var(--brand); font-weight: 600; background: var(--brand-soft); }
.widget-cats__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px; height: 30px;
  color: var(--brand);
  background: var(--bg-2);
  border-radius: 8px;
}
.widget-cats a[aria-current] .widget-cats__icon { color: #fff; background: var(--brand); }
.widget-cats__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.widget-cats__name { flex: 1; }
.widget-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-2);
  border-radius: 999px;
}
.widget-cats a[aria-current] .widget-count { color: #fff; background: var(--brand); }

.widget-recent { display: grid; gap: 14px; }
.recent-post { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.recent-post__title {
  display: block;
  margin-bottom: 3px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s;
}
.recent-post:hover .recent-post__title { color: var(--brand); }
.recent-post time { font-size: 12px; color: var(--muted); }
.post-cover--thumb { aspect-ratio: 1; border-radius: 8px; }
.post-cover--thumb svg { width: 50%; filter: none; }

/* Newsletter */
.widget--newsletter {
  text-align: center;
  background: linear-gradient(180deg, var(--brand-soft), #fff);
  border-color: rgba(47, 65, 147, .2);
}
.widget--newsletter__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--brand);
  border-radius: 12px;
}
.widget--newsletter__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.widget--newsletter h3 { margin-bottom: 6px; font-family: var(--font-head); font-size: 18px; }
.widget--newsletter > p { margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.newsletter-form { gap: 10px; padding: 0; background: none; border: 0; box-shadow: none; }
.newsletter-form input { font-size: 14px; }
.newsletter-form .form__status { min-height: 0; font-size: 13px; }

/* Help strip below the articles */
.blog-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 28px 32px;
  background: linear-gradient(90deg, var(--brand-soft), #fff);
  border: 1px solid rgba(47, 65, 147, .18);
  border-radius: var(--radius-lg);
}
.blog-cta__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px; height: 56px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
}
.blog-cta__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.blog-cta__text { flex: 1; }
.blog-cta h2 { margin-bottom: 4px; font-family: var(--font-head); font-size: 20px; }
.blog-cta p { font-size: 14.5px; color: var(--muted); }

.post-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand);
}
.post-cat:hover { color: var(--brand-dark); text-decoration: underline; }

/* Category cover art: brand gradient, faint grid and a large line icon */
.post-cover {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.post-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, .22), transparent 45%),
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
.post-cover svg {
  width: 30%;
  max-width: 120px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 20px rgba(17, 24, 64, .35));
  transition: transform .5s ease;
}
.post-card:hover .post-cover svg { transform: scale(1.08); }
/* Uploaded cover image (set in the admin portal): the whole image is shown inside the frame,
   over a blurred, slightly darker copy of itself so cards stay the same size without cropping */
.post-cover--photo { background: #1b2559; }
.post-cover--photo::before {
  inset: -24px;
  background: var(--cover) center / cover no-repeat;
  filter: blur(18px) brightness(.85) saturate(1.1);
}
.post-cover--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.post-card:hover .post-cover--photo img, .featured-post:hover .post-cover--photo img { transform: scale(1.04); }
/* In the article itself the whole cover is shown at its own proportions, centred and never enlarged */
.article-cover.post-cover--photo {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: auto;
  width: fit-content;             /* the frame hugs the image, so there are no empty bands */
  max-width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background: none;
  overflow: hidden;
}
.article-cover.post-cover--photo::before { display: none; }
.article-cover.post-cover--photo img {
  position: static;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
}
.post-cover--industrial-iot { background: linear-gradient(135deg, #1b2559, var(--brand) 55%, var(--brand-2)); }
.post-cover--factory-automation { background: linear-gradient(135deg, #233172, #3a4fa8 55%, #4bb3c2); }
.post-cover--rfid-and-traceability { background: linear-gradient(135deg, var(--brand), #2b8aa8 70%, #5fc4d2); }
.post-cover--barcode-and-qr-code-systems { background: linear-gradient(135deg, #1e2a63, #2f5f9e 60%, #3fa6b8); }
.post-cover--ble-asset-tracking { background: linear-gradient(135deg, #2a3b8c, #2b7fa6 60%, #66c7d4); }
.post-cover--temperature-and-humidity-monitoring { background: linear-gradient(135deg, #1d3a7a, #2a86b0 60%, #7fd3de); }
.post-cover--plc-and-industrial-integration { background: linear-gradient(135deg, #141c45, #263a8a 50%, #2f9bb0); }
.post-cover--smart-manufacturing { background: linear-gradient(135deg, var(--brand-dark), #2f6fa3 60%, var(--brand-2)); }
.post-cover--project-implementation-guides { background: linear-gradient(135deg, #1b2559, #3b3f9e 55%, #5a8fd0); }

/* Article page */
.article-hero { padding-bottom: 0; }
/* Heading on the left, cover image on the right */
.article-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--split-gap);
  align-items: center;
}
.article-head { max-width: 820px; }
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.article-byline strong { color: var(--text); font-weight: 600; }
.article-byline__avatar {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.article-cover {
  margin-top: var(--head-gap);
  aspect-ratio: 21 / 7;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.article-cover svg { width: 14%; }
.article-top .article-cover { margin-top: 0; aspect-ratio: 4 / 3; }
.article-top .article-cover svg { width: 26%; }
.article-top .article-cover.post-cover--photo { justify-self: end; width: 100%; max-width: 520px; margin: 0; aspect-ratio: auto; }
.article-top .article-cover.post-cover--photo img { width: 100%; max-height: none; }
.article-section { border-top: 0; padding-top: 40px; padding-bottom: 56px; }
/* Tighter spacing inside articles */
.article-section .prose h2 { margin-top: 28px; }
.article-section .article-toc { margin-top: 24px; }
.article-section .article-toc h2 { margin-top: 0; }
.article-section .article-part { margin-top: 28px; padding-top: 24px; }
.article-section .article-enquiry { margin-top: 32px; }
.article-section + .section { padding-top: 0; border-top: 0; }

/* Article text in a centred reading column */
.prose { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.75; color: #1f2937; }
.prose > .post-cat { display: inline-block; margin-bottom: 20px; }
.prose h2 {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--text);
  margin: 40px 0 12px;
}
.prose h3 {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
  margin: 28px 0 8px;
}
.prose p { margin-bottom: 18px; }

/* Short introduction */
.article-intro {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  padding-left: 20px;
  border-left: 4px solid var(--brand-2);
}

/* "In this article" contents list */
.article-toc {
  margin: 36px 0 8px;
  padding: var(--card-pad);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.article-toc h2 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.article-toc ol { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 0; }
.prose .article-toc li { padding-left: 0; }
.prose .article-toc li::before { display: none; }
.article-toc a {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
}
.article-toc a span { font-family: var(--font-head); font-weight: 700; color: var(--brand); }
.article-toc a:hover { color: var(--brand); }

/* Numbered article sections */
.article-part {
  position: relative;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.article-part__num {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-2);
}
.prose .article-part h2 { margin-top: 0; }

/* FAQ accordion inside articles */
.article-faqs { margin-top: 16px; }
.prose .faq summary { font-size: 16.5px; line-height: 1.5; }
.prose .faq p { margin: 0; font-size: 16px; line-height: 1.7; }

/* Enquiry box at the end of each article */
.article-enquiry {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin-top: 56px;
  padding: calc(var(--card-pad) + 4px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-soft), #fff 70%);
  border: 1px solid rgba(47, 65, 147, .2);
  border-top: 4px solid var(--brand);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.article-enquiry .card__icon { margin: 0; background: var(--brand); color: #fff; border: 0; }
.prose .article-enquiry h2 { margin: 4px 0 6px; font-size: 22px; }
.article-enquiry p { margin: 0; font-size: 16px; color: var(--muted); }
.article-enquiry__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.prose ul { display: grid; gap: 10px; margin: 0 0 22px; }
.prose li { position: relative; padding-left: 28px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 6px; top: .7em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

/* ========== Footer ========== */
.footer {
  background: #141c45;
  color: #d1d5db;
  padding: calc(var(--section-y) * .65) 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 4fr 4fr 3fr 4fr;   /* brand, solutions, company, contact */
  gap: var(--split-gap);
}
/* White badge so the dark blue logo stays readable on the dark footer */
.footer .logo {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 12px;
}
.footer .logo img { height: 40px; }
.footer__brand p { max-width: 320px; font-size: 15px; color: #9ca3af; }
.footer h3 {
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 16px;
}
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer a { transition: color .2s; }
.footer ul a:hover { color: var(--brand-2); }
.footer__contact { gap: 14px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer__contact-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -3px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--brand-2); }
.footer__contact-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.footer__contact a { word-break: break-word; }
.footer__bottom {
  margin-top: var(--head-gap);
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #263166;
  font-size: 14px;
  color: #9ca3af;
}

/* Floating Call and WhatsApp buttons (numbers from Content Management > Contact Page) */
/* WhatsApp sits in the bottom-right corner, Call in the bottom-left */
.float-contact__btn {
  position: fixed;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(17, 24, 39, .45);
  transition: transform .2s, box-shadow .2s;
}
.float-contact__btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.float-contact__btn--whatsapp { right: 24px; background: #25d366; }
.float-contact__btn--call { left: 24px; background: var(--brand); }
/* Gentle floating; uses `translate` so the hover lift (transform) still works on top of it */
.float-contact__btn { animation: float-bob 3.2s ease-in-out infinite; }
.float-contact__btn--call { animation-delay: -1.6s; }   /* out of step with WhatsApp */
@keyframes float-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.float-contact__btn:hover { animation-play-state: paused; }
.float-contact__btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -8px rgba(17, 24, 39, .5); }
.float-contact__btn:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 6px var(--brand); }
/* Soft pulse draws the eye to WhatsApp */
.float-contact__btn--whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: float-pulse 2.4s ease-out infinite;
}
@keyframes float-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
/* Label beside the button on hover */
.float-contact__btn::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 8px;
  background: #1e2533;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.float-contact__btn--call::after { right: auto; left: calc(100% + 12px); }   /* label opens towards the page */
.float-contact__btn:hover::after, .float-contact__btn:focus-visible::after { opacity: 1; }
@media (max-width: 560px) {
  .float-contact__btn { bottom: 16px; width: 50px; height: 50px; }
  .float-contact__btn--whatsapp { right: 16px; }
  .float-contact__btn--call { left: 16px; }
  .float-contact__btn::after { display: none; }
}
@media print { .float-contact { display: none; } }

/* Entrance animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ========== Responsive ========== */
@media (max-width: 1240px) {
  .industries__script { display: none; }
  .blog-main .post-grid { --cols: 2; }
}

@media (max-width: 1140px) {
  .approach { grid-template-columns: repeat(2, 1fr); }
  .approach-step::after { display: none; }
  /* Six menu links: tighten spacing so they fit before the mobile menu kicks in */
  .nav__links { gap: 20px; }
  .nav__links a:not(.btn) { font-size: 14px; }
  .sol-grid > * { flex-basis: calc((100% - 2 * var(--grid-gap)) / 3); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .card { flex-basis: calc((100% - 2 * var(--grid-gap)) / 3); }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid, .blog-main .post-grid { --cols: 2; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__body { padding: 0 8px 8px; }
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .page-banner__photo { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .blog-hero--photo::before { content: ""; position: absolute; inset: var(--nav-h) 0 0; z-index: -1; background: rgba(1, 51, 110, .8); }
  /* Text runs across the photo here, so darken it evenly */
  .blog-hero { background: linear-gradient(rgba(1, 51, 110, .82), rgba(1, 51, 110, .82)), url("images/blog-hero.jpg") center / cover no-repeat, #01336e; }
  :root { --gutter: 24px; --section-y: 96px; --split-gap: 48px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: 96px; }
  .hub { width: min(100%, 300px); margin: 0 auto; }
  .hero__net { display: none; }
  .inside { padding-top: 120px; }
  .inside__inner { grid-template-columns: 1fr; }
  .laptop { margin: 0 auto; }
  .contact__inner { grid-template-columns: 1fr; }
  .why__inner { grid-template-columns: 1fr; }
  .why__intro { position: static; text-align: center; }
  .why__intro .section-lead { margin: 0 auto; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .blog-cta { flex-wrap: wrap; }
  .cta__inner { grid-template-columns: 1fr; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .article-top { grid-template-columns: 1fr; }
  .article-top .article-cover.post-cover--photo { justify-self: start; }
  .feature-grid, .app-grid, .other-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .overview { grid-template-columns: 1fr; }
  .uc-overview, .uc-split { grid-template-columns: 1fr; }
  .arch-flow { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 44px; }
  .arch-stage:not(:last-child)::after { top: auto; right: auto; bottom: -30px; left: 50%; transform: translateX(-50%) rotate(135deg); }
  .impl-steps { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .help-banner { flex-direction: column; align-items: flex-start; }
  .faq-layout__intro { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .about-intro, .mv-grid { grid-template-columns: 1fr; }
  .contact-page__inner { grid-template-columns: 1fr; }
  .sol-grid > * { flex-basis: calc((100% - var(--grid-gap)) / 2); }
  .decor-wave { display: none; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox__figure { padding: 16px; }
  .lightbox__nav { position: absolute; top: 40%; margin: 0; width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 8px; right: 8px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px -16px rgba(17, 24, 39, .2);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 12px 0; font-size: 16px; }
  .nav__links a.is-active::after { bottom: 6px; right: auto; width: 24px; }
  .nav__links .btn { justify-content: center; margin-top: 8px; }
  .nav.menu-open { background: #fff; }
  :root { --section-y: 80px; --head-gap: 48px; }
  .card { flex-basis: calc((100% - var(--grid-gap)) / 2); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .article-cover { aspect-ratio: 16 / 7; }
  .article-top .article-cover { aspect-ratio: 16 / 7; }
}

@media (max-width: 560px) {
  .approach { grid-template-columns: 1fr; }
  .sol-grid > * { flex-basis: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
  :root { --gutter: 16px; --section-y: 64px; --head-gap: 40px; --split-gap: 40px; --grid-gap: 16px; --card-pad: 22px; }
  .nav .logo img { height: 40px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .hero__stats { gap: 20px 32px; }
  .hero__stats strong { font-size: 34px; }
  .hero__stats span { font-size: 12.5px; }
  .inside__list a { font-size: 16px; }
  .dash__body { grid-template-columns: 1fr; }
  .gauge svg { width: 48px; height: 48px; }
  .gauge b { top: 15px; font-size: 11px; }
  .card { flex-basis: 100%; }
  .ind-grid { grid-template-columns: 1fr; }
  .why__circuit { display: none; }   /* no free margin beside the text */
  .sol-showcase__sub { font-size: 16px; }
  /* Text runs across the photo here, so lighten it evenly */
  .sol-banner::before { background: rgba(255, 255, 255, .72); }
  .sol-showcase__sub::before, .sol-showcase__sub::after { display: none; }
  .reason { gap: 14px; padding: 18px; }
  .reason:hover { transform: none; }
  .reason__num { min-width: 0; font-size: 28px; }
  .reason__icon { width: 46px; height: 46px; }
  .reason__icon svg { width: 22px; height: 22px; }
  .reason__arrow { display: none; }
  .flow__icon { width: 60px; height: 60px; }
  .flow__icon svg { width: 30px; height: 30px; }
  .flow__label { font-size: 12px; }
  .flow li:not(:last-child)::after { top: 29px; left: calc(50% + 36px); right: calc(-50% + 36px); }
  .flow li:not(:last-child)::before { top: 25px; right: calc(-50% + 32px); }
  .form__row { grid-template-columns: 1fr; }
  .page-hero { padding-top: calc(var(--nav-h) + 40px); }
  .page-hero__lead { font-size: 16px; }
  .feature-grid, .app-grid, .other-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .uc-grid, .feature-grid--4 { grid-template-columns: 1fr; }
  .comp-grid, .impl-steps { grid-template-columns: 1fr; }
  .post-grid, .blog-main .post-grid { --cols: 1; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .blog-cta { padding: 22px; }
  .blog-cta .btn { width: 100%; justify-content: center; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 22px; margin-top: 32px; }
  .prose h3 { font-size: 18px; }
  .article-intro { font-size: 18px; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-enquiry { grid-template-columns: 1fr; }
  .article-enquiry__actions .btn { width: 100%; justify-content: center; white-space: normal; }
  .help-banner { padding: 32px var(--card-pad); }
  .chips { gap: 8px; }
  .chip { font-size: 13px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ========== Industries & Approach page ========== */
.ida-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.ida-title { margin: 6px 0 36px; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; color: #16204d; }
.ida-title::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

.ida-industries { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.ida-ind {
  position: relative;
  padding: 28px 24px 26px;
  background: #f3f6fb;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.ida-ind::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.ida-ind:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 22px 44px -26px rgba(47, 65, 147, .45); }
.ida-ind__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 16px;
  color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 20px -10px var(--brand);
}
.ida-ind__icon svg, .ida-step__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ida-ind h3 { margin-bottom: 6px; font-family: var(--font-head); font-size: 17px; line-height: 1.3; color: #16204d; }
.ida-ind p { font-size: 14px; color: var(--muted); }

.ida-approach { display: grid; grid-template-columns: 7fr 4fr; gap: var(--split-gap); align-items: start; }
.ida-steps { list-style: none; position: relative; display: grid; gap: 28px; }
.ida-steps::before { content: ""; position: absolute; top: 24px; bottom: 24px; left: 23px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2)); opacity: .35; }
.ida-step { position: relative; display: flex; gap: 20px; align-items: flex-start; }
.ida-step__icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px;
  color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 6px var(--bg-2), 0 10px 20px -10px var(--brand);
}
.ida-step h3 { margin: 4px 0 4px; font-family: var(--font-head); font-size: 20px; color: var(--brand); }
.ida-step p { max-width: 520px; font-size: 15px; color: var(--muted); }

.ida-stack { padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ida-stack__label { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.ida-stack h3 { margin: 18px 0 10px; font-family: var(--font-head); font-size: 16px; color: #16204d; }
.ida-stack h3:first-of-type { margin-top: 0; }
.ida-stack ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ida-stack li { padding: 5px 12px; font-size: 13px; font-weight: 500; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; }

@media (max-width: 1024px) {
  .ida-industries { grid-template-columns: repeat(2, 1fr); }
  .ida-approach { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ida-industries { grid-template-columns: 1fr; }
}

/* ========== Menu & home hero (2026 design) ========== */
:root { --blue: #1463e6; --blue-dark: #0f4fc0; --teal: #12b5c9; }

/* Current page: blue pill */
.nav__links { gap: 26px; }
.nav__links a.is-active:not(.btn) {
  padding: 8px 20px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #2b7bf3);
  box-shadow: 0 8px 18px -8px rgba(20, 99, 230, .65);
}
.nav__links a.is-active::after { display: none; }
.nav__links a.is-active:not(.btn):hover { color: #fff; }

/* Our Services drop-down */
.nav__drop { position: relative; }
.nav__drop > a { display: inline-flex; align-items: center; gap: 4px; }
.nav__chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav__drop:hover .nav__chevron, .nav__drop:focus-within .nav__chevron { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  display: grid; min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(17, 24, 64, .3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }   /* keeps the menu open while the pointer moves down */
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__links .nav__menu a { padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--text); white-space: nowrap; }
.nav__links .nav__menu a:hover { color: var(--blue); background: #eef4ff; }

/* Outlined pill buttons */
.btn--outline { color: var(--blue); background: #fff; border: 1.5px solid var(--blue); }
.btn--outline:hover { color: #fff; background: var(--blue); }
.btn--pill { border-radius: 999px; }
.nav__cta { border-radius: 999px; padding: 10px 20px; }
.nav__cta[aria-current] { color: #fff; background: var(--blue); }

/* Hero */
.hero__glow { position: absolute; z-index: -1; top: 8%; right: 4%; width: 46vw; max-width: 680px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 99, 230, .08), rgba(18, 181, 201, .05) 45%, transparent 70%); pointer-events: none; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue); background: #e6efff; border-radius: 999px;
}
.hero__badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__title { margin: 22px 0 22px; }
.hero__accent {
  position: relative; display: inline-block;
  background: linear-gradient(90deg, var(--blue), #1f8ff0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__swoosh { position: absolute; left: 6%; right: 2%; bottom: -.16em; width: 92%; height: .2em; overflow: visible; }
.hero__swoosh path { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.hero .btn--pill { padding: 16px 30px; font-size: 16px; }
.hero .btn--primary { background: linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, #2b7bf3); box-shadow: 0 14px 28px -12px rgba(20, 99, 230, .7); }
.hero .btn--primary:hover { background: linear-gradient(135deg, #0c43a6, var(--blue-dark)); }
.btn__play { width: 26px !important; height: 26px !important; }
.btn__play circle { fill: var(--blue); }
.btn__play path { fill: #fff; }
.btn--outline:hover .btn__play circle { fill: #fff; }
.btn--outline:hover .btn__play path { fill: var(--blue); }
.btn:hover .btn__play { transform: none; }

.hero__stats { gap: 20px 0; margin-top: 44px; }
.hero__stats li { gap: 14px; padding: 0 36px; }
.hero__stats li:first-child { padding-left: 0; }
.hero__stats li + li { border-left: 1px solid #d5deec; }
.hero__stat-icon svg { display: block; width: 46px; height: 46px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero__stats li > span:last-child { display: grid; gap: 4px; max-width: none; }
.hero__stats strong { font-size: 40px; color: #141c45; }
.hero__stats li > span:last-child > span { max-width: 120px; font-size: 15px; color: #3d4451; }

/* Logo hub: ring of white icon buttons around the logo */
.hero__inner { grid-template-columns: 1.15fr .85fr; }
.hub { width: min(100%, 470px); }
.hub__lines circle.hub__ring { fill: none; stroke: #7fb0f5; stroke-width: 1.4; stroke-dasharray: none; }
.hub__lines circle.hub__ring--faint { stroke: #cfe0fb; }
.hub__lines line { stroke: #9cc2f7; stroke-width: 1.1; }
.hub__dots circle { fill: var(--blue); stroke: none; }
.hub__core {
  width: 36%;
  background: radial-gradient(circle, #fff 62%, #eef5ff);
  box-shadow: 0 0 0 12px rgba(20, 99, 230, .06), 0 0 0 24px rgba(20, 99, 230, .04), 0 22px 44px -18px rgba(20, 99, 230, .6);
}
.hub__core img { width: 78%; }
.hub__node {
  width: 17%;
  color: var(--blue);
  border: 0;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .8), 0 12px 26px -10px rgba(20, 99, 230, .45);
  transition: transform .25s, color .25s, background .25s;
}
.hub__node:hover { transform: translate(-50%, -50%) scale(1.08); }
.hub__node svg { stroke-width: 2; }

@media (max-width: 1140px) {
  .nav__links { gap: 16px; }
  .nav__links a.is-active:not(.btn) { padding: 7px 14px; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hub { width: min(100%, 340px); }
  .hero__glow { display: none; }
}
@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__chevron { display: none; }
  .nav__links a.is-active:not(.btn) { align-self: flex-start; margin: 4px 0; padding: 8px 18px; }
  .nav__cta { align-self: stretch; }
}
@media (max-width: 560px) {
  .hero__stats li { padding: 0 18px; }
  .hero__stat-icon svg { width: 36px; height: 36px; }
  .hero__stats strong { font-size: 32px; }
  .hero .btn--pill { padding: 14px 24px; }
}

/* Our Services cards: number and key capabilities */
.sol-card__num { margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sol-card h2 { font-size: 19px; }
.sol-card p { flex: 0 0 auto; }
.sol-card__caps { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.sol-card__caps li { display: flex; gap: 10px; font-size: 14px; color: #3d4451; }
.sol-card__caps svg { flex: none; width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; color: #fff; background: var(--accent); fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ========== Our Services: client logos (slider) ========== */
.clients { background: #f5f8fe; overflow: hidden; }
.client-sliders { display: grid; gap: 18px; }
.client-slider {
  overflow: hidden;
  padding: 10px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.client-track { display: flex; width: max-content; animation: client-scroll calc(var(--count) * 3s) linear infinite; }
.client-slider--reverse .client-track { animation-direction: reverse; }
.client-slider:hover .client-track, .client-slider:focus-within .client-track { animation-play-state: paused; }
@keyframes client-scroll { to { transform: translateX(-50%); } }
.client-set { list-style: none; display: flex; gap: 18px; padding-right: 18px; }   /* the gap after the last logo keeps the loop even */
.client-card {
  flex: none; width: 190px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 20px 14px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid #e3e9f3;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px -14px rgba(17, 24, 64, .35);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.client-card:hover { transform: translateY(-4px); border-color: #c9d8f3; box-shadow: 0 18px 34px -20px rgba(20, 99, 230, .45); }
.client-card__logo { display: grid; place-items: center; width: 100%; height: 64px; }
.client-card__logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.client-card__name { font-size: 13px; font-weight: 600; line-height: 1.35; color: #2b3445; }
@media (max-width: 560px) {
  .client-card { width: 150px; padding: 16px 10px 12px; }
  .client-card__logo { height: 52px; }
}
/* Reduced motion: no automatic scrolling; the row can be scrolled by hand instead */
@media (prefers-reduced-motion: reduce) {
  .client-slider { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .client-track { animation: none; }
  .client-set[aria-hidden] { display: none; }
}

/* Home hero: platform illustration (cut out, no background box) */
.hero__inner { grid-template-columns: 1.05fr 1fr; }
.hero__inner > * { min-width: 0; }
.hero__visual { margin: 0 -24px 0 0; }
.hero__visual img { display: block; width: 100%; height: auto; }
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin: 8px auto 0; max-width: 560px; }
}

/* Home hero: city and network background photo (light on the left, behind the text) */
.hero {
  background: #fff url("images/hero-bg.webp") right bottom / cover no-repeat;
}
.hero__glow { display: none; }
@media (max-width: 1024px) {
  .hero { background-image: url("images/hero-bg-sm.webp"); background-position: 70% bottom; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.82) 45%, rgba(255,255,255,.15) 75%, transparent 100%);
  }
}

/* Our Services menu link: opens the service cards page; hovering shows the individual services */
.nav__drop-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.nav__drop-btn:hover, .nav__drop.is-open .nav__drop-btn { color: var(--brand); }
.nav__drop-btn.is-active {
  padding: 8px 20px; color: #fff; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #2b7bf3);
  box-shadow: 0 8px 18px -8px rgba(20, 99, 230, .65);
}
.nav__drop-btn.is-active:hover, .nav__drop.is-open .nav__drop-btn.is-active { color: #fff; }
.nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop.is-open .nav__chevron { transform: rotate(180deg); }
@media (max-width: 1140px) { .nav__drop-btn { font-size: 14px; } .nav__drop-btn.is-active { padding: 7px 14px; } }
@media (max-width: 768px) {
  .nav__drop-btn { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 16px; }
  .nav__drop-btn.is-active { width: auto; align-self: flex-start; margin: 4px 0; padding: 8px 18px; }
  .nav__drop .nav__chevron { display: none; }
  .nav__drop:hover .nav__menu { opacity: 1; }
  .nav__drop .nav__menu {
    position: static; display: none; min-width: 0; padding: 0 0 6px 12px;
    border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible;
  }
  .nav__drop.is-open .nav__menu { display: grid; transform: none; }
  .nav__links .nav__menu a { padding: 10px 12px; white-space: normal; }
}

/* Home page: recent blog posts (after the clients) */
.home-blog { background: linear-gradient(180deg, #ffffff 0%, #f5f8fe 100%); }
.home-blog__more { margin-top: 40px; text-align: center; }

/* Contact page: office location map, under the form */
.contact-page__main { display: grid; gap: 24px; min-width: 0; }
.contact-map {
  padding: var(--card-pad);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.contact-map__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.contact-map__head h2 { font-family: var(--font-head); font-size: 22px; }
.contact-map__head p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.contact-map__head .btn { flex-shrink: 0; }
.contact-map__frame { overflow: hidden; border-radius: 14px; background: #eef3fb; }
.contact-map__frame iframe { display: block; width: 100%; height: 320px; border: 0; }
@media (max-width: 560px) {
  .contact-map__head { flex-direction: column; }
  .contact-map__frame iframe { height: 280px; }
}

/* Page loader: logo and spinner shown while the next page opens */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s;
}
.page-loader.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.page-loader__inner { position: relative; display: grid; place-items: center; width: 220px; height: 220px; }
.page-loader__inner img { position: relative; width: 140px; height: auto; animation: loader-pulse 1.4s ease-in-out infinite; }
.page-loader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 4px solid #e3ecfb; border-top-color: var(--blue, #1463e6); border-right-color: var(--teal, #12b5c9);
  animation: loader-spin .9s linear infinite;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-pulse { 50% { transform: scale(.94); opacity: .8; } }
@media (prefers-reduced-motion: reduce) {
  .page-loader__ring { animation-duration: 2.4s; }
  .page-loader__inner img { animation: none; }
}

