/*
Theme Name: Emphires Child
Theme URI: 
Description: Child theme for Emphires
Author: Your Name
Template: emphires
Version: 1.0.0
*/

/* ============================================================
   DESIGN TOKENS — all from the live Emphires Demo 9 theme
   ============================================================ */
:root {
  /* Murphy Search Group — Sapphire & Sage palette */
  --sapphire: #0f3460;
  --sapphire-mid: #1a5276;
  --sage: #4a8f7f;
  --lt-green: #dff0ec;
  --lt-blue: #e4edf5;
  --bg: #f5f7fa;
  --body-text: #1e2a35;
  --text: #4a5568;
  --sub: #8a9bb0;
  --border: rgba(15, 52, 96, 0.12);
  --ff: "Red Hat Display", sans-serif;
  /* aliases */
  --dark: #1e2a35;
}

/* Override parent theme CSS variables — html has higher specificity than :root */
html {
  --sapphire: #0f3460;
  --sapphire-mid: #1a5276;
  --sage: #4a8f7f;
  --lt-green: #dff0ec;
  --lt-blue: #e4edf5;
  --bg: #f5f7fa;
  --body-text: #1e2a35;
  --text: #4a5568;
  --sub: #8a9bb0;
  --border: rgba(15, 52, 96, 0.12);
  --ff: "Red Hat Display", sans-serif;
  --sapphire: #0f3460;
  --dark: #1e2a35;
  --lt-blue: #e4edf5;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Red Hat Display", sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
p {
  margin-bottom: 20px;
  font-family: "Red Hat Display", sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Red Hat Display", sans-serif !important;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 15px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

/* eyebrow label */
.eyebrow {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a5276;
  display: block;
  margin-bottom: 10px;
}
.eyebrow.dim {
  color: rgba(255, 255, 255, 0.45);
}

/* shared section heading */
.sh {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 32px;
  line-height: 42px;
  color: var(--dark);
  margin-bottom: 14px;
}
.sh.white {
  color: #fff;
}

/* rounded outline button (used in Process) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 30px;
  border: 2px solid #e4edf5;
  color: #0f3460;
  background: #e4edf5;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-pill:hover {
  background: #0f3460;
  border-color: #0f3460;
  color: #fff;
}

/* arrow text link */
.lnk-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sapphire);
}
.lnk-arrow.white {
  color: #fff;
}
.lnk-arrow:hover {
  gap: 13px;
}

/* ============================================================
   HEADER — single row, logo left · nav + CTA far right
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}
.hdr-inner {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 40px;
}

/* Logo — stays left */
.hdr-logo {
  flex-shrink: 0;
}

/* Nav items pushed all the way right */
.hdr-nav-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--body-text);
  padding: 8px 18px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
  text-transform: capitalize;
}
.main-nav a:hover {
  color: #4a8f7f;
  background: transparent;
}
.main-nav a.active {
  color: var(--sapphire);
}

/* Pill CTA — "Let's Chat" */
.btn-letschat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 26px;
  border-radius: 30px;
  border: 2px solid #4a8f7f;
  color: #4a8f7f;
  background: transparent;
  transition: all 0.3s;
  white-space: nowrap;
  margin-left: 18px;
}
.btn-letschat:hover {
  background: #4a8f7f;
  border-color: #4a8f7f;
  color: #fff;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-slide {
  display: none;
  min-height: 750px;
  position: relative;
  align-items: center;
  width: 100%;
  background: #0f3460;
}
.hero-slide.active {
  display: flex;
}
.hero-slide .container {
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: opacity 0.6s ease;
}
.slide-1 .hero-bg {
  background-size: cover;
  background-position: center center;
  opacity: 0.55;
}
.slide-2 .hero-bg {
  background-size: cover;
  background-position: center center;
  opacity: 0.55;
}
.slide-3 .hero-bg {
  background-size: cover;
  background-position: center center;
  opacity: 0.55;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.6s ease;
}

/* subtle people silhouette hint */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='650'%3E%3Cellipse cx='750' cy='325' rx='350' ry='325' fill='rgba(255,255,255,0.03)'/%3E%3Cellipse cx='650' cy='200' rx='200' ry='280' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E")
    no-repeat right center / cover;
}

/* dark overlay on left so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 18, 29, 0.75) 0%,
    rgba(12, 18, 29, 0.35) 55%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 0 110px;
  max-width: 620px;
}
.hero-eyebrow {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.hero-title {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 54px;
  line-height: 64px;
  color: #fff;
  margin-bottom: 30px;
}
.hero-title .hl {
  color: #4a8f7f;
  font-weight: 600;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 36px;
  background: #4a8f7f;
  color: #fff;
  border-radius: 30px;
  transition: all 0.3s;
}
.hero-cta:hover {
  background: #fff;
  color: #4a8f7f;
}

/* slider dots — small circles, centred at bottom */
.slide-arrows {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.sarrow {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
  font-size: 0;
  color: transparent;
}
.sarrow:hover,
.sarrow.active {
  background: #fff;
}

/* ============================================================
   S1 — SERVICE HIGHLIGHTS  (3-col, icon left · text right)
   ============================================================ */
.svc-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}
.svc-strip-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
.svc-strip-col:last-child {
  border-right: none;
}

.sbox-icon {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 36px;
  color: #0f3460;
  margin-top: 0;
  transition: color 0.25s;
}
.sbox-title {
  font-family: var(--ff);
  font-size: 24px;
  line-height: 30px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
  padding-top: 10px;
  transition: color 0.25s;
}
.sbox-body p:not(.sbox-title) {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.2;
}
.svc-strip-col {
  cursor: pointer;
}
.svc-strip-col:hover .sbox-icon {
  color: #4a8f7f;
}
.svc-strip-col:hover .sbox-title {
  color: #4a8f7f;
}
.svc-strip {
  padding: 60px 0 50px;
}
.sbox-link {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sapphire);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.sbox-link:hover {
  gap: 12px;
}

/* ============================================================
   S2 — ABOUT  (images left · text right)
   ============================================================ */
.about-sec {
  padding: 100px 0;
  background: #e4edf5;
}
.about-grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  align-items: center;
  gap: 0;
}

/* left: two overlapping device images */
.about-imgs {
  position: relative;
  height: 480px;
}
.about-img-main {
  position: absolute;
  left: 0;
  top: 20px;
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.about-img-over {
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: 180px;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f3460 0%, #1a5276 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-img-over img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center center;
}

.about-img-over-home img {
  object-position: center right;
}

/* right: text */
.about-text {
  padding-top: 0;
}
.about-kpi {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 90px;
  line-height: 1;
  color: #1a5276;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.about-heading {
  font-family: var(--ff);
  font-weight: 500 !important;
  font-size: 28px;
  line-height: 38px;
  color: var(--dark);
  margin-bottom: 14px;
}
.about-body {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: 30px;
  border: 2px solid #4a8f7f;
  color: #fff;
  background: #4a8f7f;
  transition: all 0.3s;
  margin-top: 24px;
}
.about-cta:hover {
  background: transparent;
  color: #4a8f7f;
}

.about-cta-sapphire {
  border: 2px solid #1a5276;
  background: #1a5276;
}
.about-cta-sapphire:hover {
  background: transparent;
  color: #1a5276;
}

.about-checks {
  margin-bottom: 0;
}
.about-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}
.about-checks li::before {
  display: none;
}
.about-checks li i {
  color: #1a5276;
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================
   S3 — MARQUEE TICKER
   ============================================================ */
.marquee-sec {
  padding: 35px 0;
  overflow: hidden;
  background: #fff;
}
.mq-track {
  display: flex;
  width: max-content;
  animation: mq 22s linear infinite;
}
.mq-track:hover {
  animation-play-state: paused;
}
.mq-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 30px;
  white-space: nowrap;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
}
.mq-item::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sapphire);
  flex-shrink: 0;
}
@keyframes mq {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   S4 — SERVICES DARK  (dark bg · photo cards)
   ============================================================ */
.svcs-dark {
  background: #0f3460;
  padding: 100px 0;
}
.svcs-dark .pad {
  padding-left: 25px;
}

.sdark-hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 50px;
}
.sdark-hdr .right {
  padding-top: 40px;
  padding-right: 180px;
}
.sdark-hdr .right p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.sdark-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.sdark-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all 0.3s;
}
.sdark-card:hover {
  background: rgba(10, 173, 235, 0.08);
  border-color: rgba(10, 173, 235, 0.18);
}
.sdark-card-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #1c3040 0%, #253d52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 55px;
  color: rgba(10, 173, 235, 0.22);
  overflow: hidden;
  position: relative;
}
.sdark-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sdark-card-body {
  padding: 24px 26px 22px;
}
.sdark-card-cat {
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sapphire);
  display: block;
  margin-bottom: 7px;
}
.sdark-card h3 {
  color: #fff;
  font-family: var(--ff);
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 0;
}
.sdark-card:hover h3 {
  color: var(--sapphire);
}
.sdark-card h3 a {
  color: inherit;
}

/* ============================================================
   S4 — HIRE & JOBS  (card grid layout matching screenshot)
   ============================================================ */
