/* ==========================================================================
   RHB Infra Engineering — site stylesheet
   Design tokens and breakpoints mirror the original build:
   tablet <= 1024px, mobile <= 767px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Palette */
  --c-text: #616379;          /* body copy */
  --c-heading: #222334;       /* headings, dark sections */
  --c-white: #ffffff;
  --c-hairline: #ffffff2b;    /* translucent rules on dark/blue */
  --c-blue: #005bac;          /* brand blue */
  --c-blue-light: #43b9fa;    /* hover blue */
  --c-border: #dcdcde;
  --c-grey: #f5f4f5;          /* light section background */
  --c-black: #0a0b14;

  /* Type scale — desktop */
  --fs-h1: 48px;
  --fs-h2: 39px;
  --fs-h3: 31.25px;
  --fs-h4: 25px;
  --fs-h5: 20px;
  --fs-h6: 14px;
  --fs-display: 69px;         /* hero headline + animated headline */
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-tiny: 13px;
  --fs-nav: 16px;
  --fs-btn: 12px;

  /* Families */
  --ff-head: "Raleway", sans-serif;
  --ff-body: "Inter", sans-serif;
  --ff-nav: "Be Vietnam Pro", sans-serif;

  /* Layout */
  --container: 1280px;
  --shadow-soft: 0 0 60px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  :root {
    --fs-h1: 37px;
    --fs-h2: 31px;
    --fs-h3: 25px;
    --fs-h4: 21px;
    --fs-h5: 18px;
    --fs-h6: 13px;
    --fs-display: 49px;
    --fs-body: 15px;
    --fs-small: 13px;
    --fs-tiny: 12px;
    --fs-nav: 15px;
    --container: 1024px;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 28px;
    --fs-h2: 25px;
    --fs-h3: 22px;
    --fs-h4: 20px;
    --fs-h5: 16px;
    --fs-h6: 12px;
    --fs-display: 39px;
    --fs-body: 14px;
    --fs-small: 12px;
    --fs-tiny: 11px;
    --fs-nav: 14px;
    --fs-btn: 11px;
    --container: 767px;
  }
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* clip, not hidden: hidden would make this a scroll container and break
   position:sticky further down the page. */
html { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5em;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: clip;
}

img,
svg { max-width: 100%; }

img {
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover { color: var(--c-blue); }

ul { list-style: none; margin: 0; padding: 0; }

p { margin: 0 0 0.9rem; }

.iconbox__text,
.card__text,
.site-footer__contact p { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--ff-head);
  color: var(--c-heading);
}

h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.2em; letter-spacing: -1px; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2em; letter-spacing: -1.5px; }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3em; letter-spacing: -1.2px; }
h4 { font-size: var(--fs-h4); font-weight: 400; line-height: 1.3em; letter-spacing: -0.5px; }
h5 { font-size: var(--fs-h5); font-weight: 700; line-height: 1.4em; letter-spacing: -0.5px; }

h6,
.eyebrow {
  margin: 0;
  font-family: var(--ff-head);
  font-size: var(--fs-h6);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-blue);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 20px;
  background: var(--c-white);
  color: var(--c-blue);
}

.skip-link:focus { left: 0; }

/* Icon glyphs pulled from the original icon set, inlined as SVG symbols. */
.icn {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: block;
}

.sprite { display: none; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.section { position: relative; }

.section__inner {
  max-width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Sections whose content column is narrower than the container. */
.section__inner--narrow {
  max-width: 640px;
  padding: 32px;
}

/* A section that paints a full-bleed image behind its content. */
.bg-cover {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 15px 30px;
  border: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-white);
  background: var(--c-blue);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn:hover,
.btn:focus {
  background: var(--c-blue-light);
  color: var(--c-white);
}

.btn--sm { padding: 12px 24px; }

.btn--lg { padding: 20px 40px; }

.btn--outline {
  background: transparent;
  border: 1px solid var(--c-white);
  color: var(--c-white);
}

/* Label first, arrow after it. */
.btn--arrow { gap: 7px; }

.btn__icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn--outline:hover,
.btn--outline:focus {
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.topbar { background: var(--c-blue); }

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px;
}

.info-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-inline: -8px;
}

.info-list__item {
  display: flex;
  align-items: center;
  margin-inline: 8px;
  font-size: var(--fs-tiny);
  line-height: 24px;
  color: var(--c-white);
}

.info-list__icon {
  display: flex;
  width: 20px;
  flex: 0 0 20px;
}

.info-list__icon .icn {
  width: 16px;
  height: 16px;
  fill: var(--c-white);
}

.info-list__text { padding-left: 5px; }

@media (max-width: 767px) {
  .topbar { display: none; }
}

.masthead {
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 20;
}

.masthead__inner {
  display: flex;
  align-items: stretch;
}

.masthead__brand {
  width: 20%;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.masthead__brand a {
  display: block;
  width: 100%;
}

.masthead__brand img {
  width: 100%;
  height: 71px;
  object-fit: cover;
  object-position: center center;
}

.masthead__bar {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding-right: 10px;
}

/* Primary navigation */
.nav__list {
  display: flex;
  align-items: center;
}

.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  padding: 25px 0;
  margin-inline: 17.5px;
  font-family: var(--ff-nav);
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.5em;
  color: var(--c-heading);
}

.nav__item:first-child > .nav__link { margin-left: 0; }
.nav__item:last-child > .nav__link { margin-right: 0; }

.nav__link:hover,
.nav__link:focus,
.nav__link.is-active { color: var(--c-blue); }

.nav__caret {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.nav__caret svg { width: 16px; height: 16px; fill: currentColor; }

/* Desktop dropdown */
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  padding: 0;
  background: var(--c-white);
  border-bottom: 5px solid var(--c-blue);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 30;
}

.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__submenu li:not(:last-child) { border-bottom: 1px solid var(--c-grey); }

.nav__sublink {
  display: block;
  padding: 10px 20px;
  font-family: var(--ff-nav);
  font-size: var(--fs-nav);
  font-weight: 600;
  color: var(--c-heading);
}

.nav__sublink:hover,
.nav__sublink:focus,
.nav__sublink.is-active {
  background: var(--c-blue);
  color: var(--c-white);
}

/* Burger */
.nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: var(--c-hairline);
  color: var(--c-blue);
  cursor: pointer;
  line-height: 0;
}

