/* ==========================================================================
   Base
   ========================================================================== */

:root {
  --green: #0d4dad;
  --dark: #2e2e2e;
  --ink: #111827;
  --muted: #4b5563;
  --white: #ffffff;

  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'open sans';
  -webkit-font-smoothing: antialiased;
  font-size: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Utility bar
   ========================================================================== */

.utility-bar {
  background: var(--green);
  color: var(--white);
  /* min-height, not height: a fixed height clips the icons out of the blue band */
  min-height: 28px;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 28px;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.utility-nav a {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
  font-weight: 500;

  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.utility-nav a:hover,
.utility-nav a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--green);
}

/* Phone + directions ------------------------------------------------------ */

.utility-contact {
  display: flex;
  align-items: center;
  gap: 26px;
}

.utility-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #f3f4f6;
  transition: color 0.15s ease;
}

.utility-contact__item:hover,
.utility-contact__item:focus-visible {
  color: var(--white);
}

.utility-contact__item svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 30;
  background: var(--white);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 48px;
}

/* Logo -------------------------------------------------------------------- */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo__mark {
  display: block;
  width: 46px;
  height: 46px;
}

.logo__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo__name {
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.logo__sub {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.28em;
  color: var(--ink);
}

/* Primary nav ------------------------------------------------------------- */

.primary-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-family: "Montserrat", "Work Sans", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* Expertise dropdown ------------------------------------------------------ */

.has-submenu {
  position: relative;
}

/* .primary-nav ul sets a flex row, and outranks a bare .submenu - so scope it */
.primary-nav .submenu {
  display: block;
  gap: 0;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 260px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border-top: 3px solid var(--green);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  display: block;
}

.submenu a {
  display: block;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  border-bottom: 0;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--white);
  background: var(--green);
  border-bottom: 0;
}

/* Header search ----------------------------------------------------------- */

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 200px;
  margin-left: auto;
}

.header-search input {
  width: 100%;
  height: 34px;
  padding: 0 34px 0 13px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: #f3f5f7;
  border: 1px solid #e1e4e8;
  border-radius: 2px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.header-search input::placeholder {
  color: #8b9199;
}

.header-search input:focus {
  background: var(--white);
  border-color: var(--green);
  outline: 2px solid rgba(13, 77, 173, 0.15);
  outline-offset: 0;
}

.header-search button {
  position: absolute;
  right: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.header-search svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke 0.15s ease;
}

.header-search button:hover svg {
  stroke: var(--green);
}

/* Mobile toggle ----------------------------------------------------------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
}

/* ==========================================================================
   Page hero
   ========================================================================== */

.page-hero {
  padding: 31px 0 42px;
  background: #f7f8f8;
  background-image: url('img/slider2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 2000px rgba(2, 73, 165, 0.829);
}

.page-hero__rule {
  display: block;
  width: 250px;
  height: 4px;
  margin-bottom: 26px;
  background: var(--green);
}

.page-hero__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.page-hero__subtitle {
  margin: 8px 0 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}

/* ==========================================================================
   Contact section
   ========================================================================== */

.contact-section {
  padding: 72px 0 88px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.section-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--green);
}

/* Contact info ------------------------------------------------------------ */

.contact-info__title,
.contact-form__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-info__lead {
  max-width: 42ch;
  margin: 0 0 34px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #e3e5e6;
}

.info-item:last-child {
  border-bottom: 1px solid #e3e5e6;
}

.info-item__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 2px;
}

.info-item__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-item__body h3 {
  margin: 2px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.info-item__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.info-item__body a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.info-item__body a:hover,
.info-item__body a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Contact form ------------------------------------------------------------ */

.contact-form-wrap {
  padding: 32px 30px;
  background: var(--white);
  border-top: 2px solid var(--green);
  box-shadow: 0 2px 24px rgba(17, 24, 39, 0.07);
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.req {
  color: var(--green);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fbfbfb;
  border: 1px solid #d8dbdd;
  border-radius: 2px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa1a8;
}

.field input:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--green);
  outline: 2px solid rgba(0, 160, 62, 0.18);
  outline-offset: 0;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  border: 0;
  cursor: pointer;
  /* chamfered top-right corner */
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background 0.18s ease;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: #0a3d8a;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--green);
  color: #ffffff;
  border-top: 6px solid var(--green);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 48px;
}

/* Brand column ------------------------------------------------------------ */

.logo--light .logo__name,
.logo--light .logo__sub {
  color: var(--white);
}

.footer-brand__text {
  max-width: 30ch;
  margin: 22px 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
}

.social {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  transition: background 0.15s ease;
}

.social a:hover,
.social a:focus-visible {
  background: var(--green);
}

