/*
 * CFE Projects brand layer on top of the Petro template (style.css).
 *
 * Design system
 *   Colour   navy #032e63 · white · steel grey #5b6b7a · accent teal #32b3c2 (deep #1c8797)
 *   Type     Maven Pro — body 15/1.7 · lead 18 · intro 17 · card title 19 ·
 *            section title 38/32/28 · page title 44/38/30 · labels 13–15 caps
 *   Space    section 96 / 72 / 56 (desktop / tablet / phone) · heading → content 48/40/32 ·
 *            card padding 32×28 · grid gap 30 · radius 8
 */
:root {
  --cfe-navy: #032e63;
  --cfe-navy-deep: #021d40;
  --cfe-teal: #32b3c2;
  --cfe-teal-deep: #1c8797;
  --cfe-teal-soft: #7fd4de;
  --cfe-ink: #3f4d5a;
  --cfe-muted: #5b6b7a;
  --cfe-mist: #eff6f8;
  --cfe-tint: #f4f8fa;
  --cfe-line: #e3ebef;
  --cfe-wa: #25d366;
  --cfe-radius: 8px;
  --cfe-shadow: 0 18px 40px rgba(3, 46, 99, 0.12);
  --cfe-shadow-sm: 0 8px 26px rgba(3, 46, 99, 0.08);
  --cfe-section: 96px;
  --cfe-head-gap: 48px;
  --cfe-gap: 30px;
}

@media (max-width: 991px) {
  :root {
    --cfe-section: 72px;
    --cfe-head-gap: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --cfe-section: 56px;
    --cfe-head-gap: 32px;
  }
}

/* =================================================================== Base */
body {
  color: var(--cfe-ink);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--cfe-navy);
  margin: 0 0 16px;
}

/* Every regular section uses the same vertical rhythm. */
.section > .container {
  padding-top: var(--cfe-section);
  padding-bottom: var(--cfe-section);
}

.section.cfe-tint {
  background: var(--cfe-tint);
}

/* Card grids: equal heights, and the last row's gap does not add to the section padding. */
.cfe-equal-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: calc(var(--cfe-gap) * -1);
}

.cfe-equal-row:before,
.cfe-equal-row:after {
  display: none;
}

.cfe-equal-row > [class*="col-"] {
  display: flex;
}

.cfe-equal-row > [class*="col-"] > * {
  width: 100%;
  margin-bottom: var(--cfe-gap);
}

.cfe-center-row {
  justify-content: center;
}

@media (min-width: 992px) {
  .cfe-vcenter {
    display: flex;
    align-items: center;
  }
}

/* =================================================================== Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =================================================================== Type scale */
.cfe-head {
  margin-bottom: var(--cfe-head-gap);
}

.cfe-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cfe-teal-deep);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cfe-kicker:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--cfe-teal);
}

.cfe-title {
  color: var(--cfe-navy);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0;
}

.cfe-title span {
  color: var(--cfe-teal);
}

.cfe-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--cfe-muted);
  max-width: 660px;
  margin: 16px 0 0;
}

.cfe-head-center {
  text-align: center;
}

.cfe-head-center .cfe-intro {
  margin-left: auto;
  margin-right: auto;
}

.cfe-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cfe-head-split .cfe-head-main {
  max-width: 640px;
}

.cfe-head-aside {
  max-width: 400px;
  flex-shrink: 0;
}

.cfe-head-aside .cfe-intro {
  margin: 0;
}

.cfe-head-light .cfe-title {
  color: #fff;
}

.cfe-head-light .cfe-kicker {
  color: var(--cfe-teal-soft);
}

.cfe-head-light .cfe-kicker:before {
  background: var(--cfe-teal-soft);
}

.cfe-head-light .cfe-intro {
  color: rgba(255, 255, 255, 0.85);
}

.cfe-card-title {
  color: var(--cfe-navy);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 10px;
}

.cfe-section-foot {
  text-align: center;
  margin-top: 48px;
}

/* =================================================================== Buttons */
.btn,
.btn-primary,
.btn-secondary,
.btn-cta {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  padding: 15px 32px;
  border: 2px solid transparent;
  border-radius: 4px;
  text-transform: uppercase;
}

.btn-wa,
.btn-wa:focus {
  background: var(--cfe-wa);
  border-color: var(--cfe-wa);
  color: #fff;
}

.btn-wa:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  color: #fff;
}

.btn-wa svg {
  vertical-align: -3px;
  margin-right: 4px;
}

.btn-outline-light,
.btn-outline-light:focus {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--cfe-navy);
}

/* =================================================================== Logo + loader */
.loader {
  background-size: 72px auto;
}

.navbar-brand .cfe-logo {
  height: 58px;
  width: auto;
}