.nav-toggle svg { width: 28px; height: 28px; fill: currentColor; }

.nav-toggle:hover,
.nav-toggle:focus { background: transparent; color: var(--c-blue-light); }

.nav-toggle__close { display: none; }

.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1024px) {
  .masthead__brand { width: 25%; }
  .masthead__brand img { height: 53px; }
  .masthead__bar { width: 75%; padding: 10px; }

  .nav-toggle { display: block; margin: 0 auto; }

  /* Off-canvas dropdown panel */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--c-white);
    border-bottom: 5px solid var(--c-blue);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav.is-open { display: block; }

  .nav__list { display: block; }

  .nav__link {
    justify-content: space-between;
    padding: 10px 20px;
    margin: 0;
  }

  .nav__item:not(:last-child) { border-bottom: 1px solid var(--c-grey); }

  .nav__link:hover,
  .nav__link:focus,
  .nav__link.is-active {
    background: var(--c-blue);
    color: var(--c-white);
  }

  .nav__submenu {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav__item.is-open > .nav__submenu { display: block; }

  .nav__sublink { padding: 10px 20px 10px 36px; }

  .nav__caret {
    padding: 10px;
    margin: -10px -10px -10px 0;
    transition: transform 0.2s;
  }

  .nav__item.is-open > .nav__link .nav__caret { transform: rotate(180deg); }

  .masthead__cta { display: none; }
}

@media (max-width: 767px) {
  .masthead__brand { width: 80%; }
  .masthead__brand img { height: 89px; }
  .masthead__bar { width: 20%; }
  .nav-toggle svg { width: 35px; height: 35px; }
}

/* --------------------------------------------------------------------------
   6. Hero — background slideshow
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s linear;
}

.hero__slide.is-active { opacity: 1; }

.hero__slide-image {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  transform: scale(1);
  transition: transform 20s linear;
}

.hero__slide.is-active .hero__slide-image { transform: scale(1.3); }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(70deg, var(--c-black) 0%, #7600002b 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  padding: 5em 0 10em;
}

.hero__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
}

.hero__eyebrow { color: var(--c-white); }

.hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -1px;
  color: var(--c-white);
}

.hero__text { color: var(--c-white); }

.hero__actions { display: flex; }

@media (max-width: 1024px) {
  .hero__inner { padding: 5em 0 7em; }
  .hero__content { width: 60%; margin-right: 40%; padding: 21px; }
}

@media (max-width: 767px) {
  .hero__inner { padding: 1em 0 5em; }
  .hero__content { width: 100%; margin-right: 0; }
  .hero__actions { display: block; }
  .hero__actions .btn { display: flex; width: 100%; }
}

/* Simple page banner used by the inner pages. */
.pagehead {
  position: relative;
  overflow: hidden;
}

.pagehead__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 112px 32px;
  text-align: center;
}

.pagehead__title { color: var(--c-white); }

.pagehead__sub {
  color: var(--c-white);
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   7. Icon boxes
   -------------------------------------------------------------------------- */

/* Circular framed icon */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  padding: 0.5em;
  border: 1px solid var(--c-blue);
  border-radius: 50%;
  color: var(--c-blue);
  flex: 0 0 auto;
}

.icon-circle .icn { width: 1em; height: 1em; }

