/*
Seriteq Business Solutions Website System
Primary typeface: Creato Display. Add licensed font files to /assets/fonts and extend @font-face if available.
Spacing: normal letter spacing throughout.
*/

:root {
  --blue-deep: #1A4B6E;
  --blue-digital: #0094D1;
  --blue-teal: #006DA1;
  --muted-teal: #819B7C;
  --sunflower: #FCC400;
  --grape: #443B50;
  --steel: #9FA5AD;
  --ink: #081C2B;
  --ink-soft: #244157;
  --mist: #F4F8FB;
  --paper: #FFFFFF;
  --line: rgba(26, 75, 110, .14);
  --shadow: 0 24px 80px rgba(8, 28, 43, .16);
  --shadow-soft: 0 12px 40px rgba(8, 28, 43, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  /* Single source of truth for the site's content width -- measured from
     the client's reference site (intellegereholdings.com/seriteq/). Both
     the theme's own --container (below) and Elementor's native boxed-width
     variable (elementor-atomic-fixes.css) derive from this one number, so
     changing the width site-wide is a one-line edit instead of a hunt
     across multiple files. */
  --container-max: 1170px;
  --container: min(var(--container-max), calc(100vw - 40px));
  --font-primary: "Creato Display", "CreatoDisplay", Arial, Helvetica, sans-serif;
  --font-secondary: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  letter-spacing: normal;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 10%, rgba(0,148,209,.12), transparent 30vw),
    radial-gradient(circle at 4% 22%, rgba(252,196,0,.10), transparent 24vw),
    var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  letter-spacing: normal;
}

::selection { background: var(--sunflower); color: var(--ink); }

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

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue-digital), var(--sunflower));
  z-index: 1000;
  transition: width .12s linear;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 50px rgba(8,28,43,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
}

.logo-link img { height: 50px; width: auto; }

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: .88rem;
  font-weight: 700;
  color: rgba(8,28,43,.76);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 2px;
  background: var(--blue-digital);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-call-icon {
  font-size: 1.05em;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue-deep);
  color: white;
  box-shadow: 0 18px 34px rgba(26,75,110,.22);
}

.btn-primary:hover { background: #123c5a; }

.btn-secondary {
  color: var(--blue-deep);
  background: rgba(255,255,255,.75);
  border-color: rgba(26,75,110,.16);
}

.btn-secondary:hover {
  border-color: var(--blue-digital);
  box-shadow: var(--shadow-soft);
}

.btn-accent {
  background: var(--sunflower);
  color: var(--ink);
  box-shadow: 0 18px 34px rgba(252,196,0,.24);
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-deep);
  color: white;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  margin: 4px auto;
  border-radius: 2px;
  transition: .2s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 70px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,28,43,.76) 0%, rgba(8,28,43,.46) 42%, rgba(8,28,43,.12) 100%),
    url("../img/hero-human-tech.png") center / cover no-repeat;
  z-index: -2;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(0,148,209,.34), transparent 23vw),
    linear-gradient(180deg, transparent 64%, var(--paper) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  gap: 42px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: white;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.22);
}

.kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sunflower);
  box-shadow: 0 0 0 5px rgba(252,196,0,.14);
}

.hero h1 {
  max-width: 880px;
  margin: 24px 0 22px;
  color: white;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  line-height: .9;
  letter-spacing: normal;
}

.hero h1 span {
  color: var(--blue-digital);
  text-shadow: 0 12px 40px rgba(0,148,209,.18);
}

.hero-copy {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.metric-pill {
  min-width: 148px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  color: white;
  backdrop-filter: blur(16px);
}

.metric-pill strong {
  display: block;
  font-size: 1.2rem;
  color: var(--sunflower);
}

.metric-pill span {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
}

.signal-card {
  position: relative;
  padding: 22px;
  min-height: 520px;
  border-radius: 38px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.94), rgba(255,255,255,.68)),
    url("../img/network-abstract.svg") center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-card::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -260px;
  top: -220px;
  border-radius: 50%;
  background: rgba(0,148,209,.15);
}