.audience-sec {
  padding: 80px 0;
  background: #dff0ec;
}
/* Top header: left title block + right description */
.audience-hdr {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
.audience-eyebrow {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a8f7f;
  display: block;
  margin-bottom: 10px;
}
.audience-main-title {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 32px;
  line-height: 42px;
  color: var(--dark);
  margin-bottom: 4px;
}
.audience-main-title .hl {
  color: var(--dark);
}
.audience-view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 2px solid var(--dark);
  padding-bottom: 2px;
  margin-top: 20px;
  transition: all 0.25s;
}
.audience-view-link:hover {
  color: #4a8f7f;
  border-color: #4a8f7f;
}
.audience-hdr-right p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0;
}
.acard-btn:hover {
  background: #fff;
  color: #4a8f7f;
  border: 2px solid #4a8f7f;
} /* 2-column card grid */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.acard {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.acard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.acard-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.acard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.acard-img.placeholder {
  background: linear-gradient(135deg, #dbeef5 0%, #b8d9e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(10, 173, 235, 0.2);
}
.acard-body {
  padding: 30px 28px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.acard-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.acard-cat {
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a8f7f;
  display: block;
  margin-bottom: 10px;
}
.acard-title {
  font-family: var(--ff);
  font-weight: 800;
  font-size: 22px;
  line-height: 30px;
  color: var(--dark);
  margin-bottom: 12px;
}
.acard-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
}
.acard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4a8f7f;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s;
  border: 2px solid #4a8f7f;
  align-self: center;
}
.acard-btn:hover {
  background: #fff;
  color: #4a8f7f;
  border: 2px solid #4a8f7f;
}

/* ============================================================
   S5 — PROCESS
   ============================================================ */
.process-sec {
  padding: 80px 0;
  background: #fff;
}
.process-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 36px;
}
.process-top-left {
  display: flex;
  flex-direction: column;
}
.process-rhs .sh {
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 0;
  max-width: 480px;
  font-weight: 500 !important;
}

.psteps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: ps;
}
.pstep {
  border: 1px solid var(--border);
  padding: 34px 26px;
  position: relative;
  counter-increment: ps;
  transition: all 0.3s;
}
.pstep:hover {
  border-color: var(--sapphire);
  box-shadow: 0 8px 40px rgba(10, 173, 235, 0.08);
}
.pstep::before {
  content: counter(ps, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--ff);
  font-size: 44px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #0f3460;
  line-height: 1;
}
.pstep-icon {
  width: 58px;
  height: 58px;
  background: var(--lt-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sapphire);
  font-size: 22px;
  margin-bottom: 22px;
  transition: all 0.3s;
}
.pstep:hover .pstep-icon {
  background: var(--sapphire);
  color: #fff;
}
.pstep h2 {
  font-family: var(--ff);
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 10px;
}
.pstep p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 0;
}

/* client logos strip */
.clients-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-top: 80px;
  padding-top: 55px;
}
.client-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: all 0.3s;
  font-family: var(--ff);
  font-weight: 800;
  font-size: 14px;
  color: var(--dark);
  text-align: center;
}
.client-logo img {
  max-height: 48px;
  width: auto;
}
.client-logo:hover {
  opacity: 0.75;
  filter: grayscale(0%);
}

/* ============================================================
   S6 — FIB BOX  (big photo bg + stat card bottom-right)
   ============================================================ */
.fib-sec {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(125deg, #0a2040 0%, #0f3460 50%, #1a5276 100%);
  z-index: 1;
}
.fib-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='1200' height='580' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='700' cy='290' rx='480' ry='380' fill='rgba(10,173,235,0.07)'/%3E%3C/svg%3E")
    no-repeat center/cover;
}
.fib-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px 70px;
  display: flex;
  justify-content: flex-end;
}
.fib-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 38px 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 400px;
}
.fib-icon {
  width: 68px;
  height: 68px;
  background: #4a8f7f;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
}
.fib-label {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.fib-num {
  font-family: var(--ff);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: flex-start;
}
.fib-num .k {
  color: var(--sapphire);
  font-size: 24px;
  margin-top: 5px;
  font-weight: 800;
}
.fib-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  margin-top: 6px;
  line-height: 1.5;
}

/* ============================================================
   S6 — TESTIMONIALS
   ============================================================ */
.testi-sec {
  background: #dff0ec;
  padding: 80px 0;
}

.testi-layout {
  display: grid;
  grid-template-columns: 35fr 65fr;
  gap: 0;
  align-items: start;
}

/* Left column */
.testi-left {
  padding-right: 50px;
  text-align: center;
}
.testi-left .eyebrow {
  color: #4a8f7f;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testi-left .sh {
  font-size: 32px;
  line-height: 42px;
  font-weight: 500 !important;
  color: #1e2a35;
  margin-bottom: 24px;
}
.testi-arrows {
  display: flex;
  gap: 2px;
  margin-top: 0;
  align-items: center;
  justify-content: center;
}
.tarrow {
  cursor: pointer;
  transition: opacity 0.25s;
  background: transparent;
  border: none;
  padding: 0;
  opacity: 1;
}
.tarrow:hover {
  opacity: 0.5;
}
.tarrow:hover svg path {
  fill: #4a8f7f;
}

/* Right column */
.testi-right {
  border-left: 2px solid #4a8f7f;
  padding-left: 60px;
  position: relative;
  text-align: center;
}

/* Quote mark above text, centred */
.tcard-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
}
.tcard-bigquote {
  font-size: 110px;
  line-height: 1;
  color: #4a8f7f;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: -20px;
  margin-bottom: -30px;
  letter-spacing: -4px;
  user-select: none;
  display: block;
}
.tcard-text-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tcard-quote {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #1e2a35;
  font-style: normal;
  margin-bottom: 20px;
  padding-left: 0;
  border-left: none;
}

/* Stars + name/role sit inside text column, aligned with text */
.tcard-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
  justify-content: center;
}
.tcard-stars i {
  color: #4a8f7f;
  font-size: 15px;
}
.tcard-name {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 15px;
  color: #1e2a35;
  margin-bottom: 3px;
}
.tcard-role {
  font-size: 14px;
  color: #1e2a35;
  font-weight: 400;
  opacity: 0.7;
}

/* Dot indicators bottom-right */
.testi-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #4a8f7f;
  transition: background 0.25s;
  cursor: pointer;
}
.testi-dot.active {
  background: #4a8f7f;
  border-color: #4a8f7f;
}

/* ============================================================
   S8 — TEAM  (4-col grid, now 6 members per demo)
   ============================================================ */
.team-sec {
  padding: 100px 0;
}
.team-hdr {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 12px;
}
.team-hdr .eyebrow {
  justify-content: center;
  display: flex;
}
.team-hdr .sh {
  font-size: 36px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 12px;
}
/* extra items wrap to second row */
.tcard-wrap {
  text-align: center;
  transition: all 0.3s;
}
.tcard-wrap:hover {
  transform: translateY(-4px);
}
.tcard-photo {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(145deg, #d8eaf4, #bcd6e6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 85px;
  color: rgba(10, 173, 235, 0.22);
  margin-bottom: 20px;
}
.tcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* small social icons below photo */
.tcard-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.tcard-socials a {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text);
  transition: all 0.25s;
}
.tcard-socials a:hover {
  background: var(--sapphire);
  border-color: var(--sapphire);
  color: #fff;
}
.tcard-role-label {
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sapphire);
  display: block;
  margin-bottom: 5px;
}
.tcard-wrap h3 {
  font-family: var(--ff);
  font-size: 19px;
  margin-bottom: 0;
}
.tcard-wrap h3 a {
  color: var(--dark);
}
.tcard-wrap h3 a:hover {
  color: var(--sapphire);
}

/* ============================================================
   S9 — CONTACT FORM  (dark photo bg · form right)
   ============================================================ */
.contact-sec {
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #0c2040 0%, #1a3a6e 50%, #0d3060 100%);
}
.contact-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='1400' height='700' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1150' cy='220' r='320' fill='rgba(10,173,235,0.06)'/%3E%3Cpath d='M-100 500 Q450 180 900 500 T1600 500' stroke='rgba(255,255,255,0.04)' stroke-width='3' fill='none'/%3E%3C/svg%3E")
    no-repeat center/cover;
}
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 0;
  align-items: center;
}
.contact-spacer {
  /* left col is empty spacing */
}
.contact-box {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 52px;
}
.contact-box h3 {
  color: #fff;
  font-family: var(--ff);
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 28px;
}
.cf-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.cf-row2 select,
.cf-btn-row button {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--ff);
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s;
  cursor: pointer;
}
.cf-row2 select option {
  color: #333;
  background: #fff;
}
.cf-row2 select:focus {
  border-color: var(--sapphire);
}
.cf-btn-row {
  margin-top: 6px;
}
.cf-btn-row button {
  background: var(--sapphire);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  padding: 15px;
}
.cf-btn-row button:hover {
  background: #fff;
  color: var(--dark);
}

/* ============================================================
   S10 — BLOG  (sticky left · posts right)
   ============================================================ */
.blog-sec {
  padding: 100px 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 0;
}
.blog-left {
  padding-right: 140px;
  padding-top: 100px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.blog-left .sh {
  font-size: 34px;
  line-height: 44px;
}
.blog-left p {
  font-size: 15px;
  margin: 10px 0 26px;
}

.blog-posts-col {
  border-left: 1px solid var(--border);
  padding-left: 60px;
}
.bpost {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.bpost:first-child {
  padding-top: 0;
}
.bpost-thumb {
  width: 120px;
  height: 95px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #d8eaf4, #bcd4e4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: rgba(10, 173, 235, 0.28);
}
.bpost-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bpost-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.bpost-date {
  font-family: var(--ff);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--dark);
  white-space: nowrap;
}
.bpost-date .mo {
  font-size: 11px;
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-top: 2px;
}
.bpost-metas {
  display: flex;
  gap: 10px;
}
.bpost-meta {
  font-size: 11px;
  color: var(--text);
  font-family: var(--ff);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bpost-meta a {
  color: var(--sapphire);
}
.bpost h3 {
  font-family: var(--ff);
  font-size: 17px;
  line-height: 25px;
  font-weight: 800;
  margin-bottom: 7px;
}
.bpost h3 a {
  color: var(--dark);
}
.bpost h3 a:hover {
  color: var(--sapphire);
}
.bpost-exc {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 9px;
}
.bpost-rm {
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sapphire);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bpost-rm:hover {
  gap: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f3460;
}
.ftr-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}
.ftr-widgets {
  display: grid;
  grid-template-columns: 30fr 20fr 20fr 30fr;
  gap: 20px;
  padding: 50px 0 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* footer logo */
.ftr-logo-txt {
  font-family: var(--ff);
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  display: block;
  margin-bottom: 16px;
}
.ftr-logo-txt span {
  color: var(--sapphire);
}
.ftr-logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.ftr-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
  max-width: 260px;
}
.newsletter-row {
  display: flex;
}
.newsletter-row input {
  font-family: var(--ff) !important;
  font-size: 13px !important;
  border-radius: 8px 0 0 8px !important;
  flex: 1 !important;
  padding: 13px 16px !important;
  background: transparent !important;
  border: 2px solid var(--sage) !important;
  border-right: none !important;
  color: #fff !important;
  font-size: 14px !important;
  outline: none !important;
}
.newsletter-row input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.newsletter-row button {
  padding: 0 16px;
  background: var(--sage);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s;
  border-radius: 0 8px 8px 0;
}
.newsletter-row button:hover {
  background: #fff;
  color: var(--sage);
}

.ftr-wtitle {
  font-family: var(--ff);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  margin-bottom: 6px;
}
.ftr-wtitle::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: #4a8f7f;
  margin-top: 6px;
  margin-bottom: 16px;
}
.ftr-citem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}
.ftr-citem i {
  color: #4a8f7f;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}
.ftr-socials {
  display: flex;
  gap: 9px;
  margin-top: 4px;
}
.ftr-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: all 0.25s;
}
.ftr-socials a:hover {
  background: var(--sapphire);
  color: #fff;
}