/* Icon + text, laid out side by side */
.iconbox {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.iconbox__title {
  margin: 0 0 7px;
  font-family: var(--ff-head);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3em;
  letter-spacing: -1.2px;
  color: var(--c-heading);
}

.iconbox__text {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.5em;
}

/* Compact variant (20px title) used in the "why choose us" grids */
.iconbox--sm { gap: 21px; }

.iconbox--sm .iconbox__title {
  font-size: var(--fs-h5);
  line-height: 1.4em;
  letter-spacing: -0.5px;
}

/* Light-on-dark variant */
.iconbox--invert .icon-circle { border-color: var(--c-white); color: var(--c-white); }
.iconbox--invert .iconbox__title,
.iconbox--invert .iconbox__text { color: var(--c-white); }

/* Stacked variant: icon sits above the text */
.iconbox--stacked { flex-direction: column; align-items: flex-start; }

@media (max-width: 1024px) {
  .icon-circle { font-size: 28px; }
  .iconbox,
  .iconbox--sm { gap: 14px; }
}

@media (max-width: 767px) {
  .whyband__cell .icon-circle,
  .grid-3__cell .icon-circle { font-size: 21px; }

  .page-index .iconbox__title { margin-bottom: 0; }
}

/* --------------------------------------------------------------------------
   8. Feature strip (three cards overlapping the hero)
   -------------------------------------------------------------------------- */

.featurestrip__inner {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.featurestrip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -5em;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.featurestrip__cell { padding: 2em; }

.featurestrip__cell--blue { background: var(--c-blue); }

.featurestrip__cell--blue .icon-circle { border-color: var(--c-white); color: var(--c-white); }
.featurestrip__cell--blue .iconbox__title,
.featurestrip__cell--blue .iconbox__text { color: var(--c-white); }

@media (max-width: 1024px) {
  .featurestrip__inner { padding: 0 1em 3em; }
  .featurestrip__cell { padding: 21px; }
  .featurestrip__cell .iconbox { flex-direction: column; gap: 0; }
}

@media (max-width: 767px) {
  .featurestrip__inner { padding: 0 1em 1em; }
  .featurestrip__grid { grid-template-columns: 1fr; }
  .featurestrip__cell .iconbox { flex-direction: row; gap: 16px; }
}

/* --------------------------------------------------------------------------
   9. Split section: copy beside a masked image
   -------------------------------------------------------------------------- */

.split__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 7em 0 0;
}

.split__copy {
  flex: 0 1 45%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 3em 5em 3em 1em;
}

.split__copy .btn { align-self: flex-start; }

.split__media {
  flex: 0 1 55%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
}

/* The photo is clipped to the angled shape used throughout the original. */
.masked {
  position: relative;
  background-image: url("../img/Untitled-design-2025-01-07T115114.479.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* On some pages the angled backdrop is scaled to fill rather than fit. */
.masked--cover { background-size: cover; }

.masked img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: url("../img/masking_img.png");
  mask-image: url("../img/masking_img.png");
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center center;
  mask-position: center center;
  filter: brightness(105%) contrast(115%);
}

/* "5+ Years of Experience" badge */
.badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 175px;
  min-height: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.badge__num {
  font-family: var(--ff-body);
  font-size: 69px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: -5px;
  color: var(--c-blue);
}

.badge__label {
  display: block;
  width: 100%;
  font-size: var(--fs-small);
  line-height: 1.5em;
  color: var(--c-heading);
}

@media (max-width: 1024px) {
  .split__inner { padding: 3em 0; }
  .split__copy { padding: 2em; }
  .split__media { justify-content: center; }
  .badge { width: 150px; min-height: 150px; }
  .badge__num { font-size: 49px; }
}

@media (max-width: 767px) {
  .split__copy,
  .split__media { flex: 0 1 100%; }
}

@media (max-width: 767px) {
  .split__inner { padding: 0 0 2em; }
  .split__copy { padding: 21px; }

  .badge { width: 135px; min-height: 135px; }
  .badge__num { font-size: 39px; }
}

/* --------------------------------------------------------------------------
   10. Animated headline (text with a hand-drawn underline)
   -------------------------------------------------------------------------- */

.headline {
  margin: 0;
  font-family: var(--ff-head);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -1px;
  text-align: center;
  color: var(--c-heading);
}

.headline__mark {
  position: relative;
  display: inline-block;
  color: var(--c-blue);
}

.headline__mark svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  overflow: visible;
  pointer-events: none;
}

.headline__mark svg path {
  stroke: var(--c-blue);
  stroke-width: 9;
  fill: none;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
}

.headline__mark.is-drawn svg path {
  animation: headline-draw 1.2s linear forwards;
}

@keyframes headline-draw {
  to { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   11. Services card grid
   -------------------------------------------------------------------------- */

.services {
  position: relative;
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/automotive-mechanical-assembly-engine-transmission-suspension-and-breaking-system-automotive.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.services__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(at bottom right, #ffffffcc 0%, #ffffff 75%);
}

.services__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0 0 7em;
}

.services__head { padding: 2em; }

.services__head > * {
  max-width: 640px;
  margin-inline: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 10px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-bottom: 5px solid var(--c-border);
  box-shadow: var(--shadow-soft);
  transition: border-color 1s;
}

.card:hover { border-bottom-color: var(--c-blue); }

.card__head {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 21px;
  text-align: center;
}

.card__icon {
  display: flex;
  justify-content: center;
  color: var(--c-blue);
}

.card__icon .icn { width: 42px; height: 42px; }

.card__title {
  margin: 0;
  font-family: var(--ff-head);
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.4em;
  letter-spacing: -0.5px;
  color: var(--c-heading);
}

.card__text {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.5em;
}

.card__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center center;
}

.card__footer {
  margin: 15px 0;
  text-align: center;
}

/* The title and copy share one block below the icon. */
.card__body { display: block; }

@media (max-width: 1024px) {
  .services__inner { padding: 0 0 3em; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .card__head { gap: 14px; }
  .card__icon .icn { width: 35px; height: 35px; }
  .card__image { height: 150px; }
}

@media (max-width: 767px) {
  .services__inner { padding: 0 0 2em; }
  .services__grid { grid-template-columns: 1fr; }
  .page-index .card__image { height: 209px; }

  .card__head {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }

  .card__icon { flex: 0 0 auto; }
}

/* --------------------------------------------------------------------------
   12. "Why choose us" band
   -------------------------------------------------------------------------- */

.whyband {
  position: relative;
  background-color: var(--c-heading);
  background-image: url("../img/Pattern_img.png");
  background-position: center center;
  background-repeat: no-repeat;
}

.whyband--plain {
  background-image: none;
}

.whyband--plain::before { display: none; }

/* The About page gives this band more room than the others. */
.whyband--tall .whyband__inner { padding: 5em 0 7em; }

.whyband::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--c-heading);
  opacity: 0.9;
}

.whyband__inner {
  display: flex;
  flex-direction: column;
  padding: 3em 0;
}

.whyband__head {
  padding: 2em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.whyband__head > * {
  width: 100%;
  max-width: 640px;
}

.whyband__head h6,
.whyband__head h2,
.whyband__head p { color: var(--c-white); }

.whyband__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px;
}

.whyband__cell { padding: 2em; }

.whyband__cell .iconbox {
  flex-direction: column;
  align-items: center;
  gap: 21px;
  text-align: center;
}

@media (max-width: 1024px) {
  .whyband__inner,
  .whyband--tall .whyband__inner { padding: 1em 0 3em; }
  .whyband__grid { gap: 0; }
  .whyband__cell .iconbox,
  .grid-3__cell .iconbox { gap: 14px; }
}

@media (max-width: 767px) {
  .whyband__inner,
  .whyband--tall .whyband__inner { padding: 0 0 2em; }
  .whyband__grid { grid-template-columns: 1fr; padding: 0; }
  .whyband__cell { padding: 21px; }
}

/* --------------------------------------------------------------------------
   13. Testimonials carousel
   -------------------------------------------------------------------------- */

.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/Untitled-design-2025-01-07T115613.417.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.testimonials__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, var(--c-black) 0%, #7600002b 100%);
}