.footer .footer-item .cfe-logo-footer {
  height: 52px;
  width: auto;
  max-width: none;
  margin-bottom: 18px;
}

/* =================================================================== Desktop header (>= 992px) */
.rowe {
  border-top: 0;
}

.topbar-logo .box-icon-1 .body-content a {
  color: inherit;
  font-weight: 700;
}

/* Header text at 14px on laptop/desktop (template default was 12px). */
.navbar-main ol,
.navbar-main li,
.topbar .topbar-right .topbar-menu li,
.topbar .topbar-left .welcome-text {
  font-size: 14px;
}

.navbar-main .dropdown-menu > li a {
  font-size: 14px;
}

.cfe-topbar-wa svg {
  vertical-align: -2px;
  color: var(--cfe-wa);
}

/* =================================================================== Phone / tablet header (< 992px) */
.cfe-mobilebar {
  display: none;
}

@media (max-width: 991px) {
  .cfe-desktop-header {
    display: none;
  }

  .cfe-mobilebar {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 2px 14px rgba(3, 46, 99, 0.1);
  }

  .cfe-mobilebar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    min-height: 64px;
  }

  .cfe-mobilebar-logo img {
    height: 40px;
    width: auto;
  }

  .cfe-mobilebar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .cfe-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cfe-mist);
    color: var(--cfe-navy);
    font-size: 17px;
  }

  .cfe-icon-btn:hover,
  .cfe-icon-btn:focus {
    color: var(--cfe-navy);
  }

  .cfe-burger {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--cfe-navy);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
  }

  .cfe-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .cfe-mobilebar.is-open .cfe-burger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .cfe-mobilebar.is-open .cfe-burger span:nth-child(2) {
    opacity: 0;
  }

  .cfe-mobilebar.is-open .cfe-burger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .cfe-mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid transparent;
    transition: max-height 0.35s ease, border-color 0.35s ease;
  }

  .cfe-mobilebar.is-open .cfe-mobile-menu {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    border-top-color: var(--cfe-line);
  }

  .cfe-mobile-menu > ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
  }

  .cfe-mobile-menu > ul > li > a,
  .cfe-mobile-sub-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border: 0;
    border-bottom: 1px solid var(--cfe-line);
    background: none;
    color: var(--cfe-navy);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-align: left;
  }

  .cfe-mobile-menu li.active > a,
  .cfe-mobile-menu li.active > .cfe-mobile-sub-toggle {
    color: var(--cfe-teal-deep);
  }

  .cfe-mobile-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--cfe-mist);
    transition: max-height 0.35s ease;
  }

  .cfe-mobile-sub.is-open {
    max-height: 900px;
  }

  .cfe-mobile-sub a {
    display: block;
    padding: 12px 20px 12px 32px;
    color: var(--cfe-ink);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #dfe9ee;
  }

  .cfe-mobile-sub li.active a {
    color: var(--cfe-teal-deep);
  }

  .cfe-mobile-menu-footer {
    padding: 20px 20px 24px;
  }

  .cfe-mobile-menu-footer .btn {
    margin-bottom: 14px;
  }

  .cfe-mobile-mail {
    display: block;
    text-align: center;
    color: var(--cfe-navy);
    font-weight: 600;
    padding: 6px 0;
  }

  .cfe-mobile-mail .fa {
    color: var(--cfe-teal-deep);
    margin-right: 6px;
  }

  html.cfe-menu-open,
  html.cfe-menu-open body {
    overflow: hidden;
  }
}

/* =================================================================== Floating WhatsApp (bottom-right) + back to top */
.cfe-wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1035;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.cfe-wa-float:hover,
.cfe-wa-float:focus {
  color: #fff;
}

.cfe-wa-float-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--cfe-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.cfe-wa-float-label {
  background: #fff;
  color: var(--cfe-navy);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 14px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(3, 46, 99, 0.18);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
  text-align: right;
}

.cfe-wa-float-label small {
  display: block;
  color: #128c4b;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cfe-wa-float:hover .cfe-wa-float-label {
  opacity: 1;
  transform: none;
}

/* Back-to-top sits directly above the WhatsApp button. */
.cd-top {
  right: 29px;
  bottom: 94px;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .cfe-wa-float {
    right: 14px;
    bottom: 14px;
  }

  .cfe-wa-float-icon {
    width: 52px;
    height: 52px;
  }

  .cfe-wa-float-label {
    display: none;
  }

  .cd-top {
    right: 20px;
    bottom: 80px;
  }
}

/* =================================================================== Hero */
.cfe-hero .overlay-bg {
  background: linear-gradient(100deg, rgba(2, 29, 64, 0.92) 0%, rgba(3, 46, 99, 0.7) 45%, rgba(3, 46, 99, 0.15) 100%);
}

