/* =========================================
   CC Underground theme
   Plain CSS, px values only.
   ========================================= */

/* Reset only inside the parts this theme owns, so inner pages that use
   the parent theme templates keep their own styles. */
:where(.ccu-home, .site-header, .site-footer) * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.new-logo {
    display: flex;
    align-items: center;
    gap: 13px;
}
.ccu-home {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #104164;
  background: #fff;
}

:where(.ccu-home, .site-header, .site-footer) img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.ccu-home, .site-header, .site-footer) a {
  text-decoration: none;
  color: inherit;
}

:where(.ccu-home, .site-header, .site-footer) ul {
  list-style: none;
}

:where(.ccu-home, .site-header) button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* common section heading */
.sec-header {
  text-align: center;
  margin-bottom: 32px;
}

.sec-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: #104164;
  margin-bottom: 12px;
}

.sec-header p {
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  color: #104164;
  max-width: 760px;
  margin: 0 auto;
}


/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 41px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
}

/* hidden while scrolling down, comes back when scrolling up */
.site-header.is-hidden {
  transform: translateY(-110%);
}

.header-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* logo + menu (becomes one glass bar after scroll) */
.header-bar {
  position: relative;
  flex: 1;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 40px;
  transition: height 0.3s, padding 0.3s, background 0.3s, border-color 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  width: 89px;
  height: 89px;
  object-fit: contain;
  margin-left: -3px;
  transition: width 0.3s, height 0.3s;
}

.logo-line {
  width: 1px;
  height: 31px;
  background: rgba(255, 255, 255, 0.45);
  transition: height 0.3s;
}

.logo-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: font-size 0.3s;
}