.testimonials__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  padding: 7em 0;
}

.testimonials__panel {
  width: 50%;
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonials__title { text-align: center; color: var(--c-grey); }

.carousel { position: relative; }

.carousel__viewport {
  overflow: hidden;
  margin-inline: 2.5%;
  padding-bottom: 40px;
}

.carousel__track {
  display: flex;
  gap: 10px;
  transition: transform 0.5s ease;
}

.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 20px;
  text-align: center;
}

.quote {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1.3em;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5em;
  color: var(--c-grey);
}

.quote-author {
  margin-top: 25px;
  text-align: center;
}

.quote-author__img {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
}

.quote-author__cite {
  display: inline-block;
  margin-left: 20px;
  font-style: normal;
  text-align: left;
}

.quote-author__name {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  line-height: 1.5em;
  color: var(--c-grey);
}

.quote-author__place {
  display: block;
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.5em;
  color: var(--c-grey);
}

.carousel__btn {
  position: absolute;
  top: 0;
  bottom: 40px;
  margin: auto 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(237, 237, 237, 0.9);
  cursor: pointer;
}

.carousel__btn svg { width: 20px; height: 20px; fill: currentColor; }

.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }

.carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  margin: 0 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  opacity: 0.2;
  cursor: pointer;
}

.carousel__dot.is-active { opacity: 1; }

@media (max-width: 1024px) {
  .testimonials__inner { padding: 3em 0; }
  .testimonials__panel { margin-right: 40%; }
}