.cfe-eyebrow {
  display: inline-block;
  padding: 7px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(127, 212, 222, 0.6);
  border-radius: 30px;
  color: var(--cfe-teal-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(3, 46, 99, 0.35);
}

.banner .wrap-caption {
  width: 60%;
}

.banner .wrap-caption .caption-heading {
  max-width: 720px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.banner .wrap-caption .caption-heading span {
  color: var(--cfe-teal);
}

.banner .wrap-caption .excerpt {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
}

.banner .wrap-caption .btn {
  margin: 0 12px 12px 0;
}

/* =================================================================== Page banner */
.banner-page {
  position: relative;
  background-position: center center !important;
}

.banner-page:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 29, 64, 0.92) 0%, rgba(3, 46, 99, 0.65) 60%, rgba(3, 46, 99, 0.35) 100%);
}

.section.banner-page > .container {
  position: relative;
  padding-top: 90px;
  padding-bottom: 0;
}

.banner-page h1.title-page {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
}

.banner-page .breadcrumb {
  font-size: 15px;
}

/* =================================================================== Overlap blocks (pulled up over the hero / banner) */
.section.cfe-overlap {
  position: relative;
  z-index: 5;
  margin-top: -110px;
}

.section.cfe-overlap > .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* First section on inner pages: a white panel that overlaps the banner. */
.section.cfe-panel {
  position: relative;
  z-index: 5;
  margin-top: -90px;
}

.section.cfe-panel > .container {
  background: #fff;
  border-radius: var(--cfe-radius) var(--cfe-radius) 0 0;
  padding: 64px 30px var(--cfe-section);
}

.cfe-feature {
  background: #fff;
  border-radius: var(--cfe-radius);
  box-shadow: var(--cfe-shadow);
  border-bottom: 3px solid var(--cfe-teal);
  padding: 32px 28px;
}

.cfe-feature > .fa {
  font-size: 30px;
  color: var(--cfe-teal-deep);
  margin-bottom: 18px;
}

.cfe-feature p:last-child {
  margin: 0;
}

.cfe-feature-flat {
  background: var(--cfe-tint);
  box-shadow: none;
}

/* =================================================================== About collage */
.cfe-collage {
  position: relative;
  padding: 0 60px 70px 0;
}

.cfe-collage-main {
  width: 100%;
  border-radius: var(--cfe-radius);
  box-shadow: var(--cfe-shadow);
}

.cfe-collage-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border: 8px solid #fff;
  border-radius: var(--cfe-radius);
  box-shadow: var(--cfe-shadow);
}

.cfe-collage-badge {
  position: absolute;
  left: -14px;
  bottom: 30px;
  background: var(--cfe-teal);
  color: #fff;
  padding: 18px 22px;
  border-radius: var(--cfe-radius);
  max-width: 190px;
  box-shadow: 0 14px 30px rgba(50, 179, 194, 0.4);
}

.cfe-collage-badge strong {
  display: block;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 4px;
}

.cfe-collage-badge span {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

.cfe-tags {
  list-style: none;
  padding: 0;
  margin: 8px 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cfe-tags li {
  border: 1px solid var(--cfe-line);
  background: var(--cfe-mist);
  color: var(--cfe-navy);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  padding: 6px 12px;
  border-radius: 30px;
}

/* =================================================================== Service cards */
.cfe-svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--cfe-radius);
  overflow: hidden;
  box-shadow: var(--cfe-shadow-sm);
  color: var(--cfe-ink);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cfe-svc-card:hover,
.cfe-svc-card:focus {
  color: var(--cfe-ink);
  box-shadow: 0 22px 44px rgba(3, 46, 99, 0.16);
}

.js .cfe-svc-card.reveal.is-visible:hover,
.cfe-svc-card:hover {
  transform: translateY(-6px);
}

.cfe-svc-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.cfe-svc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.cfe-svc-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 46, 99, 0) 40%, rgba(3, 46, 99, 0.55) 100%);
}

.cfe-svc-card:hover .cfe-svc-media img {
  transform: scale(1.08);
}

.cfe-svc-badge {
  position: absolute;
  left: 24px;
  top: 192px;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cfe-teal);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  transition: background 0.3s ease;
}

/* The badge is positioned against the card, not the clipped media box. */
.cfe-svc-media {
  position: static;
}

.cfe-svc-media:after {
  top: 0;
  bottom: auto;
  height: 220px;
}

.cfe-svc-card:hover .cfe-svc-badge {
  background: var(--cfe-navy);
}