.orbit {
  position: absolute;
  inset: 54px 34px auto auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(26,75,110,.16);
  border-radius: 50%;
  animation: rotate 24s linear infinite;
}

.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-digital);
  box-shadow: 0 0 28px rgba(0,148,209,.85);
}

.orbit::before { left: 18px; top: 62px; }
.orbit::after { right: 24px; bottom: 56px; background: var(--sunflower); }

@keyframes rotate { to { transform: rotate(360deg); } }

.signal-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  z-index: 1;
}

.status-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(129,155,124,.14);
  color: var(--blue-deep);
  font-weight: 850;
  font-size: .78rem;
}

.status-light i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #24b47e;
  box-shadow: 0 0 0 5px rgba(36,180,126,.15);
}

.signal-card h2 {
  position: relative;
  z-index: 1;
  margin: 84px 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .96;
  color: var(--blue-deep);
}

.signal-card p {
  position: relative;
  z-index: 1;
  max-width: 410px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.dashboard {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.dash-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(26,75,110,.10);
  box-shadow: 0 10px 28px rgba(8,28,43,.06);
}

.dash-icon {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0,148,209,.12);
  color: var(--blue-deep);
}

.dash-label strong { display: block; color: var(--ink); }
.dash-label span { display: block; color: rgba(8,28,43,.54); font-size: .82rem; }

.dash-score {
  font-weight: 900;
  color: var(--blue-digital);
}

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(26,75,110,.12);
  background: white;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee span {
  padding: 19px 28px;
  white-space: nowrap;
  font-weight: 900;
  color: var(--blue-deep);
}

.marquee span:nth-child(2n) { color: var(--blue-digital); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-sm { padding: 78px 0; }

.section-head {
  max-width: 810px;
  margin-bottom: 42px;
}

.eyebrow {
  color: var(--blue-digital);
  font-weight: 950;
  font-size: .82rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: .94;
  color: var(--blue-deep);
  letter-spacing: normal;
}

.section-title .accent { color: var(--blue-digital); }

.section-lede {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}

.legacy-card {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--blue-deep);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 440px;
}

.legacy-card::after {
  content: "S";
  position: absolute;
  right: -8px;
  bottom: -84px;
  font-size: 28rem;
  font-weight: 950;
  color: rgba(255,255,255,.05);
  line-height: .7;
}

.legacy-card h1,
.legacy-card h2 {
  position: relative;
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: .92;
}

.legacy-card p {
  position: relative;
  max-width: 610px;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  font-size: 1.05rem;
}

.legacy-image {
  min-height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.legacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,148,209,.05), rgba(26,75,110,.42));
}

.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.value-chip {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: white;
}

.value-chip strong {
  display: block;
  color: var(--sunflower);
  margin-bottom: 6px;
}

.solutions-wrap {
  position: relative;
}

.solution-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab-btn {
  border: 1px solid var(--line);
  color: var(--blue-deep);
  background: white;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  transition: .2s ease;
}

.tab-btn.is-active {
  color: white;
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.solution-panel {
  display: none;
  grid-template-columns: .82fr 1.18fr;
  gap: 24px;
  align-items: stretch;
}

.solution-panel.is-active { display: grid; }

.solution-visual {
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--blue-deep);
  box-shadow: var(--shadow);
}

.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}

.solution-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,28,43,.72), rgba(8,28,43,.06));
}

.solution-visual-label {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 1;
  color: white;
  max-width: 420px;
}

.solution-visual-label strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: .92;
}

.solution-visual-label span { color: rgba(255,255,255,.78); }

.solution-content {
  border: 1px solid rgba(26,75,110,.12);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 96% 8%, rgba(0,148,209,.08), transparent 300px),
    white;
  box-shadow: 0 12px 50px rgba(8,28,43,.06);
}

.solution-content h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  line-height: .95;
}