@media (max-width: 767px) {
  .testimonials__inner { padding: 2em 0; }
  .testimonials__panel { width: 100%; margin-right: 0; padding: 21px; }
}

/* --------------------------------------------------------------------------
   14. Process list ("How it works")
   -------------------------------------------------------------------------- */

.process { background: var(--c-grey); }

.process__inner {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 7em 0;
}

.process__intro {
  flex: 0 1 45%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1em 3em 1em 1em;
}

.process__steps {
  flex: 0 1 55%;
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
  padding: 10px;
}

.step {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  padding: 2em;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.step__body {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 42px;
  border-right: 1px solid var(--c-border);
}

.step__text {
  margin: 0 0 0.9rem;
  font-size: var(--fs-small);
  line-height: 1.5em;
}

.step__action { text-align: right; }

@media (max-width: 1024px) {
  .process__inner { padding: 1em 1em 3em; }
  .process__intro { flex: 0 1 100%; padding: 2em; }
  .process__steps { flex: 0 1 100%; }
  .step { padding: 21px; }
  .step__body { width: 100%; padding: 0 0 7px; border-right: 0; }
  .step__action { text-align: left; }
}

@media (max-width: 767px) {
  .process__inner { flex-wrap: wrap; padding: 0; }
  .process__intro { padding: 21px; }
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */

.cta-band { background: var(--c-heading); }

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px 0;
}

.cta-band__copy {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px;
}

.cta-band__copy h6 { color: var(--c-white); }

.cta-band__copy h4 {
  font-size: 19px;
  color: var(--c-white);
}

.cta-band__action {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 10px;
}

.site-footer {
  background: var(--c-blue);
  padding: 0 16px;
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 16px;
}

.site-footer__brand {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 32px 16px 0;
}

.site-footer__brand img {
  width: 100%;
  height: 93px;
  object-fit: contain;
  object-position: center center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-hairline);
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-white);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.social__link svg { width: 18px; height: 18px; fill: currentColor; }

.social__link:hover {
  background: var(--c-blue-light);
  border-color: var(--c-blue-light);
  color: var(--c-white);
  transform: scale(1.2);
}

.site-footer__col {
  width: 15%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px;
}

.site-footer__col h5,
.site-footer__contact h5 { color: var(--c-white); }

.linklist__item { display: flex; align-items: center; }

.linklist__item:not(:last-child) { padding-bottom: 3.5px; }
.linklist__item:not(:first-child) { margin-top: 3.5px; }

.linklist a {
  display: flex;
  align-items: center;
  font-size: var(--fs-small);
  line-height: 1.5em;
  color: var(--c-white);
}

.linklist a:hover { color: var(--c-blue-light); }

.linklist__bullet {
  display: flex;
  width: 6.25px;
  flex: 0 0 6.25px;
}

.linklist__bullet svg { width: 5px; height: 5px; fill: currentColor; }

.linklist__text { padding-left: 5px; }

.site-footer__contact {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 0 16px 32px;
}

.site-footer__contact p {
  margin: 0;
  color: var(--c-white);
}

.site-footer__contact h4 {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5em;
  color: var(--c-white);
}

.site-footer__bottom {
  width: 100%;
  border-top: 1px solid var(--c-hairline);
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.site-footer__copy {
  font-size: var(--fs-tiny);
  line-height: 1.5em;
  color: var(--c-grey);
}

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.legal li {
  position: relative;
  margin-inline: 8px;
}

.legal li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  height: 10px;
  transform: translateY(-50%);
  border-left: 2px solid var(--c-blue);
}

.legal a {
  display: flex;
  align-items: center;
  font-size: var(--fs-tiny);
  line-height: 24px;
  color: var(--c-white);
}

.legal a:hover { color: var(--c-blue-light); }