/* menu pill */
.main-menu {
  height: 64px;
  padding: 0 28px;
  border-radius: 40px;
  background: rgba(16, 65, 100, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-menu li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.main-menu li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1.5px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.25s;
}

.main-menu li > a:hover::after,
.has-mega:hover > a::after {
  transform: scaleX(1);
}

.chev {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
  margin-top: -5px;
  transition: transform 0.25s, margin 0.25s;
}

.has-mega:hover .chev {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* call button */
.header-call {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(16, 65, 100, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1d5f92;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.header-call:hover .call-icon {
  background: #1271b5;
}

.call-icon svg {
  width: 15px;
  height: 15px;
}



/* after scroll navigation */
.site-header.scrolled {
  padding-top: 20px;
}

.scrolled .header-bar {
  height: 64px;
  padding-left: 20px;
  border-color: rgba(255, 255, 255, 0.3);
}

/* glass background on a pseudo element so the mega menu blur still works */
.header-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 40px;
  background: rgba(16, 65, 100, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s;
}

.scrolled .header-bar::before {
  opacity: 1;
}

.scrolled .logo-img {
  width: 46px;
  height: 46px;
}

.scrolled .logo-line {
  height: 20px;
}

.scrolled .logo-tag {
  font-size: 12px;
}

.scrolled .main-menu {
  background: transparent;
  border-color: transparent;
}

.scrolled .header-call {
  background: rgba(16, 65, 100, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* dark blurred page behind the open mega menu */
.mega-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(18, 22, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.mega-open .mega-overlay {
  opacity: 1;
  visibility: visible;
}

/* mega menu (services) */
.mega-menu {
  position: absolute;
  left: 160px;
  top: calc(50% + 46px);
  width: 884px;
  padding: 26px 40px 40px;
  border-radius: 16px;
  background: rgba(176, 184, 190, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 40px rgba(0, 19, 33, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

/* invisible bridge so the menu stays open while moving the mouse down */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #1f2328;
  margin-bottom: 20px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mega-item {
  position: relative;
  height: 87px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(55, 61, 66, 0.55);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  color: #fff;
  transition: background 0.2s;
}

.mega-item img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.mega-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}

.mega-arrow svg {
  width: 16px;
  height: 16px;
}

.mega-item:hover {
  background: #104164;
}

.mega-item:hover .mega-arrow {
  opacity: 1;
}


/* common primary button (banner + CTA) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 251px;
  height: 48px;
  border-radius: 2px;
  background: #174d78;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #1271b5;
}

.btn-arrow,
.btn-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
}


/* ================= BANNER ================= */
.banner {
  position: relative;
  height: 100vh;
  min-height: 640px;
  /* text block vertically centered between header and stats bar */
  display: flex;
  align-items: center;
  padding: 116px 0 72px;
  overflow: hidden;
  background: #0b2a44;
}

.banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 48, 0.35) 0%, rgba(8, 28, 48, 0) 30%),
    linear-gradient(90deg, rgba(10, 34, 58, 0.88) 0%, rgba(10, 34, 58, 0.78) 50%, rgba(10, 34, 58, 0.7) 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.banner-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 58px;
  line-height: 70px;
  letter-spacing: -0.6px;
  color: #fff;
  max-width: 600px;
  margin-bottom: 12px;
}

.banner-content p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 532px;
  margin-bottom: 40px;
}

.banner-content p strong {
  font-weight: 700;
  color: #fff;
}

.banner-stats {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 1103px;
  height: 72px;
  background: #fff;
  clip-path: polygon(95px 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  padding-left: 91px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 19px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #335577;
  white-space: nowrap;
}

.stat:first-child {
  padding-left: 0;
}

.stat + .stat {
  border-left: 1px solid #dddddd;
}

.stat b {
  font-weight: 700;
  color: #335577;
}

.stat-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: #6499c0;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ================= TRUST STRIP ================= */
.trust-wrap {
  position: relative;
  z-index: 3;
  padding-top: 50px;
  margin-bottom: -54px;
  background: linear-gradient(180deg, #fff 0%, #fff 124px, transparent 124px);
}

.trust-strip {
  height: 128px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 24px;
}

.trust-text {
  width: 196px;
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid #dfe5ea;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4a525c;
}

.trust-text .t-blue {
  color: #1d6fb5;
}

.trust-text .t-grey {
  color: #6b7480;
}

.trust-text .t-dark {
  color: #1f2a35;
}

/* auto scrolling logos */
.trust-logos {
  flex: 1;
  overflow: hidden;
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}

.trust-logos:hover .logo-track {
  animation-play-state: paused;
}

.logo-track img {
  height: 42px;
  width: auto;
  max-width: none;
  margin-right: 64px;
  filter: grayscale(1);
  opacity: 0.85;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ================= CAPABILITIES ================= */
.capabilities {
  position: relative;
  overflow: hidden;
  background: #f0f6fc;
  padding: 120px 0 32px;
}

.capabilities .container {
  position: relative;
  z-index: 1;
}

.capabilities .sec-header {
  margin-bottom: 24px;
}

.capabilities .cap-title {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -1.12px;
}

.bg-glow {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.bg-glow-1 {
  width: 580px;
  height: 580px;
  left: -200px;
  top: -160px;
}

.bg-glow-2 {
  width: 520px;
  height: 520px;
  left: 1040px;
  top: 520px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.cap-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 20px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d9e4ec;
  border-radius: 20px;
  box-shadow: 0 6px 9px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.cap-icon {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #e8f1f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cap-icon img {
  width: 24px;
  height: 24px;
}

.cap-text h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #335577;
  margin-bottom: 4px;
}

.cap-text p {
  font-weight: 600;
  font-size: 14px;
  color: #5b798e;
}

.cap-equipment {
  display: flex;
  gap: 12px;
  height: 140px;
}

.equip-img {
  flex: 1;
  height: 100%;
}

.equip-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ================= WHAT MAKES US DIFFERENT ================= */
.different {
  padding: 72px 0;
  background: #fff;
}

.different .sec-header h2 {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -1.12px;
}

.different .sec-header p.narrow {
  max-width: 438px;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* closed item (all changes animate smoothly) */
.acc-item {
  display: flex;
  height: 72px;
  background: #fff;
  border: 1px solid #d9e4ec;
  border-radius: 16px;
  overflow: hidden;
  transition: height 0.5s ease, background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.acc-img {
  display: block;
  width: 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  transition: width 0.5s ease;
}

.acc-main {
  flex: 1;
  min-width: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: padding 0.5s ease;
}

.acc-head {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #3a5671;
  transition: color 0.5s ease;
}

.acc-chev {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #b8c6d2;
  flex-shrink: 0;
  transition: transform 0.5s ease, background 0.5s ease;
}

.acc-chev::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5.5px;
  width: 5px;
  height: 5px;
  border-right: 1.8px solid #fff;
  border-bottom: 1.8px solid #fff;
  transform: rotate(45deg);
  transition: border-color 0.5s ease;
}

/* text slides open: grid row 0fr -> 1fr */
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s ease, opacity 0.4s ease, margin 0.5s ease;
}

.acc-body p {
  min-height: 0;
  overflow: hidden;
}

/* open item: photo left + navy panel right */
.acc-item.active {
  height: 250px;
  background: #104164;
  border-color: #104164;
  box-shadow: 0 10px 24px rgba(16, 65, 100, 0.18);
}

.acc-item.active .acc-img {
  width: 200px;
}

.acc-item.active .acc-main {
  padding: 0 24px;
}

.acc-item.active .acc-head {
  color: #fff;
}

.acc-item.active .acc-chev {
  background: #d9e4ec;
  transform: rotate(180deg);
}

.acc-item.active .acc-chev::after {
  border-color: #104164;
}

.acc-item.active .acc-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 14px;
}

.acc-body p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.9);
}


/* ================= SERVICES ================= */
.services {
  padding: 72px 0;
  background: #eef4fa;
}

.services .sec-header {
  margin-bottom: 24px;
}

.services .sec-header h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-card {
  width: 384px;
  height: 360px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e1e9f0;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.service-img {
  height: 120px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #e6eef4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-img img {
  height: auto;
  max-width: none;
}

.service-content {
  flex: 1;
}

.service-content h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: #1f4a6e;
  margin-bottom: 6px;
}

.service-content p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #5b6f80;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 31px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: #0f2f4b;
}

.service-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d6e4ef;
  color: #2b5a80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.service-arrow svg {
  width: 14px;
  height: 14px;
}

.service-link:hover .service-arrow {
  background: #104164;
  color: #fff;
}


/* ================= WHO WE WORK FOR ================= */
.audience {
  padding: 72px 0;
  background: #001321;
}

.audience .sec-header h2,
.audience .sec-header p {
  color: #fff;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.aud-card {
  position: relative;
  min-height: 240px;
  padding: 39px 20px 39px 32px;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(#001321, #001321) padding-box,
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 45%, rgba(255, 255, 255, 0) 100%) border-box;
}

.aud-card > * {
  transition: transform 0.3s;
}

.aud-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #20313c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.aud-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #e3e8eb;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aud-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #fff;
  margin-bottom: 8px;
}

.aud-card p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #ccd0d3;
}

/* hover: content moves up, blue arrow shows */
.aud-card:hover > * {
  transform: translateY(-14px);
  color: #000;
}
.aud-card:hover{
 background: #fff;
}

.aud-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #297db8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.aud-card:hover .aud-arrow {
  opacity: 1;
  transform: none;
}

.aud-arrow svg {
  width: 14px;
  height: 14px;
}

.aud-card-wide {
  grid-column: 1 / -1;
  min-height: 112px;
  padding: 25px 32px;
}

.aud-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.aud-title-row .aud-icon,
.aud-title-row h3 {
  margin-bottom: 0;
}

.aud-card-wide h3 {
  font-weight: 600;
}


/* ================= HISTORY ================= */
.history {
  position: relative;
  overflow: hidden;
  padding: 72px 0 72px;
  background: #fff;
}

/* decorative circles (left side) */
.hist-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hist-circle-1 {
  width: 847px;
  height: 847px;
  left: calc(50% - 1260px);
  top: 146px;
  background: #e5eaee;
}

.hist-circle-2 {
  width: 847px;
  height: 847px;
  left: calc(50% - 1150px);
  top: 266px;
  background: linear-gradient(180deg, #d5dde4 0%, #ced7df 100%);
}

.hist-circle-3 {
  width: 950px;
  height: 950px;
  left: calc(50% - 1001px);
  top: 375px;
  background: #104164;
}

.history .container {
  position: relative;
  z-index: 1;
}

.history .sec-header {
  margin-bottom: 48px;
}

.history .hist-sub {
  max-width: 590px;
}

.history-content {
  display: flex;
  gap: 48px;
}

.history-images {
  width: 576px;
  flex-shrink: 0;
}

.hist-img-big {
  width: 100%;
  height: 278px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hist-img-row {
  display: flex;
  gap: 16px;
}

.hist-img-small {
  flex: 1;
  min-width: 0;
  width: 50%;
  height: 278px;
  object-fit: cover;
  border-radius: 20px;
}

.history-text {
  flex: 1;
  padding-top: 2px;
}

.history-text p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.15px;
  color: #215377;
  margin-bottom: 26px;
}

.history-text p:last-child {
  margin-bottom: 0;
}

.history-text strong {
  font-weight: 700;
  color: #174a70;
}


/* ================= PROJECTS ================= */
.projects {
  padding: 72px 0;
  background: #f0f6fc;
}

.projects .sec-header h2 {
  margin-bottom: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  height: 520px;
  background: #fff;
  border: 1px solid #e5edf4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.project-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.project-card > .project-img {
  border-radius: 20px 20px 12px 12px;
}

/* middle card: text on top, image at the bottom */
.project-card-reverse {
  flex-direction: column-reverse;
}

.project-card-reverse > .project-img {
  border-radius: 12px 12px 20px 20px;
}

.project-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card:not(.project-card-reverse) .project-content {
  padding-top: 36px;
}

.project-card-reverse .project-content {
  padding-bottom: 36px;
}

.project-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  color: #35729f;
  margin-bottom: 4px;
}

.project-meta {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  color: #104164;
  margin-bottom: 12px;
}

.project-content p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.15px;
  color: #5b798e;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 31px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #104164;
}

.project-link .service-arrow {
  background: #d9e7f0;
}

.project-link:hover .service-arrow {
  background: #104164;
  color: #fff;
}


/* ================= CTA ================= */
.cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  text-align: center;
  background: #0f2a3d url("images/cta-bg.jpg") center / cover no-repeat;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 19, 33, 0.45);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: #fff;
  max-width: 560px;
  margin: 0 auto 24px;
}

.cta p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.1px;
  color: #fff;
  max-width: 718px;
  margin: 0 auto 24px;
}


/* ================= FAQ ================= */
.faq {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: #fff;
}

.faq-mark {
  position: absolute;
  right: -58px;
  top: 117px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 620px;
  line-height: 775px;
  color: #d0e0eb;
  pointer-events: none;
}

.faq .container {
  position: relative;
  z-index: 1;
}

.faq-header {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.faq-header h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  margin-bottom: 16px;
}

.faq-header p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #5b798e;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid #dbe6ef;
  border-radius: 20px;
}

.faq-q {
  width: 100%;
  min-height: 72px;
  padding: 0 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 25px;
  color: #104164;
}

.faq-chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f1f6;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.4s ease, background 0.4s ease;
}

