/* =========================================
   Access Group – Main Stylesheet
   ========================================= */
:root {
  --blue: #0168ac;
  --blue-dark: #01538a;
  --green: #99c33c;
  --navy: #0a1f44;
  --text: #4a5568;
  --muted: #718096;
  --border: #e6ebf2;
  --bg-soft: #f4f7fc;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 31, 68, .08);
  --shadow-hover: 0 18px 40px rgba(10, 31, 68, .14);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }

svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.fill, svg .fill { fill: currentColor; stroke: none; }

:root {
  --gutter: clamp(16px, 4vw, 80px);
  /* one spacing scale for every section */
  --section-y: 90px;   /* vertical padding of a normal section */
  --band-y: 50px;      /* partners + stats bands */
  --head-gap: 40px;    /* gap between a section heading and its content */
  --card-title: clamp(16px, 1.1vw, 20px);   /* same card heading size everywhere */
  --card-text: clamp(13.5px, 0.85vw, 16px); /* = the Solutions cards' size, reused by feature cards, testimonials and news */
}
@media (min-width: 1600px) { :root { --section-y: 110px; --band-y: 60px; --head-gap: 48px; } }
@media (max-width: 960px)  { :root { --section-y: 72px; --band-y: 44px; --head-gap: 32px; } }
@media (max-width: 640px)  { :root { --section-y: 60px; --band-y: 40px; --head-gap: 28px; } }
.container { width: 100%; max-width: 100%; margin: 0; padding: 0 var(--gutter); }
.section { padding: var(--section-y) var(--gutter); }
.section + .section { padding-top: 0; } /* two sections in a row: one gap, not two */
.text-blue { color: var(--blue); }

.eyebrow {
  font-family: var(--font-head);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.eyebrow::after { /* short green accent line under every eyebrow */
  content: ""; display: block; width: 44px; height: 3px; border-radius: 2px;
  background: var(--green); margin-top: 10px;
}
.eyebrow.center::after { margin-left: auto; margin-right: auto; }

h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; margin-bottom: 20px; }

/* ---------- Arrows ---------- */
.arrow {
  display: inline-block; width: 18px; height: 18px; vertical-align: middle; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.arrow-blue { color: var(--blue); }
.chev {
  display: inline-block; width: 6px; height: 6px; margin-left: 5px; margin-bottom: 3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 500; font-size: 14px;
  padding: 14px 26px; border-radius: 6px; border: 1px solid transparent;
  transition: .25s ease; cursor: pointer;
}
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(1, 104, 172, .25); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn .arrow { transition: transform .25s; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.play {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue);
  display: grid; place-items: center;
}
.play svg { width: 14px; height: 14px; margin-left: 2px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 500; color: var(--blue);
}
.link .arrow { transition: transform .25s; }
.link:hover .arrow { transform: translateX(4px); }
.link:hover { text-decoration: underline; text-decoration-color: #000; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(10, 31, 68, .08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 90px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 70px; width: auto; display: block; }
.footer .logo img { height: 86px; }

.nav > ul { display: flex; gap: 34px; }
.nav > ul > li { padding: 30px 0; } /* tall hover area so the dropdown doesn't close on the way down */
.nav a {
  font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--navy);
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--blue);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  background: none; border: 0; cursor: pointer; color: var(--navy);
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: .2s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--blue); }
.icon-btn svg { width: 19px; height: 19px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative; min-height: clamp(640px, 44vw, 880px); padding-top: 90px;
  display: flex; align-items: center;
  background: linear-gradient(90deg, #eef5fb 0%, #dcebf6 100%);
  overflow: hidden;
}
.hero-content { position: relative; z-index: 2; }
/* text column fills the left side right up to the image (no empty gap) */
.hero-text { width: calc(47% - var(--gutter) / 2); max-width: none; padding: 60px 0 130px; }
.hero h1 {
  font-size: clamp(34px, 4vw, 84px); font-weight: 500; line-height: 1.02;
  text-transform: uppercase; letter-spacing: -.5px; margin-bottom: 22px;
}
.hero-sub { font-size: clamp(15px, 1.05vw, 19px); max-width: 92%; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: absolute; top: 90px; right: 0; bottom: 0; width: 53%;
  overflow: hidden; container-type: size;
}
.hero-zoom {
  position: absolute; inset: 0; translate: 0 var(--py, 0px); /* scroll parallax (set in main.js) */
  animation: heroZoom 16s ease-in-out infinite alternate; will-change: transform;
}
/* art box emulates background-size: cover so the node dots stay locked to the image */
.hero-art {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  --ratio: 1.128; /* image width / height; set inline when a custom hero image is used */
  width: max(116cqw, calc(116cqh * var(--ratio))); aspect-ratio: var(--ratio);
  background: url('../images/hero-img.jpg') center / 100% 100% no-repeat;
}
/* pin-point: glowing core + two expanding ripple rings (like a map location pin) */
.node {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(160, 215, 255, .95) 45%, rgba(80, 170, 255, 0) 78%);
  mix-blend-mode: screen; animation: nodeCore 2s ease-in-out infinite alternate;
}
.node::before, .node::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid rgba(170, 225, 255, .95); opacity: 0;
  animation: nodeRing 4s ease-out infinite; animation-delay: inherit;
}
.node::after { animation-name: nodeRing2; }
@keyframes nodeRing {
  0% { transform: scale(.5); opacity: .95; }
  70%, 100% { transform: scale(4); opacity: 0; }
}
@keyframes nodeRing2 {
  0%, 35% { transform: scale(.5); opacity: 0; }
  36% { opacity: .8; }
  100% { transform: scale(4); opacity: 0; }
}
@keyframes nodeCore {
  from { transform: scale(.8); filter: brightness(.8); }
  to { transform: scale(1.3); filter: brightness(1.2); }
}
@media (prefers-reduced-motion: reduce) { .node, .node::before, .node::after { animation: none; } }
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 16, 40, .35) 0%, rgba(4, 16, 40, 0) 40%);
}
@keyframes heroZoom { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.2) translate(-8%, 6%); } }
@media (prefers-reduced-motion: reduce) { .hero-image::before { animation: none; } }

/* =========================================
   FEATURE CARDS
   ========================================= */
.features {
  position: relative; z-index: 5; margin-top: -90px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative; overflow: hidden;
}
/* green accent line that sweeps in from the left on hover */
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(1, 104, 172, .25); }
.feature-card:hover::before { transform: scaleX(1); }
.f-icon {
  width: 68px; height: 68px; border-radius: 50%; background: #e6f1f8; color: var(--blue);
  display: grid; place-items: center; margin-bottom: 20px;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.feature-card:hover .f-icon { background: var(--green); color: #fff; transform: scale(1.06); }
.feature-card h3 { transition: color .3s ease; }
.feature-card:hover h3 { color: var(--blue); }
.f-icon svg { width: 34px; height: 34px; }
.feature-card h3 { font-size: var(--card-title); font-weight: 600; margin-bottom: 8px; }
.f-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.f-row p { font-size: var(--card-text); color: var(--muted); max-width: 340px; }
.feature-card .arrow { flex-shrink: 0; margin-bottom: 6px; transition: transform .25s; }
.feature-card:hover .arrow { transform: translateX(4px); }

/* =========================================
   ABOUT
   ========================================= */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 4vw, 90px); align-items: center; }
.about-text { max-width: 84%; } /* narrower text column */
.about h2 { font-size: clamp(26px, 2.7vw, 54px); max-width: 15em; }
.about-text p:not(.eyebrow) { margin-bottom: 18px; max-width: none; font-size: clamp(14.5px, 0.98vw, 19px); }
.about-text .btn { margin-top: 10px; }

/* 2 rows with different splits (45/55 and 40/60). Flex instead of a 20-column grid: with a 25px gap the
   19 column gaps alone were wider than a phone screen and pushed the gallery out of the page. */
.about-gallery { --gg: 25px; display: flex; flex-wrap: wrap; gap: var(--gg); }
.g-img { flex: 0 0 calc((100% - var(--gg)) * .45); }
.g-img:nth-child(2) { flex-basis: calc((100% - var(--gg)) * .55); }
.g-img:nth-child(3) { flex-basis: calc((100% - var(--gg)) * .40); }
.g-img:nth-child(4) { flex-basis: calc((100% - var(--gg)) * .60); }
.g-img {
  height: clamp(220px, 17vw, 360px); border-radius: 6px; background-size: cover; background-position: center;
  transition: transform .4s;
}
.g-img.g-short { height: clamp(150px, 11.5vw, 250px); }
.g-img { position: relative; transition: transform .45s ease, box-shadow .45s ease; }
.g-img { overflow: hidden; }
/* mouse hover: the picture zooms inside its frame (the frame itself doesn't grow) */
.g-img::before { content: ""; position: absolute; inset: 0; background: inherit; transition: transform .7s ease; }
.g-img:hover::before { transform: scale(1.05); }
.g-img.is-active { transform: scale(1.04); box-shadow: 0 14px 30px rgba(10, 31, 68, .18); z-index: 1; } /* auto highlight only (set in main.js); no mouse hover */

/* =========================================
   PARTNERS
   ========================================= */
.partners { background: var(--bg-soft); padding: var(--band-y) 0; }
.partners-head { position: relative; text-align: center; margin-bottom: clamp(20px, 1.8vw, 34px); }
.partners-sub { font-size: clamp(16px, 1.25vw, 22px); color: var(--text); }
.slider-arrows { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; gap: 14px; }
.slider-arrows button {
  width: auto; height: auto; padding: 4px; border: 0; background: none;
  color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: .2s;
}
.slider-arrows button svg { width: clamp(30px, 2.2vw, 40px); height: clamp(30px, 2.2vw, 40px); stroke-width: 2; }
.slider-arrows button:hover { color: var(--blue); }