.cfe-svc-body {
  padding: 40px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cfe-svc-body p {
  color: var(--cfe-muted);
  flex: 1;
}

.cfe-svc-more {
  color: var(--cfe-teal-deep);
  font-weight: 700;
  font-size: 14px;
}

.cfe-svc-more .fa {
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.cfe-svc-card:hover .cfe-svc-more .fa {
  transform: translateX(5px);
}

/* =================================================================== Counters */
.section.cfe-counters {
  background: linear-gradient(rgba(2, 29, 64, 0.86), rgba(3, 46, 99, 0.86)), url("../images/stock/bg-refinery-moon.jpg") center / cover no-repeat;
}

.cfe-counters .row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 32px;
}

.cfe-counters .row:before,
.cfe-counters .row:after {
  display: none;
}

.section.cfe-counters > .container {
  padding-top: 80px;
  padding-bottom: 80px;
}

.cfe-counter {
  position: relative;
  text-align: center;
}

.cfe-counter-value {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--cfe-teal);
  margin-bottom: 12px;
}

.cfe-counter-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .cfe-counters .col-md-3 + .col-md-3 .cfe-counter:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
  }
}

/* =================================================================== Lists */
.cfe-numbered {
  list-style: none;
  counter-reset: cfe;
  padding: 0;
  margin: 0 0 32px;
}

.cfe-numbered li {
  counter-increment: cfe;
  position: relative;
  padding: 13px 0 13px 56px;
  border-bottom: 1px solid var(--cfe-line);
  color: var(--cfe-navy);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

.cfe-numbered li:before {
  content: counter(cfe, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cfe-mist);
  color: var(--cfe-teal-deep);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfe-numbered:last-child {
  margin-bottom: 0;
}

.cfe-checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cfe-checks li {
  position: relative;
  padding: 6px 0 6px 28px;
  line-height: 1.5;
}

.cfe-checks li:before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--cfe-teal);
}

.cfe-list-title {
  margin-top: 32px;
}

/* =================================================================== Trust image */
.cfe-trust-img {
  position: relative;
  padding: 0 0 26px 26px;
}

.cfe-trust-img:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  background: var(--cfe-navy);
  border-radius: var(--cfe-radius);
}

.cfe-trust-img img {
  position: relative;
  width: 100%;
  border-radius: var(--cfe-radius);
  box-shadow: var(--cfe-shadow);
}

/* =================================================================== Industries */
.section.cfe-industries-band {
  background: linear-gradient(rgba(2, 29, 64, 0.9), rgba(3, 46, 99, 0.88)), url("../images/stock/banner-refinery-night.jpg") center / cover no-repeat;
}

.cfe-glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--cfe-radius);
  padding: 32px 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.cfe-glass-card:hover {
  background: rgba(50, 179, 194, 0.16);
  border-color: rgba(127, 212, 222, 0.5);
}

.cfe-glass-card > .fa {
  font-size: 28px;
  color: var(--cfe-teal);
  margin-bottom: 18px;
}

.cfe-glass-card .cfe-card-title {
  color: #fff;
}

.cfe-glass-card p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.section.cfe-teal-band {
  background: var(--cfe-teal);
}

.cfe-teal-band .cfe-kicker,
.cfe-teal-band .cfe-kicker:before {
  color: #fff;
  background: transparent;
}

.cfe-teal-band .cfe-kicker:before {
  background: #fff;
}

.cfe-teal-band .cfe-intro {
  color: #fff;
}

.cfe-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cfe-chips li {
  background: var(--cfe-navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 14px 8px 12px;
  border-left: 4px solid #fff;
}

.cfe-photo {
  display: block;
  width: 100%;
  border-radius: var(--cfe-radius);
  box-shadow: var(--cfe-shadow);
}

.cfe-photo-tall {
  height: 560px;
  object-fit: cover;
  border-bottom-left-radius: 120px;
}

/* =================================================================== Cards */
.cfe-card {
  background: #fff;
  border: 1px solid var(--cfe-line);
  border-top: 3px solid var(--cfe-teal);
  border-radius: var(--cfe-radius);
  padding: 32px 28px;
  transition: box-shadow 0.3s ease;
}

.cfe-card:hover {
  box-shadow: var(--cfe-shadow);
}

.cfe-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cfe-mist);
  color: var(--cfe-teal-deep);
  font-size: 24px;
  line-height: 56px;
  text-align: center;
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.cfe-card:hover .cfe-card-icon {
  background: var(--cfe-teal);
  color: #fff;
}

.cfe-card p {
  margin: 0;
}

.cfe-box {
  background: var(--cfe-tint);
  border-radius: var(--cfe-radius);
  padding: 28px;
  margin-bottom: var(--cfe-gap);
}

.cfe-note {
  background: var(--cfe-mist);
  border-left: 4px solid var(--cfe-teal);
  border-radius: var(--cfe-radius);
  padding: 20px 24px;
  color: var(--cfe-navy);
}

.cfe-note a {
  color: var(--cfe-teal-deep);
  font-weight: 700;
}

/* =================================================================== Service detail: overview, FAQs, related */
.cfe-prose p {
  margin-bottom: 16px;
}