.ftr-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.ftr-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.ftr-copy a {
  color: #4a8f7f;
}
.ftr-btt {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a8f7f;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s;
  justify-self: center;
}
.ftr-btt:hover {
  background: #4a8f7f;
  color: #fff;
}
.ftr-links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}
.ftr-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.ftr-links a:hover {
  color: #4a8f7f;
}

/* back-to-top — hidden, using footer button instead */
.btt {
  display: none;
}

.btn-send {
  padding: 0 18px;
  background: #4a8f7f;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.25s;
}

.btn-send:hover {
  background: #fff;
  color: #4a8f7f;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #4a8f7f;
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  transition: all 0.25s;
}

.social-link:hover {
  background: #fff;
  color: #4a8f7f;
}

.murphy-link:hover {
  color: var(--lt-green);
}

/* ============================================================
   BURGER & MOBILE MENU
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #0f3460;
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid rgba(15, 52, 96, 0.08);
  padding: 0;
}
.mobile-menu.open {
  display: block;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0px 20px;
}
.mobile-nav a {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 16px;
  color: #1e2a35;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 52, 96, 0.07);
  transition: color 0.25s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: #4a8f7f;
}
.mobile-nav .mobile-cta,
.mobile-nav-cta-wrap .mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  border: 2px solid #4a8f7f;
  color: #4a8f7f;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  transition:
    background 0.25s,
    color 0.25s;
}
.mobile-nav .mobile-cta:hover,
.mobile-nav-cta-wrap .mobile-cta:hover {
  background: #4a8f7f;
  color: #fff;
}
.mobile-nav-cta-wrap {
  padding: 0 20px 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .main-nav a {
    padding: 0 28px;
  }
}

@media (max-width: 1024px) {
  .hdr-nav-group {
    display: none;
  }
  .burger {
    display: flex;
  }
  /* About — hide overlay image only */
  .about-img-over {
    display: none;
  }
  .about-img-main {
    width: 70%;
    left: 20px;
  }
  .about-text {
    padding-right: 20px;
  }
}

/* iPad and below — audience cards stack, marquee reduces */
@media (max-width: 768px) {
  /* Audience cards */
  .audience-sec {
    padding: 60px 0;
  }
  .audience-hdr {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .audience-view-link {
    margin: 20px auto 0;
  }
  .audience-hdr-right p {
    text-align: center;
  }
  .audience-cards {
    grid-template-columns: 1fr;
  }
  .acard-body {
    text-align: center;
  }
  /* Marquee */
  .marquee-sec {
    padding: 30px 0;
  }
  .mq-item {
    font-size: 14px;
    padding: 0 30px;
  }
}
/* iPad Pro and below */
@media (max-width: 1024px) {
  /* Header */
  .hdr-inner {
    padding: 0 10px;
  }
}

/* iPad and below — everything stacks and centres */
@media (max-width: 768px) {
  /* Hero */
  .hero-slide {
    min-height: 500px;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .sh {
    font-size: 28px;
  }
  .hero-title {
    font-size: 38px;
    line-height: 48px;
  }

  /* Sectors strip */
  .svc-strip-grid {
    grid-template-columns: 1fr;
  }
  .svc-strip-col {
    padding: 36px 0 !important;
    border-right: none;
    border-bottom: 1px solid var(--border);
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }
  .svc-strip-col:first-child {
    padding-top: 0 !important;
  }
  .svc-strip-col:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }

  /* About — full stack */
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-sec {
    padding: 60px 0;
  }
  .about-kpi {
    font-size: 60px;
  }
  .about-img-main {
    position: static;
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    box-shadow: none;
  }
  .about-img-main img {
    height: auto;
  }
  .about-imgs {
    position: static;
    height: auto;
    min-height: unset;
  }
  .about-text {
    padding-left: 0;
    padding-top: 20px;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
  }
  .about-checks {
    display: inline-flex;
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
    text-align: left;
  }
  /* .about-checks li i {
    display: none;
  } */
  .about-checks li {
    justify-content: center;
  }
  .about-cta {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
  }
  /* Process */
  .psteps {
    grid-template-columns: 1fr;
  }
  .process-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .process-sec {
    padding: 60px 0;
  }
  /* Testimonials */
  .testi-layout {
    grid-template-columns: 1fr;
  }
  .testi-left {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  .testi-left .sh {
    text-align: center;
  }
  .testi-arrows {
    justify-content: center;
  }
  .testi-right {
    border-left: none;
    padding-left: 0;
    padding-top: 0;
  }
  .testi-sec {
    padding: 60px 0;
  }
  /* Footer */
  .ftr-widgets {
    grid-template-columns: 1fr 1fr;
    padding: 30px 0 25px;
  }
}

@media (max-width: 480px) {
  .about-text {
    max-width: 100%;
  }
  .ftr-widgets {
    grid-template-columns: 1fr;
  }
  .ftr-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .ftr-links {
    justify-content: center;
  }
  .ftr-btt {
    justify-self: center;
  }
}

/* ============================================================
   WP NAV MENU — desktop
   ============================================================ */
.main-nav nav {
  display: flex;
  align-items: center;
}
.main-nav-list,
.main-nav-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav-list li a {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--body-text);
  padding: 8px 18px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
  text-transform: capitalize;
  text-decoration: none;
  display: block;
}
.main-nav-list li a:hover,
.main-nav-list li.current-menu-item > a {
  color: #4a8f7f;
}

/* ============================================================
   WP NAV MENU — mobile
   ============================================================ */
.mobile-nav-list,
.mobile-nav-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-list li a {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 16px;
  color: #1e2a35;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 52, 96, 0.07);
  transition: color 0.25s;
  text-decoration: none;
  display: block;
}
.mobile-nav-list li:last-child a {
  border-bottom: none;
}
.mobile-nav-list li a:hover {
  color: #4a8f7f;
}

/* ============================================================
   FIXES
   ============================================================ */
/* Prevent decorative overlays blocking clicks */
.contact-sec::before {
  pointer-events: none;
}

/* Service card green overlay */
.acard-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(74, 143, 127, 0.65) 100%
  );
  pointer-events: none;
}

/* ============================================================
   PARENT THEME OVERRIDES
   ============================================================ */
/* Neutralise the parent theme's ::before overlay on .site-footer
   (all.css sets position:absolute; z-index:1 which blocks footer content) */
.site-footer::before {
  display: none !important;
}

/* ============================================================
   ACCESSIBILITY TOP BAR
   ============================================================ */
#a11y-bar {
  background: #0f3460;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 40px;
  font-family: "Red Hat Display", sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#a11y-bar .a11y-bar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}
#a11y-bar .a11y-bar-label svg {
  opacity: 0.6;
}
#a11y-bar-txt {
  line-height: normal;
  letter-spacing: 0px;
}
#a11y-bar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  font-family: "Red Hat Display", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  text-transform: capitalize;
}
#a11y-bar-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
#a11y-bar-btn.on {
  background: #82c4f8;
  border-color: #82c4f8;
  color: #0f3460;
}
#a11y-bar-btn.on .a11y-dot {
  background: #0f3460;
}
.a11y-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #82c4f8;
  flex-shrink: 0;
  transition: background 0.25s;
}
/* Switch visual inside the button */
.a11y-bar-switch {
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}
.a11y-bar-switch::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: transform 0.25s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#a11y-bar-btn.on .a11y-bar-switch {
  background: rgba(15, 52, 96, 0.3);
}
#a11y-bar-btn.on .a11y-bar-switch::after {
  transform: translateX(14px);
}

@media (max-width: 600px) {
  #a11y-bar {
    padding: 7px 20px;
  }
  #a11y-bar .a11y-bar-label {
    display: none;
  }
}

/* Designer preview button */
#preview-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 16px;
  padding: 0px 10px;
  border-radius: 20px;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Red Hat Display", sans-serif;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
#preview-btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.8);
}
#preview-btn.preview-on {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
#preview-btn .preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: background 0.2s;
}
#preview-btn.preview-on .preview-dot {
  background: #82c4f8;
}