.faq-chev::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #104164;
  border-bottom: 2px solid #104164;
  transform: rotate(45deg);
}

/* answer slides open smoothly: grid row 0fr -> 1fr */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 32px;
  opacity: 0;
  transition: grid-template-rows 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

.faq-a p {
  min-height: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 26px;
  color: #5b798e;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
  padding-bottom: 24px;
  opacity: 1;
}

.faq-item.open .faq-chev {
  transform: rotate(180deg);
}


/* ================= FOOTER ================= */
.site-footer {
  padding: 73px 0 70px;
  background: #f0f6fc;
}

.footer-grid {
  display: flex;
  gap: 16px;
}

/* left photo card */
.footer-photo {
  position: relative;
  width: 670px;
  height: 620px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0b2234;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.footer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 22, 0.76);
}

.footer-logo,
.footer-about,
.copyright {
  position: relative;
  z-index: 1;
}

.footer-logo {
  width: 145px;
  height: auto;
  margin-top: 100px;
}

.footer-about {
  max-width: 520px;
  margin-top: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: #fff;
}

.copyright {
  margin-top: auto;
  margin-bottom: 84px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #e6edf3;
}

/* right side cards */
.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  height: 243px;
  padding: 27px 25px 35px;
  background: #104164;
  border-radius: 20px;
  display: flex;
}

.col-quick {
  width: 143px;
}

.col-services {
  width: 170px;
  padding-right: 20px;
}

.col-learn {
  width: 90px;
}

.footer-col h4,
.footer-contact h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  margin-bottom: 19px;
}