.solution-content p {
  color: var(--ink-soft);
  line-height: 1.68;
  font-size: 1.06rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.feature {
  padding: 18px;
  border-radius: 20px;
  background: var(--mist);
  border: 1px solid rgba(26,75,110,.08);
}

.feature svg {
  width: 24px; height: 24px;
  margin-bottom: 12px;
  color: var(--blue-digital);
}

.feature strong { display: block; color: var(--blue-deep); margin-bottom: 5px; }
.feature span { color: rgba(8,28,43,.62); font-size: .92rem; line-height: 1.45; display: block; }

.architecture {
  background: linear-gradient(180deg, #F7FBFD 0%, #FFFFFF 100%);
  overflow: hidden;
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.arch-card {
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.arch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 14%, rgba(0,148,209,.44), transparent 240px),
    radial-gradient(circle at 18% 86%, rgba(252,196,0,.14), transparent 270px);
}

.arch-card > * { position: relative; }

.arch-card h2 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  line-height: .94;
}

.arch-card p { color: rgba(255,255,255,.76); line-height: 1.65; }

.arch-map {
  min-height: 640px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(26,75,110,.92), rgba(0,148,209,.82)),
    url("../img/network-abstract.svg") center / cover;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.arch-map::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  top: 54px;
  right: 60px;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  padding: 14px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  color: white;
  font-weight: 900;
  backdrop-filter: blur(12px);
  z-index: 1;
}

.node:nth-child(1) { top: 65px; left: 70px; }
.node:nth-child(2) { top: 90px; right: 104px; }
.node:nth-child(3) { top: 260px; left: 50%; transform: translateX(-50%); background: rgba(252,196,0,.92); color: var(--ink); }
.node:nth-child(4) { bottom: 86px; left: 100px; }
.node:nth-child(5) { bottom: 68px; right: 128px; }

.map-line {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(28deg, transparent 49.8%, rgba(255,255,255,.25) 50%, transparent 50.2%),
    linear-gradient(-23deg, transparent 49.8%, rgba(255,255,255,.21) 50%, transparent 50.2%);
  opacity: .66;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sector-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: 28px;
  color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background: var(--blue-deep);
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease;
}

.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,43,.10), rgba(8,28,43,.82));
  z-index: -1;
}

.sector-card strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.08;
  margin-bottom: 8px;
}

.sector-card span {
  color: rgba(255,255,255,.78);
  line-height: 1.45;
  font-size: .92rem;
}

.process {
  background: var(--blue-deep);
  color: white;
}

.process .section-title { color: white; }
.process .section-lede { color: rgba(255,255,255,.72); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-step {
  min-height: 252px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: attr(data-step);
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 5rem;
  line-height: 1;
  font-weight: 950;
  color: rgba(255,255,255,.06);
}

.process-step:nth-child(3) {
  background: rgba(252,196,0,.94);
  color: var(--ink);
}

.process-step h3 { margin: 0 0 12px; font-size: 1.3rem; }
.process-step p { margin: 0; line-height: 1.5; color: currentColor; opacity: .74; }

.insights-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 18px;
}

.insight-card {
  padding: 26px;
  border-radius: 28px;
  min-height: 280px;
  background: white;
  border: 1px solid rgba(26,75,110,.12);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-card.featured {
  background:
    linear-gradient(135deg, rgba(8,28,43,.72), rgba(26,75,110,.68)),
    url("../img/digital-globe.png") center / cover;
  color: white;
}

.insight-tag {
  width: max-content;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,148,209,.12);
  color: var(--blue-deep);
  font-size: .78rem;
  font-weight: 900;
}

.featured .insight-tag {
  background: rgba(252,196,0,.92);
  color: var(--ink);
}

.insight-card h3 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  line-height: 1.02;
  margin: 20px 0;
}

.insight-card p {
  color: rgba(8,28,43,.62);
  line-height: 1.55;
}

.featured p { color: rgba(255,255,255,.78); }

/* Insights archive (page-insights.php): a real, paginated grid of blog
   posts, reusing the homepage's .insight-card visual language (same
   padding/radius/shadow/tag pill) but in a flexible multi-row grid rather
   than the homepage teaser's fixed 3-card layout. */
.insights-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insights-archive-grid .insight-card {
  min-height: auto;
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.insights-archive-grid a.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.insight-card-image {
  display: block;
  width: calc(100% + 52px);
  margin: -26px -26px 20px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}

.insight-card-image img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.insight-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: rgba(8,28,43,.5);
  font-size: .82rem;
}