body.cb-deut {
  filter: url(#deut-filter);
}

/* ============================================================
   COLORBLIND PALETTE OVERRIDES — only when body.palette-a11y
   #4A8F7F sage  → #82C4F8 electric blue
   #DFF0EC light green → #DCF3FB sky tint
   ============================================================ */
body.palette-a11y .hero-title .hl {
  color: #82c4f8;
}
body.palette-a11y .hero-cta {
  background: #82c4f8;
}
body.palette-a11y .hero-cta:hover {
  background: #fff;
  color: #82c4f8;
}
body.palette-a11y .btn-letschat {
  border-color: #82c4f8;
  color: #82c4f8;
}
body.palette-a11y .btn-letschat:hover {
  background: #82c4f8;
  border-color: #82c4f8;
  color: #fff;
}
body.palette-a11y .main-nav a:hover {
  color: #82c4f8;
}
body.palette-a11y .svc-strip-col:hover .sbox-icon {
  color: #82c4f8;
}
body.palette-a11y .svc-strip-col:hover .sbox-title {
  color: #82c4f8;
}
body.palette-a11y .audience-sec {
  background: #dcf3fb;
}
body.palette-a11y .audience-eyebrow {
  color: #82c4f8;
}
body.palette-a11y .acard-cat {
  color: #82c4f8;
}
body.palette-a11y .acard-btn {
  background: #82c4f8;
  border-color: #82c4f8;
}
body.palette-a11y .acard-btn:hover {
  background: #fff;
  color: #82c4f8;
  border-color: #82c4f8;
}
body.palette-a11y .audience-view-link:hover {
  color: #82c4f8;
  border-color: #82c4f8;
}
body.palette-a11y .testi-sec {
  background: #dcf3fb;
}
body.palette-a11y .testi-left .eyebrow {
  color: #82c4f8;
}
body.palette-a11y .testi-right {
  border-left-color: #82c4f8;
}
body.palette-a11y .tcard-bigquote {
  color: #82c4f8;
}
body.palette-a11y .tcard-stars i {
  color: #82c4f8;
}
body.palette-a11y .testi-dot {
  border-color: #82c4f8;
}
body.palette-a11y .testi-dot.active {
  background: #82c4f8;
  border-color: #82c4f8;
}
body.palette-a11y .tarrow:hover svg path {
  fill: #82c4f8;
}
body.palette-a11y .fib-icon {
  background: #82c4f8;
}
body.palette-a11y .about-cta {
  background: #82c4f8;
  border-color: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .about-cta:hover {
  background: transparent;
  color: #82c4f8;
}
body.palette-a11y .pstep:hover .pstep-icon {
  background: #82c4f8;
}
body.palette-a11y .mobile-nav a:hover {
  color: #82c4f8;
}
body.palette-a11y .mobile-nav .mobile-cta,
body.palette-a11y .mobile-nav-cta-wrap .mobile-cta {
  border-color: #82c4f8;
  color: #82c4f8;
}
body.palette-a11y .mobile-nav .mobile-cta:hover,
body.palette-a11y .mobile-nav-cta-wrap .mobile-cta:hover {
  background: #82c4f8;
  color: #fff;
}
body.palette-a11y .ftr-wtitle::after {
  background: #82c4f8;
}
body.palette-a11y .ftr-citem i {
  color: #82c4f8;
}
body.palette-a11y .ftr-copy a {
  color: #82c4f8;
}
body.palette-a11y .ftr-btt {
  color: #82c4f8;
}
body.palette-a11y .ftr-btt:hover {
  background: #82c4f8;
  color: #fff;
}
body.palette-a11y .ftr-links a:hover {
  color: #82c4f8;
}
body.palette-a11y .sbox-link {
  color: #82c4f8;
}
body.palette-a11y .pstep:hover {
  border-color: #82c4f8;
}
body.palette-a11y .pstep::before {
  -webkit-text-stroke-color: #82c4f8;
}
body.palette-a11y .ftr-socials a:hover {
  background: #82c4f8;
  border-color: #82c4f8;
}
body.palette-a11y .bpost-meta a {
  color: #82c4f8;
}
body.palette-a11y .bpost-rm {
  color: #82c4f8;
}
body.palette-a11y .lnk-arrow {
  color: #82c4f8;
}
body.palette-a11y .tcard-role-label {
  color: #82c4f8;
}
body.palette-a11y .sdark-card-cat {
  color: #82c4f8;
}
body.palette-a11y .social-link {
  background: #82c4f8 !important;
  color: #0f3460 !important;
}
body.palette-a11y .social-link:hover {
  background: #fff !important;
  color: #82c4f8 !important;
}
body.palette-a11y .newsletter-row input {
  border-color: #82c4f8 !important;
}
body.palette-a11y .newsletter-row button,
body.palette-a11y .btn-send {
  background: #82c4f8 !important;
  color: #0f3460 !important;
}
body.palette-a11y .newsletter-row button:hover,
body.palette-a11y .btn-send:hover {
  background: #fff !important;
  color: #82c4f8 !important;
}
body.palette-a11y .main-nav a:hover,
body.palette-a11y .main-nav-list li.current-menu-item > a,
body.palette-a11y .main-nav a.active {
  color: #82c4f8 !important;
}

/* ============================================================
   HIRE PAGE  (template-hire.php)
   ============================================================ */

/* ---- Shared hire utilities ---- */
.hire-eyebrow {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a8f7f;
  display: block;
  margin-bottom: 10px;
}
.hire-eyebrow--light {
  color: #dff0ec;
}

.hire-sh {
  font-family: var(--ff);
  font-weight: 500;
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 14px;
}
.hire-sh--white {
  color: #fff;
}

.hire-hl {
  color: #4a8f7f;
}

.hire-saphire {
  color: #1a5276;
}

.hire-sec-hdr {
  text-align: center;
  margin-bottom: 50px;
}
.hire-sec-hdr--light .hire-sh {
  color: #fff;
}

/* ---- S1: Hero ---- */
.hire-hero {
  background: linear-gradient(135deg, #0f3460 0%, #1a5276 50%, #4a8f7f 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hire-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}
.hire-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hire-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 18, 29, 0.75) 0%,
    rgba(12, 18, 29, 0.35) 55%,
    transparent 100%
  );
}
.hire-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 10px;
}
.hire-hero-title {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 42px;
  line-height: 64px;
  color: #fff;
  margin-bottom: 10px;
}
.hire-hero-eyebrow {
  color: #4a8f7f;
}

/* ---- S2: MSG Difference ---- */
.hire-difference {
  padding: 80px 0 0;
  background: #fff;
}
.hire-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hire-diff-img {
  position: relative;
  height: 460px;
}
.hire-diff-img-main {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3a5c 0%, #0f3460 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(15, 52, 96, 0.2);
  overflow: hidden;
}

.hire-diff-img-main img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.hire-diff-img-badge {
  position: absolute;
  bottom: 28px;
  right: -18px;
  background: #4a8f7f;
  color: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(74, 143, 127, 0.35);
}
.hire-diff-badge-num {
  display: block;
  font-family: var(--ff);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
}
.hire-diff-badge-label {
  display: block;
  font-family: var(--ff);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.88;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.hire-diff-text .hire-sh {
  font-size: 34px;
  line-height: 32px;
  margin-bottom: 24px;
}
.hire-diff-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
}