.partners-track-wrap { overflow: hidden; }
.partners-track { display: flex; transition: transform .5s ease; }
.p-logo {
  flex: 0 0 16.6667%; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: clamp(60px, 4.2vw, 80px); color: #111; opacity: .9; transition: .25s;
  white-space: nowrap; user-select: none;
}
.p-logo:hover { opacity: 1; transform: scale(1.05); }
.p-logo img { height: clamp(24px, 1.8vw, 34px); width: auto; max-width: 70%; object-fit: contain; }
.p-groupib { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -.5px; }
.p-groupib .ring { font-size: 24px; }
.p-forcepoint { font-family: Georgia, serif; font-size: 23px; font-weight: 600; letter-spacing: -.5px; }
.p-verifone { font-family: var(--font-head); font-size: 25px; font-weight: 800; font-style: italic; letter-spacing: -1px; }
.p-idirect { font-family: var(--font-head); font-size: 20px; font-style: italic; letter-spacing: 3px; color: #1a2b6d; }
.p-idirect .swoosh { color: #1a5bd8; font-size: 18px; transform: skewX(-20deg); }
.p-thales { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: 4px; color: #1c2a6b; }

/* =========================================
   SOLUTIONS
   ========================================= */
.solutions h2 { margin-bottom: var(--head-gap); }
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .3s;
}
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.sol-img { height: clamp(200px, 15vw, 300px); background-size: cover; background-position: center; transition: transform .5s; }
.sol-card:hover .sol-img { transform: scale(1.05); }
/* green-to-blue line that sweeps in under the image on hover */
.sol-body::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.sol-card:hover .sol-body::before { transform: scaleX(1); }
.sol-icon { z-index: 2; position: relative; }
.sol-body { padding: clamp(24px, 1.8vw, 34px) clamp(22px, 1.6vw, 30px) clamp(28px, 2vw, 38px); display: flex; flex-direction: column; flex: 1; background: #fff; position: relative; }
.sol-icon {
  width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--blue);
  border: 1px solid var(--border); display: grid; place-items: center;
  margin-top: calc(-29px - clamp(24px, 1.8vw, 34px)); margin-bottom: 14px; box-shadow: 0 6px 14px rgba(10, 31, 68, .08);
}
.sol-icon svg { width: 28px; height: 28px; }
.sol-icon { transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease; }
.sol-card:hover .sol-icon { background: var(--green); color: #fff; border-color: var(--green); transform: scale(1.06); }
.sol-card h3 { font-size: var(--card-title); font-weight: 600; margin-bottom: 12px; }
.sol-card p { font-size: var(--card-text); color: var(--muted); margin-bottom: 26px; }
.sol-card .link { margin-top: auto; } /* keeps "Learn More" aligned in all cards */

/* =========================================
   TESTIMONIALS
   ========================================= */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: var(--head-gap); gap: 20px; }
.sec-head h2 { margin-bottom: 0; }

/* carousel: --per cards visible, slides by one card */
.t-carousel { --per: 3; --gap: 24px; }
.t-viewport { overflow: hidden; padding: 14px; margin: -14px; } /* padding keeps hover shadow from being clipped */
.t-track { display: flex; gap: var(--gap); transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.t-card {
  flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
  background: #f7f9fb; border: 1px solid #e8edf3; border-radius: var(--radius); padding: 30px 30px 26px;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.t-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.t-carousel { position: relative; }
.t-btn {
  position: absolute; top: calc(50% - 35px); z-index: 3; /* centred on the cards, above the dots row */
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy);
  display: grid; place-items: center; cursor: pointer; transition: .25s; box-shadow: var(--shadow);
}
.t-prev { left: -22px; }
.t-next { right: -22px; }
@media (max-width: 1100px) { .t-prev { left: 6px; } .t-next { right: 6px; } }
.t-btn svg { width: 20px; height: 20px; }
.t-btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.t-dots { display: flex; gap: 8px; }
.t-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: #cfd8e3; transition: width .3s, background .3s;
}
.t-dots button.active { width: 26px; border-radius: 6px; background: var(--green); }
@media (max-width: 960px) { .t-carousel { --per: 2; } }
@media (max-width: 640px) { .t-carousel { --per: 1; } .t-btn { display: none; } } /* mobile: swipe + dots only, arrows overlapped the text */
.t-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.quote { font-family: Georgia, serif; font-size: 84px; line-height: .6; color: var(--green); height: 28px; margin-bottom: 0; }
.t-card p { font-size: var(--card-text); font-style: italic; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
.stars { color: var(--blue); letter-spacing: 3px; font-size: 17px; margin-bottom: 22px; }
.client { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.c-logo {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
}
.client strong { display: block; font-family: var(--font-head); font-size: 14px; color: var(--navy); font-weight: 600; }
.client span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

/* =========================================
   STATS
   ========================================= */
.stats { background: linear-gradient(90deg, #eef5fb 0%, #dcebf6 100%); padding: calc(var(--band-y) * .6) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 20px; }
.stat + .stat { border-left: 1px solid #bfd4e5; }
.stat svg { width: clamp(46px, 3.2vw, 60px); height: clamp(46px, 3.2vw, 60px); color: var(--blue); stroke-width: 1.5; flex-shrink: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 600; color: var(--blue); line-height: 1.1; }
.stat span { display: block; font-size: 15px; line-height: 1.1; color: var(--muted); }

/* =========================================
   NEWS
   ========================================= */
.n-card {
  flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.n-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.n-img { aspect-ratio: 3 / 2; height: auto; background-size: cover; background-position: center; }
.n-body { padding: clamp(18px, 1.4vw, 28px) clamp(20px, 1.6vw, 30px) clamp(22px, 1.7vw, 32px); display: flex; flex-direction: column; flex: 1; }
.date { font-family: var(--font-head); font-size: clamp(11.5px, 0.75vw, 13px); font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.n-card h3 { font-size: var(--card-title); font-weight: 600; line-height: 1.35; margin-bottom: 12px; }
.n-card p { font-size: var(--card-text); color: var(--muted); margin-bottom: 26px; }
.n-card .link { margin-top: auto; } /* same size as the other cards' links */

/* =========================================
   FOOTER
   ========================================= */
.footer { --footer-y: 40px; background: var(--bg-soft); padding: var(--footer-y) 0 0; }
.f-grid { display: grid; grid-template-columns: 1fr auto auto minmax(260px, 25vw); gap: 40px clamp(56px, 6.5vw, 130px); padding-bottom: var(--footer-y); } /* same space above and below the footer content */
.f-brand p { font-size: 15px; color: var(--muted); margin: 18px 0 22px; max-width: 470px; }
.socials { display: flex; gap: 12px; }
.socials a {
  --c: var(--blue); /* icon colour per network; outline + hover stay brand blue */
  width: 36px; height: 36px; border-radius: 6px; background: transparent; color: var(--c);
  border: 1.5px solid var(--blue); display: grid; place-items: center; transition: .2s;
}
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.socials a[aria-label="LinkedIn"] { --c: #0a66c2; }
.socials a[aria-label="Facebook"] { --c: #1877f2; }
.socials a[aria-label="Twitter"] { --c: #111; }
.socials a[aria-label="Instagram"] { --c: #e1306c; }
.socials svg { width: 17px; height: 17px; }

.footer h4 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { font-size: 15.5px; color: var(--text); transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer ul a::before { content: "›"; color: var(--blue); font-size: 16px; }
.footer ul a:hover { color: var(--blue); transform: translateX(4px); } /* transform, not padding: no layout shift */

.subscribe { display: flex; margin-bottom: 14px; }
.subscribe input {
  flex: 1; min-width: 0; padding: 13px 16px; font: inherit; font-size: 13.5px;
  border: 1px solid var(--border); border-right: 0; border-radius: 6px 0 0 6px; outline: none; background: #fff;
}
.subscribe input:focus { border-color: var(--blue); }
.subscribe button {
  width: 50px; border: 0; border-radius: 0 6px 6px 0; background: var(--blue); color: #fff; cursor: pointer; transition: .2s;
}
.subscribe button:hover { background: var(--blue-dark); }
.check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--blue); }

.f-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--muted);
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .nav > ul { gap: 22px; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .p-logo { flex-basis: 25%; }
}

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .nav-actions { gap: 8px; }
  /* mobile order: Get In Touch, search, menu (menu last) */
  .nav-actions .btn-sm { order: 1; }
  .nav-actions .icon-btn { order: 2; }
  .nav-actions .menu-toggle { order: 3; }
  .nav-actions .btn-sm { padding: 8px 14px; font-size: 12px; gap: 6px; white-space: nowrap; } /* Get In Touch stays visible next to search */
  .nav-actions .btn-sm .arrow { width: 14px; height: 14px; }
  .nav {
    position: fixed; top: 90px; left: 0; right: 0; background: #fff;
    max-height: 0; overflow: hidden; transition: max-height .35s ease; box-shadow: 0 10px 20px rgba(0,0,0,.06);
  }
  .nav.open { max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav > ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .nav > ul > li { padding: 0; }
  .nav ul li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a.active::after { display: none; }

  .hero { flex-direction: column; min-height: auto; }
  .hero-text { width: 100%; max-width: 100%; padding: 50px 0 40px; }
  .hero-image { position: relative; top: 0; width: 100%; height: 380px; }
  .features { margin-top: -60px; grid-template-columns: 1fr; max-width: 560px; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-text { max-width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .p-logo { flex-basis: 33.333%; }
}

@media (max-width: 640px) {
  .hero-image { height: 280px; }
  .sol-grid { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  /* stats stay 2 columns on mobile, each one stacked: icon on top, number + label below */
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .stat { flex-direction: column; justify-content: flex-start; text-align: center; gap: 10px; padding: 4px 10px; border: 0; }
  .stat + .stat { border: 0; }
  .stat:nth-child(even) { border-left: 1px solid #bfd4e5; }
  .stat svg { width: 44px; height: 44px; }
  .stat strong { font-size: 30px; }
  .stat span { font-size: 13.5px; }
  /* brand on top, Quick Links and Resources side by side, newsletter below */
  .f-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .f-brand, .f-news { grid-column: 1 / -1; }
  .about-gallery { --gg: 16px; } /* tighter gap on phones */
  .g-img { height: 170px; }
  .g-img.g-short { height: 120px; }
  .p-logo { flex-basis: 50%; }
  .slider-arrows { position: static; transform: none; justify-content: center; margin-top: 14px; }
  .f-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  /* all buttons share the hero's mobile size (hero ones are tightened further below) */
  .btn { padding: 10px 16px; font-size: 12px; gap: 6px; }
  .btn .arrow { width: 14px; height: 14px; }
  /* hero buttons side by side on mobile */
  .hero-btns { flex-wrap: nowrap; gap: 10px; }
  .hero-btns .btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 10px 8px; font-size: 12px; gap: 6px; white-space: nowrap; }
  .hero-btns .play { width: 20px; height: 20px; }
  .hero-btns .play svg { width: 9px; height: 9px; }
  .hero-btns .arrow { width: 14px; height: 14px; }
  .f-sep { display: none; }
  .f-dev { display: block; margin-top: 4px; } /* "Developed by eTeam" on its own line */
}

/* carousel cards: no hover shadow (it was getting clipped by the slider's edge) */
.t-carousel .n-card:hover, .t-carousel .t-card:hover { box-shadow: none; border-color: rgba(1, 104, 172, .35); }

/* =========================================
   SEARCH PANEL
   ========================================= */
.search-panel {
  /* small dropdown anchored under the search icon (right side of the header) */
  position: absolute; top: calc(100% + 6px); right: var(--gutter); left: auto;
  width: min(420px, calc(100vw - 2 * var(--gutter)));
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 40px rgba(10, 31, 68, .14);
  padding: 12px; animation: searchIn .25s ease;
}
.search-panel .container { padding: 0; }
.search-panel[hidden] { display: none; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.search-form {
  display: flex; align-items: center; gap: 12px; padding: 0 6px 0 16px; height: 46px;
  border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); transition: border-color .2s, background .2s;
}
.search-form:focus-within { border-color: var(--blue); background: #fff; }
.search-form > svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.search-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 500 16px var(--font-body); color: var(--navy);
}
.search-form input::-webkit-search-cancel-button { display: none; }
.search-close {
  width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  cursor: pointer; display: grid; place-items: center; transition: .2s;
}
.search-close:hover { background: var(--border); color: var(--navy); }
.search-close svg { width: 18px; height: 18px; }
.search-results { list-style: none; margin-top: 10px; max-height: 50vh; overflow-y: auto; }
.search-results li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: 8px; font-size: 15px; color: var(--navy); transition: background .15s;
}
.search-results li a:hover, .search-results li a.active { background: var(--bg-soft); color: var(--blue); }
.search-results small { font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--green); font-weight: 600; flex-shrink: 0; }
.search-results .empty { padding: 11px 14px; color: var(--muted); font-size: 14.5px; }

.t-card:hover { transform: translateY(-6px); }

/* the scroll-reveal rule (.reveal.visible) was overriding the hover lift on these cards */
.feature-card.reveal.visible, .sol-card.reveal.visible {
  transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.feature-card.reveal.visible:hover, .sol-card.reveal.visible:hover { transform: translateY(-6px); }

/* =========================================
   BACK TO TOP
   ========================================= */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(1, 104, 172, .35);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s, background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; stroke-width: 2.4; }

/* =========================================
   NAV DROPDOWNS (desktop hover / mobile accordion)
   ========================================= */
.nav li { position: relative; }
.nav .chev { transition: transform .25s; }
.nav .submenu {
  position: absolute; top: 100%; left: -18px; min-width: 250px; z-index: 120;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px;
  box-shadow: 0 18px 40px rgba(10, 31, 68, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav .submenu a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.nav .submenu a:hover { background: var(--bg-soft); color: var(--blue); }
.nav .has-drop:hover > .submenu, .nav .has-drop:focus-within > .submenu,
.nav .has-sub:hover > .submenu, .nav .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .has-drop:hover > a .chev { transform: rotate(225deg) translate(-2px, -2px); }
.nav .has-drop:hover > a { color: var(--blue); }
/* second level (Payment Products » POS / mPOS / NFC) flies out to the right */
.nav .submenu .submenu { top: -9px; left: calc(100% + 6px); min-width: 190px; }
.sub-arrow {
  width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: rotate(45deg);
}
.nav .submenu li { padding: 0; }

@media (max-width: 960px) {
  .nav .submenu, .nav .submenu .submenu {
    position: static; min-width: 0; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 0 14px;
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav li.open > .submenu { max-height: 600px; }
  .nav .has-drop > a, .nav .has-sub > a { display: flex; align-items: center; justify-content: space-between; }
  .nav .has-drop.open > a { color: var(--blue); }
  .nav .has-drop.open > a .chev { transform: rotate(225deg); }
  .nav .has-sub.open > a .sub-arrow { transform: rotate(135deg); }
  .nav .submenu a { padding: 12px 0; border-radius: 0; font-weight: 400; white-space: normal; }
  .nav .submenu a:hover { background: none; }
  .nav .has-drop:hover > .submenu, .nav .has-sub:hover > .submenu { transform: none; }
}

@media (max-width: 380px) { .nav-actions .btn-sm .arrow { display: none; } .nav-actions .btn-sm { padding: 8px 12px; } }

@media (max-width: 640px) { .footer { --footer-y: 32px; } }

/* =========================================
   INNER PAGES (inner-page.html)
   ========================================= */
.page-banner {
  position: relative; overflow: hidden;
  padding: calc(90px + var(--section-y) * .6) var(--gutter) calc(var(--section-y) * .6);
  background: linear-gradient(90deg, #eef5fb 0%, #dcebf6 100%);
}
.page-banner .container { padding: 0; }
.page-banner::after { /* faded hero picture on the right */
  content: ""; position: absolute; top: 90px; right: 0; bottom: 0; width: 42%;
  background: var(--banner-img, url('../images/hero-img.jpg')) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent);
  mask-image: linear-gradient(to left, #000 35%, transparent);
}
.page-banner .inner { position: relative; z-index: 1; max-width: 860px; }
.page-banner h1 { font-size: clamp(32px, 3.4vw, 58px); font-weight: 600; margin-bottom: 16px; }
.banner-sub { font-size: clamp(15px, 1.05vw, 19px); max-width: 780px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "\203A"; margin-right: 8px; color: var(--blue); }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

.inner-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 4vw, 90px); align-items: center; }
.intro-text h2 { font-size: clamp(26px, 2.7vw, 48px); max-width: 16em; }
.intro-text p:not(.eyebrow) { margin-bottom: 18px; font-size: clamp(14.5px, 0.98vw, 19px); }
.check-list { list-style: none; margin: 6px 0 26px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; font-size: clamp(14.5px, 0.98vw, 18px); color: var(--navy); font-weight: 500; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.intro-media { position: relative; }
.intro-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.intro-badge {
  position: absolute; left: -22px; bottom: 30px; background: #fff; border-radius: var(--radius);
  padding: 16px 22px; box-shadow: var(--shadow-hover); border-left: 4px solid var(--green);
}
.intro-badge strong { display: block; font-family: var(--font-head); font-size: 32px; color: var(--blue); line-height: 1.1; }
.intro-badge span { font-size: 13px; color: var(--muted); }

.sec-center { text-align: center; margin-bottom: var(--head-gap); }
.sec-center h2 { margin-bottom: 0; }
.inner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.inner-cards .feature-card p { font-size: var(--card-text); color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .35s ease, border-color .35s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(1, 104, 172, .25); }
.step b { display: block; font-family: var(--font-head); font-size: 38px; font-weight: 600; color: var(--green); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: var(--card-title); margin-bottom: 8px; }
.step p { font-size: var(--card-text); color: var(--muted); }

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: clamp(30px, 3.6vw, 60px); border-radius: var(--radius); color: #fff;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.2vw, 38px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); }
.btn-light { background: #fff; color: var(--blue); flex-shrink: 0; }
.btn-light:hover { background: var(--green); color: #fff; }

@media (max-width: 960px) {
  .page-banner::after { width: 100%; opacity: .18; -webkit-mask-image: none; mask-image: none; }
  .inner-intro { grid-template-columns: 1fr; }
  .intro-badge { left: 14px; }
  .inner-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}


/* =========================================
   WORDPRESS SPECIFICS
   ========================================= */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 960px) { .admin-bar .nav { top: 122px; } }
@media (max-width: 782px) { .admin-bar .nav { top: 136px; } }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.logo a, a.logo { display: flex; align-items: center; }
.p-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.c-logo.c-initial { background: var(--blue); font-size: 16px; }
.n-img.no-img { background: linear-gradient(135deg, #eef5fb, #dcebf6); }
.ag-notice { padding: 18px 22px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* default page / post content (the WordPress editor output) */
.page-content { padding-top: 0; }
.entry-content { max-width: 920px; margin: 0 auto; font-size: clamp(15px, 1.05vw, 18px); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: clamp(24px, 2.2vw, 36px); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(20px, 1.6vw, 26px); margin-top: 1.6em; }
.entry-content h4 { font-size: 18px; margin-top: 1.4em; }
.entry-content p, .entry-content li { color: var(--text); }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--green); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content img, .entry-content video { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry-content blockquote { border-left: 4px solid var(--green); padding: 4px 0 4px 20px; font-style: italic; color: var(--navy); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--bg-soft); color: var(--navy); }
.entry-content .alignleft { float: left; margin: 0 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.4em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }
.entry-content::after { content: ""; display: block; clear: both; }
.entry-content .wp-caption-text, .entry-content figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.post-meta a { color: var(--blue); }
.post-thumb { max-width: 920px; margin: 0 auto 36px; }
.post-thumb img { width: 100%; border-radius: var(--radius); display: block; }
.post-nav { max-width: 920px; margin: 50px auto 0; display: flex; justify-content: space-between; gap: 20px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.archive-grid .n-card { flex: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--border);
  border-radius: 8px; color: var(--navy); font-weight: 500; transition: .2s;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 960px) { .archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .archive-grid { grid-template-columns: 1fr; } }
.error-404 { text-align: center; padding: 20px 0 10px; }
.error-404 .big { font-family: var(--font-head); font-size: clamp(80px, 12vw, 180px); font-weight: 700; color: var(--blue); line-height: 1; }

/* news cards built from posts: image and title are links */
a.n-img { display: block; }
.n-card h3 a { color: inherit; transition: color .2s; }
.n-card h3 a:hover { color: var(--blue); }

/* =========================================
   WHO WE ARE: timeline + scroll animations
   ========================================= */
.inner-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.inner-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .inner-cards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .inner-cards.cols-2, .inner-cards.cols-4 { grid-template-columns: 1fr 1fr; max-width: none; }
}
@media (max-width: 640px) {
  .inner-cards.cols-2, .inner-cards.cols-4 { grid-template-columns: 1fr; }
}

.timeline { position: relative; list-style: none; max-width: 1060px; margin: 0 auto; padding: 0; }
.timeline::before { /* the line draws itself from top to bottom */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--green), var(--blue));
  transform: translateX(-50%) scaleY(0); transform-origin: top; transition: transform 2.2s ease;
}
.timeline.visible::before { transform: translateX(-50%) scaleY(1); }

.tl-item { position: relative; width: 50%; padding: 0 70px 38px 0; text-align: right; opacity: 0; transform: translateX(-36px); transition: opacity .7s ease, transform .7s ease; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 38px 70px; text-align: left; transform: translateX(36px); }
.tl-item.visible { opacity: 1; transform: none; }
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute; top: 6px; right: -31px; width: 62px; height: 62px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(1, 104, 172, .35);
  display: grid; place-items: center; z-index: 1; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .25s, background .3s;
}
.tl-item:nth-child(even) .tl-dot { right: auto; left: -31px; }
.tl-item.visible .tl-dot { transform: scale(1); }
.tl-dot svg { width: 28px; height: 28px; }
.tl-item:nth-child(even):hover .tl-dot { background: var(--green); }

.tl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; transition: transform .35s ease, border-color .35s ease, background .35s ease; }
.tl-item:hover .tl-card { transform: translateY(-5px); background: #e6f1f8; border-color: rgba(1, 104, 172, .3); }
.tl-item:nth-child(even):hover .tl-card { background: #f1f8e0; border-color: rgba(153, 195, 60, .55); }
.tl-year { display: block; font-family: var(--font-head); font-size: clamp(24px, 2vw, 32px); font-weight: 600; color: var(--green); line-height: 1.1; margin-bottom: 6px; }
.tl-card h3 { font-size: var(--card-title); margin-bottom: 6px; }
.tl-card p { font-size: var(--card-text); color: var(--muted); }

@media (max-width: 960px) {
  .timeline::before { left: 31px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 30px 88px; text-align: left; transform: translateX(30px); }
  .tl-item.visible, .tl-item:nth-child(even).visible { transform: none; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 0; right: auto; }
}

/* scroll-in directions for the intro blocks */
.reveal.reveal-left:not(.visible) { transform: translateX(-46px); }
.reveal.reveal-right:not(.visible) { transform: translateX(46px); }
.reveal.reveal-zoom:not(.visible) { transform: scale(.94); }

/* the "30+" badge pops in after the picture */
.intro-badge { opacity: 0; transform: translateY(22px) scale(.9); transition: opacity .6s ease .45s, transform .7s cubic-bezier(.3, 1.4, .5, 1) .45s; }
.intro-media.visible .intro-badge { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .tl-item, .tl-dot, .timeline::before, .intro-badge, .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .timeline::before { transform: translateX(-50%) !important; }
}

/* anchored sections stop below the fixed header */
section[id], footer[id] { scroll-margin-top: 100px; }
.admin-bar section[id], .admin-bar footer[id] { scroll-margin-top: 132px; }

/* intro picture: brightens and zooms inside its frame on hover */
.intro-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro-media .intro-img img { box-shadow: none; border-radius: 0; transition: transform .8s ease, filter .5s ease; }
.intro-img:hover img { transform: scale(1.07); filter: brightness(1.12) saturate(1.06); }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 3.4vw, 64px); align-items: start; }
.contact-grid.no-form { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 46px); box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: clamp(22px, 2vw, 32px); margin-bottom: 10px; }
.contact-form-text { color: var(--muted); margin-bottom: 24px; font-size: clamp(14.5px, 0.98vw, 17px); }
.contact-form-slot input[type=text], .contact-form-slot input[type=email], .contact-form-slot input[type=tel], .contact-form-slot textarea, .contact-form-slot select {
  max-width: 100%;
}

.contact-info { display: grid; gap: 22px; }
.c-office { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 28px; border-left: 4px solid var(--green); transition: transform .35s ease, background .35s ease; }
.c-office:nth-child(even) { border-left-color: var(--blue); }
.c-office:hover { transform: translateY(-5px); background: #e6f1f8; }
.c-office:nth-child(even):hover { background: #f1f8e0; }
.c-office h3 { font-size: var(--card-title); margin-bottom: 14px; }
.c-row { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; font-size: var(--card-text); color: var(--text); line-height: 1.55; }
.c-ico { width: 38px; height: 38px; border-radius: 50%; background: #e6f1f8; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; transition: background .3s, color .3s; }
.c-ico svg { width: 19px; height: 19px; }
.c-row:hover .c-ico { background: var(--green); color: #fff; }
.c-row a { color: var(--text); transition: color .2s; }
.c-row a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.contact-map iframe { width: 100%; height: clamp(300px, 28vw, 460px); border: 0; display: block; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================
   QUFORM submit button = the "Get In Touch" button style
   (.quform-submit is the button element, .quform_submit is covered too)
   ========================================= */
.quform .quform-submit,
.quform .quform_submit,
.quform button[type="submit"],
.quform input[type="submit"],
.contact-form-slot .quform-submit,
.contact-form-slot .quform_submit,
.contact-form-slot button[type="submit"],
.contact-form-slot input[type="submit"] {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 500; font-size: 14px; line-height: 1.4; letter-spacing: 0; text-transform: none;
  padding: 14px 26px; border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(1, 104, 172, .25);
  transition: .25s ease;
}
.quform .quform-submit:hover,
.quform .quform_submit:hover,
.quform button[type="submit"]:hover,
.quform input[type="submit"]:hover,
.contact-form-slot .quform-submit:hover,
.contact-form-slot .quform_submit:hover,
.contact-form-slot button[type="submit"]:hover,
.contact-form-slot input[type="submit"]:hover {
  background: var(--blue-dark); color: #fff; transform: translateY(-2px);
}
/* inner spans of the Quform button inherit the look; no extra box of their own */
.quform .quform-submit-inner, .quform .quform-submit-text,
.contact-form-slot .quform-submit-inner, .contact-form-slot .quform-submit-text {
  background: none; border: 0; padding: 0; margin: 0; box-shadow: none; color: inherit; font: inherit; display: inline-flex; align-items: center; gap: 12px;
}
/* the same arrow as the other buttons */
.quform .quform-submit-text::after,
.contact-form-slot .quform-submit-text::after {
  content: ""; width: 18px; height: 18px; background-color: currentColor; flex-shrink: 0; transition: transform .25s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.quform .quform-submit:hover .quform-submit-text::after,
.contact-form-slot .quform-submit:hover .quform-submit-text::after { transform: translateX(3px); }
@media (max-width: 640px) {
  .quform .quform-submit, .contact-form-slot .quform-submit { padding: 10px 16px; font-size: 12px; gap: 6px; }
}

/* contact page: social icons ("Connect with us") */
.socials a[aria-label="YouTube"] { --c: #ff0000; }
.contact-social { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 28px; border-left: 4px solid var(--blue); }
.contact-social h3 { font-size: var(--card-title); margin-bottom: 14px; }


/* =========================================
   CONTACT PAGE v2: form + blue panel, offices with maps
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 2.6vw, 44px); align-items: stretch; }
.contact-grid.no-form { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

/* ---- form card ---- */
.contact-form-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: clamp(28px, 3.2vw, 52px); box-shadow: 0 18px 44px rgba(10, 31, 68, .08); overflow: hidden;
}
.contact-form-card::before { /* green to blue accent line on top */
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--blue));
}
.contact-form-card h2 { font-size: clamp(24px, 2.1vw, 34px); margin-bottom: 8px; }
.contact-form-text { color: var(--muted); margin-bottom: 28px; font-size: clamp(14.5px, 0.98vw, 17px); }

/* Quform fields in the theme look */
.contact-form-slot .quform-elements { margin: 0; }
.contact-form-slot .quform-element { margin-bottom: 14px; }
.contact-form-slot .quform-label, .contact-form-slot label {
  display: block; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 8px;
}
.contact-form-slot .quform-required { color: #d93025; }
.contact-form-slot input[type=text], .contact-form-slot input[type=email], .contact-form-slot input[type=tel],
.contact-form-slot input[type=url], .contact-form-slot input[type=number], .contact-form-slot select, .contact-form-slot textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; font: 400 15px var(--font-body); color: var(--navy);
  background: #f8fafc; border: 1.5px solid var(--border); border-radius: 8px; outline: 0; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form-slot textarea { min-height: 150px; resize: vertical; }
.contact-form-slot input:focus, .contact-form-slot select:focus, .contact-form-slot textarea:focus {
  background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 104, 172, .10);
}
.contact-form-slot ::placeholder { color: #9aa6b6; }
.contact-form-slot .quform-error, .contact-form-slot .quform-error-text { color: #d93025; font-size: 13px; margin-top: 6px; }
.contact-form-slot .quform-success-message, .contact-form-slot .quform-message-success { color: var(--navy); }

/* ---- blue contact panel ---- */
.contact-panel {
  position: relative; overflow: hidden; border-radius: 14px; color: #fff;
  padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 18px 44px rgba(1, 104, 172, .25);
}
.contact-panel::after { /* soft green glow in the corner */
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(153, 195, 60, .55), transparent 70%); pointer-events: none;
}
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h3 { color: #fff; font-size: clamp(22px, 1.8vw, 28px); margin-bottom: 10px; }
.cp-text { color: rgba(255, 255, 255, .85); margin-bottom: 28px; font-size: clamp(14.5px, 0.98vw, 16.5px); }
.cp-list { list-style: none; display: grid; gap: 20px; margin-bottom: 30px; }
.cp-list li { display: flex; align-items: center; gap: 16px; }
.cp-ico { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); display: grid; place-items: center; flex-shrink: 0; }
.cp-ico svg { width: 22px; height: 22px; }
.cp-list small, .cp-social small { display: block; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 2px; }
.cp-list a { color: #fff; font-family: var(--font-head); font-weight: 500; font-size: clamp(16px, 1.15vw, 19px); word-break: break-word; }
.cp-list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.cp-social { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.cp-social small { margin-bottom: 14px; }
.cp-icons { display: flex; flex-wrap: wrap; gap: 12px; }
.cp-icons a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.cp-icons a svg { width: 20px; height: 20px; }
.cp-icons a:hover { background: #fff; color: var(--blue); border-color: #fff; transform: translateY(-4px); }
.cp-icons a[aria-label="YouTube"]:hover { color: #ff0000; }
.cp-icons a[aria-label="Facebook"]:hover { color: #1877f2; }
.cp-icons a[aria-label="LinkedIn"]:hover { color: #0a66c2; }
.cp-icons a[aria-label="Instagram"]:hover { color: #e1306c; }
.cp-icons a[aria-label="Twitter"]:hover { color: #111; }

/* ---- offices ---- */
.offices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(22px, 2.4vw, 36px); }
.office-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(10, 31, 68, .07); transition: transform .35s ease, box-shadow .35s ease;
}
.office-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(10, 31, 68, .13); }
.office-map { line-height: 0; background: var(--bg-soft); }
.office-map iframe { width: 100%; height: clamp(220px, 20vw, 300px); border: 0; display: block; }
.office-body { padding: clamp(22px, 2.2vw, 34px); border-top: 4px solid var(--green); }
.office-card:nth-child(even) .office-body { border-top-color: var(--blue); }
.office-body h3 { font-size: clamp(18px, 1.4vw, 22px); margin-bottom: 6px; }
.office-body .c-row:first-of-type { margin-top: 16px; }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-form-card, .contact-panel { padding: 24px 20px; }
  .cp-list a { font-size: 16px; }
}


/* ---- contact v3: offices inside the blue panel, maps only at the bottom ---- */
.cp-office { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .2); } /* the line that separates the offices */
.cp-office:first-of-type { padding-top: 0; border-top: 0; }
.cp-office h4 { color: #fff; font-size: clamp(17px, 1.3vw, 20px); margin-bottom: 16px; }
.cp-office .cp-list { gap: 14px; margin-bottom: 0; }
.cp-office .cp-ico { width: 42px; height: 42px; }
.cp-office .cp-ico svg { width: 19px; height: 19px; }
.cp-office .cp-list li { align-items: flex-start; }
.cp-val { color: #fff; font-family: var(--font-head); font-weight: 500; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; word-break: break-word; }
.cp-office .cp-list a { font-size: clamp(15px, 1.05vw, 17px); }
.cp-social { margin-top: 6px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }

.office-cap { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-top: 4px solid var(--green); }
.office-card:nth-child(even) .office-cap { border-top-color: var(--blue); }
.office-cap h3 { font-size: clamp(16px, 1.2vw, 19px); margin: 0; }

.office-cap h3 { flex: 1; min-width: 0; }
.office-view { margin-left: auto; flex-shrink: 0; font-size: 14px; font-weight: 600; }
@media (max-width: 480px) {
  .office-cap { flex-wrap: wrap; }
  .office-view { margin-left: 52px; }
}

/* shared block: email + website once, then the social icons, under one line */
.cp-social .cp-list.cp-general { gap: 14px; margin-bottom: 22px; }
.cp-social .cp-general .cp-ico { width: 42px; height: 42px; }
.cp-social .cp-general .cp-ico svg { width: 19px; height: 19px; }
.cp-social .cp-general a { font-size: clamp(15px, 1.05vw, 17px); }
.cp-social-title { display: block; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }

/* ---- panel rows: consistent label/value spacing, email + website side by side ---- */
.cp-list small { line-height: 1.2; margin-bottom: 4px; }
.cp-list a, .cp-val { display: block; line-height: 1.4; }
.contact-grid { grid-template-columns: 1.3fr 1fr; }
.cp-social .cp-list.cp-general { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.cp-social .cp-general li { gap: 12px; align-items: flex-start; min-width: 0; }
.cp-social .cp-general .cp-ico { width: 38px; height: 38px; }
.cp-social .cp-general .cp-ico svg { width: 17px; height: 17px; }
.cp-social .cp-general a { font-size: clamp(14px, 1vw, 16px); overflow-wrap: anywhere; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cp-social .cp-list.cp-general { grid-template-columns: 1fr; } }

/* email | website | social in one row (3 columns), same label-over-value look */
.cp-social .cp-cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 22px 28px; }
.cp-social .cp-col { min-width: 0; }
.cp-social .cp-col small { display: block; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255, 255, 255, .7); line-height: 1.2; margin-bottom: 10px; }
.cp-social .cp-col > a { display: block; color: #fff; font-family: var(--font-head); font-weight: 500; font-size: clamp(14.5px, 1vw, 16.5px); line-height: 1.4; }
.cp-social .cp-col > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cp-social .cp-icons { gap: 10px; flex-wrap: nowrap; }
.cp-social .cp-icons a { width: 40px; height: 40px; }
.cp-social .cp-icons a svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .cp-social .cp-cols { flex-direction: column; } }

/* email | website | social stay on ONE line on desktop (wraps only on narrow screens) */
.contact-grid { grid-template-columns: 1.2fr 1fr; }
@media (min-width: 1200px) {
  .cp-social .cp-cols { flex-wrap: nowrap; gap: 14px; }
  .cp-social .cp-col > a { font-size: clamp(13px, .95vw, 15px); white-space: nowrap; }
  .cp-social .cp-col small { letter-spacing: 1.1px; }
  .cp-social .cp-icons { gap: 8px; }
  .cp-social .cp-icons a { width: 36px; height: 36px; }
  .cp-social .cp-icons a svg { width: 16px; height: 16px; }
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* label -> value spacing identical to the address / phone / fax rows */
.cp-social .cp-col small { margin-bottom: 4px; }
.cp-social .cp-icons { margin-top: 8px; }


/* Quform wraps every input in .quform-input / .quform-field: those wrappers must be invisible,
   otherwise each field shows as a box inside a box with lots of empty space. */
.contact-form-slot .quform-input, .contact-form-slot .quform-input-inner, .contact-form-slot .quform-field-inner {
  padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important;
}
.contact-form-slot .quform-element { padding-top: 0 !important; padding-bottom: 0 !important; }
.contact-form-slot .quform-element-submit, .contact-form-slot .quform-submit-outer { margin-top: 6px; margin-bottom: 0; }
.contact-form-slot textarea { min-height: 120px; }
.contact-form-slot .quform-label { margin-bottom: 6px; }
/* the form card fills the same height as the blue box and the form uses the space evenly */
.contact-form-card { display: flex; flex-direction: column; }
.contact-form-slot { flex: 1; display: flex; flex-direction: column; }
.contact-form-slot .quform, .contact-form-slot .quform-form, .contact-form-slot form { flex: 1; display: flex; flex-direction: column; }
.contact-form-slot .quform-elements { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }


/* the real input / textarea / select in Quform carries .quform-field: that one gets the visible box */
.contact-form-slot .quform-field, .contact-form-slot input.quform-field, .contact-form-slot textarea.quform-field, .contact-form-slot select.quform-field {
  width: 100% !important; box-sizing: border-box !important; padding: 14px 16px !important;
  background: #f8fafc !important; border: 1.5px solid #d9e1ea !important; border-radius: 8px !important;
  font: 400 15px var(--font-body) !important; color: var(--navy) !important; box-shadow: none !important; outline: 0;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form-slot .quform-field:focus, .contact-form-slot textarea.quform-field:focus, .contact-form-slot select.quform-field:focus {
  background: #fff !important; border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgba(1, 104, 172, .10) !important;
}
.contact-form-slot textarea.quform-field { min-height: 120px; resize: vertical; }

/* partners: bigger logos so the gaps between them look smaller */
.p-logo { height: clamp(70px, 5vw, 96px); }
.p-logo img { height: auto; max-height: clamp(40px, 3.4vw, 64px); width: auto; max-width: 92%; object-fit: contain; }
.p-logo a { padding: 0 4px; }











/* =========================================
   QUFORM SPACING (single definitive block)
   every field row gets the same 22px under it; the two fields inside a
   two-column row carry no gap of their own (the row does)
   ========================================= */
.contact-form-slot .quform-elements { display: block !important; }
.contact-form-slot .quform-element { margin: 0 0 22px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.contact-form-slot .quform-group-elements .quform-element,
.contact-form-slot .quform-element-group .quform-element { margin-bottom: 0 !important; }
.contact-form-slot .quform-spacer { margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.contact-form-slot .quform-label { margin: 0 0 8px !important; }
.contact-form-slot .quform-element-submit, .contact-form-slot .quform-submit-outer { margin-top: 4px !important; margin-bottom: 0 !important; }
@media (max-width: 640px) {
  .contact-form-slot .quform-group-elements .quform-element,
  .contact-form-slot .quform-element-group .quform-element { margin-bottom: 22px !important; }
}


/* ---- blue box: address / phone / fax in regular weight, same size as the email ---- */
.contact-panel { --cp-fs: clamp(14.5px, 1vw, 16.5px); }
@media (min-width: 1200px) { .contact-panel { --cp-fs: clamp(13px, .95vw, 15px); } }
.contact-panel .cp-office .cp-val,
.contact-panel .cp-office .cp-list a,
.contact-panel .cp-social .cp-col > a { font-size: var(--cp-fs); }
.contact-panel .cp-office .cp-val,
.contact-panel .cp-office .cp-list a { font-weight: 400; }

/* "View Location" at the right of the address */
.cp-addr { align-items: center !important; }
.cp-addr-text { flex: 1; min-width: 0; }
.cp-view {
  flex-shrink: 0; margin-left: auto; display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  color: #fff !important; font-family: var(--font-head); font-weight: 500 !important; font-size: 12.5px !important; line-height: 1;
  transition: background .25s, color .25s, border-color .25s;
}
.cp-view .arrow { width: 14px; height: 14px; }
.cp-view:hover { background: #fff; color: var(--blue) !important; border-color: #fff; text-decoration: none !important; }
@media (max-width: 480px) { .cp-addr { flex-wrap: wrap; } .cp-view { margin-left: 54px; } }

/* "View Location" button: bottom right of each office block (under the fax row) */
.cp-view-wrap { display: flex; justify-content: flex-end; margin-top: 12px; }
.cp-addr { align-items: flex-start !important; }
.cp-view { margin-left: 0; }
@media (max-width: 480px) { .cp-view { margin-left: 0; } }

/* "View Location": sits on the last row (fax) of each office, at the right end */
.cp-office { position: relative; }
@media (min-width: 481px) {
  .cp-view-wrap { position: absolute; right: 0; bottom: 17px; margin: 0; }
}

/* inner page title bar: heading, eyebrow and text centered */
.page-banner .inner { margin: 0 auto; text-align: center; }
.page-banner .eyebrow::after { margin-left: auto; margin-right: auto; }
.page-banner .banner-sub { margin-left: auto; margin-right: auto; }

/* =========================================
   CUSTOMERS (info on the left, logo grid on the right)
   ========================================= */
.customers { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 4vw, 90px); align-items: center; } /* same columns and gap as the About section */
.cust-info { max-width: 84%; } /* same text width as the About section */
.cust-info h2 { font-size: clamp(26px, 2.7vw, 54px); max-width: 15em; }
.cust-info p:not(.eyebrow) { margin-bottom: 18px; font-size: clamp(14.5px, 0.98vw, 18px); }
.cust-info .btn { margin-top: 8px; }
.cust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.2vw, 20px); }
.cust-logo {
  display: grid; place-items: center; aspect-ratio: 2 / 1; padding: 10px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.cust-logo img { max-width: 80%; max-height: 46px; width: auto; height: auto; object-fit: contain; }
.cust-logo:hover { transform: translateY(-5px); border-color: rgba(1, 104, 172, .3); box-shadow: 0 14px 30px rgba(10, 31, 68, .10); }
@media (max-width: 1100px) { .customers { grid-template-columns: 1fr; } .cust-info { max-width: 100%; } .cust-info h2 { max-width: none; } }
@media (max-width: 960px) { .cust-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cust-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .cust-logo { aspect-ratio: 3 / 2; padding: 8px; } .cust-logo img { max-height: 34px; max-width: 86%; } }

/* customers: full-width soft band behind the section (same look as the partners band) */
.customers-band { background: var(--bg-soft); padding: var(--section-y) 0; }

.cust-logo a { display: grid; place-items: center; width: 100%; height: 100%; }

/* =========================================
   SOLUTION PAGES (Verifone, Digital Pass, Satellite Broadband, InfoSec)
   ========================================= */
.inner-intro.no-media { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.sec-intro { max-width: 820px; margin: 14px auto 0; color: var(--muted); font-size: clamp(15px, 1.05vw, 18px); }
.sec-intro p + p { margin-top: 12px; }

/* picture frame for product shots */
.intro-img.fit-contain { background: #f4f7fc; }
.intro-img.fit-contain img { aspect-ratio: 1 / 1.02; object-fit: contain; }

/* group headings inside the list */
.sol-group {
  font-size: clamp(20px, 1.7vw, 28px); margin: clamp(36px, 4vw, 60px) 0 22px; padding-left: 16px; border-left: 4px solid var(--green);
}
.sol-group:first-child { margin-top: 0; }

/* ---- rows: picture / icon next to the text ---- */
.sol-rows { display: grid; gap: clamp(40px, 4.5vw, 80px); }
.sol-row { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(28px, 3.6vw, 70px); align-items: center; scroll-margin-top: 110px; }
.sol-row.is-rev .sol-row-media { order: 2; }
.sol-row-media img { width: 100%; display: block; border-radius: 14px; box-shadow: 0 18px 44px rgba(10, 31, 68, .10); }
.sol-row-media img.fit-cover { aspect-ratio: 4 / 3; object-fit: cover; }
.sol-row-media img.fit-contain { object-fit: contain; background: #f4f7fc; }
.sol-row-icon {
  position: relative; overflow: hidden; display: grid; place-items: center; min-height: clamp(220px, 20vw, 320px); border-radius: 14px;
  background: linear-gradient(135deg, #e6f1f8, #f1f8e0); color: var(--blue); border: 1px solid var(--border);
}
.sol-row.is-rev .sol-row-icon { background: linear-gradient(135deg, #f1f8e0, #e6f1f8); }
.sol-row-icon svg { width: clamp(72px, 6vw, 104px); height: clamp(72px, 6vw, 104px); stroke-width: 1.3; }
.sol-row-icon .num {
  position: absolute; right: 22px; bottom: 6px; font-family: var(--font-head); font-weight: 700; font-size: clamp(64px, 6vw, 110px); line-height: 1;
  color: rgba(1, 104, 172, .12);
}
.sr-num { display: inline-block; font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: 15px; letter-spacing: 1.5px; margin-bottom: 6px; }
.sol-row-body h3 { font-size: clamp(22px, 1.9vw, 32px); margin-bottom: 8px; }
.sr-tag { font-family: var(--font-head); font-weight: 500; color: var(--blue); font-size: clamp(15px, 1.1vw, 18px); margin-bottom: 14px; }
.sol-row-body p, .item-card p { color: var(--text); font-size: clamp(14.5px, 0.98vw, 17px); }
.sol-row-body p + p { margin-top: 12px; }
.sol-row-body h4 { font-size: 16px; margin: 20px 0 10px; color: var(--navy); }
.sr-list { list-style: none; padding: 0; margin: 14px 0 0; columns: 2; column-gap: 30px; }
.sol-row-body h4 + .sr-list { margin-top: 0; }
.sr-list li { position: relative; padding-left: 26px; margin-bottom: 9px; break-inside: avoid; font-size: clamp(14px, .95vw, 16px); color: var(--text); }
.sr-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.sr-value { margin-top: 20px; background: var(--bg-soft); border-left: 4px solid var(--green); border-radius: 8px; padding: 16px 20px; }
.sr-value b { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.sr-value p { margin: 0; }

/* ---- cards: a grid of boxes ---- */
.item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.item-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; scroll-margin-top: 110px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.item-card .f-icon { width: 58px; height: 58px; margin-bottom: 16px; }
.item-card .f-icon svg { width: 28px; height: 28px; }
.item-card h3 { font-size: var(--card-title); margin-bottom: 8px; }
.item-card .sr-tag { font-size: 14px; margin-bottom: 8px; }
.item-card .sr-list { columns: 1; }
.item-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(1, 104, 172, .25); }
.item-card:hover .f-icon { background: var(--green); color: #fff; }
.item-card.reveal.visible { transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.item-card.reveal.visible:hover { transform: translateY(-6px); }

/* numbered steps with 3 or 5 columns */
.steps.n3 { grid-template-columns: repeat(3, 1fr); }
.steps.n5 { grid-template-columns: repeat(5, 1fr); }

/* two buttons in the bottom band */
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: #fff; color: var(--blue); border-color: #fff; }

@media (max-width: 1100px) {
  .steps.n5 { grid-template-columns: repeat(3, 1fr); }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .sol-row { grid-template-columns: 1fr; }
  .sol-row.is-rev .sol-row-media { order: 0; }
  .steps.n3, .steps.n5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .item-grid { grid-template-columns: 1fr; }
  .sr-list { columns: 1; }
  .steps.n3, .steps.n5 { grid-template-columns: 1fr; }
  .cta-btns .btn { width: 100%; justify-content: center; }
}
.step.reveal.visible { transition: opacity .7s ease, transform .35s ease, border-color .35s ease; }
.step.reveal.visible:hover { transform: translateY(-6px); }


/* =========================================
   SOLUTION PAGES v2: tinted alternate sections, smaller pictures, no zoom on the overview picture
   ========================================= */
.sp-section { padding: var(--section-y) 0; }
.sp-section.is-alt { background: var(--bg-soft); }
.sp-section:not(.is-alt) + .section { padding-top: 0; } /* white section followed by the white bottom band: one gap */
.partners.is-white { background: transparent; }
.sp-section.is-alt .item-card, .sp-section.is-alt .feature-card, .sp-section.is-alt .step { background: #fff; }

/* overview: badge at the top, picture smaller, shadow instead of zoom */
.sol-intro .intro-badge { bottom: auto; top: 28px; }
.sol-intro .intro-img { transition: box-shadow .45s ease; }
.sol-intro .intro-img:hover { box-shadow: 0 26px 60px rgba(10, 31, 68, .22); }
.sol-intro .intro-img:hover img { transform: none; filter: none; }
.sol-intro .intro-media .intro-img img { aspect-ratio: auto; width: 100%; height: clamp(280px, 26vw, 400px); object-fit: cover; }
.sol-intro .intro-img.fit-contain img { object-fit: contain; }

/* the list intro runs the full width */
.sec-intro { max-width: none; }

/* row pictures smaller */
.sol-row { grid-template-columns: .7fr 1.3fr; }
.sol-row-media img { max-height: clamp(260px, 24vw, 360px); }
.sol-row-media img.fit-cover { aspect-ratio: 16 / 11; }
.sol-row-media img.fit-contain { width: 100%; height: clamp(260px, 24vw, 360px); object-fit: contain; max-height: none; }
.sol-row-icon { min-height: clamp(180px, 16vw, 250px); }

@media (max-width: 960px) {
  .sol-row { grid-template-columns: 1fr; }
  .sol-row-media img.fit-contain { height: 300px; }
  .sol-intro .intro-badge { top: 18px; }
}


/* =========================================
   SOLUTION PAGES v3: the rows of the main list are the tinted bands; pictures without shadow, a bit larger
   ========================================= */
.sol-items.rows-mode { padding-bottom: 0; }
.sol-band { padding: clamp(36px, 4vw, 66px) 0; }
.sol-band.is-alt { background: var(--bg-soft); }
.sol-items .sec-center { margin-bottom: 0; }
.sol-items.rows-mode .sec-center { margin-bottom: clamp(10px, 1.5vw, 24px); }
.sol-group { margin-top: clamp(30px, 3.4vw, 54px); margin-bottom: 0; }
.sp-section.rows-mode + .section { padding-top: var(--section-y); }

/* row pictures: no frame, no shadow */
.sol-row { grid-template-columns: .8fr 1.2fr; }
.sol-row-media img, .sol-row-media img.fit-contain, .sol-row-media img.fit-cover { box-shadow: none; background: none; border-radius: 12px; }
.sol-row-media img.fit-contain { width: 100%; height: clamp(320px, 30vw, 470px); object-fit: contain; max-height: none; }
.sol-row-media img.fit-cover { aspect-ratio: 4 / 3; max-height: clamp(320px, 30vw, 440px); object-fit: cover; }
.sol-row-icon { min-height: clamp(220px, 20vw, 300px); }

/* overview picture a little taller again */
.sol-intro .intro-media .intro-img img { height: clamp(320px, 31vw, 460px); }

@media (max-width: 960px) {
  .sol-row-media img.fit-contain { height: 340px; }
}

/* =========================================
   SOLUTION PAGES v4: product pictures fill their space (no letterbox gaps), no frame / background / shadow
   ========================================= */
/* rows: the picture takes its natural proportions and the column width, no fixed-height box around it */
.sol-row { grid-template-columns: .85fr 1.15fr; }
.sol-row-media { display: flex; justify-content: center; align-items: center; }
.sol-row-media img.fit-contain {
  width: auto; max-width: 100%; height: auto; max-height: clamp(360px, 36vw, 520px); margin: 0 auto; object-fit: contain; background: none; box-shadow: none; border-radius: 12px;
}

/* overview: no background panel and no shadow behind the picture, a little larger */
.sol-intro .intro-img, .sol-intro .intro-img.fit-contain { background: none; box-shadow: none; }
.sol-intro .intro-img:hover { box-shadow: none; }
.sol-intro .intro-img.fit-contain { text-align: center; overflow: visible; }
.sol-intro .intro-media .intro-img.fit-contain img {
  width: auto; max-width: 100%; height: auto; max-height: clamp(360px, 38vw, 560px); margin: 0 auto; display: block; object-fit: contain; border-radius: 12px;
}
.sol-intro .intro-media .intro-img.fit-cover img { height: clamp(340px, 33vw, 480px); }

@media (max-width: 960px) {
  .sol-row-media img.fit-contain { max-height: 420px; }
}

/* =========================================
   SOLUTION PAGES v5: bigger product pictures that fill their column; the badge stays on the picture
   ========================================= */
/* rows */
.sol-row { grid-template-columns: .95fr 1.05fr; }
.sol-row-media img.fit-contain { width: 100%; max-width: 640px; height: auto; max-height: none; }

/* overview: the picture fills its column (up to 680px), so the "20+" badge sits on the picture's corner */
.sol-intro .intro-media.fit-contain { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
.sol-intro .intro-media .intro-img.fit-contain img { width: 100%; max-width: none; height: auto; max-height: none; }
.sol-intro .intro-media .intro-img.fit-cover img { height: clamp(380px, 38vw, 560px); }

@media (max-width: 960px) {
  .sol-row-media img.fit-contain { max-width: 520px; }
  .sol-intro .intro-media.fit-contain { max-width: 560px; }
}

/* =========================================
   SOLUTION PAGES v6: homepage spacing (one gap between sections), badge lower, tint starts with the first row
   ========================================= */
.sol-intro .intro-badge { top: 104px; }
@media (max-width: 960px) { .sol-intro .intro-badge { top: 70px; } }

/* two white sections in a row: one standard gap, not two (the same rule the homepage uses for .section + .section) */
.sp-section + .sp-section { padding-top: 0; }
.sp-section.rows-mode + .sp-section { padding-top: var(--section-y); }

/* the heading of the main list sits on white, with the standard gap above the first (tinted) band */
.sol-items.rows-mode > .container:first-child { padding-bottom: var(--head-gap); }
.sol-items.rows-mode .sec-center { margin-bottom: 0; }

/* solution rows: pictures start at the top of the row; "Ideal For" / note box is white on the tinted bands */
.sol-row { align-items: start; }
.sol-row-media { align-items: flex-start; align-self: start; }
.sol-band.is-alt .sr-value { background: #fff; }

/* the highlight number (e.g. "20+ Years of partnership") now sits inside the text, not on the picture */
.intro-stat { display: flex; align-items: baseline; gap: 14px; margin: 4px 0 24px; padding-left: 16px; border-left: 4px solid var(--green); }
.intro-stat strong { font-family: var(--font-head); font-size: clamp(30px, 2.6vw, 44px); font-weight: 600; color: var(--blue); line-height: 1.1; }
.intro-stat span { color: var(--muted); font-size: clamp(14px, .98vw, 17px); }

/* bottom band: the text takes the free width, the button(s) only as wide as they need */
.cta-band > div:first-child { flex: 1 1 0; min-width: 0; }
.cta-band .cta-btns, .cta-band > .btn { flex: 0 0 auto; }
.cta-band p { max-width: none; }
@media (max-width: 960px) { .cta-band > div:first-child { flex: 0 0 auto; width: 100%; } }


/* =========================================
   SOLUTION PAGES v7
   ========================================= */
/* highlight number inside the text: soft background */
.intro-stat { display: inline-flex; align-items: baseline; gap: 14px; padding: 12px 22px 12px 18px; background: #e6f1f8; border-radius: 10px; border-left: 4px solid var(--green); }

/* cards 2 per row (Digital Pass solutions): bigger cards, icon above the heading */
.item-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2vw, 32px); }
.item-grid.cols-2 .item-card { padding: clamp(26px, 2.6vw, 40px); }
.item-grid.cols-2 .item-card .f-icon { width: 68px; height: 68px; margin-bottom: 18px; }
.item-grid.cols-2 .item-card .f-icon svg { width: 32px; height: 32px; }
.item-grid.cols-2 .item-card h3 { font-size: clamp(20px, 1.6vw, 26px); }
.item-card { position: relative; }
.card-num { position: absolute; right: 24px; top: 18px; font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 3vw, 52px); line-height: 1; color: rgba(1, 104, 172, .10); }
.item-card h4 { font-size: 15px; margin: 18px 0 10px; color: var(--navy); }
.item-card .sr-value { margin-top: 18px; }
@media (max-width: 800px) { .item-grid.cols-2 { grid-template-columns: 1fr; } }

/* card sections: the last row is centred (e.g. "Who We Serve": 3 + 2) */
.inner-cards.center-rows { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.inner-cards.center-rows.cols-2 > .feature-card { flex: 0 0 calc((100% - 24px) / 2); }
.inner-cards.center-rows.cols-3 > .feature-card { flex: 0 0 calc((100% - 48px) / 3); }
.inner-cards.center-rows.cols-4 > .feature-card { flex: 0 0 calc((100% - 72px) / 4); }
@media (max-width: 1100px) { .inner-cards.center-rows.cols-4 > .feature-card { flex: 0 0 calc((100% - 24px) / 2); } }
@media (max-width: 960px) {
  .inner-cards.center-rows { max-width: none; }
  .inner-cards.center-rows.cols-3 > .feature-card, .inner-cards.center-rows.cols-4 > .feature-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 640px) { .inner-cards.center-rows > .feature-card { flex: 0 0 100% !important; } }

/* steps: a big, faint icon in the bottom right corner */
.step { position: relative; overflow: hidden; }
.step-icon { position: absolute; right: 12px; bottom: 8px; width: 96px; height: 96px; color: var(--blue); opacity: .11; pointer-events: none; transition: opacity .35s, transform .35s; }
.step-icon svg { width: 100%; height: 100%; stroke-width: 1.2; }
.step:hover .step-icon { opacity: .2; transform: scale(1.06) rotate(-4deg); }
.step > *:not(.step-icon) { position: relative; z-index: 1; }


/* =========================================
   SOLUTION PAGES v8: Digital Pass cards (aligned blocks, 2-column list, alternate hover) + approach steps
   ========================================= */
/* the gap under the list heading / intro text stays the standard one on card layouts */
.sol-items:not(.rows-mode) .sec-center { margin-bottom: var(--head-gap); }

/* bigger number in the corner */
.card-num { right: 28px; top: 20px; font-size: clamp(52px, 4.8vw, 84px); color: rgba(1, 104, 172, .13); transition: color .35s; }
.item-card:hover .card-num { color: rgba(1, 104, 172, .22); }

.item-card, .item-card .f-icon { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease, color .35s ease; }

/* key capabilities in two columns (cards, 2 per row) */
.item-grid.cols-2 .sr-list { columns: 2; column-gap: 26px; }
@media (max-width: 640px) { .item-grid.cols-2 .sr-list { columns: 1; } }

/* every block of a card lines up with the same block of the neighbouring card; the note box sits at the bottom */
.item-grid.cols-2 .item-card { display: flex; flex-direction: column; }
.item-grid.cols-2 .card-text { flex: 0 0 auto; }
.item-grid.cols-2 .card-value { margin-top: auto; }
.card-list:empty, .card-value:empty { display: none; }
@supports (grid-template-rows: subgrid) {
  .item-grid.cols-2 { row-gap: 0; }
  .item-grid.cols-2 .item-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: clamp(20px, 2vw, 32px); }
  .item-grid.cols-2 .card-list:empty, .item-grid.cols-2 .card-value:empty { display: block; } /* keep the row so both cards stay aligned */
  .item-grid.cols-2 .card-value { align-self: end; margin-top: 0; }
  .item-grid.cols-2 .card-text { padding-bottom: 6px; }
}
@media (max-width: 800px) {
  /* one card per row: no need to line up with a neighbour */
  .item-grid.cols-2 .item-card { display: flex; flex-direction: column; grid-row: auto; margin-bottom: 0; }
  .item-grid.cols-2 { row-gap: 20px; }
  .item-grid.cols-2 .card-list:empty, .item-grid.cols-2 .card-value:empty { display: none; }
  .item-grid.cols-2 .card-value { margin-top: 18px; }
}

.step { transition: transform .35s ease, border-color .35s ease, background .35s ease; }
.step:nth-child(even) .step-icon { color: var(--green); opacity: .16; }
.step:nth-child(even):hover .step-icon { opacity: .26; }
.item-card.reveal.visible { transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease; }
.step.reveal.visible { transition: opacity .7s ease, transform .35s ease, border-color .35s ease, background .35s ease; }


/* =========================================
   SOLUTION PAGES v9: alternate blue / green borders (always visible, no hover fill), capabilities in a bordered block
   ========================================= */
/* cards and steps: a permanent border that alternates blue, green, blue ... */
.item-card:nth-child(odd), .step:nth-child(odd) { --alt: var(--blue); --alt-soft: rgba(1, 104, 172, .30); }
.item-card:nth-child(even), .step:nth-child(even) { --alt: var(--green); --alt-soft: rgba(153, 195, 60, .55); }
.item-card, .step { border: 1.5px solid var(--alt); }
.item-card:hover, .step:hover { border-color: var(--alt); }   /* the hover only lifts the card, nothing is filled */
.item-card:hover .f-icon { background: var(--alt); }
.step .step-icon { color: var(--alt); }

/* Key Capabilities (and any bullet list inside a card) in a bordered block */
.item-card .card-list:not(:empty) { border: 1.5px solid var(--alt-soft); border-radius: 12px; padding: 18px 22px 8px; margin-top: 4px; }
.item-card .card-list h4 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--alt-soft); font-size: 15px; color: var(--navy); letter-spacing: .3px; }
.item-card .card-list .sr-list { margin-top: 0; }
.item-card .card-list .sr-list li { margin-bottom: 12px; }
.item-card:nth-child(even) .sr-list li::before { background: var(--green); }
.item-card:nth-child(odd) .sr-list li::before { background: var(--blue); }
/* the note box keeps the alternate colour too */
.item-card .sr-value { border-left-color: var(--alt); }

/* Key Capabilities block: light blue background */
.item-card .card-list:not(:empty) { background: #e6f1f8; }

/* Key Capabilities block follows its card: light blue in the blue cards, light green in the green cards */
.item-card:nth-child(odd) .card-list:not(:empty) { background: #e6f1f8; }
.item-card:nth-child(even) .card-list:not(:empty) { background: #f1f8e0; }


/* lead line under the overview heading */
.intro-lead { font-family: var(--font-head); font-weight: 500; color: var(--blue); font-size: clamp(16px, 1.2vw, 20px); line-height: 1.5; margin-bottom: 16px; }


/* highlight cards shown as part of the overview section */
.intro-cards { margin-top: clamp(40px, 4.4vw, 70px); }

/* when the list has no heading of its own the first row starts right under the small heading */
.sol-items.rows-mode > .container:first-child:has(.sec-center:not(:has(h2)):not(:has(.sec-intro))) { padding-bottom: clamp(10px, 1.5vw, 24px); }

/* tall product shots (e.g. the X990 front view): sized by height so they are neither stretched nor tiny */
.sol-row-media img.fit-contain.is-portrait { width: auto; max-width: 100%; height: clamp(440px, 42vw, 600px); }
@media (max-width: 960px) { .sol-row-media img.fit-contain.is-portrait { height: 440px; } }

/* a row with a tall, narrow picture: slim picture column, wide text column (less empty white space) */
.sol-row.has-portrait:not(.is-rev) { grid-template-columns: .42fr 1.58fr; }
.sol-row.has-portrait.is-rev { grid-template-columns: 1.58fr .42fr; }
@media (max-width: 960px) {
  .sol-row.has-portrait, .sol-row.has-portrait.is-rev { grid-template-columns: 1fr; }
}

/* =========================================
   SOLUTION PAGES: featured product row (tall picture): a soft card, the device on a glowing disc, feature pills
   ========================================= */
.sol-row.has-portrait {
  background: linear-gradient(135deg, #eef5fb 0%, #ffffff 62%); border: 1px solid var(--border); border-radius: 22px;
  padding: clamp(26px, 3.4vw, 56px) clamp(24px, 3.6vw, 64px); box-shadow: 0 22px 50px rgba(10, 31, 68, .08);
  grid-template-columns: .55fr 1.45fr; align-items: center; gap: clamp(26px, 4vw, 70px);
}
.sol-row.has-portrait.is-rev { grid-template-columns: 1.45fr .55fr; }
.sol-row.has-portrait .sol-row-media { position: relative; align-self: center; }
.sol-row.has-portrait .sol-row-media::before { /* glowing disc behind the device */
  content: ""; position: absolute; left: 50%; top: 50%; width: 112%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #dcebf6 55%, rgba(220, 235, 246, 0) 72%);
}
.sol-row.has-portrait .sol-row-media img { position: relative; filter: drop-shadow(0 22px 28px rgba(10, 31, 68, .22)); border-radius: 0; }
.sol-row.has-portrait .sol-row-body h3 { font-size: clamp(26px, 2.5vw, 40px); margin-bottom: 14px; }
.sol-row.has-portrait .sr-tag {
  display: inline-block; font-size: clamp(15px, 1.15vw, 19px); padding: 8px 16px; margin-bottom: 18px;
  background: #e6f1f8; border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; color: var(--navy);
}
.sol-row.has-portrait .sol-row-body p:not(.sr-tag) { max-width: 66ch; font-size: clamp(15px, 1.02vw, 17.5px); }

/* bullet list shown as pills in the featured row */
.sr-list.sr-pills { columns: auto; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sr-list.sr-pills li { margin: 0; padding: 8px 16px 8px 36px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--navy); }
.sr-list.sr-pills li::before { left: 10px; top: 50%; transform: translateY(-50%); }

@media (max-width: 960px) {
  .sol-row.has-portrait, .sol-row.has-portrait.is-rev { grid-template-columns: 1fr; }
  .sol-row.has-portrait .sol-row-media::before { width: 70%; }
}

/* small heading inside a product row: left aligned, the green line under it */
.sr-kicker { margin-bottom: 10px; }
.sol-row.has-portrait .sr-kicker { margin-bottom: 8px; }

/* =========================================
   Key Highlights (product rows) = the same bordered block as Key Capabilities
   blue on the tinted rows, green on the white rows
   ========================================= */
.sol-row.tone-blue { --alt: var(--blue); --alt-soft: rgba(1, 104, 172, .30); }
.sol-row.tone-green { --alt: var(--green); --alt-soft: rgba(153, 195, 60, .55); }
.sol-row .row-list { margin-top: 22px; border: 1.5px solid var(--alt-soft); border-radius: 12px; padding: 18px 22px 8px; }
.sol-row.tone-blue .row-list { background: #e6f1f8; }
.sol-row.tone-green .row-list { background: #f1f8e0; }
.sol-row .row-list h4 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--alt-soft); font-size: 15px; color: var(--navy); letter-spacing: .3px; }
.sol-row .row-list .sr-list { margin-top: 0; }
.sol-row .row-list .sr-list li { margin-bottom: 12px; }
.sol-row.tone-blue .row-list .sr-list li::before { background: var(--blue); }
.sol-row.tone-green .row-list .sr-list li::before { background: var(--green); }
/* the note box ("Ideal For") keeps the row colour on its left edge */
.sol-row .sr-value { border-left-color: var(--alt); }

/* featured product row: no shadow and no white box behind the device, the text runs the full width */
.sol-row.has-portrait .sol-row-media img { filter: none; box-shadow: none; mix-blend-mode: multiply; background: transparent; }
.sol-row.has-portrait .sol-row-body p:not(.sr-tag) { max-width: none; }

/* taglines of the product rows: one style (the highlighted strip), a little smaller */
.sol-row .sr-tag, .sol-row.has-portrait .sr-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: clamp(13.5px, 1vw, 16px); line-height: 1.5;
  padding: 7px 14px; margin-bottom: 16px; background: #e6f1f8; border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; color: var(--navy);
}

/* the featured product row sits on the tinted band as a white card */
.sol-band.is-alt .sol-row.has-portrait { background: #fff; }

/* =========================================
   SOLUTION PAGES: standard spacing (the same section padding as the homepage)
   ========================================= */
.sol-band { padding: var(--section-y) 0; }
.sol-items.rows-mode > .container:first-child:empty { padding: 0; }          /* no list heading: the first band starts straight away */
.sol-items.rows-mode .sol-group { margin-top: 0; }
.sol-items.rows-mode > .container + .container .sol-group { margin-top: 0; }
/* last band white: its own bottom padding is the gap, the next section adds none */
.sol-items.ends-white + .sp-section, .sol-items.ends-white + .section { padding-top: 0; }

/* featured product row: white band behind, the CARD itself is light blue */
.sol-row.has-portrait {
  background: linear-gradient(135deg, #dcebf6 0%, #e8f2f9 55%, #f1f7fc 100%); border-color: rgba(1, 104, 172, .18); box-shadow: none;
}
.sol-band.is-alt .sol-row.has-portrait { background: linear-gradient(135deg, #dcebf6 0%, #e8f2f9 55%, #f1f7fc 100%); }
.sol-row.has-portrait .sol-row-media::before { background: radial-gradient(circle, #ffffff 0%, #eef5fb 52%, rgba(238, 245, 251, 0) 72%); }

/* no doubled gaps around white bands: one standard gap between white sections / white bands */
.sol-items.rows-mode > .container:empty + .sol-band:not(.is-alt) { padding-top: 0; }   /* first band is white: the overview's bottom padding is already the gap */
.sol-band:not(.is-alt) + .sol-band:not(.is-alt) { padding-top: 0; }                   /* two white bands in a row */
