.service-card {
  min-height: 210px;
  padding: 1.25rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #edf4ff;
  border: 1px solid #c8dcff;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(33, 100, 232, .12);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon .heat,
.service-icon .accent {
  stroke: var(--orange);
  stroke-width: 2.7;
}

.service-card h3 {
  margin: .9rem 0 .55rem;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.service-card p {
  color: #425069;
  font-size: .84rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .service-icon {
    width: 54px;
    height: 54px;
  }

  .service-icon svg {
    width: 36px;
    height: 36px;
  }
}

.process-card {
  position: relative;
  min-height: 210px;
  padding: 1rem;
  overflow: visible;
}

.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 48px;
  right: -13px;
  width: 24px;
  height: 24px;
  background: white;
  border-top: 1px solid #b9cdf0;
  border-right: 1px solid #b9cdf0;
  transform: rotate(45deg);
}

.process-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.process-top b {
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.process-icon {
  width: 68px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #f3f7ff;
  border: 1px solid #c8dcff;
  border-radius: 10px;
}

.process-icon svg {
  width: 56px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-icon .accent {
  stroke: var(--orange);
  stroke-width: 2.6;
}

.process-icon .high-line {
  stroke: var(--orange);
}

.process-icon .accent-fill {
  fill: var(--orange);
  stroke: var(--orange);
}

.phase-line {
  height: 4px;
  margin: .85rem 0 .75rem;
  overflow: hidden;
  background: #dfe8f5;
  border-radius: 4px;
}

.phase-line span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.process-card h3 {
  margin: 0 0 .45rem;
  font-size: .94rem;
  text-transform: uppercase;
}

.process-card p {
  font-size: .8rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .process-card:not(:last-child)::after {
    display: none;
  }
}

/* Reference icon language: clean blue linework, no decorative icon tiles. */
.service-icon,
.process-icon {
  color: var(--blue);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.service-icon {
  width: 48px;
  height: 48px;
  place-items: start;
}

.service-icon svg {
  width: 38px;
  height: 38px;
}

.service-icon .heat,
.service-icon .accent,
.process-icon .accent,
.process-icon .high-line {
  stroke: currentColor;
  stroke-width: 2.3;
}

.process-icon {
  width: 100%;
  height: 52px;
  place-items: center;
}

.process-icon svg {
  width: 48px;
  height: 44px;
}

.process-top {
  display: grid;
  grid-template-columns: 2.6rem 1fr 2.6rem;
  align-items: start;
}

.process-top b {
  grid-column: 1;
  grid-row: 1;
}

.process-top .process-icon {
  grid-column: 2;
  grid-row: 1;
}

.phase-line {
  display: none;
}

.process-card:not(:last-child)::after {
  content: "›";
  top: 58px;
  right: -13px;
  width: 20px;
  height: auto;
  color: var(--navy);
  background: white;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
  transform: none;
}

.process-card h3 {
  margin-top: .55rem;
}

/* Shared card geometry for both four-step groups. */
.split-section > div {
  min-width: 0;
}

.services,
.process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  align-items: stretch;
}

.services .card,
.process .card {
  min-width: 0;
  width: 100%;
  height: 230px;
  min-height: 230px;
  margin: 0;
}

.services .card {
  overflow: hidden;
}

.services .card h3,
.process .card h3 {
  min-height: 2.5em;
  overflow-wrap: anywhere;
}

@media (max-width: 1500px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .services,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
  }

  .services .card,
  .process .card {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 700px) {
  .services,
  .process {
    grid-auto-rows: 250px;
  }

  .services .card,
  .process .card {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 520px) {
  .services,
  .process {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .services .card,
  .process .card {
    height: auto;
    min-height: 220px;
  }
}

/* Keep the diagnostic report preview square to the evidence grid. */
.report-preview {
  align-items: stretch;
}

.report-cover {
  height: 190px;
  transform: none;
  transform-origin: center;
}

.report-preview img {
  height: 190px;
}

/* Separate and identify the two thermography methods in the hero. */
.hero-media {
  gap: 12px;
  padding-left: 12px;
  background: #e5edf6;
}

.hero-media .thermal-mode {
  position: relative;
  min-width: 0;
  background: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(7, 23, 53, .12);
}

.hero-media .thermal-mode video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.thermal-video-toggle {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 4px;
  padding: .42rem .62rem;
  background: rgba(7, 23, 53, .76);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.thermal-video-toggle:hover,
.thermal-video-toggle:focus-visible {
  background: var(--blue);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-media .thermal-mode figcaption,
.hero-media .drone figcaption {
  position: absolute;
  right: auto;
  bottom: 22px;
  left: 22px;
  padding: .6rem 1rem;
  color: white;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(7, 23, 53, .24);
}

.hero-media .manual figcaption {
  background: var(--orange);
}

.hero-media .drone figcaption {
  background: var(--blue);
}

.grouped-campaigns {
  padding: clamp(3.5rem, 6vw, 6rem) 3.5vw;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: #f3f7fb;
}

.campaigns-copy h2 {
  margin: .35rem 0 1rem;
  color: var(--navy);
  font-size: clamp(2.1rem, 3.7vw, 4.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.campaigns-copy > p:last-child {
  max-width: 38rem;
  color: var(--muted);
}

.campaigns-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.campaigns-flow article {
  min-height: 170px;
  padding: 1.35rem;
  border: 1px solid #d3dfed;
  border-top: 4px solid var(--blue);
  background: #fff;
}

.campaigns-flow article:last-child {
  border-top-color: var(--orange);
}

.campaigns-flow b {
  color: var(--blue);
  font-size: 1.8rem;
}

.campaigns-flow h3 {
  margin: .75rem 0 .25rem;
  color: var(--navy);
  font-size: 1rem;
  text-transform: uppercase;
}

.campaigns-flow p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 700px) {
  .hero-media {
    gap: 10px;
    padding: 10px 0 0;
  }

  .grouped-campaigns {
    padding: 3rem 1.25rem;
    grid-template-columns: 1fr;
  }

  .campaigns-flow {
    grid-template-columns: 1fr;
  }
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  background: transparent;
}

.brand img {
  width: 228px;
  height: 54px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: none;
  min-width: 76px;
  height: 42px;
  padding: 0 .8rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: var(--navy);
  border: 1px solid #cad6e4;
  border-radius: 5px;
  background: #fff;
  font-weight: 800;
}

.menu-toggle > span:first-child,
.menu-toggle > span:first-child::before,
.menu-toggle > span:first-child::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease;
}

.menu-toggle > span:first-child {
  position: relative;
}

.menu-toggle > span:first-child::before,
.menu-toggle > span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle > span:first-child::before { top: -6px; }
.menu-toggle > span:first-child::after { top: 6px; }

@media (max-width: 1100px) {
  .site-header {
    position: sticky;
  }

  .site-header .menu-toggle {
    display: inline-flex;
  }

  .site-header > .button {
    margin-left: auto;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: .65rem 3.5vw 1rem;
    display: none;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #cad6e4;
    background: #fff;
    box-shadow: 0 18px 35px rgba(7, 23, 53, .14);
  }

  .site-header.nav-open nav {
    display: flex;
  }

  .site-header nav a {
    padding: .8rem .25rem;
    border-bottom: 1px solid #e3eaf2;
    font-size: 1rem;
  }

  .site-header nav a:hover,
  .site-header nav a.active {
    border-color: #e3eaf2;
    color: var(--blue);
  }

  .site-header.nav-open .menu-toggle > span:first-child {
    background: transparent;
  }

  .site-header.nav-open .menu-toggle > span:first-child::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-header.nav-open .menu-toggle > span:first-child::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 700px) {
  .brand img {
    width: 170px;
    height: 46px;
  }

  .site-header {
    padding: 0 1rem;
    gap: .65rem;
  }

  .site-header > .button {
    display: none;
  }

  .site-header .menu-toggle {
    margin-left: auto;
  }

  .site-header nav {
    padding: .55rem 1rem 1rem;
  }
}

.site-footer {
  color: var(--navy);
  border-top: 1px solid #d3dfec;
  background: #eef4fb;
}

.footer-main {
  padding: clamp(3rem, 5vw, 5rem) 3.5vw;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(170px, .75fr));
  gap: clamp(2rem, 4vw, 5rem);
}

.footer-brand img {
  width: min(100%, 245px);
  height: auto;
  display: block;
}

.footer-brand p {
  max-width: 29rem;
  margin: 1.15rem 0 1.5rem;
  color: #43526a;
  font-size: .95rem;
}

.footer-cta {
  width: fit-content;
  text-decoration: none;
}

.footer-column h2 {
  margin: .35rem 0 1.05rem;
  color: var(--navy);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: .7rem;
}

.footer-links a,
.footer-column address {
  color: #35445c;
  font-size: .9rem;
  line-height: 1.55;
  text-decoration: none;
  font-style: normal;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-addresses {
  margin-top: 1rem;
  display: grid;
  gap: .7rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.footer-socials a,
.footer-socials .social-link {
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(7, 23, 53, .18);
}

.footer-socials img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.footer-socials .is-pending {
  opacity: .38;
  cursor: not-allowed;
}

.footer-bottom {
  min-height: 70px;
  padding: 1rem 3.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #dce7f7;
  background: var(--navy);
}

.footer-bottom p {
  margin: 0;
  font-size: .78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a {
  color: #fff;
  font-size: .8rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #8fb7ff;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 620px) {
  .footer-main {
    padding: 2.75rem 1.25rem;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    padding: 1.2rem 1.25rem;
    align-items: flex-start;
    flex-direction: column;
  }
}