/* Full-width icon strip below the 2-col block */
.hire-diff-strip {
  background: #f5f7fa;
  margin-top: 80px;
  padding: 60px 0;
}
.hire-diff-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.hire-diff-strip-col {
  text-align: center;
}
.hire-fib-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #1a5276;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin: 0 auto 20px;
}
.hire-diff-strip-col h3 {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 10px;
}
.hire-diff-strip-col p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---- S3: How We Work ---- */
.hire-process {
  background: #dff0ec;
  padding: 80px 0;
}
.hire-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.hire-step {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px 36px;
  box-shadow: 0 4px 24px rgba(15, 52, 96, 0.06);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.hire-step:hover {
  box-shadow: 0 12px 40px rgba(15, 52, 96, 0.12);
  transform: translateY(-4px);
}
.hire-step-num {
  font-family: var(--ff);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: #4a8f7f;
  letter-spacing: -2px;
  display: block;
  margin-bottom: 20px;
}
.hire-step-title {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.hire-step-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ---- S4: Sectors ---- */
.hire-sectors {
  background: #fff;
  padding: 80px 0;
}
.hire-sector-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hire-sector-card {
  background: #fff;
  border: 1px solid rgba(15, 52, 96, 0.14);
  border-top: 4px solid #1a5276;
  border-radius: 8px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.hire-sector-card:hover {
  box-shadow: 0 12px 40px rgba(15, 52, 96, 0.1);
  transform: translateY(-4px);
}
.hire-sector-icon {
  font-size: 32px;
  color: #0f3460;
  margin-bottom: 20px;
}
.hire-sector-title {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
}
.hire-sector-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  flex-grow: 1;
}
.hire-sector-roles {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.6;
  margin-bottom: 20px;
}
.hire-sector-roles strong {
  color: var(--text);
}
.hire-sector-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0f3460;
  margin-top: auto;
  transition: gap 0.2s;
}
.hire-sector-link:hover {
  gap: 13px;
  color: #4a8f7f;
}

/* ---- S5: Testimonials ---- */
.hire-testimonials {
  background: #0f3460;
  padding: 100px 0;
}
.hire-testi-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.hire-testi-track {
  position: relative;
  min-height: 200px;
}
.hire-tcard {
  display: none;
  text-align: center;
}
.hire-tcard.active {
  display: block;
}
.hire-tcard-quote-mark {
  font-family: Georgia, serif;
  font-size: 100px;
  line-height: 0.6;
  color: #4a8f7f;
  display: block;
  margin-bottom: 24px;
}
.hire-tcard-quote {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  margin-bottom: 24px;
  quotes: none;
}
.hire-tcard-cite {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}
.hire-testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.hire-tarrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hire-tarrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.hire-testi-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hire-testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.hire-testi-dot.active,
.hire-testi-dot:hover {
  background: #4a8f7f;
  transform: scale(1.2);
}

/* ---- S6: FAQ ---- */
.hire-faq {
  background: #dff0ec;
  padding: 80px 0;
}
.hire-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.hire-faq-item {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 52, 96, 0.05);
}
.hire-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 16px;
  color: #1e2a35;
  text-align: left;
  transition: color 0.2s;
}
.hire-faq-q:hover {
  color: #4a8f7f;
}
.hire-faq-chevron {
  flex-shrink: 0;
  color: #1e2a35;
  font-size: 13px;
  transition: transform 0.3s;
}
.hire-faq-item.open .hire-faq-chevron {
  transform: rotate(180deg);
}
.hire-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.hire-faq-a p {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ---- S7: Enquiry Form ---- */
/* ---- Enquiry Form section — two-column, white background ---- */
.hire-form {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid rgba(15, 52, 96, 0.08);
}
.hire-form-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.hire-form-left {
  padding-top: 8px;
}
.hire-form-left .hire-eyebrow {
  display: block;
  margin-bottom: 16px;
}
.hire-form-left .hire-sh {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hire-form-intro {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 32px;
}
.hire-form-direct {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 12px;
}
.hire-form-direct i {
  color: #1a5276;
  font-size: 14px;
  width: 16px;
}
.hire-form-direct a {
  color: var(--dark);
  font-weight: 500;
  transition: color 0.2s;
}
.hire-form-direct a:hover {
  color: #1a5276;
}
.hire-form-right {
  background: #fff;
  border: 1px solid rgba(15, 52, 96, 0.1);
  box-shadow: 0 4px 32px rgba(15, 52, 96, 0.07);
  padding: 44px;
  border-radius: 10px;
}
.hire-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hire-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 30px;
}
.hire-form-field {
  display: flex;
  flex-direction: column;
}
.hire-form-field--full {
  grid-column: 1 / -1;
  padding-bottom: 30px;
}
.hire-form-field label {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  letter-spacing: 0.2px;
  text-transform: capitalize;
}
.hire-form-field input,
.hire-form-field textarea {
  font-family: var(--ff);
  font-size: 14px;
  color: #333;
  background: #f5f7fa !important;
  border-radius: 5px;
  padding: 13px 16px;
  box-shadow: 0 2px 8px rgba(26, 47, 106, 0.04);
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.hire-form-field input::placeholder,
.hire-form-field textarea::placeholder {
  color: #aab3be;
  font-weight: 400;
}
.hire-form-field input:focus,
.hire-form-field textarea:focus {
  outline: none;
  border-color: #4a8f7f;
}
.hire-form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.req {
  color: #1a5276;
}
.hire-optional {
  font-weight: 400;
  color: var(--sub);
  font-size: 12px;
}

/* Radio buttons */
.hire-radios {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hire-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  font-weight: 400;
}
.hire-radio-label input[type="radio"] {
  width: auto;
  accent-color: #4a8f7f;
  cursor: pointer;
}

/* ── CF7 normalization ───────────────────────────────────────────
   CF7's wpautop wraps form content in <p> tags. These rules
   undo that so the original column/grid layout is preserved.
   ─────────────────────────────────────────────────────────────── */

/* Re-apply column layout on the injected <p> wrapper */
.hire-form-field > p,
.hire-form-field--full > p {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Hide stray <br> injected between label and input */
.hire-form-field > p br {
  display: none;
}
/* Make wpcf7-form-control-wrap span block so inputs fill width */
.hire-form-field .wpcf7-form-control-wrap {
  display: block;
}
/* Reset <p> inside submit and radio wrappers */
.hire-form-submit > p {
  margin: 0;
}
.hire-radios > p {
  margin: 0;
}
/* Fix textarea height — CF7 defaults to rows="10" */
.hire-form-field .wpcf7-textarea {
  min-height: 120px;
  max-height: 240px;
}
/* CF7 response output */
.hire-form-right .wpcf7-response-output,
.contact-form-col .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 13px;
  font-family: var(--ff);
  border: none;
}
/* Submit input — <input type="submit"> can't use ::after,
   so replicate the hover via background transition */
input.contact-submit-btn {
  transition: background 0.35s;
  -webkit-appearance: none;
  appearance: none;
}
input.contact-submit-btn:hover {
  background: #4a8f7f;
}

/* CF7 radio structure inside .hire-radios
   CF7 outputs: span.wpcf7-list-item > input + span.wpcf7-list-item-label
   (no <label> wrapper — targeting that was wrong) */
.hire-radios .wpcf7-radio {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}
.hire-radios .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  cursor: pointer;
}
.hire-radios .wpcf7-list-item input[type="radio"] {
  width: auto;
  accent-color: #4a8f7f;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.hire-radios .wpcf7-list-item-label {
  font-family: var(--ff);
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

/* Submit */
.hire-form-submit {
  margin-top: 4px;
}
.hire-submit-btn,
input.hire-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 15px 36px !important;
  background: #4a8f7f !important;
  color: #fff !important;
  border: none;
  border-radius: 30px !important;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s;
}
.hire-submit-btn:hover,
input.hire-submit-btn:hover {
  background: #1a5276 !important;
  color: #fff !important;
}

/* Form success / error */
.hire-form-success {
  text-align: center;
  padding: 48px 32px;
  background: #0f3460;
  border-radius: 4px;
  margin-bottom: 32px;
}
.hire-form-success i {
  font-size: 48px;
  color: #4a8f7f;
  margin-bottom: 16px;
  display: block;
}
.hire-form-success h3 {
  font-size: 22px;
  color: #0f3460;
  margin-bottom: 10px;
}
.hire-form-success p {
  color: var(--text);
  margin-bottom: 0;
}
.hire-form-error {
  background: #fff0f0;
  border: 1px solid #f5a5a5;
  border-radius: 4px;
  color: #c0392b;
  padding: 14px 20px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Hire page — responsive ---- */
@media (max-width: 1024px) {
  .hire-hero-title {
    font-size: 38px;
    line-height: 52px;
  }
  .hire-diff-grid {
    gap: 48px;
  }
  .hire-diff-img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .hire-diff-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hire-diff-img {
    height: 280px;
    order: -1;
  }
  .hire-diff-img-badge {
    right: 12px;
  }

  .hire-diff-strip-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hire-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hire-sector-cards {
    grid-template-columns: 1fr;
  }

  .hire-form-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hire-form-right {
    padding: 32px 28px;
  }
  .hire-form-row {
    grid-template-columns: 1fr;
  }

  .hire-sh {
    font-size: 26px !important;
  }

  .hire-difference {
    padding: 50px 0 0;
  }

  .hire-diff-strip {
    margin-top: 20px;
  }

  .hire-eyebrow {
    font-size: 11px;
  }

  .hire-faq-q {
    font-size: 13px;
    line-height: normal;
  }
  .hire-faq-a p {
    font-size: 14px;
  }
  .hire-process,
  .hire-sectors,
  .hire-testimonials,
  .hire-faq,
  .hire-form {
    padding: 50px 0;
  }
  .ftr-wtitle {
    font-size: 16px;
  }
  .ftr-citem a {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hire-diff-strip-grid {
    grid-template-columns: 1fr;
  }
  .hire-radios {
    flex-direction: column;
  }

  .hire-submit-btn {
    width: 100%;
    justify-content: center;
  }
  .hire-form-right {
    padding: 24px 20px;
  }
}

/* ---- Hire page palette-a11y overrides (must come after all hire CSS) ---- */
body.palette-a11y .hire-eyebrow {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-step-num {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-tcard-quote-mark {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-process {
  background: #dcf3fb;
}
body.palette-a11y .hire-faq {
  background: #dcf3fb;
}
body.palette-a11y .hire-form-success {
  background: #dcf3fb;
}
body.palette-a11y .hire-form-direct i {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-hero {
  background: linear-gradient(
    135deg,
    #0f3460 0%,
    #1a5276 50%,
    #82c4f8 100%
  ) !important;
}
body.palette-a11y .hire-diff-img-badge {
  background: #82c4f8 !important;
  color: #0f3460 !important;
  box-shadow: 0 12px 32px rgba(130, 196, 248, 0.35) !important;
}
body.palette-a11y .hire-fib-icon {
  background: #82c4f8 !important;
}
body.palette-a11y .hire-hl {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-sector-card {
  border-top-color: #82c4f8 !important;
}
body.palette-a11y .hire-sector-icon {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-sector-link,
body.palette-a11y .hire-sector-link:hover {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-faq-q:hover {
  color: #82c4f8 !important;
}
body.palette-a11y .hire-form-field input:focus,
body.palette-a11y .hire-form-field textarea:focus {
  border-color: #82c4f8 !important;
  box-shadow: 0 0 0 3px rgba(130, 196, 248, 0.15) !important;
}
body.palette-a11y .hire-radio-label input[type="radio"],
body.palette-a11y .hire-radios .wpcf7-list-item input[type="radio"] {
  accent-color: #82c4f8;
}
body.palette-a11y .hire-submit-btn {
  background: #82c4f8 !important;
  color: #0f3460 !important;
}
body.palette-a11y .hire-submit-btn:hover {
  background: #0f3460 !important;
  color: #82c4f8 !important;
}
body.palette-a11y .hire-form-success i {
  color: #82c4f8 !important;
}
body.palette-a11y .req {
  color: #82c4f8 !important;
}

/* ============================================================
   SECTORS PAGE  (template-sectors.php)
   ============================================================ */

/* Hero — reuses .hire-hero-bg/.hire-hero-overlay/.hire-hero-content/.hire-hero-title
   and .hire-eyebrow/.hire-hero-eyebrow defined in the Hire page CSS block above */
.sectors-hero {
  background: linear-gradient(135deg, #0f3460 0%, #1a5276 50%, #4a8f7f 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.sectors-eyebrow {
  display: inline-block;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4a8f7f;
  margin-bottom: 1rem;
}
.sectors-eyebrow--light {
  color: #82c4f8;
}

/* Sticky nav */
.sectors-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid #c5d4e0;
  display: flex;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.sectors-sticky-nav a {
  display: inline-block;
  padding: 1rem 2rem;
  color: #0f3460;
  font-weight: 600;
  font-family: "Red Hat Display", sans-serif;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
  flex-shrink: 0;
}
.sectors-sticky-nav a.active,
.sectors-sticky-nav a:hover {
  color: #4a8f7f;
  border-bottom-color: #4a8f7f;
}

/* Sector section backgrounds */
.sectors-engineering,
.sectors-professional {
  background: #fff;
}
.sectors-operations {
  background: #f5f7fa;
}

/* 2-col sector blocks */
.sector-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.sector-block--reverse {
  direction: rtl;
}
.sector-block--reverse > * {
  direction: ltr;
}

/* Image placeholder */
.sectors-img-placeholder {
  background: #e0e8f0;
  height: 460px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.sectors-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
}

/* Sector text */
.sector-text .sectors-eyebrow {
  color: #4a8f7f;
}
.sector-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #0f3460;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.sector-sub {
  color: #4a8f7f;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem !important;
}
.sector-roles-label {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem !important;
  color: #0f3460;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Role tag list */
.sector-roles {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}
.sector-roles li {
  font-size: 0.92rem;
  color: #1e2a35;
  padding-left: 1.1rem;
  position: relative;
}
.sector-roles li::before {
  content: "•";
  color: #4a8f7f;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* CTA text link */
.sector-cta-link {
  display: inline-block;
  color: #0f3460;
  font-weight: 700;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.95rem;
  border-bottom: 2px solid #4a8f7f;
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.sector-cta-link:hover {
  color: #4a8f7f;
}

/* Methodology section */
.sectors-methodology {
  background: #0f3460;
  color: #fff;
  padding: 5rem 2rem;
}
.sectors-meth-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sectors-meth-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 3rem;
  max-width: 700px;
}
.sectors-meth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.sectors-meth-sub {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}
.sectors-methodology p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

/* Sourcing channel tags */
.sectors-meth-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.meth-channel-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  font-family: "Red Hat Display", sans-serif;
}

/* Pull quote */
.sectors-pullquote {
  border-left: 4px solid #4a8f7f;
  padding-left: 1.5rem;
  margin: 2rem 0 0;
}
.sectors-pullquote p {
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem !important;
}
.sectors-pullquote cite {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}

/* CTA strip */
.sectors-cta {
  background: #1a5276;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}
.sectors-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.sectors-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}
.sectors-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sectors-cta-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  text-decoration: none;
}
.sectors-cta-btn--solid {
  background: #fff;
  color: #0f3460;
  border: 2px solid #fff;
}
.sectors-cta-btn--solid:hover {
  background: #0a2444;
  border-color: #0a2444;
  color: #fff;
}
.sectors-cta-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.sectors-cta-btn--outline:hover {
  background: #fff;
  color: #0a2444;
  border: 2px solid #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .sectors-hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .sectors-hero-btn {
    text-align: center;
  }
  .sector-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }
  .sectors-operations .sectors-img-placeholder {
    order: -1;
  }
  .sector-roles {
    grid-template-columns: 1fr;
  }
  .sectors-sticky-nav a {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  .sectors-meth-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sectors-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .sectors-cta-btn {
    text-align: center;
  }
}

/* Sectors page palette-a11y overrides */
body.palette-a11y .sectors-hero {
  background: linear-gradient(
    135deg,
    #0f3460 0%,
    #1a5276 50%,
    #82c4f8 100%
  ) !important;
}
body.palette-a11y .sectors-eyebrow {
  color: #82c4f8 !important;
}
body.palette-a11y .sectors-sticky-nav a.active,
body.palette-a11y .sectors-sticky-nav a:hover {
  color: #82c4f8 !important;
  border-bottom-color: #82c4f8 !important;
}
body.palette-a11y .sector-sub {
  color: #82c4f8 !important;
}
body.palette-a11y .sector-roles li::before {
  color: #82c4f8 !important;
}
body.palette-a11y .sector-cta-link {
  border-bottom-color: #82c4f8 !important;
}
body.palette-a11y .sector-cta-link:hover {
  color: #82c4f8 !important;
}
body.palette-a11y .sectors-pullquote {
  border-left-color: #82c4f8 !important;
}
body.palette-a11y .meth-channel-tag {
  border-color: rgba(130, 196, 248, 0.4) !important;
}

/* ============================================================
   CONTACT PAGE  (template-contact.php)
   ============================================================ */

/* ---- Info cards strip ---- */
.contact-cards-section {
  background: #fff;
  padding: 3.5rem 2rem;
  border-bottom: 1px solid #eaecf0;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e4e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 52, 96, 0.06);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4a8f7f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon i {
  color: #fff;
  font-size: 20px;
}

.contact-card-label {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 16px;
  color: #0f3460;
  margin-bottom: 6px;
}

.contact-card-value {
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}

.contact-card-value a {
  color: #555;
  text-decoration: none;
}

.contact-card-value a:hover {
  color: #4a8f7f;
}

/* ---- Main form section ---- */
.contact-main-wrap {
  background: #f4f6f9;
}

.contact-main {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  align-items: start;
}

/* Left: eyebrow + big heading + intro + LinkedIn */
.contact-msg-eyebrow {
  display: block;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a8f7f;
  margin-bottom: 14px;
}

.contact-msg-heading {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.2;
  color: #0f3460;
  margin-bottom: 20px;
}

.contact-intro {
  color: #666;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 380px;
}

.contact-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #4a8f7f;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-linkedin-btn:hover {
  background: #0f3460;
  color: #fff;
}

/* Right: form */
.contact-form-col {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(15, 52, 96, 0.07);
}

/* Form field labels */
.contact-enquiry-form .hire-form-field > label {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  color: #0f3460;
  letter-spacing: 0.02em;
}

/* Inputs and textarea inherit hire-form-field styles but we tweak here */
.contact-enquiry-form input,
.contact-enquiry-form textarea {
  border: 1px solid #dde1ea;
  border-radius: 6px;
  padding: 14px 16px;
  font-family: var(--ff);
  font-size: 15px;
  color: #333;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-enquiry-form input:focus,
.contact-enquiry-form textarea:focus {
  outline: none;
  border-color: #4a8f7f;
}

.contact-enquiry-form input::placeholder,
.contact-enquiry-form textarea::placeholder {
  color: #aab0bc;
}

/* Radio toggle — inside a form row cell */
.contact-radio-group {
  display: flex;
  gap: 10px;
  height: 100%;
}

.contact-radio-group input[type="radio"] {
  display: none;
}

.contact-radio-group label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border: 1px solid #dde1ea;
  border-radius: 6px;
  color: #555;
  font-family: var(--ff);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  user-select: none;
  text-align: center;
}

.contact-radio-group input[type="radio"]:checked + label {
  background: #0f3460;
  border-color: #0f3460;
  color: #fff;
}

.contact-radio-group label:hover {
  border-color: #4a8f7f;
  color: #0f3460;
}

.contact-radio-group input[type="radio"]:checked + label:hover {
  background: #0f3460;
  color: #fff;
}

/* CF7 radio — same simple inline style as hire form seniority radios */
.contact-radio-group > p {
  margin: 0;
}
.contact-radio-group .wpcf7-radio {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 5px;
}
.contact-radio-group .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  cursor: pointer;
}
.contact-radio-group .wpcf7-list-item input[type="radio"] {
  display: inline-block;
  width: auto;
  accent-color: #4a8f7f;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.contact-radio-group .wpcf7-list-item-label {
  font-family: var(--ff);
  font-size: 14px;
  color: var(--text);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

/* Submit button — JS in template-contact.php replaces <input> with
   <button> so ::after animation works (inputs don't support ::after) */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 40px !important;
  background: linear-gradient(135deg, #0f3460 0%, #1a5276 40%, #4a8f7f 100%);
  color: #fff !important;
  border: none;
  border-radius: 30px;
  font-family: var(--ff);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-submit-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #4a8f7f;
  clip-path: inset(100% 0 0 100% round 30px);
  transition: clip-path 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
  border-radius: inherit;
}
.contact-submit-btn:hover::after {
  clip-path: inset(0 0 0 0 round 30px);
}

.hire-form-submit {
  margin-top: 4px;
}

/* Error / success reuse hire styles — no changes needed */

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }

  .contact-msg-heading {
    font-size: 28px;
  }

  .contact-form-col {
    padding: 1.75rem 1.25rem;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Accessibility palette ---- */
body.palette-a11y .contact-card-icon {
  background: #82c4f8;
}

body.palette-a11y .contact-msg-eyebrow {
  color: #82c4f8;
}

body.palette-a11y .contact-radio-group label:hover,
body.palette-a11y
  .contact-radio-group
  .wpcf7-list-item:hover
  .wpcf7-list-item-label {
  border-color: #82c4f8;
}
body.palette-a11y .contact-radio-group input[type="radio"]:checked + label,
body.palette-a11y
  .contact-radio-group
  .wpcf7-list-item:has(input:checked)
  .wpcf7-list-item-label {
  background: #82c4f8;
  border-color: #82c4f8;
  color: #0f3460;
}

body.palette-a11y .contact-linkedin-btn {
  background: #82c4f8;
  color: #0f3460;
}

body.palette-a11y .contact-submit-btn {
  background: linear-gradient(
    135deg,
    #0f3460 0%,
    #1a5276 50%,
    #82c4f8 100%
  ) !important;
  color: #fff !important;
}
body.palette-a11y .contact-submit-btn::after {
  background: #82c4f8 !important;
}
body.palette-a11y .contact-submit-btn:hover {
  color: #fff !important;
}

/* ============================================================
   ABOUT PAGE  (template-about.php)
   ============================================================ */

/* ---- Bio section — white bg override of .about-sec ---- */
.about-bio {
  padding: 100px 0;
  background: #fff;
}

/* Image placeholders (shown before Keith uploads photos) */
.about-img-placeholder {
  background: #e0e8f0;
  border-radius: 8px;
  min-height: 220px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-style: italic;
  font-size: 14px;
}

/* ---- Pillars section ---- */
.about-pillars {
  background: #f5f7fa;
  padding: 80px 0;
}

.about-pillars .hire-sec-hdr {
  text-align: center;
  margin-bottom: 56px;
}

.about-pillars .hire-diff-strip-grid {
  margin-top: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .about-bio {
    padding: 60px 0;
  }

  .about-pillars {
    padding: 56px 0;
  }
}

/* ============================================================
   TERMS OF USE PAGE
   ============================================================ */

.terms-wrap {
  padding: 72px 0 96px;
  background: #fff;
}

.terms-content {
  max-width: 800px;
}

.terms-intro {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 2px solid #dff0ec;
}

.terms-page-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f3460;
  margin-bottom: 6px;
}

.terms-page-date {
  font-size: 0.9rem;
  color: #4a8f7f;
  font-weight: 600;
  margin-bottom: 20px;
}

.terms-page-preamble {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin: 0;
}

.terms-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eef2f5;
}

.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f3460;
  margin-bottom: 12px;
}

.terms-section-body {
  font-size: 0.975rem;
  color: #444;
  line-height: 1.85;
}

.terms-section-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a8f7f;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.terms-section-link:hover {
  border-bottom-color: #4a8f7f;
}

/* a11y palette overrides */
body.palette-a11y .terms-intro {
  border-bottom-color: #dcf3fb;
}
body.palette-a11y .terms-page-date {
  color: #82c4f8;
}
body.palette-a11y .terms-section-link {
  color: #82c4f8;
}
body.palette-a11y .terms-section-link:hover {
  border-bottom-color: #82c4f8;
}

@media (max-width: 768px) {
  .terms-wrap {
    padding: 48px 0 72px;
  }
}

/* ============================================================
   SINGLE JOB LISTING PAGE
   ============================================================ */

/* Hero pills */
.job-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.job-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.job-hero-pill--type {
  background: rgba(74, 143, 127, 0.35);
  border-color: #4a8f7f;
}

/* =============================================================
   Jobs Page — /jobs template
   ============================================================= */

/* Gap between hero and the WP Job Manager search/filter block */
.jobs-listings-wrap {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Search bar: white background, rounded card */
.job_filters .search_jobs {
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

/* Keyword / Location inputs */
.job_filters .search_jobs input[type="text"] {
  background: #f8fafc;
  border: 1.5px solid #d0d9e2;
  border-radius: 6px;
  padding: 11px 14px;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.95rem;
  color: #1e2a35;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.job_filters .search_jobs input[type="text"]:focus {
  outline: none;
  border-color: #4a8f7f;
  background: #fff;
}

/* SEARCH JOBS submit button */
.job_filters .search_submit input[type="submit"] {
  background: #4a8f7f;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.job_filters .search_submit input[type="submit"]:hover {
  background: #0f3460;
}

/* Checkboxes — job types + remote */
.job_filters input[type="checkbox"] {
  accent-color: #0f3460;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Hide remote-only checkbox, job-type filter checkboxes, and RSS link */
.job_filters .search_remote_position,
.job_filters .job_types,
.showing_jobs .rss_link {
  display: none !important;
}

/* Remove top border on the list and bottom borders on each row */
ul.job_listings {
  border-top: none !important;
}

ul.job_listings li.job_listing {
  border-bottom: 1px solid #e4edf5 !important;
}

/* Teal title on hover — !important needed to beat parent theme's global a:hover color (#0aadeb) */
ul.job_listings li.job_listing a:hover .position h3,
ul.job_listings li.job_listing a:focus .position h3 {
  color: #4a8f7f !important;
}

/* Company logo in job listing rows — ensure full logo visible */
ul.job_listings li.job_listing a {
  min-height: 60px !important;
}
ul.job_listings li.job_listing a img.company_logo {
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
}

/* ── Jobs page — color assist ── */
body.palette-a11y .job_filters .search_jobs input[type="text"]:focus {
  border-color: #82c4f8;
  box-shadow: 0 0 0 3px rgba(130, 196, 248, 0.15);
}
body.palette-a11y .job_filters .search_submit input[type="submit"] {
  background: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .job_filters .search_submit input[type="submit"]:hover {
  background: #0f3460;
  color: #82c4f8;
}
body.palette-a11y ul.job_listings li.job_listing a:hover .position h3,
body.palette-a11y ul.job_listings li.job_listing a:focus .position h3 {
  color: #82c4f8 !important;
}

/* Search results count + Reset button — color assist */
body.palette-a11y .job_filters .showing_jobs span {
  color: #82c4f8 !important;
}
body.palette-a11y .job_filters .showing_jobs a {
  border-color: #82c4f8 !important;
  color: #82c4f8 !important;
  background-color: #dcf3fb !important;
}

/* Full-time job type label — color assist */
body.palette-a11y .job-manager .full-time,
body.palette-a11y .job-types .full-time,
body.palette-a11y .job_listing .full-time {
  color: #82c4f8 !important;
}
body.palette-a11y .single_job_listing .meta .full-time {
  background-color: #82c4f8 !important;
  color: #0f3460 !important;
}
body.palette-a11y .job_summary_shortcode .job-type.full-time {
  background-color: #82c4f8 !important;
  color: #0f3460 !important;
}

/* ============================================================= */

/* Back link */
.job-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a8f7f;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 40px;
  transition:
    color 0.2s,
    gap 0.2s;
}

.job-back-link:hover {
  color: #0f3460;
  gap: 12px;
}

/* Main content section */
.job-single-wrap {
  padding: 64px 0 96px;
  background: #fff;
}

/* Two-column grid */
.job-single-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Description */
.job-single-main {
}

.job-single-description {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
}

.job-single-description h2,
.job-single-description h3 {
  color: #0f3460;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 10px;
}

.job-single-description h2 {
  font-size: 1.3rem;
}
.job-single-description h3 {
  font-size: 1.1rem;
}

.job-single-description ul,
.job-single-description ol {
  padding-left: 1.6em;
  margin: 12px 0 20px;
}

.job-single-description ul {
  list-style-type: disc;
}
.job-single-description ul ul {
  list-style-type: circle;
}
.job-single-description ul ul ul {
  list-style-type: square;
}
.job-single-description ol {
  list-style-type: decimal;
}

.job-single-description li {
  display: list-item;
  margin-bottom: 6px;
}

.job-single-description p {
  margin: 0 0 16px;
}

.job-single-description strong {
  color: #0f3460;
}

/* Apply section */
.job-apply-section {
  margin-top: 48px;
  padding: 36px;
  background: #f4f8fb;
  border-left: 4px solid #4a8f7f;
  border-radius: 0 8px 8px 0;
}

.job-apply-section--closed {
  border-left-color: #ccc;
  background: #f9f9f9;
}

.job-apply-section--closed p {
  color: #666;
  margin: 0;
}
.job-apply-section--closed a {
  color: #4a8f7f;
  font-weight: 600;
}

.job-apply-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f3460;
  margin: 0 0 6px;
}

.job-apply-sub {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 20px;
}

/* WPJM apply button override */
.job_application .application_button,
.job_application .application_button.button {
  display: inline-flex;
  align-items: center;
  background: #4a8f7f;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.job_application .application_button:hover {
  background: #0f3460;
  color: #fff;
}

.job_application .application_details {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
}

/* Sidebar */
.job-single-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-meta-card,
.job-company-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(15, 52, 96, 0.06);
}

.job-meta-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a8f7f;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f5;
}

.job-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-meta-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
}

.job-meta-icon {
  grid-row: 1 / 3;
  color: #4a8f7f;
  font-size: 0.85rem;
  padding-top: 3px;
}

.job-meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
}

.job-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f3460;
}

/* Company card */
.job-company-logo img {
  max-height: 48px;
  width: auto;
  margin-bottom: 12px;
}

.job-company-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f3460;
}

.job-company-name a {
  color: #0f3460;
  text-decoration: none;
}

.job-company-name a:hover {
  color: #4a8f7f;
}

.job-company-tagline {
  font-size: 0.85rem;
  color: #666;
  margin: 6px 0 0;
}

/* Sidebar apply CTA */
.job-sidebar-apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4a8f7f;
  color: #fff;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 6px;
  transition: background 0.2s;
  text-align: center;
}