@media (max-width: 1024px) {
  .cta-band { padding: 0 1em; }
  .cta-band__inner { padding: 1em 0; }
  .site-footer { padding: 0 16px; }
  .site-footer__inner { padding-top: 32px; }

  .site-footer__brand {
    width: 50%;
    padding: 16px;
    border-bottom: 1px solid var(--c-hairline);
  }

  .site-footer__col {
    width: 25%;
    border-bottom: 1px solid var(--c-hairline);
  }

  .site-footer__contact {
    width: 100%;
    margin-inline: 15%;
    padding: 32px 32px 0;
    text-align: center;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .site-footer__contact { display: none; }
}

@media (max-width: 767px) {
  .cta-band__copy,
  .cta-band__action {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .cta-band__action { align-items: center; }

  .site-footer { padding: 0; }
  .site-footer__inner { padding-top: 2em; }

  .site-footer__brand {
    width: 100%;
    margin-bottom: 1em;
    align-items: center;
    padding: 1em 1em 2em;
  }

  .site-footer__brand img { height: 115px; object-position: center; }

  .site-footer__col { width: 50%; padding: 1em 1em 2em; }

  .site-footer__contact {
    width: 100%;
    margin-inline: 0;
    padding: 2em 2em 0;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    gap: 14px;
    margin-top: 2em;
    padding: 2em 1em;
    text-align: center;
  }

  .site-footer__contact h4 { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   16. Scroll-reveal
   -------------------------------------------------------------------------- */

/* Hidden until scrolled into view, then animated in. The element keeps its
   natural position while hidden so it can never widen the page. */
.reveal { opacity: 0; }

.reveal.is-visible { animation: reveal-fade 1.25s ease both; }
.reveal--up.is-visible { animation-name: reveal-up; }
.reveal--left.is-visible { animation-name: reveal-left; }
.reveal--right.is-visible { animation-name: reveal-right; }

@keyframes reveal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  .reveal.is-visible { animation: none; }
  .headline__mark.is-drawn svg path { animation: none; stroke-dashoffset: 0; }
  .hero__slide-image { transition: none; }
}

/* --------------------------------------------------------------------------
   17. Inner-page banner
   -------------------------------------------------------------------------- */

.pagehead {
  position: relative;
  overflow: hidden;
}

.pagehead__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pagehead__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, #0a0b1480 50%, #ffffffcc 100%);
}

.pagehead__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  padding: 5em 0;
}

.pagehead__box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
  text-align: center;
}

.pagehead__title { color: var(--c-white); }
.pagehead__sub { color: var(--c-white); }

@media (max-width: 767px) {
  .pagehead__inner,
  .pagehead--tall .pagehead__inner { padding: 3em 0; }
  .pagehead__box { gap: 14px; padding: 21px; }
}

/* --------------------------------------------------------------------------
   18. Mission / vision / values band
   -------------------------------------------------------------------------- */

.mapband {
  position: relative;
  background-image: url("../img/Global-Map.png");
  background-position: center center;
  background-repeat: no-repeat;
}

.mapband::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--c-white);
  opacity: 0.9;
}

.mapband__inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-inline: auto;
  padding: 112px 0;
}

.mapband__pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 10px;
}

.mapband__cell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 10px;
}

.mapband__cell p { text-align: center; }

.mapband__values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 21px;
}

.mapband__values-list {
  align-self: center;
  text-align: start;
}

.mapband__values-list p { margin-bottom: 4px; }

/* The animated headline appears at a smaller size on this page. */
.headline--sm { font-size: 40px; }

@media (max-width: 1024px) {
  .mapband__inner { max-width: 720px; padding: 3em 0; }
  .headline--sm { font-size: 49px; }
}

@media (max-width: 767px) {
  .mapband__inner { max-width: none; padding: 0; }
  .mapband__pair { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .headline--sm { font-size: 39px; }
}

/* --------------------------------------------------------------------------
   19. FAQ band
   -------------------------------------------------------------------------- */

.faq {
  position: relative;
  padding: 80px 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #0c0400;
  opacity: 0.9;
}

.faq__inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin-inline: auto;
  padding: 20px;
  text-align: center;
}

.faq__eyebrow,
.faq__title,
.faq__lead {
  margin: 0 0 12px;
  font-family: "Roboto", sans-serif;
}

.faq__eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-blue);
}

.faq__title {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1666em;
  letter-spacing: -1.5px;
  color: var(--c-white);
}

.faq__rule {
  padding: 8px 0;
  margin: 0 0 12px;
}

.faq__rule::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 0 auto;
  background: var(--c-blue);
}

.faq__lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.4em;
  letter-spacing: 0.15px;
  color: var(--c-white);
}

.faq__list {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 10px;
  text-align: start;
}

.faq__item { border: 4px solid transparent; }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 0;
  background: rgba(43, 43, 43, 0.86);
  font-family: "Roboto", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1.5px;
  text-align: left;
  color: var(--c-white);
  cursor: pointer;
}

.faq__item.is-open .faq__q { color: var(--c-blue); }

.faq__icon {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  fill: currentColor;
}

.faq__item .faq__icon--minus { display: none; }
.faq__item.is-open .faq__icon--plus { display: none; }
.faq__item.is-open .faq__icon--minus { display: block; }

.faq__a {
  display: none;
  padding: 24px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.617em;
  color: rgba(255, 255, 255, 0.7);
}

.faq__item.is-open .faq__a { display: block; }

.faq__a p { margin: 0 0 0.9rem; }