.insights-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 42px;
}

.insights-pagination a,
.insights-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration: none;
}

.insights-pagination .current {
  background: var(--blue-deep);
  color: white;
  border-color: var(--blue-deep);
}

@media (max-width: 1080px) {
  .insights-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .insights-archive-grid { grid-template-columns: 1fr; }
}

/* Per-page banner (Elementor Theme Builder "Single" template + inc/page-banner.php).
   background-image is set per-page via a small injected <style> block in
   wp_head (see inc/page-banner.php) -- background-color/position/size/repeat
   stay here as longhand properties (not the `background` shorthand) so the
   injected background-image never has to fight/reset them. */
.seriteq-page-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 64px;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--blue-deep);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.seriteq-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,28,43,.74) 0%, rgba(8,28,43,.52) 55%, rgba(8,28,43,.8) 100%);
  z-index: 0;
}

.seriteq-page-banner-h1 {
  position: relative;
  z-index: 1;
  color: white;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1;
  margin: 0;
  max-width: 900px;
}

@media (max-width: 760px) {
  .seriteq-page-banner { min-height: 260px; padding: 140px 20px 48px; }
}

.coverage-section .coverage-map-embed {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(8,28,43,.14);
}

.cta {
  padding: 110px 0 0;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 28px;
  background:
    radial-gradient(circle at 98% 20%, rgba(252,196,0,.18), transparent 280px),
    linear-gradient(135deg, var(--ink), var(--blue-deep));
  color: white;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-copy {
  padding: clamp(32px, 6vw, 68px);
}

.cta-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.4vw, 5.1rem);
  line-height: .93;
}

.cta-copy p {
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-size: 1.06rem;
  max-width: 620px;
}

.contact-panel {
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255,255,255,.07);
  border-left: 1px solid rgba(255,255,255,.13);
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
}

.contact-item span {
  display: block;
  color: rgba(255,255,255,.64);
  font-size: .82rem;
  margin-bottom: 5px;
}

.contact-item strong {
  color: white;
  line-height: 1.3;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color: white;
  border-radius: 18px;
  padding: 15px 16px;
  outline: 0;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255,255,255,.56); }

.lead-form select option { color: var(--ink); }

.site-footer {
  margin-top: 70px;
  padding: 54px 0 44px;
  background: #061621;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 28px;
}