.job-sidebar-apply-btn:hover {
  background: #0f3460;
  color: #fff;
}

/* Notice / expired */
.job-single-notice {
  max-width: 560px;
  margin: 48px auto;
  text-align: center;
  padding: 40px;
  background: #f4f8fb;
  border-radius: 10px;
  color: #555;
}

.job-single-notice p {
  margin: 0 0 20px;
  font-size: 1rem;
}

.job-apply-btn {
  display: inline-flex;
  align-items: center;
  background: #4a8f7f;
  color: #fff;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.job-apply-btn:hover {
  background: #0f3460;
  color: #fff;
}

/* ---- Color assist overrides ---- */
body.palette-a11y .job-hero-pill--type {
  background: rgba(130, 196, 248, 0.25);
  border-color: #82c4f8;
}
body.palette-a11y .job-back-link {
  color: #82c4f8;
}
body.palette-a11y .job-back-link:hover {
  color: #0f3460;
}
body.palette-a11y .job-meta-card-title {
  color: #82c4f8;
}
body.palette-a11y .job-meta-icon {
  color: #82c4f8;
}
body.palette-a11y .job-apply-section {
  border-left-color: #82c4f8;
}
body.palette-a11y .job_application .application_button {
  background: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .job_application .application_button:hover {
  background: #0f3460;
  color: #82c4f8;
}
body.palette-a11y .job-sidebar-apply-btn {
  background: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .job-sidebar-apply-btn:hover {
  background: #0f3460;
  color: #82c4f8;
}
body.palette-a11y .job-apply-btn {
  background: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .job-apply-btn:hover {
  background: #0f3460;
  color: #82c4f8;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .job-single-grid {
    grid-template-columns: 1fr;
  }
  .job-single-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  .job-single-wrap {
    padding: 40px 0 72px;
  }
  .job-apply-section {
    padding: 24px;
  }
}

/* ============================================================
   JOB APPLICATION FORM (Formidable Forms)
   ============================================================ */

/* Apply toggle button */
.job-apply-toggle-btn {
  display: inline-flex;
  align-items: center;
  background: #4a8f7f;
  color: #fff;
  border: none;
  padding: 15px 28px;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s;
}

.job-apply-toggle-btn:hover {
  background: #0f3460;
}

/* Form wrapper — hidden until toggled */
.job-apply-form-wrap {
  display: none;
  margin-top: 32px;
}

.job-apply-form-wrap.is-open {
  display: block;
}

/* ── Formidable field overrides (scoped to job apply form) ── */
.job-apply-form-wrap .frm_forms {
  font-family: "Red Hat Display", sans-serif;
}

.job-apply-form-wrap .frm_form_field {
  margin-bottom: 20px;
}

/* Two-column layout for short fields */
.job-apply-form-wrap .frm_form_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

/* Full-width fields */
.job-apply-form-wrap .frm_form_field.frm_full,
.job-apply-form-wrap .frm_form_field:has(textarea),
.job-apply-form-wrap .frm_form_field:has(input[type="file"]),
.job-apply-form-wrap .frm_form_field:has(input[type="hidden"]),
.job-apply-form-wrap .frm_form_field:has(.frm_radio),
.job-apply-form-wrap .frm_submit {
  grid-column: 1 / -1;
}

/* Labels */
.job-apply-form-wrap .frm_primary_label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f3460;
  margin-bottom: 6px;
}

/* Required asterisk */
.job-apply-form-wrap .frm_required {
  color: #4a8f7f;
}

/* Inputs, select, textarea */
.job-apply-form-wrap input[type="text"],
.job-apply-form-wrap input[type="email"],
.job-apply-form-wrap input[type="url"],
.job-apply-form-wrap input[type="tel"],
.job-apply-form-wrap select,
.job-apply-form-wrap textarea {
  width: 100%;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.95rem;
  color: #1e2a35;
  background: #fff;
  border: 1.5px solid #d0d9e2;
  border-radius: 4px;
  padding: 11px 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.job-apply-form-wrap input[type="text"]:focus,
.job-apply-form-wrap input[type="email"]:focus,
.job-apply-form-wrap input[type="url"]:focus,
.job-apply-form-wrap input[type="tel"]:focus,
.job-apply-form-wrap select:focus,
.job-apply-form-wrap textarea:focus {
  outline: none;
  border-color: #4a8f7f;
  box-shadow: 0 0 0 3px rgba(74, 143, 127, 0.12);
}

.job-apply-form-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a8f7f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.job-apply-form-wrap textarea {
  min-height: 130px;
  resize: vertical;
}

/* Radio buttons */
.job-apply-form-wrap .frm_radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}

.job-apply-form-wrap .frm_radio input[type="radio"] {
  accent-color: #4a8f7f;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* File upload */
.job-apply-form-wrap input[type="file"] {
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.9rem;
  color: #555;
  padding: 10px 0;
  border: none;
  background: transparent;
}

/* Field descriptions */
.job-apply-form-wrap .frm_description {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

/* Validation errors */
.job-apply-form-wrap .frm_error {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
}

.job-apply-form-wrap .frm_error_style {
  background: #fdf0ef;
  border: 1px solid #e8b4b0;
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  grid-column: 1 / -1;
}

/* Submit button */
.job-apply-form-wrap .frm_submit {
  margin-top: 8px;
}

.job-apply-form-wrap .frm_submit input[type="submit"],
.job-apply-form-wrap .frm_submit button[type="submit"] {
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #0f3460;
  color: #fff;
  border: none;
  padding: 15px 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.job-apply-form-wrap .frm_submit input[type="submit"]:hover,
.job-apply-form-wrap .frm_submit button[type="submit"]:hover {
  background: #4a8f7f;
}

/* Success message */
.job-apply-form-wrap .frm_message {
  background: #dff0ec;
  border-left: 4px solid #4a8f7f;
  color: #0f3460;
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  font-size: 1rem;
}

/* ── Color assist overrides ── */
body.palette-a11y .job-apply-toggle-btn {
  background: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .job-apply-toggle-btn:hover {
  background: #0f3460;
  color: #82c4f8;
}
body.palette-a11y .job-apply-form-wrap .frm_primary_label {
  color: #0f3460;
}
body.palette-a11y .job-apply-form-wrap .frm_required {
  color: #82c4f8;
}
body.palette-a11y .job-apply-form-wrap input[type="text"]:focus,
body.palette-a11y .job-apply-form-wrap input[type="email"]:focus,
body.palette-a11y .job-apply-form-wrap input[type="url"]:focus,
body.palette-a11y .job-apply-form-wrap select:focus,
body.palette-a11y .job-apply-form-wrap textarea:focus {
  border-color: #82c4f8;
  box-shadow: 0 0 0 3px rgba(130, 196, 248, 0.15);
}
body.palette-a11y .job-apply-form-wrap .frm_radio input[type="radio"] {
  accent-color: #82c4f8;
}
body.palette-a11y .job-apply-form-wrap .frm_message {
  background: #dcf3fb;
  border-left-color: #82c4f8;
}
body.palette-a11y .job-apply-form-wrap .frm_submit input[type="submit"],
body.palette-a11y .job-apply-form-wrap .frm_submit button[type="submit"] {
  background: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .job-apply-form-wrap .frm_submit input[type="submit"]:hover,
body.palette-a11y .job-apply-form-wrap .frm_submit button[type="submit"]:hover {
  background: #0f3460;
  color: #82c4f8;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .job-apply-form-wrap .frm_form_fields {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   JOB APPLICATION MODAL  (.jam-*)
   ============================================================ */

body.jam-no-scroll {
  overflow: hidden;
}

/* Full-screen overlay */
.jam-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(3px);
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}

.jam-overlay.is-open {
  display: flex;
}

/* Dialog box */
.jam-dialog {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(10, 22, 40, 0.28);
  margin: 20px 0;
  overflow: hidden;
}

/* Header */
.jam-header {
  background: linear-gradient(135deg, #0f3460 0%, #1a4a7a 100%);
  padding: 36px 44px 32px;
  color: #fff;
}

.jam-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a8f7f;
  margin: 0 0 8px;
}

.jam-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
  padding-right: 40px;
}

.jam-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.jam-subtitle i {
  margin-right: 4px;
}

/* Close button */
.jam-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #4a8f7f;
  color: #fff;
  font-size: 1.5rem;
  line-height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
  flex-shrink: 0;
}

.jam-close:hover {
  background: #dff0ec;
  color: #4a8f7f;
}

/* Body — form lives here */
.jam-body {
  padding: 36px 44px 0px;
}

/* ── CF7 overrides inside modal ── */

/* Two-column layout rows */
.jam-body .jam-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin-bottom: 22px;
}

.jam-body .jam-col-half {
  width: calc(50% - 14px);
  box-sizing: border-box;
}
.jam-body .jam-col-full {
  width: 100%;
  box-sizing: border-box;
}

/* CF7 control wrap must be block so the input fills the column */
.jam-body .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Labels */
.jam-body .jam-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0f3460;
  margin-bottom: 7px;
}

.jam-body .jam-label abbr {
  color: #4a8f7f;
  text-decoration: none;
}

/* Inputs, selects, textarea */
.jam-body input[type="text"],
.jam-body input[type="email"],
.jam-body input[type="url"],
.jam-body input[type="tel"],
.jam-body select,
.jam-body textarea {
  width: 100%;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.95rem;
  color: #1e2a35;
  background: #f8fafc;
  border: 1.5px solid #d0d9e2;
  border-radius: 6px;
  padding: 12px 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.jam-body input[type="text"]:focus,
.jam-body input[type="email"]:focus,
.jam-body input[type="url"]:focus,
.jam-body input[type="tel"]:focus,
.jam-body select:focus,
.jam-body textarea:focus {
  outline: none;
  border-color: #4a8f7f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 143, 127, 0.14);
}

.jam-body select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a8f7f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  background-color: #f8fafc;
}

.jam-body textarea {
  min-height: 120px;
  resize: vertical;
}

/* File upload */
.jam-body input[type="file"] {
  width: 100%;
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.9rem;
  color: #555;
  background: #f8fafc;
  border: 1.5px dashed #c0cdd8;
  border-radius: 6px;
  padding: 14px 16px;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.jam-body input[type="file"]:hover {
  border-color: #4a8f7f;
}

/* Radio */
.jam-body .wpcf7-radio {
  display: block;
}

.jam-body .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin-right: 24px;
  margin-bottom: 4px;
}

.jam-body .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: #333;
  cursor: pointer;
  margin-bottom: 0;
}

.jam-body .wpcf7-list-item input[type="radio"] {
  accent-color: #4a8f7f;
  width: 17px;
  height: 17px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Validation errors */
.jam-body .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}

.jam-body .wpcf7-not-valid {
  border-color: #c0392b !important;
}

/* Submit button */
.jam-body .jam-submit-row {
  margin-top: 8px;
}

.jam-body .wpcf7-submit {
  font-family: "Red Hat Display", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #0f3460;
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.jam-body .wpcf7-submit:hover {
  background: #4a8f7f;
}

/* Success / error response banner */
.jam-body .wpcf7-response-output {
  margin: 0 0 30px 0 !important;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.jam-submit-row p {
	margin: 0px !important;
}

.jam-body .wpcf7-mail-sent-ok {
  background: #dff0ec;
  border: 1px solid #4a8f7f;
  border-left: 4px solid #4a8f7f;
  color: #0f3460;
  font-weight: 600;
}

/* ── Color assist ── */
body.palette-a11y .jam-eyebrow {
  color: #82c4f8;
}
body.palette-a11y .jam-body .jam-label abbr {
  color: #82c4f8;
}
body.palette-a11y .jam-body input[type="text"]:focus,
body.palette-a11y .jam-body input[type="email"]:focus,
body.palette-a11y .jam-body input[type="url"]:focus,
body.palette-a11y .jam-body select:focus,
body.palette-a11y .jam-body textarea:focus {
  border-color: #82c4f8;
  box-shadow: 0 0 0 3px rgba(130, 196, 248, 0.15);
}
body.palette-a11y .jam-body .wpcf7-list-item input[type="radio"] {
  accent-color: #82c4f8;
}
body.palette-a11y .jam-body .wpcf7-mail-sent-ok {
  background: #dcf3fb;
  border-color: #82c4f8;
}
body.palette-a11y .jam-body .wpcf7-submit {
  background: #82c4f8;
  color: #0f3460;
}
body.palette-a11y .jam-body .wpcf7-submit:hover {
  background: #0f3460;
  color: #82c4f8;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .jam-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .jam-dialog {
    max-width: 100%;
    width: 90%;
    margin: 10px 0;
    max-height: 92vh;
    overflow-y: auto;
  }
  .jam-header {
    padding: 28px 20px 24px;
  }
  .jam-body {
    padding: 24px 20px 0px;
  }
  .jam-body .jam-col-half {
    width: 100%;
  }
}