.cfe-subtitle {
  color: var(--cfe-navy);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin: 48px 0 20px;
}

.cfe-tags a {
  color: inherit;
}

.cfe-tags a:hover {
  color: var(--cfe-teal-deep);
}

.cfe-faq {
  border: 1px solid var(--cfe-line);
  border-radius: var(--cfe-radius);
  margin-bottom: 12px;
  background: #fff;
}

.cfe-faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 48px 16px 20px;
  color: var(--cfe-navy);
  font-weight: 700;
}

.cfe-faq summary::-webkit-details-marker {
  display: none;
}

.cfe-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cfe-teal-deep);
  font-size: 22px;
  font-weight: 400;
}

.cfe-faq[open] summary::after {
  content: "\2212";
}

.cfe-faq p {
  margin: 0;
  padding: 0 20px 18px;
}

.cfe-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.cfe-related-item {
  display: block;
  padding: 20px;
  border-radius: var(--cfe-radius);
  background: var(--cfe-tint);
  border: 1px solid var(--cfe-line);
  color: var(--cfe-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cfe-related-item:hover,
.cfe-related-item:focus {
  border-color: var(--cfe-teal);
  box-shadow: var(--cfe-shadow-sm);
  color: var(--cfe-ink);
  text-decoration: none;
}

.cfe-related-item strong {
  display: block;
  color: var(--cfe-navy);
  margin-bottom: 6px;
}

.cfe-related-item span {
  font-size: 14px;
  line-height: 1.6;
}

/* Industry cards are link targets from service pages; keep them clear of the sticky header. */
.cfe-anchor {
  scroll-margin-top: 110px;
}

.cfe-service-img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--cfe-radius);
  margin-bottom: 40px;
}

/* =================================================================== Process */
.cfe-steps {
  position: relative;
  margin-bottom: calc(var(--cfe-gap) * -1);
}

@media (min-width: 992px) {
  .cfe-steps:before {
    content: "";
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    border-top: 2px dashed rgba(50, 179, 194, 0.5);
  }
}

.cfe-step {
  position: relative;
  text-align: center;
  padding: 0 10px;
  margin-bottom: var(--cfe-gap);
}

.cfe-step p {
  margin: 0;
}

.cfe-step-number {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--cfe-navy);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 72px;
  box-shadow: 0 0 0 8px #e3f4f6;
  transition: background 0.3s ease;
}

.cfe-step:hover .cfe-step-number {
  background: var(--cfe-teal);
}

/* =================================================================== Service regions strip */
.section.cfe-regions > .container {
  padding-top: 0;
  padding-bottom: var(--cfe-section);
}

.cfe-regions-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  border-top: 1px solid var(--cfe-line);
  border-bottom: 1px solid var(--cfe-line);
  padding: 22px 0;
}

.cfe-regions-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 14px;
  color: var(--cfe-navy);
}

.cfe-regions-label .fa {
  color: var(--cfe-teal);
  margin-right: 4px;
}

.cfe-regions-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
}

.cfe-regions-inner li {
  color: var(--cfe-teal-deep);
  font-weight: 700;
  font-size: 15px;
  padding: 0 12px;
  border-left: 2px solid #d6e3e8;
}

.cfe-regions-inner li:first-child {
  border-left: 0;
  padding-left: 0;
}

/* After a tinted section the strip needs its own top space. */
.cfe-tint + .cfe-regions > .container {
  padding-top: var(--cfe-section);
}

/* =================================================================== CTA */
.section.cta {
  padding: var(--cfe-section) 0;
}

.section.cta:before {
  background: linear-gradient(100deg, rgba(2, 29, 64, 0.92), rgba(3, 46, 99, 0.78));
}

.section.cta > .container {
  position: relative;
  z-index: 1;
}

.section.cta .cta-info {
  width: 100%;
  max-width: 720px;
}

.cfe-cta-title {
  color: #fff;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 14px;
}

.section.cta .cta-info p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

/* =================================================================== Info boxes (white band above the footer, equal space above and below) */
.section.cfe-info {
  background: #fff;
}

.section.cfe-info > .container {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section.cfe-info .row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
}

.section.cfe-info .row:before,
.section.cfe-info .row:after {
  display: none;
}

.section.cfe-info .row > [class*="col-"] {
  display: flex;
}

.section.cfe-info .box-icon-4 {
  width: 100%;
  margin: 0;
  border-radius: var(--cfe-radius);
  background: var(--cfe-tint);
  border: 1px solid var(--cfe-line);
  padding: 32px 28px;
}

.section.cfe-info .box-icon-4 .heading,
.cfe-label {
  color: var(--cfe-navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section.cfe-info .box-icon-4 .body-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cfe-ink);
}

.section.cfe-info .box-icon-4 a {
  color: inherit;
}