.social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Link columns ------------------------------------------------------------ */

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li+li {
  margin-top: 11px;
}

.footer-col a {
  font-size: 13px;
  color: #ffffff;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--green);
}

/* Bottom bar -------------------------------------------------------------- */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: #ffffff;
}

.footer-legal {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal a {
  font-size: 13px;
  color: #ffffff;
  transition: color 0.15s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--green);
}

/* ==========================================================================
   Split section (image + text)
   ========================================================================== */

.split-section {
  padding: 80px 0;
  background: var(--white);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* Narrower image column, text takes the rest */
.split-grid--small-media {
  grid-template-columns: 400px 1fr;
  gap: 48px;
}

.split-grid--small-media .split-media img {
  max-height: 360px;
}

.split-media {
  margin: 0;
}

.split-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  background: #eceff1;
  border-radius: 2px;
}

.split-title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.split-title__thin {
  font-weight: 400;
  color: var(--ink);
}

.split-title__bold {
  margin-left: 0.32em;
  font-weight: 800;
  color: var(--green);
}

.title-rule {
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 24px;
  background: var(--green);
}

.split-lead {
  margin: 0 0 18px;
  font-size: 1px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
}

.split-body p {
  margin: 0 0 1px;
  font-size: 13px;
  line-height: 1.75;
  color: #000;
}

.split-points {
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
}

.split-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 3px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}

.split-points li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--green);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  /* chamfered top-right corner */
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background 0.18s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #0a3d8a;
}

/* ==========================================================================
   Tabs (vision / mission)
   ========================================================================== */

.tabs-section {
  padding: 0 0 80px;
  background: var(--white);
}

.tabs-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.tabs__list {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #e3e5e6;
}