@media (max-width: 767px) {
  .faq { padding: 40px 0; }
  .faq__eyebrow { font-size: 0.75rem; }
  .faq__title { font-size: 2.5rem; }
  .faq__lead { font-size: 1rem; }
  .faq__q { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   20. Six-up feature grid (inner pages)
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  padding: 10px;
}

.grid-3--single-row { grid-template-rows: repeat(1, 1fr); }

.grid-3__cell { padding: 2em; }

@media (max-width: 1024px) {
  .grid-3 { gap: 0; }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .grid-3__cell .iconbox { flex-direction: column; }
}

@media (max-width: 767px) {
  .grid-3 { grid-template-columns: 1fr; padding: 0; }
  .grid-3__cell { padding: 21px; }
}

/* --------------------------------------------------------------------------
   21. Theme page title (Services page only)
   -------------------------------------------------------------------------- */

.page-title {
  max-width: 1160px;
  margin: 8px auto 16px;
  padding: 0 10px;
  font-size: var(--fs-h1);
}

/* --------------------------------------------------------------------------
   22. Split variants used by the inner pages
   -------------------------------------------------------------------------- */

/* Equal halves rather than the 45/55 used on the home page. */
.split--even .split__copy,
.split--even .split__media { flex: 0 1 50%; }

.split--tight .split__inner { padding: 7em 0 5em; }

.split__copy--wide { padding-right: 5em; }

/* Bulleted list beside the copy. */
.checklist__item {
  display: flex;
  align-items: center;
  padding-bottom: 3.5px;
}

.checklist__item + .checklist__item { margin-top: 3.5px; }

.checklist__item:last-child { padding-bottom: 0; }

.checklist__icon {
  display: flex;
  width: 20px;
  flex: 0 0 20px;
  color: var(--c-blue);
}

.checklist__text { padding-left: 5px; }

/* Floating "call us" card over the image. */
.callcard {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 21px;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.callcard__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--c-blue);
  border-radius: 50%;
  color: var(--c-blue);
}

.callcard__icon .icn { width: 28px; height: 28px; }

.callcard__label {
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-blue);
}

.callcard__number {
  margin: 0;
  font-family: var(--ff-head);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.3em;
  letter-spacing: -0.5px;
  color: var(--c-heading);
}

@media (max-width: 1024px) {
  .split--tight .split__inner { padding: 3em 0 0; }
  .split__copy--wide { padding-right: 2em; }
  .callcard { bottom: 15%; }
}

@media (max-width: 767px) {
  .split--tight .split__inner { padding: 1em 0 2em; }
  .split__copy--wide { padding: 21px; }
  .callcard { bottom: 0; }
}

/* --------------------------------------------------------------------------
   23. Single testimonial card
   -------------------------------------------------------------------------- */

.quoteband {
  position: relative;
  padding: 50px 0;
  background-color: var(--c-grey);
}

.quoteband::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/Global-Map.png");
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.03;
}

.quoteband__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quoteband__title {
  text-align: center;
  color: var(--c-blue);
}

.quotecard {
  align-self: center;
  width: 100%;
  max-width: 768px;
  padding: 21px;
  border: 1px solid var(--c-blue);
  border-radius: 24px;
  text-align: center;
}

.quotecard__text { margin: 0 0 20px; }

.quotecard__meta cite { font-style: normal; }

.quotecard__meta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.quotecard__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.quotecard__name {
  display: block;
  line-height: 1.5em;
}

.quotecard__job {
  display: block;
  font-size: 0.85em;
  line-height: 1;
}

.quoteband__note {
  text-align: center;
  color: var(--c-heading);
}

/* --------------------------------------------------------------------------
   24. Service detail pages
   -------------------------------------------------------------------------- */

.pagehead--tall .pagehead__inner { padding: 10em 0 7em; }

.article {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  padding: 3em 0 7em;
}

.article__main {
  flex: 0 1 70%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1em 5em 1em 1em;
}

/* Matches the original, where the responsive source caps the rendered width. */
.article__figure {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-inline: auto;
}

/* Two-column list of solutions, ruled top and bottom. */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 21px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.benefits__item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 3.5px;
}

.benefits__item + .benefits__item { margin-top: 3.5px; }

.benefits__item:last-child { padding-bottom: 0; }

.benefits__icon {
  display: flex;
  width: 20px;
  flex: 0 0 20px;
  margin-top: 4px;
  color: var(--c-blue);
}

.benefits__text { padding-left: 5px; }

/* Sidebar */
.article__aside {
  flex: 0 1 30%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1em;
}

/* Follows the page while the article column scrolls past, stopping at the
   bottom of the sidebar — the behaviour the original had. */
.helpcard {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 2em;
  background: var(--c-heading);
  border-bottom: 10px solid var(--c-blue);
}

.helpcard h4 { color: var(--c-white); }

.helpcard__text {
  font-size: var(--fs-small);
  line-height: 1.5em;
  color: var(--c-white);
}

.helpcard__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.helpcard__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--c-text);
  border-radius: 50%;
  color: var(--c-text);
}

.helpcard__icon .icn { width: 28px; height: 28px; }

.helpcard__label {
  display: block;
  font-size: var(--fs-body);
  line-height: 1.5em;
  color: var(--c-white);
}