/* =================================================================== Sidebar widgets */
.cfe-sidebar .widget {
  margin-bottom: var(--cfe-gap);
}

.cfe-sidebar .widget-title {
  color: var(--cfe-navy);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cfe-sidebar .list-info li .info-text,
.cfe-sidebar .list-info li .info-text a {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cfe-ink);
}

.cfe-sidebar .category-nav li a {
  font-size: 15px;
}

/* =================================================================== About page */
.cfe-expertise {
  background: var(--cfe-teal);
  color: #fff;
  padding: 36px 32px;
  border-radius: var(--cfe-radius);
}

.cfe-expertise .cfe-card-title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
}

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

.cfe-expertise li {
  background: var(--cfe-navy);
  border-left: 5px solid #fff;
  display: table;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  padding: 7px 14px;
  margin-bottom: 10px;
}

.cfe-expertise li:last-child {
  margin-bottom: 0;
}

.cfe-team {
  display: flex;
  background: #fff;
  min-height: 260px;
  border-radius: var(--cfe-radius);
  overflow: hidden;
  box-shadow: var(--cfe-shadow-sm);
}

.cfe-team-photo {
  flex: 0 0 42%;
  background: var(--cfe-teal);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.cfe-team-navy .cfe-team-photo {
  background: var(--cfe-navy);
}

.cfe-team-photo img {
  max-width: 100%;
  max-height: 250px;
}

.cfe-team-body {
  padding: 32px 28px;
}

.cfe-team-body .cfe-card-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.cfe-team-role {
  color: var(--cfe-teal-deep);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cfe-team-body p {
  margin: 0;
}

/* =================================================================== Contact */
.cfe-form {
  margin-bottom: 56px;
}

.cfe-form .form-control {
  height: 50px;
  font-size: 15px;
  border-radius: 4px;
  border: 1px solid var(--cfe-line);
  background: var(--cfe-tint);
  box-shadow: none;
}

.cfe-form textarea.form-control {
  height: auto;
}

.cfe-form .form-control:focus {
  border-color: var(--cfe-teal);
  background: #fff;
}

.cfe-promise {
  text-align: center;
  padding: 0 10px;
}

.cfe-promise > .fa {
  font-size: 28px;
  color: var(--cfe-teal-deep);
  margin-bottom: 14px;
}

.cfe-promise p {
  margin: 0;
}

/* =================================================================== Footer (white text on navy) */
.footer {
  padding-top: 80px;
}

.footer > .container {
  padding-bottom: 40px;
}

.footer,
.footer p,
.footer .footer-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
}

.footer .footer-item .footer-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer .footer-item .list li a,
.footer .footer-contact a,
.footer .footer-contact span {
  color: rgba(255, 255, 255, 0.85);
}

.footer .footer-item .list li a:hover,
.footer .footer-contact a:hover {
  color: var(--cfe-teal-soft);
}

.footer .footer-item .footer-sosmed a .item {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer .footer-item .footer-sosmed a .item svg {
  vertical-align: -2px;
}

.footer .fcopy,
.footer .fcopy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact .fa,
.footer-contact .cfe-footer-wa {
  color: var(--cfe-teal);
  width: 16px;
  flex: 0 0 16px;
  margin-top: 5px;
}

/* =================================================================== 404 */
.cfe-404-code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: var(--cfe-teal);
  margin-bottom: 16px;
}

.cfe-404-actions {
  margin: 32px 0 0;
}

/* =================================================================== Tablet (< 992px) */
@media (max-width: 991px) {
  .cfe-title {
    font-size: 32px;
  }

  .cfe-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cfe-head-aside {
    max-width: none;
  }

  .banner .wrap-caption {
    width: 85%;
  }

  .banner .wrap-caption .caption-heading {
    font-size: 42px;
  }

  .banner-page h1.title-page {
    font-size: 38px;
  }

  .cfe-collage,
  .cfe-trust-img {
    margin-bottom: 48px;
  }

  .cfe-trust-img {
    margin-top: 0;
  }

  .cfe-photo {
    margin-top: 40px;
  }

  .cfe-photo-tall {
    height: 420px;
  }

  .cfe-sidebar {
    margin-top: 48px;
  }

  .cfe-expertise {
    margin-top: 40px;
  }

  /* Fixed backgrounds stutter on touch devices. */
  .banner-page.about,
  .bgsection,
  .section.cta,
  .section.cfe-counters,
  .section.cfe-industries-band {
    background-attachment: scroll;
  }

  .footer .footer-item {
    margin-bottom: 32px;
  }
}

/* =================================================================== Phone (< 768px) */
@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .lead {
    font-size: 17px;
  }

  .cfe-title {
    font-size: 28px;
  }

  .cfe-intro {
    font-size: 16px;
  }

  .banner-page {
    height: 240px;
  }

  .section.banner-page > .container {
    padding-top: 64px;
  }

  .banner-page h1.title-page {
    font-size: 30px;
  }

  .banner-page .breadcrumb {
    font-size: 14px;
  }

  .banner .wrap-caption {
    width: 100%;
    padding-top: 22%;
  }

  .banner .wrap-caption .caption-heading {
    font-size: 32px;
  }

  .banner .wrap-caption .excerpt {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .slides-navigation {
    display: none;
  }

  .cfe-eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .section.cfe-overlap {
    margin-top: -60px;
  }

  .section.cfe-panel {
    margin-top: -50px;
  }

  .section.cfe-panel > .container {
    padding: 40px 15px var(--cfe-section);
  }

  .cfe-feature,
  .cfe-card,
  .cfe-glass-card {
    padding: 28px 24px;
  }

  .cfe-collage {
    padding: 0 30px 50px 0;
  }

  .cfe-collage-badge {
    left: 0;
    bottom: 14px;
    padding: 12px 16px;
    max-width: 150px;
  }

  .cfe-collage-badge strong {
    font-size: 32px;
  }

  .section.cfe-counters > .container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .cfe-counter-value {
    font-size: 42px;
  }

  .cfe-svc-media,
  .cfe-svc-media:after {
    height: 200px;
  }

  .cfe-svc-badge {
    top: 172px;
  }

  .cfe-svc-body {
    padding: 38px 24px 24px;
  }

  .cfe-numbered li {
    font-size: 15px;
  }

  .cfe-service-img {
    height: 240px;
    margin-bottom: 32px;
  }

  .cfe-team {
    flex-direction: column;
  }

  .cfe-team-photo {
    flex: none;
    height: 230px;
  }

  .cfe-team-body {
    padding: 28px 24px;
  }

  .cfe-photo-tall {
    height: 320px;
    border-bottom-left-radius: 60px;
  }

  .cfe-regions-inner {
    gap: 10px;
  }

  .cfe-regions-inner li {
    padding: 0 8px;
    font-size: 14px;
  }

  .cfe-cta-title {
    font-size: 24px;
  }

  .section.cta .cta-info p {
    font-size: 16px;
  }

  .section.cfe-info > .container {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section.cfe-info .box-icon-4 {
    padding: 28px 24px;
  }

  .cfe-promise {
    margin-bottom: 8px;
  }

  .footer {
    padding-top: 56px;
  }

  .cfe-404-code {
    font-size: 90px;
  }
}

/* =================================================================== CoreFlow content blocks */
.cfe-gap-lg {
  margin-top: 48px;
}

.cfe-intro-wide {
  max-width: none;
  margin: 0 0 40px;
}

.cfe-small-note {
  color: var(--cfe-muted);
  font-size: 14px;
  margin: 32px 0 0;
}

/* Contact band links */
.cfe-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cfe-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--cfe-radius);
  color: #fff;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cfe-contact-link:hover,
.cfe-contact-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cfe-teal-soft);
}