.footer-logo img { width: 190px; filter: brightness(0) invert(1); }
.footer-grid p { color: rgba(255,255,255,.62); line-height: 1.6; max-width: 420px; }
.footer-col h3 { margin: 0 0 16px; font-size: 1rem; color: var(--sunflower); }
.footer-col a { display: block; color: rgba(255,255,255,.72); margin: 10px 0; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.footer-social a:hover {
  background: var(--sunflower);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 34px;
  padding-top: 22px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* V1 menu patch: Seriteq solutions hover mega menu. Visual system remains V1. */
.nav-shell { position: relative; }

.nav-item {
  display: inline-flex;
  align-items: center;
}

.nav-link {
  cursor: pointer;
}

.mega-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  width: min(980px, calc(100vw - 40px));
  padding-top: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index: 1002;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-solutions.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after,
.nav-solutions.is-open .nav-link::after {
  transform: scaleX(1);
}


.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 28px;
  pointer-events: auto;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1.05fr repeat(4, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(0,148,209,.12), transparent 32%),
    rgba(255,255,255,.96);
  box-shadow: 0 28px 80px rgba(8,28,43,.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.mega-intro {
  min-height: 100%;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(26,75,110,.96), rgba(0,109,161,.90)),
    var(--blue-deep);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.mega-intro span {
  color: var(--sunflower);
  font-size: .76rem;
  text-transform: uppercase;
  font-weight: 900;
}

.mega-intro strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.25;
}

.mega-column h3 {
  margin: 3px 0 14px;
  color: var(--blue-teal);
  font-size: .75rem; /* 12px at the 16px root */
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Column headers link to their solution page. NOTE: this must carry
   .main-nav or the ".main-nav .mega-column a" sub-link rule below wins
   on specificity (0,2,1 vs 0,1,2) and shrinks the heading back down. */
.main-nav .mega-column h3 a,
.main-nav .mega-column h3 a:visited {
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  padding: 0;
}

/* Headings must not pick up the sub-link hover slide/colour. */
.main-nav .mega-column h3 a:hover,
.main-nav .mega-column h3 a:focus-visible {
  color: var(--blue-digital);
  transform: none;
}

.main-nav .mega-column a,
.main-nav .mega-column a:visited {
  display: block;
  padding: 7px 0;
  color: rgba(8,28,43,.70);
  font-size: .625rem; /* 10px at the 16px root */
  font-weight: 650;
  line-height: 1.3;
  transition: color .2s ease, transform .2s ease;
}

.main-nav .mega-column a:hover,
.main-nav .mega-column a:focus-visible {
  color: var(--blue-digital);
  transform: translateX(3px);
}

.main-nav .mega-column a::after,
.main-nav .mega-intro a::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 1080px) {
  .nav-shell { grid-template-columns: auto 1fr auto; border-radius: 28px; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: var(--container);
    margin: 0 auto;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-item {
    width: 100%;
    display: block;
  }
  .nav-link { cursor: pointer; }
  .nav-solutions .nav-link {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .nav-solutions .nav-link::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
  }
  .nav-solutions.is-open .nav-link::before { transform: rotate(-135deg); }
  /* Mega-menu only opens per-item on mobile (JS toggles .nav-solutions.is-open);
     it must NOT tie to the outer .main-nav.is-open state or every tap of the
     hamburger dumps the entire 15-link mega-menu open, burying Platform/
     Sectors/Method/Insights/Contact off-screen with no way to scroll to them. */
  .mega-menu {
    position: static;
    width: 100%;
    padding-top: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  .nav-solutions.is-open .mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(244,248,251,.94);
    box-shadow: none;
  }
  .mega-intro {
    min-height: auto;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
  }
  .main-nav .mega-column a { padding: 7px 0; }
  .main-nav.is-open { display: flex; }
  .mobile-toggle { display: block; }
  .hero-grid,
  .legacy-grid,
  .arch-grid,
  .cta-card,
  .solution-panel {
    grid-template-columns: 1fr;
  }
  .signal-card { min-height: 460px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --container: min(100vw - 28px, var(--container-max)); }
  .site-header { top: 10px; }
  .nav-shell { padding: 10px 10px 10px 14px; }
  .logo-link { min-width: 132px; }
  .logo-link img { height: 42px; }
  .hero { min-height: auto; padding: 126px 0 58px; }
  .hero-grid { gap: 24px; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 4.6rem); }
  .hero-actions .btn { width: 100%; }
  .signal-card { min-height: 420px; border-radius: 30px; }
  .metric-pill { flex: 1 1 140px; }
  .section { padding: 74px 0; }
  .section-sm { padding: 56px 0; }
  .values-row,
  .feature-grid,
  .sector-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .solution-visual { min-height: 360px; }
  .arch-map { min-height: 520px; }
  .node {
    width: 104px; height: 104px;
    font-size: .82rem;
  }
  .node:nth-child(1) { top: 46px; left: 24px; }
  .node:nth-child(2) { top: 50px; right: 26px; }
  .node:nth-child(3) { top: 215px; }
  .node:nth-child(4) { bottom: 58px; left: 28px; }
  .node:nth-child(5) { bottom: 46px; right: 24px; }
  .cta { padding-top: 62px; }
  .contact-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
}

@media (max-width: 420px) {
  /* Collapse the header call button to an icon-only tap target instead of
     hiding it -- on the smallest phones it is the fastest way to reach
     Seriteq, so it should stay reachable rather than disappear. */
  .nav-actions .btn-call {
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 50%;
  }
  .btn-call-text { display: none; }
  .btn-call-icon { font-size: 1.2rem; }
  .nav-shell { grid-template-columns: auto auto; justify-content: space-between; }
  .hero-copy { font-size: 1rem; }
  .sector-card { min-height: 220px; }
}