.helpcard__value {
  margin: 0;
  font-family: var(--ff-head);
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.4em;
  letter-spacing: -0.5px;
  color: var(--c-white);
}

/* Three-up photo strip */
.gallery {
  padding: 50px 0 0;
  background: var(--c-grey);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery__grid img {
  display: block;
  width: 100%;
  height: auto;
}

/* The process band is tighter on these pages than on the home page. */
.process--tight .process__inner { padding: 4em 0; }

/* Placeholder headings left in the original page content. */
.placeholder-heads {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 48px;
}

.placeholder-heads h2 { flex: 1 1 0; }

@media (max-width: 1024px) {
  .pagehead--tall .pagehead__inner { padding: 10em 0 7em; }

  .article { padding: 0; }

  .article__main,
  .article__aside { flex: 0 1 100%; }

  .split--even .split__copy { flex: 0 1 45%; }
  .split--even .split__media { flex: 0 1 55%; }

  .article__main { padding: 2em 1em 1em; }
  .article__aside { padding: 1em 1em 2em; }


  .process--tight .process__inner { padding: 1em 1em 3em; }
}

@media (max-width: 767px) {
  .benefits { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .placeholder-heads { flex-direction: column; }

  .split--even .split__copy,
  .split--even .split__media { flex: 0 1 100%; }

  .pagehead--tall .pagehead__inner { padding: 3em 0; }

  .article__main { padding: 21px; }
  .article__aside { padding: 10px; }
  .process--tight .process__inner { padding: 0; }
}

/* --------------------------------------------------------------------------
   25. Contact page
   -------------------------------------------------------------------------- */

.pagehead--wide .pagehead__inner { max-width: 720px; }

.contactband__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 5em 0 7em;
}

.contactband__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 2em;
  text-align: center;
}

.contactband__head > * {
  width: 100%;
  max-width: 640px;
}

.contactband__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
  padding: 10px;
}

.contactcard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 3em;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contactcard__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contactcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--c-blue);
  border-radius: 50%;
  color: var(--c-blue);
}

.contactcard__icon .icn { width: 28px; height: 28px; }

.contactcard__title {
  margin: 0 0 7px;
  font-family: var(--ff-head);
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.4em;
  letter-spacing: -0.5px;
  color: var(--c-heading);
}

.contactcard__text { margin: 0; }

/* Message panel */
.messageband__inner {
  display: flex;
  gap: 10px;
  padding: 0 0 7em;
}

.messagepanel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.messagepanel__media { flex: 0 1 50%; min-width: 0; }

.messagepanel__media img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: center center;
}

.messagepanel__body {
  flex: 0 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 4em;
}

/* Form */
.cform__fields {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px -10px;
}

.cform__group {
  width: 100%;
  padding: 0 5px;
  margin-bottom: 10px;
}

.cform__group--half { width: 50%; }

/* The original form reserves this strip for its spam-protection widget; here it
   holds the send status, so it may grow but never shrinks below that height. */
.cform__group--spacer { min-height: 78px; }

.cform label {
  display: block;
  font-family: var(--ff-nav);
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.5em;
  color: var(--c-text);
}

.cform input,
.cform textarea {
  width: 100%;
  padding: 6px 16px;
  border: 1px solid var(--c-grey);
  border-radius: 0;
  background: var(--c-grey);
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.5em;
  color: var(--c-text);
}

.cform input { height: 47px; }

.cform textarea {
  height: 98px;
  resize: vertical;
}

.cform input:focus,
.cform textarea:focus {
  outline: 0;
  background: var(--c-white);
  border-color: var(--c-blue-light);
}

.cform input::placeholder,
.cform textarea::placeholder { color: var(--c-text); }

/* Off-screen rather than display:none — a bot reading the markup still finds
   it, which is the whole point. */
.cform__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cform__status {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  line-height: 1.5em;
}

.cform__status:empty { display: none; }
.cform__status--ok { color: var(--c-blue); }
.cform__status--error { color: #c0392b; }

.cform.is-sending button { opacity: 0.6; pointer-events: none; }

.map iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

@media (max-width: 1024px) {
  .contactband__inner { padding: 1em 0 3em; }
  .contactcard { padding: 2em 1em; }
  .messageband__inner { padding: 0; }
  .messagepanel__body { padding: 3em; }
  .map iframe { height: 400px; }
}

@media (max-width: 767px) {
  .contactband__inner { padding: 0 0 1em; }
  .contactband__head { padding: 21px; }
  .contactband__grid { grid-template-columns: 1fr; }
  .contactcard { padding: 2em; }
  .cform__group--half { width: 100%; }

  /* The submit button stretches once the form is full width. */
  .cform button { width: 100%; }
  .messagepanel__media,
  .messagepanel__body { flex: 0 1 100%; }
  .messagepanel__media img { height: 200px; }
  .messagepanel__body { padding: 2em; }
  .map iframe { height: 300px; }
}