.cfe-contact-link > .fa {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cfe-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cfe-contact-link span {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.cfe-contact-link small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cfe-teal-soft);
}

/* Contact page cards */
.cfe-contact-card {
  display: block;
  background: var(--cfe-tint);
  border: 1px solid var(--cfe-line);
  border-radius: var(--cfe-radius);
  padding: 32px 28px;
  color: var(--cfe-ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

a.cfe-contact-card:hover,
a.cfe-contact-card:focus {
  color: var(--cfe-ink);
  border-color: var(--cfe-teal);
  box-shadow: var(--cfe-shadow-sm);
}

.cfe-contact-card .cfe-card-icon {
  display: block;
}

.cfe-contact-card .cfe-label {
  display: block;
  font-size: 13px;
  color: var(--cfe-teal-deep);
  margin-bottom: 6px;
}

.cfe-contact-value {
  display: block;
  color: var(--cfe-navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.cfe-contact-address {
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.6;
  margin: 0;
}

/* Clients */
.cfe-clients {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cfe-clients li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--cfe-line);
  border-radius: var(--cfe-radius);
  color: var(--cfe-navy);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  text-align: center;
}

.cfe-tint .cfe-clients li {
  background: #fff;
}

.cfe-panel .cfe-clients li {
  background: var(--cfe-tint);
}

/* Project gallery */
/* 6-column grid: a large lead tile (4×2), two side tiles (2), and any remaining tiles share the last row. */
.cfe-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.cfe-gallery-item {
  grid-column: span 2;
}

.cfe-gallery-item:nth-child(4):nth-last-child(2),
.cfe-gallery-item:nth-child(5):last-child {
  grid-column: span 3;
}

.cfe-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--cfe-radius);
  background: #5a5f66;
  box-shadow: var(--cfe-shadow-sm);
}

.cfe-gallery .cfe-gallery-item.is-wide {
  grid-column: span 4;
  grid-row: span 2;
  aspect-ratio: auto;
}

.cfe-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cfe-gallery-item:hover img {
  transform: scale(1.04);
}

.cfe-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, rgba(2, 29, 64, 0) 0%, rgba(2, 29, 64, 0.85) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}