.tabs__btn {
  padding: 13px 26px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tabs__btn:hover {
  color: var(--ink);
}

.tabs__btn.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.tabs__panel {
  padding: 26px 2px 0;
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.tabs__panel p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Service cards
   ========================================================================== */

.services-section {
  padding: 64px 0 80px;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  background: #f7f8f8;
  border-top: 3px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card:hover {
  border-top-color: var(--green);
  box-shadow: 0 6px 22px rgba(17, 24, 39, 0.09);
  transform: translateY(-3px);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  background: var(--green);
  border-radius: 2px;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 10px;
}

.service-card__text {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.service-card__link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.service-card__link span::after {
  content: "92";
  margin-left: 7px;
  transition: margin-left 0.15s ease;
}

.service-card:hover .service-card__link span::after {
  margin-left: 12px;
}

/* ==========================================================================
   Machine condition monitoring
   ========================================================================== */

.mcm-section {
  padding: 56px 0 72px;
  background: var(--white);
}

.mcm-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

/* Service cards (left rail) ----------------------------------------------- */

.mcm-cards {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mcm-card {
  padding: 18px 16px 20px;
  margin-bottom: 22px;
  text-align: center;
  background: var(--green);
  border-radius: 2px;
}

.mcm-card:last-child {
  margin-bottom: 0;
}

.mcm-card__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.mcm-card__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* Intro + imagery (right) -------------------------------------------------- */

.mcm-intro {
  max-width: 46ch;
  margin: 0 0 34px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.mcm-showcase {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.mcm-vertical {
  display: flex;
  gap: 0.4em;
  justify-content: center;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mcm-vertical__thin {
  font-weight: 400;
  color: var(--muted);
}

.mcm-vertical__bold {
  font-weight: 800;
  color: var(--green);
}

/* Single wide image instead of a pair */
.mcm-showcase--single {
  grid-template-columns: auto 1fr;
}

.mcm-showcase--single .mcm-figure img {
  max-height: 520px;
}

.mcm-figure {
  margin: 0;
}

.mcm-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  background: #eceff1;
  border-radius: 2px;
}

/* Sector expertise: image, vertical title, then lists --------------------- */

.expertise-showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: start;
}

.mcm-vertical--down {
  transform: none;
  align-self: stretch;
}

.expertise-lists {
  padding-left: 12px;
}

.expertise-block+.expertise-block {
  margin-top: 26px;
}

.expertise-heading {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--green);
}

.expertise-list {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc outside;
}

.expertise-list li {
  margin-bottom: 8px;
  padding-left: 2px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  /* chamfered top-right corner */
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn span {
  transition: transform 0.18s ease;
}

.btn:hover span,
.btn:focus-visible span {
  transform: translateX(3px);
}

/* Solid: brand fill, white label */
.btn--solid {
  color: var(--white);
  background: var(--green);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: #0a3d8a;
}

/* Light: white fill, brand label */
.btn--light {
  color: var(--green);
  background: var(--white);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: #eef2f9;
}

/* ==========================================================================
   Hero slider
   ========================================================================== */

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #0f1620;
}

.slides {
  position: relative;
  min-height: 400px;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide[hidden] {
  display: none;
}

.slide__bg {
  position: absolute;
  inset: 0;
  background-color: #0f1620;
  background-size: cover;
  background-position: center;
}

/* Dark wash so the copy stays readable, heaviest on the left */
.slide__overlay {
  position: absolute;
  inset: 0;
  /* Dense brand colour over the copy on the left, clearing to the right.
     Stops must ascend or the browser clamps them into a hard band. */
  background:
    linear-gradient(90deg,
      rgba(3, 50, 112, 0.94) 0%,
      rgba(3, 50, 112, 0.88) 35%,
      rgba(6, 33, 70, 0.62) 60%,
      rgba(10, 16, 24, 0.30) 100%);
}

.slide__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Badge ------------------------------------------------------------------- */

.slide__badge {
  position: relative;
  display: inline-block;
  margin: 0 0 22px 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  background: rgba(12, 18, 27, 0.85);
  border-radius: 3px;
}

.slide__badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 4px;
  height: 100%;
  background: var(--green);
  border-radius: 1px;
}

/* Copy -------------------------------------------------------------------- */

.slide__title {
  max-width: 14ch;
  margin: 0 0 22px;
  font-size: clamp(40px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
}

.slide__text {
  max-width: 52ch;
  margin: 0 0 34px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Dots -------------------------------------------------------------------- */

.slider-dots {
  position: absolute;
  top: 50%;
  right: 34px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease;
}

.slider-dot.is-active {
  background: var(--white);
}

/* Arrows ------------------------------------------------------------------ */

.slider-arrows {
  position: absolute;
  right: 28px;
  bottom: 108px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--green);
  border-color: var(--green);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Intro statement
   ========================================================================== */

.intro-section {
  padding: 76px 0 68px;
  background: var(--white);
  text-align: center;
}

.intro-title {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.intro-title__hl {
  color: var(--green);
}

.intro-text {
  max-width: 790px;
  margin: 22px auto 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ==========================================================================
   Solutions cards
   ========================================================================== */

.solutions-section {
  padding: 0 0 76px;
  background: var(--white);
}

/* Blue band behind the heading; the cards overlap its lower edge so each one
   sits on blue at the top and white at the bottom. */
.solutions-band {
  /* bottom padding = card overlap (140px) + the gap under the heading (50px) */
  padding: 46px 0 190px;
  background: linear-gradient(135deg,
      #1657bd 0%,
      var(--green) 45%,
      #072a63 100%);
}

.solutions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.solutions-title {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.solutions-title::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  background: var(--white);
}

.solutions-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.15s ease;
}

.solutions-link:hover,
.solutions-link:focus-visible {
  opacity: 0.82;
}

.solutions-link__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.solutions-link__arrow svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solutions-link:hover .solutions-link__arrow,
.solutions-link:focus-visible .solutions-link__arrow {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

/* Cards ------------------------------------------------------------------- */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  /* pull the cards up over the band's lower edge */
  margin-top: -140px;

}

.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-card__media {
  display: block;
  overflow: hidden;
  /* drop-shadow, not box-shadow: it follows the chamfered edge below */
  filter: drop-shadow(0 5px 12px rgba(17, 24, 39, 0.22));
}

.solution-card__media img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #eceff1;
  /* chamfered top-right corner, matching the buttons */
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition: transform 0.35s ease;
}

.solution-card__media:hover img,
.solution-card__media:focus-visible img {
  transform: scale(1.04);
}

.solution-card__title {
  margin: 20px 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.solution-card__title a {
  transition: color 0.15s ease;
}

.solution-card__title a:hover,
.solution-card__title a:focus-visible {
  color: var(--green);
}

.solution-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #1a1a1a;
  font-weight: 400;
}

.solution-card__link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  /* auto pushes every link to the bottom, so they line up across the row */
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--green);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.solution-card__link span {
  margin-left: 7px;
  transition: margin-left 0.15s ease;
}

.solution-card__link:hover,
.solution-card__link:focus-visible {
  border-bottom-color: var(--green);
}

.solution-card__link:hover span,
.solution-card__link:focus-visible span {
  margin-left: 12px;
}

/* ==========================================================================
   Industry sectors
   ========================================================================== */

.sectors-section {
  padding: 70px 0 80px;
  background: #f7f8f8;
}

/* centre the heading and its rule */
.sectors-section .section-rule {
  margin-left: auto;
  margin-right: auto;
}

.sectors-section .split-title {
  text-align: center;
}

.sectors-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin: 22px 0 54px;
  align-items: start;
}

.sectors-intro__left {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
}

.sectors-intro__right {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.sector-card {
  margin: 0;
  text-align: center;
}

.sector-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #eceff1;
}

.sector-card__label {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.sector-card__label::after {
  content: "";
  display: block;
  width: 3px;
  height: 10px;
  margin: 0px auto 0;
  background: var(--green);
}

/* ==========================================================================
   Client logos
   ========================================================================== */

.clients-section {
  padding: 64px 0 72px;
  background: #ffffff;
  text-align: center;
}

.clients-section .section-rule {
  margin-left: auto;
  margin-right: auto;
}

.clients-section .split-title {
  text-align: center;
}

.clients-lead {
  max-width: 80ch;
  margin: 14px auto 46px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 16px 15px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  opacity: 1;
  transition: filter 0.18s ease, opacity 0.18s ease;
}

.client-logo img:hover {
  filter: none;
  opacity: 1;
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 13px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.28);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1eb455;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.34);
  transform: translateY(-2px);
}

.whatsapp-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 16px;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: static;
    transform: none;
    flex-basis: 100%;
    display: none;
  }

  /* search drops onto its own row once the nav collapses */
  .header-search {
    order: 3;
    width: 100%;
    margin: 4px 0 0;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .primary-nav a {
    width: 100%;
    padding: 10px 0;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 6px 14px;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu a {
    padding: 7px 0;
  }

  .submenu a:hover,
  .submenu a:focus-visible {
    color: var(--green);
    background: none;
  }

  .nav-toggle[aria-expanded="true"]+.primary-nav {
    display: block;
  }
}

@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .sectors-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .mcm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mcm-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .mcm-card {
    margin-bottom: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-media img {
    max-height: 360px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 560px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .services-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {

  /* phones: drop the top bar and the search to keep the header compact */
  .utility-bar,
  .header-search {
    display: none;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 10px 15px 10px 11px;
    font-size: 13px;
  }

  .whatsapp-float__icon svg {
    width: 21px;
    height: 21px;
  }

  /* keep the two hero buttons on one row */
  .slide__actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .slide__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 13px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .clients-section {
    padding: 44px 0 50px;
  }

  .clients-lead {
    margin-bottom: 32px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 20px;
  }

  .client-logo img {
    max-height: 46px;
  }

  .sectors-section {
    padding: 46px 0 52px;
  }

  .sector-card img {
    height: 170px;
  }

  .solutions-section {
    padding-bottom: 52px;
  }

  .solutions-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .solutions-band {
    /* 110px overlap + 36px gap */
    padding: 34px 0 146px;
  }

  .solutions-grid {
    margin-top: -110px;
  }

  .solutions-title {
    font-size: 18px;
  }

  .solution-card__media img {
    height: 200px;
  }

  .intro-section {
    padding: 48px 0 44px;
  }

  .intro-text {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.75;
  }

  .slides {
    min-height: 460px;
  }

  .slide__title {
    max-width: none;
  }

  .slide__text {
    margin-bottom: 26px;
    font-size: 15px;
  }

  .slider-dots {
    top: auto;
    bottom: 34px;
    right: 22px;
    flex-direction: row;
    transform: none;
  }

  .slider-arrows {
    display: none;
  }

  .mcm-section {
    padding: 40px 0 52px;
  }

  .mcm-intro {
    font-size: 16px;
  }

  .mcm-showcase,
  .mcm-showcase--single,
  .expertise-showcase {
    grid-template-columns: 1fr;
  }

  .expertise-lists {
    padding-left: 0;
  }

  .mcm-vertical {
    writing-mode: horizontal-tb;
    transform: none;
    justify-content: flex-start;
    font-size: 17px;
  }

  .mcm-figure img {
    min-height: 220px;
  }

  .services-section {
    padding: 44px 0 52px;
  }

  .tabs-section {
    padding-bottom: 52px;
  }

  .tabs__btn {
    flex: 1;
    padding: 12px 10px;
  }

  .split-section {
    padding: 52px 0;
  }

  .split-title {
    font-size: 15px;
    letter-spacing: 0.03em;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .footer-top {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .contact-section {
    padding: 48px 0 60px;
  }

  .contact-form-wrap {
    padding: 28px 22px;
  }

  .contact-info__title,
  .contact-form__title {
    font-size: 25px;
  }

  .utility-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .utility-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .search {
    width: 100%;
    max-width: none;
  }

  .page-hero {
    padding: 40px 0 52px;
  }

  .page-hero__rule {
    width: 180px;
    height: 11px;
  }
}

.tap {
  font-size: 27px;
  font-weight: 600;
  text-transform: capitalize;
  margin-top: 0px;
  margin-bottom: 5px;
}

.tap span {
  font-weight: 600;
  color: #0a3d8a;
}