.footer-col li {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.footer-col li + li {
  margin-top: 6px;
}

.footer-col a {
  color: #e6edf3;
}

.footer-col a.current,
.footer-col a:hover,
.contact-info a:hover {
  color: #3c84c8;
}

.footer-contact {
  flex: 1;
  padding: 27px 25px 35px;
  background: linear-gradient(130deg, #46698a 0%, #104164 77%);
  border-radius: 20px;
  display: flex;
  gap: 60px;
}

.contact-info {
  width: 185px;
}

.contact-info h4 {
  margin-bottom: 33px;
}

.contact-info p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  color: #fff;
}

.contact-info hr {
  width: 185px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 14px 0 18px;
}

.contact-info hr:last-of-type {
  margin-bottom: 22px;
}

.connect h4 {
  margin-bottom: 14px;
}

.social {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  column-gap: 15px;
  row-gap: 16px;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #215b85;
  border: 1px solid #4e86ad;
  color: #d3dee7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.social a:hover {
  background: #104164;
  border-color: #184a6e;
  color: #fff;
}

.social svg {
  width: 22px;
  height: 22px;
}

.social a[aria-label="Facebook"] svg,
.social a[aria-label="Youtube"] svg {
  width: 25px;
  height: 25px;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 1240px) {
  .container {
    padding: 0 20px;
  }

  .banner-stats {
    width: auto;
    left: 20px;
    padding-left: 60px;
  }

  .faq-mark {
    right: -140px;
  }
}

@media (max-width: 1100px) {
  .banner-stats {
    flex-wrap: wrap;
    height: auto;
    padding: 16px 20px 16px 50px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    width: auto;
  }

  .history-content {
    flex-direction: column;
  }

  .hist-circle {
    display: none;
  }

  .history-images {
    width: 100%;
  }

}

@media (max-width: 991px) {
  .sec-header h2,
  .cta h2,
  .faq-header h2 {
    font-size: 38px;
    line-height: 46px;
  }

  .capabilities .cap-title {
    font-size: 40px;
    line-height: 48px;
  }

  .banner-content h1 {
    font-size: 46px;
    line-height: 56px;
  }

  .cap-grid,
  .audience-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-text {
    width: auto;
    border-right: 0;
    padding-right: 0;
  }

  .trust-logos {
    width: 100%;
  }

  .project-card-reverse {
    flex-direction: column;
  }

  .project-card-reverse > .project-img {
    border-radius: 20px 20px 12px 12px;
  }
}

@media (max-width: 767px) {
  .banner {
    height: auto;
    min-height: 100vh;
    display: block;
    padding: 0 0 40px;
  }

  .banner-content {
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .banner-content h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .banner-content p {
    font-size: 16px;
    line-height: 26px;
  }

  .stat,
  .stat:first-child {
    padding: 0;
  }

  .stat + .stat {
    border-left: 0;
  }

  .banner-stats {
    position: relative;
    left: auto;
    margin: 0 20px;
    clip-path: none;
    border-radius: 16px;
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-wrap {
    padding-top: 30px;
    margin-bottom: 0;
    background: #fff;
    padding-bottom: 30px;
  }

  .logo-track img {
    height: 36px;
    margin-right: 48px;
  }

  .capabilities {
    padding-top: 60px;
  }

  .sec-header h2,
  .cta h2,
  .faq-header h2,
  .capabilities .cap-title {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: -0.6px;
  }

  .sec-header p,
  .cta p,
  .faq-header p {
    font-size: 16px;
    line-height: 26px;
  }

  .different,
  .services,
  .audience,
  .projects,
  .cta,
  .faq {
    padding: 56px 0;
  }

  .history {
    padding: 56px 0;
  }

  .cap-grid,
  .audience-grid,
  .projects-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: auto;
  }

  .service-content {
    margin-bottom: 16px;
  }

  .cap-equipment {
    flex-direction: column;
    height: auto;
  }

  .equip-img {
    height: 140px;
  }

  .bg-glow-2 {
    left: auto;
    right: -200px;
  }

  .acc-head,
  .faq-q {
    font-size: 16px;
  }

  .different .sec-header h2 {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: -0.6px;
  }

  .acc-item {
    flex-direction: column;
    height: auto;
  }

  .acc-img {
    width: 100%;
    height: 0;
    transition: height 0.5s ease;
  }

  .acc-item.active {
    height: auto;
  }

  .acc-item.active .acc-img {
    width: 100%;
    height: 200px;
  }

  .acc-main {
    min-height: 64px;
    padding: 20px;
  }

  .acc-item.active .acc-main {
    padding: 20px;
  }

  .hist-img-big,
  .hist-img-small {
    height: 200px;
  }

  .history-text p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .project-card {
    height: auto;
  }

  .project-content {
    height: auto;
    gap: 16px;
  }

  .faq-mark {
    display: none;
  }

}


/* ================= HEADER + FOOTER RESPONSIVE ================= */
@media (max-width: 1240px) {
  .footer-photo {
    width: 56%;
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    flex-direction: column;
  }

  .footer-photo {
    width: 100%;
    height: 520px;
  }
}

@media (max-width: 767px) {
  .footer-photo {
    height: 480px;
    padding: 0 24px;
  }

  .footer-logo {
    width: 120px;
    margin-top: 60px;
  }

  .footer-about {
    font-size: 16px;
    line-height: 27px;
  }

  .copyright {
    margin-bottom: 36px;
  }

  .footer-links,
  .footer-contact {
    height: auto;
    flex-direction: column;
    gap: 28px;
  }

  .col-quick,
  .col-services,
  .col-learn {
    width: auto;
  }

  .footer-col h4,
  .footer-contact h4 {
    margin-bottom: 12px;
  }
}


/* ================= SIMPLE DROPDOWN (menu items with sub items, mega menu off) ================= */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  left: -16px;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 10px;
  border-radius: 12px;
  background: #0b2a44;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 32px rgba(0, 19, 33, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu .dropdown a {
  display: block;
  height: auto;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.main-menu .dropdown a::after {
  display: none;
}

.main-menu .dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.has-dropdown:hover .chev {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* logo text when no logo image is set */
.logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* current menu item */
.main-menu li.is-current > a::after {
  transform: scaleX(1);
}

/* audience card used as a link */
a.aud-card {
  display: block;
}

/* ================= WORDPRESS ADMIN BAR ================= */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

/* ================= INNER PAGES (parent theme templates) ================= */
.ccu-inner {
  padding-top: 120px;
}

.ccu-inner .site-header {
  padding-top: 20px;
}




/* ================= HEADER ON LIGHT SECTIONS ================= */
/* After scrolling, the bar turns white over light sections (like the dark
   glass over the banner and dark sections). */
.header-bar::before,
.main-menu a,
.logo-tag,
.logo-line,
.chev,
.header-call {
  transition: background 0.35s, color 0.35s, border-color 0.35s, opacity 0.3s;
}

.scrolled.is-light .header-bar {
  border-color: rgba(16, 65, 100, 0.12);
}

.scrolled.is-light .header-bar::before {
  background: rgba(255, 255, 255, 0.85);
}

.scrolled.is-light .main-menu li > a,
.scrolled.is-light .logo-tag,
.scrolled.is-light .menu-toggle {
  color: #104164;
}

.scrolled.is-light .main-menu li > a::after,
.scrolled.is-light .logo-line {
  background: #104164;
}

.scrolled.is-light .chev {
  border-color: #104164;
}

.scrolled.is-light .header-call {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(16, 65, 100, 0.12);
}

/* links inside the open mega menu / dropdown stay white */
.scrolled.is-light .dropdown a {
  color: #fff;
}


/* ================= MENU BUTTON + FULL SCREEN MENU (tablet and mobile) ================= */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

.menu-toggle i {
  display: block;
  width: 22px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.menu-open .menu-toggle i {
  transform: scaleX(0.6);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 40px;
  overflow-y: auto;
  background: #001321;
  color: #fff;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.7s;
}

.menu-open .mobile-nav {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mobile-nav .container {
  width: 100%;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.menu-open .m-item {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.15s + var(--d) * 0.06s);
}

.m-link {
  display: inline-block;
  padding: 4px 0;
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 54px;
  letter-spacing: -0.9px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.m-link:hover,
.m-item.is-current > .m-link {
  color: #5fa8dc;
}

.m-sub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 18px;
}

.m-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  color: #fff;
  text-decoration: none;
}

.m-sub a:hover {
  background: #104164;
}

.m-sub img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.m-contact {
  margin-top: 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.m-contact a {
  color: inherit;
  text-decoration: none;
}

/* header while the full screen menu is open */
.menu-open .site-header {
  transform: none;
}

.menu-open .header-bar,
.menu-open .scrolled .header-bar {
  border-color: transparent;
}

.menu-open .header-bar::before {
  opacity: 0;
}

.menu-open .logo-tag,
.menu-open .menu-toggle {
  color: #fff;
}

.menu-open .logo-line {
  background: rgba(255, 255, 255, 0.45);
}

.menu-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .main-menu {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-wrap {
    gap: 16px;
  }

  .header-bar {
    padding-right: 20px;
  }

  .header-call {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding-top: 16px;
  }

  .site-header.scrolled {
    padding-top: 10px;
  }

  .header-bar,
  .scrolled .header-bar {
    height: 60px;
    padding: 0 16px 0 12px;
  }

  .logo-img,
  .scrolled .logo-img {
    width: 46px;
    height: 46px;
  }

  .logo-tag {
    font-size: 13px;
  }

  .header-wrap {
    gap: 10px;
  }

  .header-call {
    width: 48px;
    height: 48px;
  }

  .m-link {
    font-size: 34px;
    line-height: 44px;
  }

  .m-sub {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .logo-line,
  .logo-tag {
    display: none;
  }

  .menu-toggle .mt-label {
    display: none;
  }
}

/* ================= BANNER STATS ON TABLET ================= */
@media (max-width: 1180px) and (min-width: 768px) {
  .banner-stats {
    left: 20px;
    right: 20px;
    width: auto;
    height: auto;
    padding: 18px 24px;
    clip-path: none;
    border-radius: 16px 16px 0 0;
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 12px 40px;
  }

  .stat,
  .stat:first-child {
    padding: 0;
  }

  .stat + .stat {
    border-left: 0;
  }
}

/* services: 2 per row on tablet, last single card centred */
@media (max-width: 1100px) and (min-width: 768px) {
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-card {
    width: calc(50% - 12px);
  }
}

/* ================= LAPTOP (1101px - 1240px) ================= */
@media (max-width: 1240px) and (min-width: 1101px) {
  /* services: keep three per row, cards shrink with the screen */
  .service-card {
    width: calc((100% - 48px) / 3);
  }

  /* big question mark gets smaller so it does not crowd the questions */
  .faq-mark {
    right: -90px;
    font-size: 440px;
    line-height: 560px;
    top: 260px;
  }
}

/* history text never sits on the navy circle */
@media (max-width: 1240px) {
  .history-content {
    gap: 40px;
  }

  .history-images {
    width: 48%;
  }
}

@media (max-width: 1100px) {
  .history-images {
    width: 100%;
  }
}


/* =========================================
   MOBILE LAYOUT (767px and below)
   Sliders + dots: see the mobile part at the end of assets/js/main.js.
   Service page rules: end of services.css. Quote form: end of form.css.
   ========================================= */

@media (max-width: 767px) {

  /* ---------- shared ---------- */
  .sec-header,
  .faq-header {
    margin-bottom: 24px;
  }

  .sec-header h2,
  .sv-row-head .sv-title,
  .faq-header h2,
  .capabilities .cap-title,
  .different .sec-header h2,
  .sv-title,
  .sv-dark .sv-title,
  .sv-glance .sv-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 600;
    letter-spacing: -0.4px !important;
    text-align: center;
  }

  .sec-header h2,
  .faq-header h2,
  .sv-title {
    max-width: 300px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .sec-header p,
  .faq-header p,
  .sv-sub,
  .sv-dark .sv-sub {
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 500;
    text-align: center;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-primary {
    width: auto;
    height: 44px;
    padding: 0 20px;
    font-size: 13px;
    letter-spacing: 0.6px;
  }

  /* ---------- slider + dots (mobile.js) ---------- */
  .m-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    column-gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 4px 0 12px !important;
  }

  .m-slider::-webkit-scrollbar {
    display: none;
  }

  .m-slider > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .m-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
  }

  .m-dots[hidden] {
    display: none;
  }

  .m-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9d6e2;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .m-dot.is-active {
    background: #1f6fd1;
    transform: scale(1.35);
  }

  .audience .m-dot,
  .sv-dark .m-dot,
  .sv-steps-panel .m-dot {
    background: rgba(255, 255, 255, 0.35);
  }

  .audience .m-dot.is-active,
  .sv-dark .m-dot.is-active,
  .sv-steps-panel .m-dot.is-active {
    background: #fff;
  }

  /* the existing pipe fusion slider: dots only, like the other sliders */
  .sv-slider-btn {
    display: none !important;
  }

  .sv-steps-track,
  .sv-slider .sv-steps-track {
    grid-auto-columns: 100% !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sv-steps-track > * {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
  }

  .sv-slider-nav {
    justify-content: center;
    margin-top: 12px;
  }

  /* ---------- header ---------- */
  .site-header,
  .site-header.scrolled {
    padding-top: 0;
  }

  .site-header .header-wrap {
    position: relative;
    height: 72px;
    padding: 0 0 0 20px;
    gap: 0;
    background: linear-gradient(90deg, #0d3456 0%, #174d78 100%);
    overflow: hidden;
  }

  /* white corner with the menu button */
  .site-header .header-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background: #fff;
    clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
  }

  .header-bar,
  .scrolled .header-bar {
    height: 72px;
    padding: 0;
    border: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
  }

  .header-bar::before {
    display: none;
  }

  .logo-img,
  .scrolled .logo-img {
    width: 46px;
    height: 46px;
  }

  .new-logo {
    gap: 10px;
  }

  .logo-line,
  .scrolled .logo-line {
    display: block;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
  }

  .logo-tag,
  .scrolled .logo-tag {
    display: inline;
    font-size: 11px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.85);
  }

  .header-call {
    display: none;
  }

  .menu-toggle,
  .scrolled .menu-toggle,
  .scrolled.is-light .menu-toggle {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 72px;
    margin-left: auto;
    justify-content: center;
    color: #104164;
  }

  .menu-toggle .mt-label {
    display: none;
  }

  .menu-toggle i {
    position: relative;
    width: 20px;
    height: 14px;
    border-top: 2px solid #104164;
    border-bottom: 2px solid #104164;
  }

  .menu-toggle i::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    height: 2px;
    background: #104164;
  }

  .menu-open .site-header .header-wrap::after {
    background: #fff;
  }

  /* ---------- banner (home + service pages) ---------- */
  .banner {
    min-height: 0;
    height: auto;
    padding: 0;
    margin-bottom: 72px;
    overflow: visible;
  }

  .banner-content {
    padding-top: 116px;
    padding-bottom: 100px;
  }

  .banner-content h1,
  .sv-banner h1 {
    max-width: 300px;
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
  }

  .banner-content p,
  .banner-text,
  .sv-banner-text p {
    font-size: 13px !important;
    line-height: 21px !important;
  }

  .banner-content .btn-primary {
    margin-top: 22px;
  }

  /* stats: white 2 x 2 card half over the banner */
  .banner-stats {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    top: auto;
    width: auto;
    height: auto;
    margin: 0;
    transform: translateY(50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    padding: 16px;
    border-radius: 12px;
    clip-path: none;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .stat,
  .stat:first-child {
    padding: 0;
    gap: 8px;
    font-size: 11px;
    line-height: 15px;
    white-space: normal;
    align-items: center;
  }

  .stat + .stat {
    border-left: 0;
  }

  .stat svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  /* service banner: full width buttons, smaller breadcrumb */
  .banner.sv-banner {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .sv-banner .banner-content {
    padding-top: 112px;
    padding-bottom: 96px;
  }

  .sv-banner .banner-stats {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    width: auto;
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    flex-direction: row;
    display: grid;
  }

  .sv-banner .breadcrumbs {
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 14px;
  }

  .sv-banner-row {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .sv-banner-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .sv-banner-btns .btn-primary,
  .sv-banner-btns .btn-outline {
    width: 100%;
    height: 44px;
    margin: 0;
    font-size: 13px;
  }

  /* 3 stats: two on top, one below */
  .sv-banner .banner-stats .stat:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  /* ---------- trust logos: logos only ---------- */
  .trust-wrap,
  .sv-trust {
    padding: 0 0 8px;
    margin: 0 !important;
    background: #fff !important;
  }

  .trust-strip {
    height: auto;
    padding: 12px 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    display: block;
  }

  .trust-text {
    display: none;
  }

  .trust-logos {
    width: 100%;
  }

  .logo-track img {
    height: 34px;
    width: auto;
    margin-right: 36px;
  }

  /* ---------- capabilities ---------- */
  .capabilities {
    padding: 40px 0 32px;
  }

  .bg-glow {
    display: none;
  }

  /* two cards per slide, stacked */
  .cap-grid.m-slider {
    display: grid !important;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: 100%;
    gap: 12px 16px !important;
  }

  .cap-grid.m-slider > * {
    width: auto !important;
  }

  .cap-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
  }

  .cap-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef4fa;
  }

  .cap-icon img {
    width: 18px;
    height: 18px;
  }

  .cap-text h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .cap-text p {
    font-size: 12px;
    line-height: 16px;
  }

  .cap-equipment {
    margin-top: 20px;
  }

  .cap-equipment .equip-img {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cap-equipment .equip-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* ---------- what makes us different ---------- */
  .different {
    padding: 48px 0;
  }

  .accordion {
    gap: 10px;
  }

  .acc-item {
    border-radius: 12px;
  }

  .acc-item.active {
    background: #174d78;
    border-color: #174d78;
  }

  .acc-item.active .acc-img {
    height: 150px;
    object-fit: cover;
  }

  .acc-main,
  .acc-item.active .acc-main {
    min-height: 54px;
    padding: 14px 16px;
  }

  .acc-head {
    font-size: 14px !important;
    line-height: 20px;
    font-weight: 600;
  }

  .acc-body p {
    font-size: 12px;
    line-height: 19px;
  }

  /* ---------- services (home) ---------- */
  .services {
    padding: 48px 0 40px;
  }

  .services-grid.m-slider > .service-link {
    display: flex;
  }

  .service-card {
    width: 100%;
    height: auto;
    padding: 12px;
    border-radius: 16px;
  }

  .service-img {
    height: 150px;
    border-radius: 12px;
  }

  .service-content h3 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 14px;
  }

  .service-content p {
    font-size: 12px;
    line-height: 19px;
  }

  /* ---------- who we work for (home + service pages) ---------- */
  .audience,
  .sv-aud {
    padding: 48px 0 40px;
  }

  .aud-rows {
    gap: 16px;
  }

  /* cards from every row go into one slider */
  .aud-rows.m-slider > .aud-row {
    display: contents;
  }

  .aud-rows.m-slider .aud-card,
  .audience-grid.m-slider .aud-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-height: 0;
    padding: 24px 20px;
    border-radius: 16px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .aud-card h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .aud-card p {
    font-size: 12px;
    line-height: 19px;
  }

  .aud-arrow {
    display: none;
  }

  /* ---------- history ---------- */
  .history {
    padding: 48px 0;
  }

  .hist-circle {
    display: none;
  }

  .history-content {
    gap: 20px;
  }

  .hist-img-big {
    height: 160px;
  }

  .hist-img-small {
    height: 110px;
  }

  .history-text p {
    font-size: 13px;
    line-height: 21px;
    margin-bottom: 14px;
  }

  /* ---------- emergency CTA ---------- */
  .cta {
    padding: 56px 0;
  }

  .cta h2 {
    font-size: 26px !important;
    line-height: 34px !important;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta p {
    font-size: 12px;
    line-height: 19px;
  }

  /* ---------- FAQ ---------- */
  .faq {
    padding: 48px 0;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item {
    border-radius: 12px;
  }

  .faq-q {
    min-height: 54px;
    padding: 12px 16px;
    font-size: 14px !important;
    line-height: 20px;
    gap: 12px;
    text-align: left;
  }

  .faq-a p {
    font-size: 13px;
    line-height: 21px;
  }

  /* ---------- footer ---------- */
  .site-footer {
    padding-bottom: 24px;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-photo {
    height: 420px;
    border-radius: 20px;
    padding: 0 20px;
    overflow: hidden;
  }

  .footer-logo {
    width: 80px;
    margin-top: 40px;
  }

  .footer-about {
    font-size: 13px;
    line-height: 21px;
  }

  .copyright {
    font-size: 11px;
  }

  .footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px !important;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .footer-links .col-learn {
    grid-column: 1 / -1;
  }

  .footer-col h4,
  .footer-contact h4 {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .footer-col a,
  .footer-col li {
    font-size: 12px;
    line-height: 18px;
  }

  .footer-contact {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .contact-info p {
    font-size: 13px;
    line-height: 21px;
  }

}

/* =========================================
   HOME BANNER - MOBILE (767px and below)
   Built from the 437px mobile design, text scales down a little
   on smaller phones. Big title, full size button,
   grey 2 x 2 stats card with divider lines, half over the banner.
   Service page banners (.sv-banner) are not touched.
   ========================================= */
@media (max-width: 767px) {
  .banner:not(.sv-banner) {
    margin-bottom: 111px;
  }

  .banner:not(.sv-banner) .banner-content {
    padding: 151px clamp(20px, 11vw, 48px) 207px;
  }

  .banner:not(.sv-banner) .banner-content h1 {
    max-width: 330px;
    font-family: 'Geist', 'Inter', sans-serif;
    font-size: clamp(25px, 6.87vw, 30px) !important;
    line-height: 1.3 !important;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 19px;
  }

  .banner:not(.sv-banner) .banner-text,
  .banner:not(.sv-banner) .banner-content p {
    max-width: 345px;
    font-size: clamp(15px, 3.96vw, 17.3px) !important;
    line-height: 1.532 !important;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
  }

  .banner:not(.sv-banner) .banner-content .btn-primary {
    width: auto;
    height: 61px;
    margin-top: 48px;
    padding: 0 24px;
    gap: 12px;
    border-radius: 2px;
    background: #104164;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.7px;
  }

  .banner:not(.sv-banner) .banner-stats {
    left: 20px;
    right: 20px;
    bottom: -71px;
    transform: none;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(72px, auto);
    align-items: stretch;
    gap: 1px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #e0e0e0;
    box-shadow: none;
  }

  .banner:not(.sv-banner) .stat {
    padding: 0 8px 0 13px;
    gap: 8px;
    background: #f5f5f5;
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 3.44vw, 15px);
    line-height: 1.467;
    color: #335577;
  }

  /* icon spots as in the design (right column sits closer to the line) */
  .banner:not(.sv-banner) .stat:nth-child(2) {
    padding-left: 5px;
  }

  .banner:not(.sv-banner) .stat:nth-child(4) {
    padding-left: 12px;
  }

  .banner:not(.sv-banner) .stat svg {
    width: 28px;
    height: 28px;
  }
}


/* =========================================
   HOME TRUST LOGOS - MOBILE (767px and below)
   White strip 40px under the stats card, soft shadow on its top edge,
   logos only (no text), still auto scrolling.
   ========================================= */
@media (max-width: 767px) {
  .trust-wrap {
    position: relative;
    padding: 43px 0 !important;
    background: #fff !important;
  }

  .trust-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 17px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 40%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .trust-wrap .trust-strip {
    padding: 0;
  }

  .trust-wrap .logo-track img {
    height: 38px;
    margin-right: 26px;
    opacity: 1;
  }
}


/* =========================================
   HOME CAPABILITIES - MOBILE (767px and below)
   "What we can put in the ground": one slider, every slide has two
   spec cards and one equipment photo (built in assets/js/main.js,
   mergeCap). One row of dots under the photo.
   ========================================= */
@media (max-width: 767px) {
  .capabilities {
    padding: 44px 0 36px;
  }

  .capabilities .container {
    padding: 0 16px;
  }

  .capabilities .sec-header {
    margin-bottom: 24px;
  }

  .capabilities .sec-header .cap-title {
    max-width: 290px;
    font-family: 'Inter', sans-serif;
    font-size: 28.3px !important;
    line-height: 40px !important;
    font-weight: 600;
    letter-spacing: -0.3px !important;
    color: #104164;
    margin-bottom: 10px;
  }

  .capabilities .sec-header p {
    max-width: 370px;
    font-size: 19.5px !important;
    line-height: 30px !important;
    font-weight: 500;
    color: #104164;
  }

  .capabilities .cap-slider {
    padding: 0 !important;
  }

  .cap-slide-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .capabilities .cap-slider .cap-card {
    min-height: 101px;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 24px 10px;
    background: #fafbfc;
    border: 1px solid #dbe6ee;
    border-radius: 18px;
    box-shadow: 0 6px 9px rgba(15, 23, 42, 0.05);
  }

  .capabilities .cap-slider .cap-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #e8f1f6;
  }

  .capabilities .cap-slider .cap-icon img {
    width: 30px;
    height: 30px;
  }

  .capabilities .cap-slider .cap-text h3 {
    font-family: 'Geist', sans-serif;
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
    color: #335577;
    margin-bottom: 6px;
  }

  .capabilities .cap-slider .cap-text p {
    font-size: 17px;
    line-height: 24px;
    font-weight: 500;
    color: #5b798e;
  }

  .capabilities .cap-slider .equip-img {
    height: 214px;
    margin-top: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .capabilities .cap-slider .equip-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* dots: grey 10px, active blue 16px */
  .capabilities .m-dots {
    gap: 17px;
    height: 16px;
    margin-top: -3px;
  }

  .capabilities .m-dot {
    width: 10px;
    height: 10px;
    background: #d9d9d9;
  }

  .capabilities .m-dot.is-active {
    width: 16px;
    height: 16px;
    background: #4285f4;
    transform: none;
  }
}


/* =========================================
   HOME "WHAT MAKES US DIFFERENT" - MOBILE (767px and below)
   Open item: photo on top, navy panel with the text.
   Closed items: white rows with a grey round chevron.
   ========================================= */
@media (max-width: 767px) {
  .different {
    padding: 38px 0 40px;
  }

  .different .container {
    padding: 0 10px;
  }

  .different .sec-header {
    margin-bottom: 24px;
  }

  .different .sec-header h2 {
    max-width: 290px;
    font-family: 'Inter', sans-serif;
    font-size: 29.3px !important;
    line-height: 40px !important;
    font-weight: 600;
    letter-spacing: -0.3px !important;
    color: #104164;
    margin-bottom: 15px;
  }

  .different .sec-header p,
  .different .sec-header p.narrow {
    max-width: 400px;
    font-size: 19.5px !important;
    line-height: 30px !important;
    font-weight: 500;
    color: #104164;
  }

  .accordion {
    gap: 15px;
  }

  .acc-item {
    border: 1px solid #e3e9ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
  }

  .acc-item.active {
    background: #104164;
    border-color: #104164;
    border-radius: 22px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
    margin-bottom: 6px;
  }

  .acc-item.active .acc-img {
    height: 142px;
    object-fit: cover;
  }

  .acc-main,
  .acc-item.active .acc-main {
    min-height: 68px;
    padding: 20px 27px 20px 24px;
  }

  .acc-item.active .acc-main {
    padding: 33px 30px 30px;
  }

  .acc-head {
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19.8px !important;
    line-height: 28px;
    font-weight: 600;
    color: #335577;
  }

  .acc-item.active .acc-head {
    font-size: 17px !important;
    color: #fff;
  }

  .acc-chev {
    width: 26px;
    height: 26px;
    background: #c3d0da;
  }

  .acc-chev::after {
    left: 9px;
    top: 7.5px;
    width: 7px;
    height: 7px;
    border-right-width: 2.4px;
    border-bottom-width: 2.4px;
  }

  .acc-item.active .acc-chev {
    background: #b7c6d0;
  }

  .acc-item.active .acc-body {
    margin-top: 19px;
  }

  .acc-body p {
    font-size: 14.7px;
    line-height: 28.5px;
    font-weight: 500;
    color: #fff;
  }
}


/* =========================================
   HOME SERVICES - MOBILE (767px and below)
   "Everything that goes underground": one card per slide,
   light blue photo box, outline dots with a filled active dot.
   ========================================= */
@media (max-width: 767px) {
  .services {
    padding: 44px 0 40px;
    background: #f0f6fc;
  }

  .services .container {
    padding: 0 16px;
  }

  .services .sec-header {
    margin-bottom: 26px;
  }

  .services .sec-header h2 {
    max-width: 280px;
    font-family: 'Inter', sans-serif;
    font-size: 28.9px !important;
    line-height: 40px !important;
    font-weight: 600;
    letter-spacing: -0.3px !important;
    color: #104164;
    margin-bottom: 15px;
  }

  .services .sec-header p {
    max-width: 380px;
    font-size: 19.5px !important;
    line-height: 28px !important;
    font-weight: 500;
    color: #104164;
  }

  /* start from the first card (centering hid card 1 off screen) */
  .services-grid.m-slider {
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  .services .service-card {
    min-height: 436px;
    padding: 19px 19px 21px;
    background: #fff;
    border: 1px solid #e3eaf0;
    border-radius: 18px;
  }

  .services .service-img {
    height: 144px;
    margin-bottom: 0;
    border-radius: 14px;
    background: #e8f1f6;
  }

  /* photo widths come from the admin (desktop size), a bit bigger here */
  .services .service-img img {
    transform: scale(1.25);
  }

  .services .service-content {
    margin-bottom: 0;
  }

  .services .service-content h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-family: 'Geist', sans-serif;
    font-size: 24.1px;
    line-height: 30px;
    font-weight: 700;
    color: #335577;
  }

  .services .service-content p {
    font-size: 17.1px;
    line-height: 27px;
    font-weight: 400;
    color: #5d7a90;
  }

  .services .service-card .service-link {
    min-height: 32px;
    margin-top: 16px;
    font-size: 18.2px;
    line-height: 22px;
    font-weight: 700;
    color: #104164;
  }

  .services .service-arrow {
    width: 32px;
    height: 32px;
    background: #d9e7f0;
    color: #2f6c9a;
  }

  .services .service-arrow svg {
    width: 18px;
    height: 18px;
  }

  /* dots: outline circles, active one filled blue */
  .services .m-dots {
    gap: 9px;
    height: 15px;
    margin-top: 24px;
  }

  .services .m-dot {
    width: 14px;
    height: 14px;
    background: transparent;
    border: 1.5px solid #b6d1e5;
  }

  .services .m-dot.is-active {
    width: 15px;
    height: 15px;
    background: #4285f4;
    border-color: #4285f4;
    transform: none;
  }
}


/* =========================================
   HOME "WHO WE WORK FOR" - MOBILE (767px and below)
   Dark section, one card per slide with the fading outline,
   white dots with a blue active dot.
   ========================================= */
@media (max-width: 767px) {
  .audience {
    padding: 47px 0 40px;
  }

  .audience .container {
    padding: 0 14px;
  }

  .audience .sec-header {
    margin-bottom: 25px;
  }

  .audience .sec-header h2 {
    max-width: 330px;
    font-family: 'Inter', sans-serif;
    font-size: 28.9px !important;
    line-height: 39px !important;
    font-weight: 600;
    letter-spacing: -0.3px !important;
    color: #fff;
    margin-bottom: 15px;
  }

  .audience .sec-header p {
    max-width: 390px;
    font-size: 19.5px !important;
    line-height: 28px !important;
    font-weight: 500;
    color: #fff;
  }

  .audience-grid.m-slider {
    justify-content: flex-start !important;
    padding: 0 !important;
  }

  .audience-grid.m-slider .aud-card {
    min-height: 293px;
    padding: 31px 24px 28px 25px;
    border-radius: 24px;
  }

  .audience .aud-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    background: #1f303c;
  }

  .audience .aud-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
  }

  /* the wide last card looks like the others on mobile */
  .audience .aud-title-row {
    display: block;
    margin-bottom: 0;
  }

  .audience .aud-title-row .aud-icon {
    margin-bottom: 14px;
  }

  .audience .aud-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 21.3px;
    line-height: 32px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }

  .audience .aud-card p {
    font-size: 17px;
    line-height: 27px;
    color: #ccd0d3;
  }

  /* dots: white, active one blue and bigger */
  .audience .m-dots {
    gap: 9px;
    height: 15px;
    margin-top: 24px;
  }

  .audience .m-dot {
    width: 12px;
    height: 12px;
    background: #fff;
  }

  .audience .m-dot.is-active {
    width: 15px;
    height: 15px;
    background: #4285f4;
    transform: none;
  }
}


/* =========================================
   HOME HISTORY "39 YEARS UNDERGROUND" - MOBILE (767px and below)
   Photos and text sit together in one white card with a soft border.
   ========================================= */
@media (max-width: 767px) {
  .history {
    padding: 44px 0 40px;
  }

  .history .container {
    padding: 0 15px;
  }

  .history .sec-header {
    margin-bottom: 26px;
  }

  .history .sec-header h2 {
    max-width: 360px;
    font-family: 'Inter', sans-serif;
    font-size: 28.9px !important;
    line-height: 39px !important;
    font-weight: 600;
    letter-spacing: -0.3px !important;
    color: #104164;
    margin-bottom: 15px;
  }

  .history .sec-header .hist-sub {
    max-width: 380px;
    font-size: 19.5px !important;
    line-height: 30px !important;
    font-weight: 500;
    color: #104164;
  }

  .history .history-content {
    display: block;
    padding: 20px 19px 16px;
    background: #fff;
    border: 1px solid #ecf1f5;
    border-radius: 22px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  }

  .history .history-images {
    width: 100%;
  }

  .history .hist-img-big {
    height: 114px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .history .hist-img-row {
    gap: 17px;
  }

  .history .hist-img-small {
    height: 114px;
    border-radius: 14px;
  }

  .history .history-text {
    margin-top: 12px;
    padding: 0;
  }

  .history .history-text p {
    font-size: 17.2px;
    line-height: 27.3px;
    letter-spacing: 0;
    color: #5b798e;
    margin-bottom: 27px;
  }

  .history .history-text p:last-child {
    margin-bottom: 0;
  }

  .history .history-text strong {
    font-weight: 400;
    color: inherit;
  }
}


/* =========================================
   HOME EMERGENCY CTA + FAQ - MOBILE (767px and below)
   ========================================= */
@media (max-width: 767px) {
  /* ---------- emergency CTA ---------- */
  .cta {
    padding: 100px 0 110px;
  }

  .cta .cta-content {
    padding: 0 12px;
  }

  .cta h2 {
    max-width: 300px;
    margin: 0 auto 30px;
    font-family: 'Inter', sans-serif;
    font-size: 37px !important;
    line-height: 49px !important;
    font-weight: 600;
    letter-spacing: -0.3px !important;
  }

  .cta p {
    max-width: 400px;
    margin: 0 auto 26px;
    font-size: 17px;
    line-height: 27px;
    font-weight: 400;
  }

  .cta .btn-primary {
    width: auto;
    height: 77px;
    padding: 0 36px;
    gap: 16px;
    background: #104164;
    font-size: 18.5px;
    font-weight: 800;
    letter-spacing: 2px;
  }

  .cta .btn-arrow,
  .cta .btn-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* ---------- FAQ ---------- */
  .faq {
    padding: 50px 0 40px;
  }

  .faq .container {
    padding: 0 15px;
  }

  .faq-header {
    margin-bottom: 26px;
  }

  .faq .faq-header h2 {
    max-width: 300px;
    font-family: 'Inter', sans-serif;
    font-size: 28.9px !important;
    line-height: 39px !important;
    font-weight: 600;
    letter-spacing: -0.3px !important;
    color: #104164;
    margin-bottom: 15px;
  }

  .faq .faq-header p {
    max-width: 380px;
    font-size: 19.5px !important;
    line-height: 28.7px !important;
    font-weight: 500;
    color: #104164;
  }

  .faq-list {
    gap: 15px;
  }

  .faq-item {
    border: 1px solid #e3e9ee;
    border-radius: 14px;
  }

  .faq-q {
    min-height: 66px;
    padding: 19px 26px 19px 24px;
    gap: 14px;
    font-size: 19.8px !important;
    line-height: 28px;
    font-weight: 600;
    color: #335577;
  }

  .faq-chev {
    width: 26px;
    height: 26px;
    margin-left: 0;
    background: #c3d0da;
  }

  .faq-chev::after {
    left: 9px;
    top: 7.5px;
    width: 7px;
    height: 7px;
    border-right: 2.4px solid #fff;
    border-bottom: 2.4px solid #fff;
  }

  .faq-a {
    padding: 0 24px;
  }

  .faq-a p {
    font-size: 16px;
    line-height: 26px;
  }
}


/* =========================================
   FOOTER - MOBILE (767px and below)
   Three stacked cards: photo with logo, navy links card
   (two columns + "Learn more" under a line), contact card
   with all six social buttons in one row.
   ========================================= */
@media (max-width: 767px) {
  .site-footer {
    padding: 44px 0 24px;
  }

  .site-footer .footer-grid {
    padding: 0 14px;
    gap: 19px;
  }

  .site-footer .footer-right {
    gap: 19px;
  }

  /* photo card */
  .site-footer .footer-photo {
    height: 512px;
    padding: 0 20px;
    border-radius: 24px;
  }

  .site-footer .footer-logo {
    width: 88px;
    margin-top: 70px;
  }

  .site-footer .footer-about {
    max-width: 340px;
    margin-top: 4px;
    font-size: 16.5px;
    line-height: 26.5px;
    font-weight: 500;
  }

  .site-footer .copyright {
    max-width: 252px;
    margin-bottom: 76px;
    font-size: 14px;
    line-height: 23px;
    color: #fff;
  }

  /* links card */
  .site-footer .footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 27px !important;
    padding: 41px 40px 40px;
    border-radius: 24px;
  }

  .site-footer .footer-links .col-learn {
    grid-column: 1 / -1;
    margin-top: 33px;
    padding-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer .footer-col h4,
  .site-footer .footer-contact h4 {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 1.4px;
  }

  .site-footer .footer-col li,
  .site-footer .footer-col a {
    font-size: 14.5px;
    line-height: 22px;
  }

  .site-footer .footer-col li + li {
    margin-top: 7px;
  }

  /* contact card */
  .site-footer .footer-contact {
    gap: 48px;
    padding: 31px 32px 28px;
    border-radius: 24px;
  }

  .site-footer .contact-info {
    width: auto;
  }

  .site-footer .contact-info h4 {
    margin-bottom: 40px;
  }

  .site-footer .contact-info p {
    font-size: 16.5px;
    line-height: 30px;
    font-weight: 600;
  }

  .site-footer .contact-info hr {
    width: 222px;
    margin: 11px 0 15px;
  }

  .site-footer .contact-info hr:last-of-type {
    margin-top: 16px;
    margin-bottom: 15px;
  }

  .site-footer .connect h4 {
    margin-bottom: 16px;
  }

  .site-footer .social {
    /* six in one row; buttons shrink a little on small phones */
    grid-template-columns: repeat(6, minmax(0, 48px));
    gap: clamp(6px, 2.6vw, 11px);
  }

  .site-footer .social a {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }

  .site-footer .social svg {
    width: 26px;
    height: 26px;
  }

  .site-footer .social a[aria-label="Facebook"] svg,
  .site-footer .social a[aria-label="Youtube"] svg {
    width: 28px;
    height: 28px;
  }
}


/* =========================================
   MOBILE HEADER FIXES (767px and below)
   - "An NEU Company" next to the logo stays white on the blue band,
     also after scrolling over light sections
   - menu button: three even lines, turns into an X when the menu is open
   ========================================= */
@media (max-width: 767px) {
  .site-header .logo-tag,
  .scrolled .logo-tag,
  .scrolled.is-light .logo-tag,
  .menu-open .logo-tag {
    display: inline !important;
    font-size: 12px !important;
    line-height: 16px !important;
    font-weight: 500 !important;
    color: #fff !important;
    opacity: 1 !important;
  }

  .site-header .logo-line,
  .scrolled .logo-line,
  .scrolled.is-light .logo-line,
  .menu-open .logo-line {
    display: block !important;
    height: 22px !important;
    background: rgba(255, 255, 255, 0.5) !important;
  }

  .menu-toggle i,
  .scrolled .menu-toggle i,
  .scrolled.is-light .menu-toggle i {
    position: relative !important;
    width: 22px !important;
    height: 16px !important;
    border: 0 !important;
    transform: none !important;
  }

  .menu-toggle i::before,
  .menu-toggle i::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: #104164 !important;
    transition: transform 0.35s ease, top 0.35s ease, box-shadow 0.2s ease !important;
  }

  /* closed: three lines (top + middle + bottom via box shadow) */
  .menu-toggle i::before {
    top: 0 !important;
    box-shadow: 0 7px 0 #104164, 0 14px 0 #104164 !important;
  }

  .menu-toggle i::after {
    top: 7px !important;
    opacity: 0 !important;
  }

  /* open: X */
  .menu-open .menu-toggle i {
    transform: none !important;
  }

  .menu-open .menu-toggle i::before {
    top: 7px !important;
    box-shadow: none !important;
    transform: rotate(45deg) !important;
  }

  .menu-open .menu-toggle i::after {
    opacity: 1 !important;
    transform: rotate(-45deg) !important;
  }
}


/* =========================================
   MOBILE MENU LAYOUT (767px and below)
   Starts right under the header (no empty space on top), smaller
   links so everything fits, service list full width, phone as a button.
   ========================================= */
@media (max-width: 767px) {
  .mobile-nav {
    align-items: flex-start !important;
    padding: 96px 0 32px !important;
  }

  .mobile-nav .container {
    padding: 0 20px !important;
  }

  .mobile-nav ul > li + li {
    margin-top: 6px !important;
  }

  .m-link {
    padding: 6px 0 !important;
    font-size: 30px !important;
    line-height: 38px !important;
    letter-spacing: -0.5px !important;
  }

  .m-item.is-current > .m-link,
  .m-link:hover {
    color: #5fa8dc !important;
  }

  .m-sub {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 10px 0 16px !important;
  }

  .m-sub a {
    min-height: 64px !important;
    padding: 8px 14px 8px 8px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    line-height: 20px !important;
  }

  .m-sub img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px !important;
  }

  .m-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 28px !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 12px !important;
  }

  .m-contact a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 54px !important;
    border-radius: 2px !important;
    background: #1271b5 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: #fff !important;
  }
}

/* ---------- Mobile fix: footer links card ----------
   The columns kept their desktop widths (143 / 170 / 90px), so on
   small phones (320-360px) the card pushed the page sideways. */
@media (max-width: 767px) {
  .site-footer .footer-links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .site-footer .footer-links .footer-col {
    width: auto;
    min-width: 0;
    padding-right: 0;
  }
}

@media (max-width: 380px) {
  .site-footer .footer-links {
    gap: 0 16px !important;
    padding: 34px 24px 32px !important;
  }

  .site-footer .footer-col h4 {
    font-size: 13px;
    letter-spacing: 1px;
  }
}