.cfe-gallery-caption small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cfe-teal-soft);
}

.cfe-gallery-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--cfe-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cfe-gallery-item:hover .cfe-gallery-zoom,
.cfe-gallery-item:focus .cfe-gallery-zoom {
  opacity: 1;
}

/* Two-column check list */
@media (min-width: 768px) {
  .cfe-checks-2col {
    column-count: 2;
    column-gap: 30px;
  }

  .cfe-checks-2col li {
    break-inside: avoid;
  }
}

/* Service scope groups (masonry-like columns) */
.cfe-groups {
  column-count: 2;
  column-gap: var(--cfe-gap);
}

.cfe-groups .cfe-box {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
}

.cfe-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.cfe-card-head .cfe-card-icon {
  margin: 0;
  flex: 0 0 56px;
}

.cfe-card-head .cfe-card-title {
  margin: 0;
}

/* Mission / vision statements */
.cfe-statement {
  position: relative;
  background: #fff;
  border-radius: var(--cfe-radius);
  border-left: 4px solid var(--cfe-teal);
  padding: 36px 32px;
  box-shadow: var(--cfe-shadow-sm);
}

.cfe-statement > .fa {
  font-size: 30px;
  color: var(--cfe-teal-deep);
  display: block;
  margin-bottom: 16px;
}

.cfe-statement p {
  color: var(--cfe-navy);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
}

.cfe-statement-navy {
  background: var(--cfe-navy);
}

.cfe-statement-navy p {
  color: #fff;
}

.cfe-statement-navy .cfe-kicker,
.cfe-statement-navy > .fa {
  color: var(--cfe-teal-soft);
}

/* Industry tiles on the home band: icon + title only */
.cfe-industries-band .cfe-glass-card .cfe-card-title {
  margin: 0;
  font-size: 17px;
}

/* Long-form text (privacy policy) */
.cfe-prose {
  max-width: 820px;
}

.cfe-prose h2 {
  color: var(--cfe-navy);
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.cfe-prose a {
  color: var(--cfe-teal-deep);
  font-weight: 600;
}

.cfe-prose .cfe-checks {
  margin-bottom: 16px;
}

/* Footer brand block */
.cfe-footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cfe-footer-disciplines {
  color: var(--cfe-teal-soft) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

.footer-contact address {
  margin: 0;
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
}

.footer .fcopy .ftex {
  margin: 0;
}

/* Header without the quote button: contact boxes sit on the right */
.topbar-logo .contact-info {
  float: right;
}

@media (max-width: 991px) {
  .cfe-clients {
    grid-template-columns: repeat(2, 1fr);
  }

  .cfe-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .cfe-gallery .cfe-gallery-item,
  .cfe-gallery .cfe-gallery-item:nth-child(n) {
    grid-column: span 1;
  }

  .cfe-gallery .cfe-gallery-item.is-wide {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .cfe-groups {
    column-count: 1;
  }
}

@media (max-width: 767px) {
  .cfe-clients {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cfe-clients li {
    min-height: 72px;
    font-size: 15px;
    padding: 12px;
  }

  .cfe-gallery {
    grid-template-columns: 1fr;
  }

  .cfe-gallery .cfe-gallery-item.is-wide,
  .cfe-gallery .cfe-gallery-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .cfe-contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .cfe-contact-link span {
    font-size: 16px;
  }

  .cfe-statement {
    padding: 28px 24px;
  }

  .cfe-statement p {
    font-size: 17px;
  }
}

/* Flex rows: Bootstrap columns have no width below their breakpoint, so give them full width there. */
@media (max-width: 991px) {
  .cfe-equal-row > [class*="col-md-"]:not([class*="col-sm-"]):not([class*="col-xs-"]) {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .cfe-equal-row > [class*="col-"]:not([class*="col-xs-"]),
  .section.cfe-info .row > [class*="col-"] {
    width: 100%;
  }
}

/* Copyright bar: copyright left, agency credit right. */
.cfe-fcopy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer .fcopy .cfe-credit {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.cfe-credit .cfe-heart {
  color: #ff5a6e;
}

.footer .fcopy .cfe-credit a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid var(--cfe-teal);
}

.footer .fcopy .cfe-credit a:hover {
  color: var(--cfe-teal-soft);
}

@media (max-width: 767px) {
  .cfe-fcopy-row {
    flex-direction: column;
    text-align: center;
  }
}

.cfe-card p + p {
  margin-top: 10px;
}
